/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--motion), backdrop-filter var(--motion);
}
.nav.scrolled { background: rgba(10, 14, 23, 0.9); backdrop-filter: blur(12px); }
.nav-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; position: relative; }
.nav-brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-heading); font-weight: 600; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-brand img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--text-secondary); font-weight: 500; position: relative; transition: color var(--motion); }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gradient-brand); transition: width var(--motion); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 0.5rem; }
.nav-x-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-btn); color: var(--text-muted); background: rgba(255,255,255,0.05); border: 1px solid var(--border-subtle); transition: color var(--motion), background var(--motion), border-color var(--motion); }
.nav-x-link:hover { color: var(--blue-end); background: rgba(0, 123, 255, 0.15); border-color: var(--border-highlight); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 20%, rgba(0, 123, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 70% 90% at 50% 85%, rgba(0, 204, 102, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 165, 0, 0.06) 0%, transparent 45%),
    var(--bg-base);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orb-float 12s ease-in-out infinite;
}
.hero-orb-1 { width: 400px; height: 400px; background: rgba(0, 123, 255, 0.15); top: -10%; left: -10%; animation-delay: 0s; }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(255, 165, 0, 0.1); bottom: 10%; right: -5%; animation-delay: -4s; }
.hero-orb-3 { width: 250px; height: 250px; background: rgba(0, 204, 102, 0.12); top: 50%; left: 60%; animation-delay: -8s; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; z-index: 1; max-width: 760px; width: 100%; margin: 0 auto; text-align: center; }
.hero-badge {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-end);
  background: rgba(0, 123, 255, 0.12);
  border: 1px solid rgba(0, 123, 255, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-logo-wrap {
  position: relative;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}
.hero-logo { filter: drop-shadow(0 4px 24px rgba(0, 123, 255, 0.35)); }
.hero h1 { font-family: var(--font-heading); font-size: var(--text-h1); font-weight: 700; line-height: 1.15; margin-bottom: 1.25rem; letter-spacing: -0.03em; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { color: var(--text-secondary); font-size: 1.125rem; line-height: 1.7; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  backdrop-filter: blur(8px);
}
.hero-stat { text-align: center; }
.hero-stat-val { display: block; font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stat-label { font-size: 0.8125rem; color: var(--text-muted); }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: var(--text-muted); animation: bounce 2s infinite; }
.hero-scroll:hover { color: var(--blue-end); }

/* Problem & Solution */
.problem-solution { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.problem-list, .solution-list { display: flex; flex-direction: column; gap: 1.25rem; }
.problem-item, .solution-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: var(--radius-card-sm); backdrop-filter: blur(8px); }
.problem-item { border-left: 3px solid var(--orange-start); background: rgba(255, 165, 0, 0.08); border: 1px solid rgba(255, 165, 0, 0.12); }
.solution-item { border-left: 3px solid var(--green-start); background: rgba(0, 204, 102, 0.08); border: 1px solid rgba(0, 204, 102, 0.12); }
.problem-item .icon { color: var(--orange-end); flex-shrink: 0; }
.solution-item .icon { color: var(--green-end); flex-shrink: 0; }
.problem-item h4, .solution-item h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.problem-item p, .solution-item p { font-size: var(--text-small); color: var(--text-secondary); line-height: 1.5; }

/* How It Works */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step-card { padding: 2rem 1.5rem; background: rgba(17, 24, 39, 0.6); border: 1px solid var(--border-subtle); border-radius: var(--radius-card-lg); position: relative; transition: all var(--motion); backdrop-filter: blur(12px); }
.step-card:hover { border-color: var(--border-highlight); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3); }
.step-card::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 3px; background: var(--gradient-brand); border-radius: 0 0 4px 4px; opacity: 0; transition: opacity var(--motion); }
.step-card:hover::before { opacity: 1; }
.step-num { font-family: var(--font-mono); font-size: 2rem; font-weight: 600; display: block; margin-bottom: 0.5rem; }
.step-card:nth-child(1) .step-num { color: var(--blue-end); }
.step-card:nth-child(2) .step-num { color: var(--orange-end); }
.step-card:nth-child(3) .step-num { color: var(--green-end); }
.step-card:nth-child(4) .step-num { color: var(--blue-end); }
.step-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step-card p { font-size: var(--text-small); color: var(--text-secondary); line-height: 1.6; }

