/* ═══════════════════════════════════════════════════════════════════
   NICE SPACESHIP — Marketing Site Stylesheet
   Space exploration / Starship Engineering aesthetic
   Dynamic backgrounds, nebula effects, orbital animations
═══════════════════════════════════════════════════════════════════ */

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #050510;
  color: #e8e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ── Tokens ────────────────────────────────────────────────────── */
:root {
  --bg:        #050510;
  --bg2:       #0a0a1a;
  --surface:   #0e0e22;
  --surface2:  #141432;
  --border:    rgba(100, 140, 255, 0.12);
  --border-hi: rgba(100, 180, 255, 0.35);
  --accent:    #7eb8ff;
  --accent2:   #4a8fd4;
  --accent3:   #ff6b3d;
  --text:      #e8e8f0;
  --text-muted:#6e7a9a;
  --glow:      0 0 20px rgba(100, 160, 255, 0.15);
  --glow-hi:   0 0 40px rgba(100, 160, 255, 0.3), 0 0 80px rgba(100, 160, 255, 0.1);
  --glow-warm: 0 0 30px rgba(255, 107, 61, 0.2);
  --font-d:    'Orbitron', sans-serif;
  --font-b:    'Inter', sans-serif;
  --radius:    2px;
  --max-w:     1200px;
}

/* ── Utilities ─────────────────────────────────────────────────── */
.inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Starfield Canvas ─────────────────────────────────────────── */
#starfield-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Nebula Backgrounds ───────────────────────────────────────── */
.nebula-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 60% at 15% 10%, rgba(60, 20, 120, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 85% 30%, rgba(20, 60, 140, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 80%, rgba(100, 40, 80, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(10, 15, 40, 0.8) 0%, transparent 100%);
  animation: nebulaShift 30s ease-in-out infinite alternate;
}
@keyframes nebulaShift {
  0%   { opacity: 0.7; filter: hue-rotate(0deg); }
  50%  { opacity: 1;   filter: hue-rotate(15deg); }
  100% { opacity: 0.8; filter: hue-rotate(-10deg); }
}

/* ── Content layer ────────────────────────────────────────────── */
.content-layer {
  position: relative;
  z-index: 1;
}

/* ── Fade-in animation ────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ── Nav ───────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 64px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand svg { width: 32px; height: 32px; fill: var(--accent); filter: drop-shadow(0 0 6px rgba(100, 160, 255, 0.4)); }
.nav-brand span { font-family: var(--font-d); font-size: 14px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; color: #fff; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); text-shadow: 0 0 12px rgba(100, 160, 255, 0.4); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px;
  border: 1px solid var(--accent);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  color: var(--accent);
  transition: all 0.3s;
  box-shadow: var(--glow);
}
.nav-cta:hover { background: var(--accent); color: var(--bg); box-shadow: var(--glow-hi); }
.nav-hamburger { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-hamburger span { display: block; width: 100%; height: 2px; background: var(--accent); transition: transform 0.3s, opacity 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(100, 160, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 160, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
}

/* ── Orbital Rings ────────────────────────────────────────────── */
.hero-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(100, 160, 255, 0.08);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero-ring-1 { width: 400px; height: 400px; animation: orbit-pulse 8s ease-in-out infinite; }
.hero-ring-2 { width: 600px; height: 600px; animation: orbit-pulse 12s ease-in-out infinite reverse; }
.hero-ring-3 { width: 850px; height: 850px; animation: orbit-pulse 16s ease-in-out infinite; }
.hero-ring-4 { width: 1100px; height: 1100px; animation: orbit-pulse 20s ease-in-out infinite reverse; }

@keyframes orbit-pulse {
  0%, 100% { border-color: rgba(100, 160, 255, 0.06); transform: translate(-50%, -50%) scale(1); }
  50%      { border-color: rgba(100, 160, 255, 0.15); transform: translate(-50%, -50%) scale(1.02); }
}

/* ── Orbiting Dots ────────────────────────────────────────────── */
.orbit-dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(100, 160, 255, 0.6), 0 0 24px rgba(100, 160, 255, 0.3);
  top: 50%; left: 50%;
}
.orbit-dot-1 { animation: orbit-1 20s linear infinite; }
.orbit-dot-2 { animation: orbit-2 28s linear infinite; width: 4px; height: 4px; }
.orbit-dot-3 { animation: orbit-3 35s linear infinite; width: 5px; height: 5px; background: var(--accent3); box-shadow: 0 0 12px rgba(255, 107, 61, 0.6); }

