/* ─── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --bg: #000000;
  --bg-secondary: #0b0f14;
  --bg-tertiary: #0f1623;
  --card: #121826;
  --card-elevated: #1a2233;
  --panel: rgba(18, 24, 38, 0.85);
  --panel-lite: rgba(26, 34, 51, 0.48);
  --text: #ffffff;
  --text-secondary: #c9d1d9;
  --muted: #6b7280;
  --line: rgba(31, 41, 55, 0.9);
  --aqua: #00e5ff;
  --mint: #14f195;
  --purple: #9945ff;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --radius-card: 16px;
  --radius-btn: 12px;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

/* ─── Body & background ──────────────────────────────────────────────────── */
body {
  font-family: "Sora", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Deep space radial glow overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 900px 600px at 15% -10%, rgba(153, 69, 255, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 1100px 640px at 60% -8%, rgba(0, 229, 255, 0.18) 0%, transparent 62%),
    radial-gradient(ellipse 700px 400px at 92% 22%, rgba(0, 180, 255, 0.09) 0%, transparent 68%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.9) 100%);
}

/* ─── Layout helpers ─────────────────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 1;
  width: min(1080px, 92vw);
  margin: 0 auto;
}

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin: 0;
  letter-spacing: -0.02em;
}

/* ─── Sticky nav ─────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(4, 8, 16, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: clamp(130px, 18vw, 196px);
  height: auto;
}

.links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
}

.links a,
.inline-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.links a:hover,
.inline-link:hover {
  color: var(--aqua);
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(36px, 5vw, 64px) clamp(16px, 3vw, 28px) clamp(28px, 4vw, 52px);
  animation: fadeInUp 640ms ease-out both;
}



/* Gradient headline */
.hero-h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 1.04;
  background: linear-gradient(130deg, #ffffff 10%, #a7f3ff 48%, #00e5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--space-2);
}

.hero-h1-sub {
  display: block;
  background: linear-gradient(130deg, #a7f3ff 0%, #14f195 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  color: var(--text-secondary);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 56ch;
  margin: 0 auto var(--space-3);
}

.trust-note {
  margin-top: var(--space-3);
  color: rgba(0, 218, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  text-decoration: none;
  border-radius: var(--radius-btn);
  padding: 11px 22px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

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

.btn-primary {
  color: #021219;
  background: linear-gradient(130deg, #5bc8ff, #00e5ff);
  box-shadow: 0 6px 26px rgba(0, 229, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 8px 36px rgba(0, 229, 255, 0.45);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(0, 229, 255, 0.38);
  background: rgba(0, 229, 255, 0.06);
}

.btn-ghost:hover {
  border-color: var(--aqua);
  background: rgba(0, 229, 255, 0.12);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

/* kept for backward compat with any sub-pages */
.btn-primary-alt {
  color: var(--text);
  border-color: rgba(0, 200, 255, 0.38);
  background: linear-gradient(140deg, rgba(0, 229, 255, 0.18), rgba(100, 170, 255, 0.14));
}

.btn-primary-alt:hover {
  border-color: var(--aqua);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.16);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(0, 200, 255, 0.26);
  background: rgba(10, 16, 28, 0.64);
}

.btn-secondary:hover {
  border-color: var(--aqua);
  background: rgba(10, 16, 28, 0.8);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.12);
}

/* ─── CTA row ─────────────────────────────────────────────────────────────── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-row--center {
  justify-content: center;
  margin-top: var(--space-3);
}

/* ─── Feature pills ───────────────────────────────────────────────────────── */
.feature-pills {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.feature-pill {
  border: 1px solid rgba(31, 41, 55, 0.95);
  background: linear-gradient(140deg, rgba(26, 34, 51, 0.85), rgba(15, 22, 35, 0.95));
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.81rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ─── Feature cards ───────────────────────────────────────────────────────── */
.features-section {
  margin-top: var(--space-3);
  padding-bottom: var(--space-3);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}

.feature-card {
  position: relative;
  background: rgba(18, 24, 38, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: var(--radius-card);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.08);
  padding: 28px 24px 28px;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
  animation: fadeInUp 640ms ease-out both;
}

.feature-card:nth-child(2) { animation-delay: 80ms; }
.feature-card:nth-child(3) { animation-delay: 160ms; }

.feature-card:hover {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
  transform: translateY(-3px);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--aqua);
  margin-bottom: var(--space-2);
}

.feature-card h2 {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: #e7fcff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ─── Rewards strip ───────────────────────────────────────────────────────── */
.rewards-strip {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(11, 15, 20, 0.92) 0%, rgba(15, 22, 35, 0.96) 100%);
  border-top: 1px solid rgba(20, 241, 149, 0.15);
  border-bottom: 1px solid rgba(20, 241, 149, 0.15);
  padding: clamp(28px, 4vw, 48px) 0;
}

.rewards-inner {
  text-align: center;
}

.rewards-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 12px;
}

.rewards-heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.rewards-body {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  max-width: 52ch;
  margin: 0 auto var(--space-4);
  line-height: 1.7;
}

.tier-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.tier-badge {
  border-radius: 12px;
  padding: 10px 22px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  letter-spacing: 0.03em;
}

.tier--scout {
  background: rgba(107, 114, 128, 0.2);
  border-color: rgba(107, 114, 128, 0.45);
  color: #9ca3af;
}

.tier--ranger {
  background: rgba(20, 241, 149, 0.1);
  border-color: rgba(20, 241, 149, 0.4);
  color: var(--mint);
}

.tier--sentinel {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.42);
  color: var(--aqua);
}

.tier--validator {
  background: rgba(153, 69, 255, 0.14);
  border-color: rgba(153, 69, 255, 0.5);
  color: #c084fc;
  box-shadow: 0 0 20px rgba(153, 69, 255, 0.18);
}

.tier-name {
  display: block;
}

.tier-arrow {
  color: rgba(107, 114, 128, 0.6);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
}

/* ─── CTA section ─────────────────────────────────────────────────────────── */
.cta-section {
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
}

.cta-panel {
  text-align: center;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 4vw, 56px);
}

/* .panel shared */
.panel {
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: var(--panel);
  border-radius: 22px;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.5);
}

.panel-lite {
  border: 1px solid rgba(31, 41, 55, 0.95);
  background: var(--panel-lite);
  border-radius: 18px;
}

.cta-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 12px;
}

.cta-heading {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: #e7fcff;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.cta-sub {
  color: var(--text-secondary);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  max-width: 48ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-5);
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid rgba(31, 41, 55, 0.7);
  padding-top: var(--space-4);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--space-2);
}

.footer-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  opacity: 0.85;
}

.footer-built {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-links {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.footer-email {
  margin: 0 0 var(--space-2);
}

.footer-trust {
  display: block;
  margin-top: 8px;
}

.micro-note {
  display: block;
  max-width: 58ch;
  margin: 0 auto var(--space-2);
  color: var(--muted);
  font-size: 0.84rem;
}

/* ─── Animations ──────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbitPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

/* ─── Doc sub-pages (privacy / support / terms) ───────────────────────────── */
.doc-wrap {
  padding: 22px;
}

.doc-wrap h1 {
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  max-width: none;
  margin-bottom: 8px;
  color: #fff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.meta {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.doc-wrap h2 {
  margin: 28px 0 8px;
  font-size: 1.15rem;
}

.doc-wrap p,
.doc-wrap li {
  color: var(--text);
}

.doc-wrap ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .nav {
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 10px;
  }

  .links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .tier-row {
    gap: 8px;
  }

  .tier-arrow {
    display: none;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