/* Core Features */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.feature-card { padding: 2rem; background: rgba(17, 24, 39, 0.6); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); transition: all var(--motion); backdrop-filter: blur(12px); }
.feature-card:hover { border-color: var(--border-highlight); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0, 123, 255, 0.12), 0 0 0 1px rgba(255,255,255,0.05); }
.feature-card .feat-icon { display: block; margin-bottom: 1rem; }
.feature-card:nth-child(1) .feat-icon { color: var(--blue-end); }
.feature-card:nth-child(2) .feat-icon { color: var(--orange-end); }
.feature-card:nth-child(3) .feat-icon { color: var(--green-end); }
.feature-card:nth-child(4) .feat-icon { color: var(--blue-end); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: var(--text-small); color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.6; }
.feature-card .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Use Cases */
.use-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.use-case-card { padding: 2rem 1.5rem; background: rgba(17, 24, 39, 0.6); border: 1px solid var(--border-subtle); border-radius: 12px 16px 16px 12px; border-left: 4px solid var(--green-start); transition: all var(--motion); backdrop-filter: blur(12px); }
.use-case-card:hover { border-left-color: var(--green-end); box-shadow: 0 12px 40px rgba(0, 204, 102, 0.15); transform: translateY(-2px); }
.use-case-card .uc-icon { color: var(--green-end); display: block; margin-bottom: 1rem; }
.use-case-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.use-case-card p { font-size: var(--text-small); color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.5; }
.use-case-card .highlight { font-size: 0.875rem; font-weight: 600; color: var(--green-end); }

/* Tokenomics */
.tokenomics-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; margin-bottom: 3rem; }
.token-info { padding: 2rem 2rem 2.25rem; background: rgba(17, 24, 39, 0.6); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); min-height: 320px; display: flex; flex-direction: column; backdrop-filter: blur(12px); }
.token-info h3 { font-family: var(--font-heading); font-size: var(--text-h3); font-weight: 600; margin-bottom: 1.25rem; }
.token-info ul { display: flex; flex-direction: column; gap: 0.875rem; flex: 1; }
.token-info li { font-size: var(--text-small); color: var(--text-secondary); display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border-subtle); }
.token-info li:last-child { border-bottom: none; }
.token-chart-wrap { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; padding: 1.5rem; background: rgba(17, 24, 39, 0.6); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); min-height: 320px; backdrop-filter: blur(12px); }
.chart-tooltip { display: none; position: fixed; padding: 0.5rem 0.75rem; background: rgba(10, 14, 23, 0.95); border: 1px solid var(--border-highlight); border-radius: 8px; font-size: 0.8125rem; color: #fff; white-space: nowrap; pointer-events: none; z-index: 100; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); transition: opacity 0.15s ease; }
.chart-legend .leg-item { cursor: pointer; transition: opacity var(--motion), transform var(--motion); }
.chart-legend .leg-item:hover { opacity: 0.9; transform: scale(1.05); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; font-size: var(--text-small); color: var(--text-secondary); }
.leg-item::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 0.5rem; vertical-align: middle; }
.leg-item[data-color="community"]::before { background: var(--blue-end); }
.leg-item[data-color="dev"]::before { background: var(--orange-end); }
.leg-item[data-color="eco"]::before { background: var(--green-end); }
.leg-item[data-color="team"]::before { background: var(--orange-end); }
.token-uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.token-use { padding: 1.5rem 2rem; background: rgba(17, 24, 39, 0.6); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); transition: all var(--motion); backdrop-filter: blur(12px); }
.token-use:nth-child(1) { border-top: 3px solid var(--blue-start); }
.token-use:nth-child(2) { border-top: 3px solid var(--orange-start); }
.token-use:nth-child(3) { border-top: 3px solid var(--green-start); }
.token-use:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }
.token-use:nth-child(1):hover { box-shadow: 0 8px 24px rgba(0, 123, 255, 0.15); }
.token-use:nth-child(2):hover { box-shadow: 0 8px 24px rgba(255, 165, 0, 0.15); }
.token-use:nth-child(3):hover { box-shadow: 0 8px 24px rgba(0, 204, 102, 0.15); }
.token-use h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.token-use:nth-child(1) h4 { color: var(--blue-end); }
.token-use:nth-child(2) h4 { color: var(--orange-end); }
.token-use:nth-child(3) h4 { color: var(--green-end); }
.token-use p { font-size: var(--text-small); color: var(--text-secondary); line-height: 1.5; }