@keyframes orbit-1 {
  from { transform: translate(-50%, -50%) rotate(0deg) translateX(200px) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(200px) rotate(-360deg); }
}
@keyframes orbit-2 {
  from { transform: translate(-50%, -50%) rotate(120deg) translateX(300px) rotate(-120deg); }
  to   { transform: translate(-50%, -50%) rotate(480deg) translateX(300px) rotate(-480deg); }
}
@keyframes orbit-3 {
  from { transform: translate(-50%, -50%) rotate(240deg) translateX(425px) rotate(-240deg); }
  to   { transform: translate(-50%, -50%) rotate(600deg) translateX(425px) rotate(-600deg); }
}

/* Hero Core Glow */
.hero-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 160, 255, 0.15) 0%, transparent 70%);
  animation: core-breathe 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes core-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50%      { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 0 40px rgba(100, 160, 255, 0.2);
}
.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: var(--bg);
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(100, 160, 255, 0.3);
}
.btn-primary:hover { box-shadow: 0 4px 30px rgba(100, 160, 255, 0.5); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px;
  border: 1px solid var(--border-hi);
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--glow); }

/* ── Stats Bar ─────────────────────────────────────────────────── */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 30, 0.8);
  backdrop-filter: blur(10px);
}
.stats-inner { display: flex; justify-content: center; flex-wrap: wrap; }
.stat { flex: 1; min-width: 160px; padding: 28px 16px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-d); font-size: 32px; font-weight: 700; letter-spacing: 1px;
  background: linear-gradient(135deg, #fff 40%, var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }

/* ── Section ───────────────────────────────────────────────────── */
.section { padding: 120px 24px; position: relative; }
.section-divider {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.section-header { text-align: center; margin-bottom: 72px; }
.section-header h2 {
  font-family: var(--font-d);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; letter-spacing: 2px; margin-bottom: 16px;
  color: #fff;
}
.section-header p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.section-header .section-badge {
  display: inline-block;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  padding: 6px 16px; margin-bottom: 20px;
  border: 1px solid var(--border-hi);
  color: var(--accent);
  border-radius: 20px;
}

/* ── Feature Cards ─────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--max-w); margin: 0 auto; }
.feature-card {
  padding: 36px;
  background: rgba(14, 14, 34, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover { border-color: var(--border-hi); transform: translateY(-4px); box-shadow: var(--glow); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 44px; height: 44px; margin-bottom: 22px;
  color: var(--accent);
  filter: drop-shadow(0 0 8px rgba(100, 160, 255, 0.3));
}
.feature-card h3 { font-family: var(--font-d); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; color: #fff; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── App Showcase ─────────────────────────────────────────────── */
.showcase-section {
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}
.showcase-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* App Window Mockup */
.app-mockup {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-hi);
  box-shadow:
    0 0 0 1px rgba(100, 160, 255, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(100, 160, 255, 0.08);
  background: var(--surface);
}
.app-mockup-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(10, 10, 30, 0.9);
  border-bottom: 1px solid var(--border);
}
.app-mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.app-mockup-dot:nth-child(1) { background: #ff5f57; }
.app-mockup-dot:nth-child(2) { background: #ffbd2e; }
.app-mockup-dot:nth-child(3) { background: #28c940; }
.app-mockup-url {
  flex: 1; text-align: center;
  font-size: 11px; letter-spacing: 1px; color: var(--text-muted);
  font-family: var(--font-b);
}
.app-mockup-body {
  min-height: 400px;
  padding: 0;
  position: relative;
  background: var(--bg2);
}
.app-mockup-body iframe {
  width: 100%; height: 500px; border: none;
  pointer-events: none;
  transform: scale(1);
  transform-origin: top left;
}

/* Screenshot-based mockup */
.app-mockup-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 32px;
}
.app-screen {
  border-radius: 4px;
  border: 1px solid var(--border);
  padding: 20px;
  background: var(--surface);
  min-height: 200px;
}
.app-screen-label {
  font-family: var(--font-d);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.app-screen-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(100, 160, 255, 0.6);
}

/* UI Mockup Elements */
.mock-sidebar {
  width: 100%; display: flex; flex-direction: column; gap: 8px;
}
.mock-sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid transparent;
}
.mock-sidebar-item.active {
  background: rgba(100, 160, 255, 0.08);
  border-color: var(--border);
  color: var(--accent);
}
.mock-sidebar-item .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(100, 160, 255, 0.5);
}

.mock-cards {
  display: flex; flex-direction: column; gap: 8px;
}
.mock-card {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; gap: 12px;
  font-size: 12px;
}
.mock-card-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  flex-shrink: 0;
}
.mock-card-info { flex: 1; }
.mock-card-name { font-weight: 600; font-size: 12px; color: #fff; margin-bottom: 2px; }
.mock-card-desc { font-size: 10px; color: var(--text-muted); }
.mock-card-badge {
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid rgba(100, 255, 100, 0.3);
  color: #6f6;
  border-radius: 10px;
}
.mock-card-badge.warning {
  border-color: rgba(255, 200, 100, 0.3);
  color: #fc8;
}

/* ── Themes Preview ────────────────────────────────────────────── */
.themes-section { background: var(--bg2); }
.themes-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; max-width: var(--max-w); margin: 0 auto; }
.theme-swatch {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 12px;
  border-radius: var(--radius);
  transition: all 0.3s;
  cursor: default;
  background: rgba(14, 14, 34, 0.4);
}
.theme-swatch:hover { border-color: var(--border-hi); transform: translateY(-2px); box-shadow: var(--glow); }
.theme-swatch-colors { display: flex; gap: 4px; }
.theme-swatch-colors span { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 8px rgba(0,0,0,0.4); }
.theme-swatch-name { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); }

