/*
  SkyLive – Yellow & Black Design System
  Inspired by the real app UI: deep black + yellow gold accents
*/

/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════ */
:root {
  /* Core Black Palette */
  --black-950:  hsl(0, 0%, 3%);
  --black-900:  hsl(220, 15%, 7%);
  --black-800:  hsl(220, 13%, 10%);
  --black-700:  hsl(220, 12%, 14%);
  --black-600:  hsl(220, 10%, 20%);
  --black-400:  hsl(220, 8%, 42%);
  --black-200:  hsl(220, 6%, 68%);
  --black-100:  hsl(220, 5%, 88%);

  /* Yellow / Gold Brand Accents — exact from app */
  --yellow-400: hsl(48, 100%, 60%);
  --yellow-500: hsl(46, 100%, 52%);
  --yellow-600: hsl(44, 95%, 42%);
  --yellow-glow: hsl(48, 100%, 60%, 0.25);

  /* Teal — satellite dot color from app */
  --teal-400:   hsl(175, 70%, 50%);
  --teal-500:   hsl(175, 65%, 40%);

  /* Semantic */
  --bg:         var(--black-950);
  --surface:    var(--black-900);
  --surface-2:  var(--black-800);
  --border:     hsl(220, 12%, 14%);
  --border-yellow: hsl(48, 100%, 60%, 0.35);
  --text:       hsl(220, 5%, 92%);
  --text-muted: hsl(220, 6%, 58%);
  --primary:    var(--yellow-500);
  --primary-hover: var(--yellow-400);
  --accent:     var(--teal-400);

  /* Typography */
  --font:       'Inter', 'SF Pro Display', system-ui, sans-serif;
  --mono:       'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Border Radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-glow-yellow: 0 0 40px hsl(48, 100%, 52%, 0.2), 0 0 80px hsl(48, 100%, 52%, 0.08);
  --shadow-glow-teal:   0 0 40px hsl(175, 70%, 50%, 0.2);
  --shadow-card:        0 4px 24px hsl(0, 0%, 0%, 0.7);
  --shadow-elevated:    0 8px 48px hsl(0, 0%, 0%, 0.85);

  /* Transitions */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast:  150ms;
  --t-med:   300ms;
  --t-slow:  500ms;
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}
a:hover { color: var(--primary-hover); }

/* ═══════════════════════════════════════════════════
   CANVAS STAR FIELD
═══════════════════════════════════════════════════ */
#star-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════════════════ */
.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
  position: relative;
  z-index: 1;
}

.section {
  padding-block: var(--sp-24);
}

/* ═══════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════ */
.label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-400);
  margin-bottom: var(--sp-4);
}
.label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--yellow-500);
  border-radius: var(--r-full);
}
.label::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 2px;
  background: var(--yellow-500);
  border-radius: var(--r-full);
  opacity: 0.5;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 700;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--sp-4);
  color: var(--text);
}

.section-title span {
  color: var(--yellow-400);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding: var(--sp-4) 0;
  transition: background var(--t-med) ease, backdrop-filter var(--t-med) ease, border-color var(--t-med) ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: hsl(0, 0%, 3%, 0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom-color: hsl(48, 100%, 52%, 0.12);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}

.nav__brand img {
  width: 32px;
  height: 32px;
}

.nav__brand span {
  color: var(--yellow-400);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  list-style: none;
}

.nav__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
  font-weight: 500;
}
.nav__links a:hover { color: var(--yellow-400); }

.nav__cta {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.6875rem 1.5rem;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--t-med) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--yellow-500);
  color: #000;
  box-shadow: 0 4px 20px hsl(48, 100%, 52%, 0.3);
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: var(--yellow-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px hsl(48, 100%, 52%, 0.45);
  color: #000;
}
.btn-primary:active { transform: translateY(0); }
.btn-primary span, .btn-primary svg { position: relative; }

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border-yellow);
  color: var(--yellow-400);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.btn-ghost:hover {
  border-color: var(--yellow-400);
  background: hsl(48, 100%, 52%, 0.08);
  color: var(--yellow-400);
}

/* App-style pill buttons — matching the AR SKY VIEW & FOCUS: EARTH buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  background: transparent;
  border: 1.5px solid var(--border-yellow);
  color: var(--yellow-400);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-med) var(--ease-out);
}
.btn-pill:hover {
  background: hsl(48, 100%, 52%, 0.1);
  border-color: var(--yellow-400);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1.5px solid hsl(48, 100%, 52%, 0.2);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--t-med) var(--ease-out);
}
.btn-store:hover {
  background: var(--black-700);
  border-color: var(--yellow-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px hsl(0, 0%, 0%, 0.5), 0 0 20px hsl(48, 100%, 52%, 0.1);
  color: var(--text);
}
.btn-store .store-label-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
}
.btn-store .store-label-main {
  font-size: 1rem;
  font-weight: 700;
  display: block;
  line-height: 1.1;
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Yellow radial glow — top right, matching app glow */
.hero__bg::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsl(48, 100%, 52%, 0.07) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite;
}

