:root {
  --bg: #07111f;
  --bg-2: #0b1730;
  --panel: rgba(12, 23, 43, .82);
  --panel-strong: rgba(15, 30, 57, .96);
  --line: rgba(125, 211, 252, .18);
  --line-strong: rgba(125, 211, 252, .38);
  --text: #eef7ff;
  --muted: #9fb2ca;
  --blue: #38bdf8;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --gold: #facc15;
  --green: #22c55e;
  --red: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, .35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, .18), transparent 34rem),
    radial-gradient(circle at 70% 10%, rgba(139, 92, 246, .18), transparent 32rem),
    linear-gradient(180deg, var(--bg), #030712 80%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.16) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.12) 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 190px 190px, 240px 240px, 170px 170px;
  opacity: .8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px min(5vw, 72px);
  backdrop-filter: blur(18px);
  background: rgba(3, 7, 18, .72);
  border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 18px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(34,211,238,.38);
  background: radial-gradient(circle, rgba(34,211,238,.18), rgba(139,92,246,.12));
  border-radius: 12px;
  box-shadow: 0 0 28px rgba(34,211,238,.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 14px;
}

.site-nav a {
  transition: color .2s ease, transform .2s ease;
}

.site-nav a:hover {
  color: white;
  transform: translateY(-1px);
}

.nav-play {
  padding: 10px 14px;
  border-radius: 999px;
  color: #03111d !important;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 10px 28px rgba(34, 211, 238, .18);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px auto;
  border-radius: 99px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 54px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a5f3fc;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34,197,94,.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 14px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(46px, 8vw, 92px);
  letter-spacing: -.07em;
  margin-top: 20px;
}

h2 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -.055em;
  margin-top: 14px;
}

h3 {
  font-size: 22px;
  letter-spacing: -.025em;
}

.hero-copy {
  max-width: 650px;
  font-size: 18px;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #03111d;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 20px 46px rgba(34, 211, 238, .22);
}

.btn-secondary {
  color: white;
  border-color: var(--line-strong);
  background: rgba(15, 23, 42, .72);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 670px;
}

.hero-stats div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, .62);
  border: 1px solid rgba(148, 163, 184, .14);
}

.hero-stats strong {
  display: block;
  font-size: 18px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: 44px;
  background:
    radial-gradient(circle at center, rgba(56,189,248,.18), transparent 19rem),
    linear-gradient(145deg, rgba(15,23,42,.88), rgba(30,41,59,.35));
  border: 1px solid rgba(125,211,252,.22);
  box-shadow: var(--shadow), inset 0 0 60px rgba(34,211,238,.08);
  overflow: hidden;
}

.planet-main {
  position: absolute;
  width: 245px;
  height: 245px;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #c7f9ff, #38bdf8 20%, #0ea5e9 42%, #312e81 72%, #020617);
  box-shadow:
    0 0 80px rgba(56,189,248,.38),
    inset -30px -40px 60px rgba(0,0,0,.35);
}

.planet-main::after {
  content: "";
  position: absolute;
  left: -45px;
  right: -45px;
  top: 96px;
  height: 34px;
  border: 2px solid rgba(250,204,21,.48);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-13deg);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(125,211,252,.22);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.orbit-one {
  width: 420px;
  height: 210px;
}

.orbit-two {
  width: 590px;
  height: 315px;
  transform: translate(-50%, -50%) rotate(22deg);
}

.crystal {
  position: absolute;
  width: 78px;
  height: 110px;
  background: linear-gradient(160deg, rgba(165,243,252,.95), rgba(139,92,246,.7));
  clip-path: polygon(50% 0, 100% 30%, 78% 100%, 22% 100%, 0 30%);
  filter: drop-shadow(0 0 30px rgba(34,211,238,.42));
}

.crystal-a { left: 12%; top: 16%; transform: rotate(-18deg); }
.crystal-b { right: 12%; bottom: 14%; transform: rotate(18deg) scale(.82); }

.ship-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 24px rgba(250,204,21,.8);
}

.dot-a { left: 20%; bottom: 30%; }
.dot-b { right: 20%; top: 28%; }
.dot-c { right: 38%; bottom: 18%; }

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading p {
  font-size: 17px;
}

.feature-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.feature-card,
.security-item,
.panel,
.economy-card,
.final-cta,
.paper-card,
.paper-toc,
.faq-grid details {
  background: var(--panel);
  border: 1px solid rgba(148, 163, 184, .15);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}

.feature-card,
.security-item {
  padding: 24px;
}

.feature-card p,
.security-item p {
  margin-bottom: 0;
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(34,211,238,.11);
  border: 1px solid rgba(34,211,238,.23);
  margin-bottom: 18px;
  font-size: 26px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: stretch;
}

.panel,
.economy-card {
  padding: 34px;
}

.token-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.token-list div,
.economy-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(148,163,184,.14);
}

.token-list span,
.economy-row span,
.economy-note {
  color: var(--muted);
}

.economy-row strong {
  color: var(--gold);
  font-size: 22px;
}

.economy-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.65;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.timeline-item {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(15,23,42,.72);
  border: 1px solid rgba(148,163,184,.14);
}

.timeline-item.active {
  border-color: rgba(34,211,238,.42);
  box-shadow: 0 0 42px rgba(34,211,238,.12);
}

.timeline-item span {
  color: var(--cyan);
  font-weight: 900;
  font-size: 13px;
}

.timeline-item h3 {
  margin-top: 10px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.faq-grid details {
  padding: 20px;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-grid p {
  margin-bottom: 0;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px;
  margin-bottom: 60px;
}

.final-cta p {
  margin-bottom: 0;
}

.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 54px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(148,163,184,.14);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

/* Whitepaper */
.whitepaper {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 70px 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
}

.whitepaper-hero {
  grid-column: 1 / -1;
  padding: 58px;
  border-radius: 36px;
  background:
    radial-gradient(circle at right, rgba(34,211,238,.16), transparent 28rem),
    rgba(15,23,42,.78);
  border: 1px solid rgba(125,211,252,.2);
}

.whitepaper-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.paper-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.paper-toc a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
}

.paper-toc a:hover {
  color: white;
  background: rgba(56,189,248,.09);
}

.paper-card {
  padding: 42px;
}

.paper-card section {
  scroll-margin-top: 110px;
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(148,163,184,.13);
}

.paper-card section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.paper-card h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.paper-card h3 {
  margin-top: 28px;
}

.paper-card li {
  color: var(--muted);
  line-height: 1.75;
  margin: 8px 0;
}

.paper-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 18px;
}

.paper-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148,163,184,.12);
}

.paper-table div:first-child {
  background: rgba(34,211,238,.08);
}

.paper-table div:last-child {
  border-bottom: 0;
}

.paper-table span {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero,
  .split,
  .whitepaper {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .feature-grid,
  .security-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .paper-toc {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px;
    background: rgba(3, 7, 18, .96);
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-play {
    text-align: center;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 58px 0;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-stats,
  .feature-grid,
  .security-grid,
  .timeline,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .final-cta,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 340px;
    border-radius: 28px;
  }

  .planet-main {
    width: 180px;
    height: 180px;
  }

  .orbit-one {
    width: 300px;
    height: 150px;
  }

  .orbit-two {
    width: 390px;
    height: 210px;
  }

  .panel,
  .economy-card,
  .final-cta,
  .whitepaper-hero,
  .paper-card {
    padding: 24px;
  }

  .whitepaper {
    width: min(100% - 28px, 1120px);
    padding-top: 42px;
  }

  .paper-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
