/* ================================
   INFLU8R - Web3 Community Platform
   100% TRBE Style Match
   ================================ */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0A0A0A;
  --color-text: #FFFFFF;
  --color-text-secondary: #999999;
  --color-accent: #00FF88;
  --color-border: #1A1A1A;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.trbe-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ================================
   NAVIGATION - TRBE Style
   ================================ */
.trbe-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
  transition: var(--transition);
}

.trbe-nav.scrolled {
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.trbe-nav .trbe-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trbe-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
  z-index: 1001;
  transition: var(--transition);
}

.trbe-logo:hover {
  color: var(--color-accent);
}

.trbe-logo-icon {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  transition: var(--transition);
}

.trbe-logo:hover .trbe-logo-icon {
  transform: rotate(180deg);
  filter: drop-shadow(0 0 8px var(--color-accent));
}

.trbe-nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.trbe-nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.trbe-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.trbe-nav-links a:hover {
  color: var(--color-text);
}

.trbe-nav-links a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.trbe-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.trbe-mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
  display: block;
}

.trbe-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.trbe-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.trbe-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.trbe-mobile-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid var(--color-border);
}

.trbe-mobile-menu.active {
  max-height: 400px;
  padding: 24px 0;
}

.trbe-mobile-menu a {
  display: block;
  padding: 16px 40px;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.trbe-mobile-menu a:hover {
  color: var(--color-text);
  background: rgba(0, 255, 136, 0.05);
  border-left-color: var(--color-accent);
}

/* ================================
   HERO - TRBE Style
   ================================ */
.trbe-hero {
  padding: 180px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.trbe-hero-gradient {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1.1);
  }
}

.trbe-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 32px;
  animation: fadeInDown 1s ease-out;
}

.trbe-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trbe-hero-title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--color-text);
  animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trbe-hero-subtitle {
  font-size: 20px;
  color: var(--color-text-secondary);
  margin-bottom: 48px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.trbe-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.trbe-btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background: var(--color-accent);
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.trbe-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 255, 136, 0.4), 0 0 40px rgba(0, 255, 136, 0.2);
  background: linear-gradient(135deg, #00FF88 0%, #00DD77 100%);
}

.trbe-btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  background: transparent;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid var(--color-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.trbe-btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 255, 136, 0.1);
  transition: left 0.4s ease;
}

.trbe-btn-secondary:hover::before {
  left: 0;
}

.trbe-btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* ================================
   STATS BANNER - TRBE Style
   ================================ */
.trbe-stats {
  padding: 80px 0;
  background: #000;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trbe-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  text-align: center;
}

.trbe-stat {
  opacity: 0;
  transform: translateY(20px);
}

.trbe-stat.animate-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

.trbe-stat-number {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-text) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trbe-stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

/* ================================
   SECTIONS - TRBE Style
   ================================ */
.trbe-section {
  padding: 120px 0;
}

.trbe-section-alt {
  background: #000;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trbe-section-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 24px;
  color: var(--color-text);
}

.trbe-section-subtitle {
  font-size: 20px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 80px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================
   FEATURES - TRBE Style
   ================================ */
.trbe-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.trbe-feature-card {
  background: #0F0F0F;
  padding: 48px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.trbe-feature-card.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.trbe-feature-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.15);
  background: rgba(0, 255, 136, 0.02);
}

.trbe-feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.trbe-feature-card p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ================================
   PLATFORM PREVIEW - TRBE Style
   ================================ */
.trbe-platform-preview {
  text-align: center;
}

.trbe-preview-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.trbe-preview-img:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 80px rgba(0, 255, 136, 0.2);
}

/* ================================
   BENEFITS - TRBE Style
   ================================ */
.trbe-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 48px;
  margin-bottom: 80px;
}

.trbe-benefit-card {
  background: #0F0F0F;
  padding: 48px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.trbe-benefit-card.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.trbe-benefit-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.15);
}

.trbe-benefit-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.trbe-benefit-card p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ================================
   TOKEN SECTION - TRBE Style
   ================================ */