/* ── Pricing ───────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: var(--max-w); margin: 0 auto; }
.pricing-card {
  padding: 36px 24px;
  background: rgba(14, 14, 34, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  transition: all 0.4s;
  position: relative;
}
.pricing-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--glow);
}
.pricing-card.featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent), var(--accent2));
}
.pricing-badge {
  display: inline-block;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--accent);
  margin-bottom: 16px; align-self: flex-start;
  color: var(--accent);
  border-radius: 20px;
}
.pricing-card h3 { font-family: var(--font-d); font-size: 16px; letter-spacing: 2px; margin-bottom: 8px; color: #fff; }
.pricing-price { font-size: 36px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.pricing-price small { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.pricing-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
.pricing-features { flex: 1; margin-bottom: 24px; }
.pricing-features li { font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.pricing-features li::before { content: "✦ "; color: var(--accent); font-size: 10px; }
.pricing-cta {
  display: block; text-align: center;
  padding: 12px;
  border: 1px solid var(--border-hi);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.3s;
  color: var(--text-muted);
}
.pricing-cta:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); box-shadow: var(--glow); }

/* ── Integrations Grid ─────────────────────────────────────────── */
.integrations-section { background: var(--bg2); }
.integrations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; max-width: var(--max-w); margin: 0 auto; }
.integration-tile {
  padding: 20px 12px;
  background: rgba(14, 14, 34, 0.5);
  border: 1px solid var(--border);
  text-align: center;
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}
.integration-tile:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: var(--glow); }

/* ── Progression Section ──────────────────────────────────────── */
.progression-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.rank-card {
  padding: 28px 20px;
  background: rgba(14, 14, 34, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.rank-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.rank-card .rank-icon {
  font-size: 28px; margin-bottom: 12px;
  filter: drop-shadow(0 0 8px rgba(100, 160, 255, 0.3));
}
.rank-card h4 {
  font-family: var(--font-d);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 6px; color: #fff;
}
.rank-card p { font-size: 12px; color: var(--text-muted); }
.rank-card .rank-xp {
  font-family: var(--font-d);
  font-size: 10px; letter-spacing: 1px;
  color: var(--accent);
  margin-top: 8px;
}

/* ── CTA ───────────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(60, 100, 200, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-d);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700; letter-spacing: 2px;
  margin-bottom: 16px;
  color: #fff;
  position: relative;
}
.cta-section p {
  font-size: 16px; color: var(--text-muted);
  max-width: 500px; margin: 0 auto 32px;
  position: relative;
}

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  background: rgba(5, 5, 16, 0.9);
}
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; max-width: var(--max-w); margin: 0 auto; flex-wrap: wrap; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand svg { width: 24px; height: 24px; fill: var(--accent); filter: drop-shadow(0 0 4px rgba(100, 160, 255, 0.3)); }
.footer-brand span { font-family: var(--font-d); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.footer-links { display: flex; gap: 48px; }
.footer-col h4 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-muted); padding: 3px 0; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  text-align: center;
  padding-top: 32px; margin-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted);
  max-width: var(--max-w); margin-left: auto; margin-right: auto;
}

/* ── Scanline Overlay ─────────────────────────────────────────── */
.scanlines {
  position: fixed; inset: 0; z-index: 999;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.4;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .themes-grid { grid-template-columns: repeat(4, 1fr); }
  .progression-grid { grid-template-columns: repeat(2, 1fr); }
  .app-mockup-screens { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(5, 5, 16, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px; gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .themes-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { min-width: 140px; }
  .footer-inner { flex-direction: column; }
  .hero-ring-3, .hero-ring-4 { display: none; }
  .orbit-dot-3 { display: none; }
  .progression-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero { padding: 100px 16px 60px; }
  .section { padding: 80px 16px; }
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { flex: none; width: 50%; }
  .footer-links { flex-direction: column; gap: 24px; }
  .hero-ring-2 { display: none; }
  .progression-grid { grid-template-columns: 1fr; }
}

/* ── Reduced Motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .nebula-bg { animation: none; opacity: 0.7; }
  #starfield-canvas { display: none; }
}