/* Teal accent glow bottom left */
.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsl(175, 70%, 50%, 0.06) 0%, transparent 70%);
  animation: float 14s ease-in-out infinite reverse;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  width: 100%;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-4);
  background: hsl(48, 100%, 52%, 0.08);
  border: 1.5px solid hsl(48, 100%, 52%, 0.3);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow-400);
  animation: pulse 2s ease infinite;
  box-shadow: 0 0 6px var(--yellow-400);
}

.hero__title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--sp-6);
  animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
  color: var(--text);
}

.hero__title-accent {
  color: var(--yellow-400);
  text-shadow: 0 0 40px hsl(48, 100%, 52%, 0.4);
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: var(--sp-8);
  animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.hero__stores {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s var(--ease-out) 0.4s both;
}

.hero__stats {
  display: flex;
  gap: var(--sp-8);
  animation: fadeInUp 0.6s var(--ease-out) 0.5s both;
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid hsl(48, 100%, 52%, 0.15);
}

.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--yellow-400);
  line-height: 1;
  margin-bottom: var(--sp-1);
  text-shadow: 0 0 20px hsl(48, 100%, 52%, 0.3);
}

.hero__stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s var(--ease-out) 0.2s both;
}

.hero__mockup {
  position: relative;
  width: 100%;
  max-width: 320px;
  animation: floatImg 6s ease-in-out infinite;
}

/* CSS phone shell */
.hero__phone-frame {
  position: relative;
  border-radius: 44px;
  border: 2px solid hsl(220, 15%, 22%);
  box-shadow:
    inset 0 0 0 1px hsl(220, 15%, 30%),
    0 0 50px hsl(48, 100%, 52%, 0.12),
    0 30px 80px hsl(0, 0%, 0%, 0.6);
  background: hsl(220, 18%, 9%);
  padding: 14px 8px;
  overflow: visible;
}

/* Dynamic Island */
.hero__phone-frame::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

/* Side buttons */
.hero__phone-frame::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 120px;
  width: 3px;
  height: 60px;
  background: hsl(220, 15%, 22%);
  border-radius: 2px;
  box-shadow: 0 -80px 0 hsl(220, 15%, 22%), 0 80px 0 hsl(220, 15%, 22%);
}

/* Screenshot inside frame */
.hero__phone-frame img {
  width: 100%;
  border-radius: 32px;
  display: block;
  margin-top: 14px; /* push below dynamic island */
}

/* Yellow glow ring behind phone */
.hero__mockup::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at 50% 60%, hsl(48, 100%, 52%, 0.08) 0%, transparent 65%);
  border-radius: 50%;
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Teal orbital ring accent */
.hero__mockup::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translateX(-50%);
  border: 1px solid hsl(175, 70%, 50%, 0.1);
  border-radius: 50%;
  z-index: -1;
  animation: orbit-ring 20s linear infinite;
}

/* Floating badges */
.hero__badge {
  position: absolute;
  background: hsl(220, 13%, 8%, 0.9);
  border: 1.5px solid hsl(48, 100%, 52%, 0.25);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  animation: floatBadge 5s ease-in-out infinite;
}

.hero__badge--alt {
  animation-delay: -2.5s;
  animation-direction: reverse;
}

.hero__badge-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.hero__badge--iss {
  top: 10%;
  left: -8%;
}

.hero__badge--pass {
  bottom: 22%;
  left: -10%;
}

.hero__badge--orbit {
  top: 28%;
  right: -5%;
}

/* ═══════════════════════════════════════════════════
   APP UI PREVIEW STRIP
   Shows the actual app tabs + buttons from the real UI
═══════════════════════════════════════════════════ */
.app-ui-strip {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s var(--ease-out) 0.35s both;
  margin-bottom: var(--sp-8);
}

.app-tab-group {
  display: inline-flex;
  background: var(--surface);
  border: 1.5px solid var(--border-yellow);
  border-radius: var(--r-full);
  overflow: hidden;
}

.app-tab {
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: default;
  transition: all var(--t-fast);
}

.app-tab.active {
  background: var(--yellow-500);
  color: #000;
  border-radius: var(--r-full);
}