/* Roadmap */
.roadmap-timeline { position: relative; padding: 2rem 0; }
.roadmap-rail { position: relative; display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 2%; margin-bottom: 1.5rem; }
.roadmap-line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: linear-gradient(90deg, var(--blue-start), var(--orange-start), var(--green-end)); transform: translateY(-50%); z-index: 0; }
.roadmap-nodes { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; z-index: 1; padding: 0 6%; pointer-events: none; }
.roadmap-nodes .roadmap-step { flex: 1; display: flex; justify-content: center; pointer-events: auto; }
.roadmap-node { width: 20px; height: 20px; border-radius: 50%; background: var(--bg-base); border: 2px solid var(--text-muted); flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; box-sizing: content-box; }
.roadmap-step[data-status="done"] .roadmap-node { background: var(--green-end); border-color: var(--green-end); }
.roadmap-step[data-status="done"] .roadmap-node::after { content: ''; position: absolute; left: 50%; top: 50%; margin: -4px 0 0 -2px; width: 5px; height: 8px; border: solid var(--bg-base); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.roadmap-step[data-status="current"] .roadmap-node { background: var(--blue-end); border-color: var(--blue-end); box-shadow: 0 0 0 3px rgba(102, 179, 255, 0.3); animation: pulse 2s infinite; }
.roadmap-step[data-status="future"] .roadmap-node { background: var(--bg-base); border-color: var(--text-muted); }
.roadmap-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 0.5rem; }
.roadmap-content { background: rgba(17, 24, 39, 0.6); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 1.25rem 1rem; min-height: 115px; text-align: center; transition: all var(--motion); backdrop-filter: blur(12px); }
.roadmap-content[data-status="current"] { border-color: var(--border-highlight); box-shadow: 0 4px 16px rgba(0, 123, 255, 0.2); }
.roadmap-content time { font-family: var(--font-mono); font-size: 0.75rem; color: var(--blue-end); display: block; margin-bottom: 0.5rem; }
.roadmap-content h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.roadmap-content p { font-size: var(--text-small); color: var(--text-secondary); line-height: 1.5; }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  position: relative;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color var(--motion), box-shadow var(--motion);
}
.faq-item:hover {
  border-color: rgba(0, 123, 255, 0.2);
}
.faq-item.active {
  border-color: var(--border-highlight);
  box-shadow: 0 0 0 1px rgba(0, 123, 255, 0.15), 0 8px 24px rgba(0, 123, 255, 0.08);
}
.faq-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-brand);
  border-radius: var(--radius-card) 0 0 var(--radius-card);
  pointer-events: none;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color var(--motion);
}
.faq-question:hover {
  color: var(--blue-end);
}
.faq-question:focus-visible {
  outline: 2px solid var(--blue-end);
  outline-offset: 2px;
}
.faq-item.active .faq-question {
  color: var(--blue-end);
}
.faq-question::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
  margin-left: auto;
}
.faq-item.active .faq-question::after {
  transform: rotate(-135deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-answer p {
  padding: 0 1.5rem 1.25rem 1.5rem;
  margin: 0 0 0 0;
  padding-top: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: var(--text-small);
  border-top: 1px solid var(--border-subtle);
}
.faq-item.active .faq-answer p {
  border-top-color: rgba(0, 123, 255, 0.15);
}

/* CTA Footer */
.cta-footer { background: var(--bg-alt); }
.cta-block { text-align: center; padding: 4rem 2rem; }
.cta-block::before { content: ''; display: block; height: 4px; background: var(--gradient-brand); }
.cta-block h2 { font-family: var(--font-heading); font-size: var(--text-h2); margin-bottom: 1rem; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-block > p { color: var(--text-secondary); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form input { padding: 0.75rem 1rem; border-radius: var(--radius-btn); border: 1px solid var(--border-subtle); background: rgba(255,255,255,0.05); color: #fff; min-width: 220px; }
.newsletter-form input::placeholder { color: var(--text-muted); }
.footer-bottom { padding: 3rem 2rem; text-align: center; border-top: 1px solid var(--border-subtle); }
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-heading); font-weight: 600; margin-bottom: 1rem; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-desc { color: var(--text-secondary); font-size: var(--text-small); margin-bottom: 1rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1rem; }
.footer-links a { color: var(--blue-end); }
.footer-social { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1rem; }
.footer-social a { color: var(--text-muted); transition: color var(--motion); }
.footer-social a:hover { color: var(--blue-end); }
.copyright { color: var(--text-muted); font-size: 0.875rem; }