.trbe-token-section {
  padding: 120px 0;
  background: #0F0F0F;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trbe-section-title-white,
.trbe-section-subtitle-white {
  color: var(--color-text);
}

.trbe-section-title-white {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 24px;
}

.trbe-section-subtitle-white {
  font-size: 20px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 80px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.trbe-token-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.trbe-token-card {
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 12px;
  padding: 48px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.trbe-token-card.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.trbe-token-card:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: var(--color-accent);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 255, 136, 0.2);
}

.trbe-token-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.trbe-token-card p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.trbe-tokenomics {
  text-align: center;
}

.trbe-tokenomics-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.trbe-tokenomics-img:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 80px rgba(0, 255, 136, 0.2);
}

/* ================================
   GLOBAL MARKETS - TRBE Style
   ================================ */
.trbe-markets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.trbe-market-card {
  background: #0F0F0F;
  padding: 48px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}

.trbe-market-card.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.trbe-market-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.15);
}

.trbe-market-card:hover .trbe-market-flag {
  transform: scale(1.2) rotate(5deg);
}

.trbe-market-flag {
  font-size: 64px;
  margin-bottom: 24px;
  display: inline-block;
  transition: var(--transition);
}

.trbe-market-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.trbe-market-card p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ================================
   FAQ - TRBE Style
   ================================ */
.trbe-faq {
  padding: 120px 0;
  background: #000;
  border-top: 1px solid var(--color-border);
}

.trbe-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.trbe-faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
  opacity: 0;
  transform: translateY(20px);
}

.trbe-faq-item.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.trbe-faq-item:last-child {
  border-bottom: none;
}

.trbe-faq-question {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.trbe-faq-question:hover {
  color: var(--color-accent);
}

.trbe-faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  transition: var(--transition);
}

.trbe-faq-item[open] .trbe-faq-question::after {
  content: '−';
}

.trbe-faq-answer {
  padding-top: 16px;
}

.trbe-faq-answer p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ================================
   CTA - TRBE Style
   ================================ */
.trbe-cta {
  padding: 120px 0;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
}

.trbe-cta-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  color: var(--color-text);
}

.trbe-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   FOOTER - TRBE Style
   ================================ */
.trbe-footer {
  background: #000;
  border-top: 1px solid var(--color-border);
  padding: 80px 0 40px;
}

.trbe-footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  margin-bottom: 64px;
}

.trbe-footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.trbe-footer-brand p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.trbe-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.trbe-footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  color: var(--color-text);
}

.trbe-footer-col a {
  display: block;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 15px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.trbe-footer-col a:hover {
  color: var(--color-accent);
}

.trbe-footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.trbe-footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.trbe-footer-bottom p {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.trbe-footer-legal {
  display: flex;
  gap: 24px;
}

.trbe-footer-legal a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.trbe-footer-legal a:hover {
  color: var(--color-accent);
}

/* Social Links */
.trbe-social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.trbe-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  padding: 0 8px;
}

.trbe-social-links a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(0, 255, 136, 0.05);
  transform: translateY(-2px);
}

/* Scroll to Top Button */
.trbe-scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--color-accent);
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0, 255, 136, 0.3);
}

.trbe-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.trbe-scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 255, 136, 0.4);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1024px) {
  .trbe-container {
    padding: 0 32px;
  }

  .trbe-footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .trbe-footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .trbe-container {
    padding: 0 24px;
  }

  .trbe-nav-links {
    display: none;
  }

  .trbe-mobile-toggle {
    display: flex;
  }

  .trbe-hero {
    padding: 140px 0 80px;
  }

  .trbe-section {
    padding: 80px 0;
  }

  .trbe-token-section,
  .trbe-cta,
  .trbe-faq {
    padding: 80px 0;
  }

  .trbe-features,
  .trbe-benefits,
  .trbe-token-cards,
  .trbe-markets {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trbe-stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trbe-footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trbe-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .trbe-hero-buttons,
  .trbe-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .trbe-btn-primary,
  .trbe-btn-secondary {
    width: 100%;
    text-align: center;
  }

  .trbe-scroll-top {
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .trbe-social-links {
    justify-content: center;
  }
}

/* ================================
   UTILITIES
   ================================ */
html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--color-accent);
  color: #000;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00DD77;
}