/* ═══════════════════════════════════════════════════
   FEATURE CARDS
═══════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

.feature-card {
  background: var(--surface);
  border: 1px solid hsl(220, 12%, 12%);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: all var(--t-med) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow-500), transparent);
  opacity: 0;
  transition: opacity var(--t-med);
}

.feature-card:hover {
  border-color: hsl(48, 100%, 52%, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px hsl(0, 0%, 0%, 0.6), 0 0 30px hsl(48, 100%, 52%, 0.08);
  background: var(--surface-2);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--sp-6);
  position: relative;
}

.feature-icon--yellow {
  background: hsl(48, 100%, 52%, 0.1);
  box-shadow: inset 0 0 0 1px hsl(48, 100%, 52%, 0.2);
}
.feature-icon--teal {
  background: hsl(175, 70%, 50%, 0.1);
  box-shadow: inset 0 0 0 1px hsl(175, 70%, 50%, 0.2);
}
.feature-icon--dim {
  background: hsl(220, 10%, 16%);
  box-shadow: inset 0 0 0 1px hsl(220, 12%, 20%);
}

/* Keep old icon classes working */
.feature-icon--cyan  { background: hsl(175, 70%, 50%, 0.1); box-shadow: inset 0 0 0 1px hsl(175, 70%, 50%, 0.2); }
.feature-icon--violet{ background: hsl(48, 100%, 52%, 0.08); box-shadow: inset 0 0 0 1px hsl(48, 100%, 52%, 0.15); }
.feature-icon--gold  { background: hsl(48, 100%, 52%, 0.1); box-shadow: inset 0 0 0 1px hsl(48, 100%, 52%, 0.2); }

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: var(--text);
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   SHOWCASE SECTION
═══════════════════════════════════════════════════ */
.showcase {
  background: var(--surface);
  border-top: 1px solid hsl(48, 100%, 52%, 0.08);
  border-bottom: 1px solid hsl(48, 100%, 52%, 0.08);
}

.showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.showcase__image {
  border-radius: var(--r-xl);
  overflow: hidden;
}

.showcase__image img {
  border-radius: var(--r-xl);
  filter: drop-shadow(0 0 30px hsl(48, 100%, 52%, 0.12)) drop-shadow(0 20px 50px hsl(0, 0%, 0%, 0.8));
}

.showcase__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.showcase__item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.showcase__item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: hsl(48, 100%, 52%, 0.1);
  border: 1px solid hsl(48, 100%, 52%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: 2px;
}

.showcase__item-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-1);
  color: var(--text);
}
.showcase__item-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   PRICING SECTION
═══════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  max-width: 860px;
  margin: var(--sp-12) auto 0;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid hsl(220, 12%, 14%);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  transition: all var(--t-med) var(--ease-out);
}

.pricing-card--pro {
  border-color: hsl(48, 100%, 52%, 0.35);
  background: linear-gradient(145deg, var(--surface) 0%, hsl(48, 100%, 52%, 0.04) 100%);
  box-shadow: 0 0 40px hsl(48, 100%, 52%, 0.1), 0 0 80px hsl(48, 100%, 52%, 0.04);
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--yellow-500), var(--teal-400));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--t-med);
}
.pricing-card--pro::before { opacity: 1; }

.pricing-badge {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  background: var(--yellow-500);
  border-radius: var(--r-full);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: var(--sp-4);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--sp-2);
  color: var(--text);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--yellow-400);
  text-shadow: 0 0 30px hsl(48, 100%, 52%, 0.25);
}

.pricing-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--sp-6);
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features li .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: hsl(48, 100%, 52%, 0.12);
  border: 1px solid hsl(48, 100%, 52%, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: var(--yellow-400);
}

.pricing-features li.pro {
  color: var(--text);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   TECH STACK SECTION
═══════════════════════════════════════════════════ */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--surface);
  border: 1px solid hsl(220, 12%, 14%);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--t-fast);
}
.tech-pill:hover {
  border-color: hsl(48, 100%, 52%, 0.3);
  color: var(--yellow-400);
  background: hsl(48, 100%, 52%, 0.05);
}
.tech-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow-500);
  box-shadow: 0 0 6px hsl(48, 100%, 52%, 0.5);
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--black-900);
  border-top: 1px solid hsl(48, 100%, 52%, 0.1);
  padding-block: var(--sp-12);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: var(--sp-4);
}
.footer__brand img { width: 28px; height: 28px; }
.footer__brand span { color: var(--yellow-400); }

.footer__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 260px;
}

.footer__section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow-400);
  margin-bottom: var(--sp-4);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer__links a:hover { color: var(--yellow-400); }

.footer__bottom {
  padding-top: var(--sp-6);
  border-top: 1px solid hsl(220, 12%, 12%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__legal {
  display: flex;
  gap: var(--sp-6);
}
.footer__legal a {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.footer__legal a:hover { color: var(--yellow-400); }

/* ═══════════════════════════════════════════════════
   DOC PAGES (Terms / Privacy)
═══════════════════════════════════════════════════ */
.doc-page-wrapper {
  min-height: 100vh;
  padding-top: 80px;
}

.doc-nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: hsl(0, 0%, 3%, 0.94);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid hsl(48, 100%, 52%, 0.12);
  padding: var(--sp-4) 0;
}

.doc-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.doc-nav__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}
.doc-nav__brand img { width: 28px; height: 28px; }
.doc-nav__brand span { color: var(--yellow-400); }

.doc-nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.doc-nav__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.doc-nav__links a:hover { color: var(--yellow-400); }
.doc-nav__links a.active { color: var(--yellow-400); }

.doc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--sp-12);
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--sp-12) var(--sp-6);
  align-items: start;
}

/* TOC sidebar */
.doc-toc {
  position: sticky;
  top: calc(80px + var(--sp-8));
  background: var(--surface);
  border: 1px solid hsl(48, 100%, 52%, 0.1);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}

.doc-toc__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow-400);
  margin-bottom: var(--sp-4);
}

.doc-toc__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.doc-toc__list a {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  border-left: 2px solid transparent;
  transition: all var(--t-fast);
  line-height: 1.4;
}
.doc-toc__list a:hover {
  color: var(--text);
  background: var(--surface-2);
  border-left-color: var(--yellow-500);
}
.doc-toc__list a.active {
  color: var(--yellow-400);
  background: hsl(48, 100%, 52%, 0.08);
  border-left-color: var(--yellow-500);
}

/* Doc content */
.doc-content { min-width: 0; }

.doc-header {
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid hsl(220, 12%, 12%);
}

.doc-header__tag {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  background: hsl(48, 100%, 52%, 0.08);
  border: 1px solid hsl(48, 100%, 52%, 0.2);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--yellow-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.doc-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--sp-4);
}

.doc-header__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.doc-section {
  margin-bottom: var(--sp-12);
  scroll-margin-top: 100px;
}

.doc-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid hsl(220, 12%, 12%);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.doc-section h2 .section-num {
  font-size: 0.75rem;
  font-weight: 700;
  padding: var(--sp-1) var(--sp-2);
  background: hsl(48, 100%, 52%, 0.1);
  border-radius: var(--r-sm);
  color: var(--yellow-400);
  font-family: var(--mono);
}

.doc-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
}

.doc-section p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}

.doc-section ul, .doc-section ol {
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.doc-section li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.doc-section strong {
  color: var(--text);
  font-weight: 600;
}

.doc-section a {
  color: var(--yellow-400);
  text-decoration: underline;
  text-decoration-color: hsl(48, 100%, 52%, 0.3);
  text-underline-offset: 3px;
}
.doc-section a:hover {
  text-decoration-color: var(--yellow-400);
}

/* Data table in docs */
.doc-table-wrapper {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid hsl(220, 12%, 14%);
  margin-bottom: var(--sp-6);
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.doc-table th {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid hsl(220, 12%, 14%);
}

.doc-table td {
  padding: var(--sp-4);
  color: var(--text-muted);
  border-bottom: 1px solid hsl(220, 12%, 10%);
  line-height: 1.5;
  vertical-align: top;
}

.doc-table tr:last-child td { border-bottom: none; }
.doc-table td:first-child { color: var(--text); font-weight: 500; }

.doc-callout {
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--r-md);
  border-left: 3px solid;
  margin-bottom: var(--sp-4);
  font-size: 0.875rem;
  line-height: 1.6;
}

.doc-callout--warning {
  background: hsl(48, 100%, 52%, 0.06);
  border-color: var(--yellow-500);
  color: hsl(48, 90%, 72%);
}

.doc-callout--info {
  background: hsl(175, 70%, 50%, 0.06);
  border-color: var(--teal-400);
  color: var(--text-muted);
}

.doc-footer { border-top: 1px solid hsl(220, 12%, 12%); }

/* ═══════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-30px) rotate(5deg); }
}

@keyframes floatImg {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}

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

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.06); }
}

@keyframes orbit-ring {
  from { transform: translateX(-50%) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__desc { margin-inline: auto; }
  .hero__stores { justify-content: center; }
  .hero__stats  { justify-content: center; }
  .app-ui-strip { justify-content: center; }
  .hero__visual { order: -1; max-width: 360px; margin-inline: auto; }
  .hero__badge--iss,
  .hero__badge--pass { display: none; }

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

  .showcase__inner { grid-template-columns: 1fr; }
  .showcase__image { max-width: 380px; margin-inline: auto; }

  .footer__inner { grid-template-columns: 1fr 1fr; }

  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { display: none; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .hero__badge { display: none !important; }
  .hero__title { font-size: clamp(2.5rem, 10vw, 4rem); }

  .btn-store { padding: var(--sp-2) var(--sp-4); }
  .btn-store .store-label-main { font-size: 0.875rem; }
}
