/*
 * STELLAR FORMATION DESIGN SYSTEM
 * Hyperform — Premium Business Formation Consulting
 * Deep space aesthetic: SpaceX meets luxury fintech
 * Visual Design Punch-Up v2.0
 * ─────────────────────────────────────────────────
 */

/* ═══════════════════════════════════════════════════
   0. CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════ */

:root {
  /* Backgrounds */
  --void: #06080c;
  --deep: #030509;
  --surface: #0c1019;
  --raised: #111827;
  --raised-hover: #1a2235;

  /* Glass */
  --glass-bg: rgba(12, 16, 25, 0.7);
  --glass-border: rgba(125, 211, 252, 0.12);
  --glass-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04);

  /* Accents */
  --stellar: #7dd3fc;
  --stellar-dim: rgba(125, 211, 252, 0.6);
  --stellar-glow: rgba(125, 211, 252, 0.15);
  --stellar-ghost: rgba(125, 211, 252, 0.08);
  --gold: #fbbf24;
  --gold-dim: rgba(251, 191, 36, 0.6);
  --gold-glow: rgba(251, 191, 36, 0.12);
  --nebula: #a78bfa;
  --nebula-dim: rgba(167, 139, 250, 0.5);
  --nebula-glow: rgba(167, 139, 250, 0.1);

  /* Text */
  --text-primary: #f0f4f8;
  --text-body: #94a3b8;
  --text-muted: #475569;

  /* Borders */
  --border-constellation: rgba(125, 211, 252, 0.15);
  --border-subtle: rgba(125, 211, 252, 0.08);
  --border-gold: rgba(251, 191, 36, 0.2);

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --h1: clamp(2.5rem, 5vw, 3.75rem);
  --h2: clamp(1.75rem, 3.5vw, 2.625rem);
  --h3: clamp(1.25rem, 2vw, 1.75rem);
  --h4: clamp(1.1rem, 1.5vw, 1.35rem);
  --body: 1.0625rem;
  --small: 0.875rem;
  --xs: 0.75rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* Layout */
  --max-width: 1280px;
  --max-narrow: 800px;
  --nav-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-base: 400ms;
  --duration-slow: 700ms;
}


/* ═══════════════════════════════════════════════════
   0.5 KEYFRAMES
   ═══════════════════════════════════════════════════ */

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -3%); }
  20% { transform: translate(3%, 2%); }
  30% { transform: translate(-1%, 4%); }
  40% { transform: translate(4%, -1%); }
  50% { transform: translate(-3%, 3%); }
  60% { transform: translate(2%, -4%); }
  70% { transform: translate(-4%, 1%); }
  80% { transform: translate(1%, -2%); }
  90% { transform: translate(3%, -3%); }
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(125, 211, 252, 0.4), 0 0 20px rgba(125, 211, 252, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(125, 211, 252, 0), 0 0 20px rgba(125, 211, 252, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(125, 211, 252, 0), 0 0 20px rgba(125, 211, 252, 0.4); }
}

@keyframes scanLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@keyframes heroReveal {
  0% { opacity: 0; filter: blur(4px); transform: translateY(20px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes ctaBreathe {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

@keyframes navPulseRing {
  0% { box-shadow: 0 0 0 0 rgba(125, 211, 252, 0.3); }
  70% { box-shadow: 0 0 0 6px rgba(125, 211, 252, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 211, 252, 0); }
}


/* ═══════════════════════════════════════════════════
   1. RESET & BASE
   ═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background:
    radial-gradient(ellipse 80% 50% at 50% 30%, rgba(125, 211, 252, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(167, 139, 250, 0.035) 0%, transparent 55%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(251, 191, 36, 0.025) 0%, transparent 50%),
    var(--void);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--stellar); text-decoration: none; transition: color var(--duration-fast) ease; }
a:hover { color: var(--gold); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; border: none; background: none; }
button { cursor: pointer; }
::selection { background: rgba(125, 211, 252, 0.25); color: var(--text-primary); }


/* ═══════════════════════════════════════════════════
   2. STAR FIELD BACKGROUNDS
   ═══════════════════════════════════════════════════ */

.starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    /* Layer 1: tiny distant stars */
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 65%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.6) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 15% 90%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 45% 55%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 65% 85%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.5) 50%, transparent 50%),
    /* Layer 2: medium stars */
    radial-gradient(1.5px 1.5px at 20% 50%, rgba(125,211,252,0.4) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 60% 30%, rgba(125,211,252,0.3) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 80% 70%, rgba(125,211,252,0.35) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 40% 90%, rgba(167,139,250,0.3) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 95% 45%, rgba(251,191,36,0.25) 50%, transparent 50%),
    /* Layer 3: brighter accent stars */
    radial-gradient(2px 2px at 35% 75%, rgba(125,211,252,0.6) 50%, transparent 50%),
    radial-gradient(2px 2px at 75% 20%, rgba(251,191,36,0.4) 50%, transparent 50%),
    radial-gradient(2px 2px at 55% 50%, rgba(167,139,250,0.35) 50%, transparent 50%);
  background-color: var(--deep);
}

/* Nebula gradient overlay */
.starfield::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 60%, rgba(167,139,250,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(125,211,252,0.03) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 50% 100%, rgba(125,211,252,0.02) 0%, transparent 50%);
}

/* Grain texture overlay */
.starfield::before {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grainShift 0.8s steps(8) infinite;
}


/* ═══════════════════════════════════════════════════
   3. TYPOGRAPHY
   ═══════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

h1 { font-size: var(--h1); font-weight: 700; letter-spacing: -0.03em; }
h2 {
  font-size: var(--h2);
  text-shadow: 0 0 12px rgba(125, 211, 252, 0.2);
}
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); font-weight: 500; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stellar);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--stellar-dim);
}

.mono { font-family: var(--font-mono); }
.text-stellar { color: var(--stellar); }
.text-gold { color: var(--gold); }
.text-nebula { color: var(--nebula); }
.text-primary { color: var(--text-primary); }
.text-muted { color: var(--text-muted); }

.gradient-text {
  background: linear-gradient(135deg, var(--stellar) 0%, var(--nebula) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p + p { margin-top: 1em; }


/* ═══════════════════════════════════════════════════
   4. LAYOUT
   ═══════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.container--narrow {
  max-width: var(--max-narrow);
}

section {
  padding: var(--space-2xl) 0;
  position: relative;
}

/* Section separator glow lines */
section + section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--stellar-dim) 50%, transparent 100%);
  opacity: 0.5;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  margin-top: var(--space-sm);
  font-size: 1.125rem;
  color: var(--text-body);
}

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════
   5. NAVIGATION
   ═══════════════════════════════════════════════════ */

.nav-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(6, 8, 12, 0.6);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.02),
    0 4px 24px rgba(0, 0, 0, 0.2);
  transition: background var(--duration-base) ease,
              border-color var(--duration-base) ease,
              box-shadow var(--duration-base) ease;
}

.nav-top.scrolled {
  background: rgba(6, 8, 12, 0.92);
  border-bottom-color: var(--border-constellation);
  box-shadow:
    0 1px 0 0 rgba(125, 211, 252, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 12px 48px rgba(0, 0, 0, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-logo span {
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--stellar) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-body);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color var(--duration-fast) ease;
  letter-spacing: 0.01em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--stellar);
  transition: width var(--duration-base) var(--ease-out);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--stellar); }
.nav-links a.active::after { width: 100%; }

/* Nav CTA with pulse ring */
.nav-cta {
  font-family: var(--font-mono) !important;
  font-size: var(--xs) !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--void) !important;
  background: var(--stellar) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  transition: all var(--duration-fast) ease !important;
  animation: navPulseRing 3s ease-in-out infinite;
}

.nav-cta:hover {
  background: var(--text-primary) !important;
  color: var(--void) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(125, 211, 252, 0.25);
  animation: none;
}

.nav-cta::after { display: none !important; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--duration-base) var(--ease-out);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: rgba(3, 5, 9, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-base) ease;
    z-index: 999;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { font-size: 1.25rem; }
}


/* ═══════════════════════════════════════════════════
   6. BUTTONS & CTAS
   ═══════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--small);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
}

.btn-primary {
  background: var(--stellar);
  color: var(--void);
  box-shadow: 0 0 0 1px var(--stellar), 0 4px 24px rgba(125, 211, 252, 0.2);
}

/* Button shimmer sweep */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-primary:hover {
  background: var(--text-primary);
  color: var(--void);
  box-shadow: 0 0 0 1px var(--text-primary), 0 8px 40px rgba(125, 211, 252, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px var(--border-constellation);
}

.btn-secondary:hover {
  box-shadow: inset 0 0 0 1px var(--stellar);
  color: var(--stellar);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--void);
  box-shadow: 0 0 0 1px var(--gold), 0 4px 24px rgba(251, 191, 36, 0.2);
}

/* Gold button shimmer */
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}

.btn-gold:hover::after {
  left: 120%;
}

.btn-gold:hover {
  background: #fcd34d;
  box-shadow: 0 0 0 1px #fcd34d, 0 8px 40px rgba(251, 191, 36, 0.3);
  color: var(--void);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--stellar);
  padding: 10px 0;
}

.btn-ghost:hover {
  color: var(--gold);
}

.btn-ghost svg { transition: transform var(--duration-fast) ease; }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}


/* ═══════════════════════════════════════════════════
   7. CONSTELLATION CARDS
   ═══════════════════════════════════════════════════ */

.card {
  position: relative;
  background: linear-gradient(145deg, var(--surface) 0%, var(--raised) 100%);
  border: 1px solid var(--border-constellation);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--duration-base) var(--ease-out);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--stellar-dim) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--duration-base) ease;
}

.card:hover {
  border-color: rgba(125, 211, 252, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(125, 211, 252, 0.08);
}

.card:hover::before { opacity: 1; }

/* Constellation card inner radiance */
.card--constellation {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(125, 211, 252, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(167, 139, 250, 0.03) 0%, transparent 50%),
    linear-gradient(145deg, var(--surface) 0%, var(--raised) 100%);
}

.card--constellation:hover {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(125, 211, 252, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(167, 139, 250, 0.06) 0%, transparent 50%),
    linear-gradient(145deg, var(--surface) 0%, var(--raised) 100%);
}

/* Constellation corner dots */
.card--constellation::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stellar);
  opacity: 0.3;
  box-shadow:
    -4px 8px 0 -1px rgba(125,211,252,0.2),
    4px -4px 0 -1px rgba(125,211,252,0.15);
}

/* Inner radial gradient glow */
.card--glow {
  background:
    radial-gradient(ellipse at top right, var(--stellar-ghost) 0%, transparent 60%),
    linear-gradient(145deg, var(--surface) 0%, var(--raised) 100%);
}

/* Gold card premium elevation */
.card--gold {
  border-color: var(--border-gold);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(251, 191, 36, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(251, 191, 36, 0.03) 0%, transparent 50%),
    linear-gradient(145deg, var(--surface) 0%, var(--raised) 100%);
  box-shadow: 0 0 60px rgba(251, 191, 36, 0.04);
}

.card--gold::before {
  background: linear-gradient(90deg, transparent 0%, var(--gold-dim) 50%, transparent 100%);
}

.card--gold:hover {
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow:
    0 0 60px rgba(251, 191, 36, 0.06),
    0 12px 40px rgba(251, 191, 36, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--stellar-ghost);
  border: 1px solid var(--border-constellation);
  margin-bottom: var(--space-md);
  color: var(--stellar);
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 0.5rem; }
.card h4 { margin-bottom: 0.5rem; }

/* Card price gradient text */
.card-price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin: var(--space-sm) 0;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--stellar) 0%, #a5e8ff 50%, var(--stellar) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gold card price override */
.card--gold .card-price,
.card-price[style*="color:var(--gold)"] {
  background: linear-gradient(135deg, var(--gold) 0%, #fde68a 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-price .price-note {
  display: block;
  font-family: var(--font-body);
  font-size: var(--small);
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
  -webkit-text-fill-color: var(--text-muted);
}


/* ═══════════════════════════════════════════════════
   8. ORBITAL CARDS (alternative style)
   ═══════════════════════════════════════════════════ */

.orbital-card {
  position: relative;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-base) var(--ease-out);
  overflow: hidden;
}

.orbital-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 180deg, transparent 60%, var(--stellar-glow) 80%, transparent 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--duration-slow) ease;
}

/* Scan line sweep on hover */
.orbital-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(125, 211, 252, 0.04) 50%, transparent 100%);
  pointer-events: none;
  transition: none;
}

.orbital-card:hover { border-color: var(--border-constellation); }
.orbital-card:hover::before { opacity: 1; }
.orbital-card:hover::after {
  animation: scanLine 0.8s var(--ease-out) forwards;
}

.orbital-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--stellar-ghost);
  line-height: 1;
  margin-bottom: var(--space-sm);
  transition: text-shadow var(--duration-base) ease;
}

.orbital-card:hover .orbital-number {
  text-shadow: 0 0 20px rgba(125, 211, 252, 0.15);
}


/* ═══════════════════════════════════════════════════
   9. DATA STRIP (Glass treatment)
   ═══════════════════════════════════════════════════ */

.data-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
  box-shadow: var(--glass-shadow), 0 4px 24px rgba(0, 0, 0, 0.2);
}

.data-strip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--small);
}

.data-strip-item .value {
  color: var(--text-primary);
  font-weight: 500;
}

.data-strip-item .label {
  color: var(--text-muted);
}

.data-strip-divider {
  width: 1px;
  height: 24px;
  background: var(--border-constellation);
}

@media (max-width: 768px) {
  .data-strip { flex-direction: column; gap: var(--space-sm); }
  .data-strip-divider { width: 40px; height: 1px; }
}


/* ═══════════════════════════════════════════════════
   10. HERO SECTION
   ═══════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  overflow: hidden;
}

/* Hero atmospheric glows */
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: breathe 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero h1 {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

/* Hero accent shimmer gradient */
.hero h1 .accent {
  background: linear-gradient(
    90deg,
    var(--stellar) 0%,
    var(--nebula) 25%,
    var(--stellar) 50%,
    var(--gold) 75%,
    var(--stellar) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}

.hero .subtitle {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-body);
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

/* Hero entrance choreography */
.hero .eyebrow,
.hero h1,
.hero .subtitle,
.hero .btn-group,
.hero .trust-bar {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
}

.hero.hero-loaded .eyebrow {
  animation: heroReveal 0.8s var(--ease-out) 0.2s forwards;
}

.hero.hero-loaded h1 {
  animation: heroReveal 0.8s var(--ease-out) 0.4s forwards;
}

.hero.hero-loaded .subtitle {
  animation: heroReveal 0.8s var(--ease-out) 0.6s forwards;
}

.hero.hero-loaded .btn-group {
  animation: heroReveal 0.8s var(--ease-out) 0.8s forwards;
}

.hero.hero-loaded .trust-bar {
  animation: heroReveal 0.8s var(--ease-out) 1.0s forwards;
}

/* Orbital ring decoration */
.hero-orbital {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.12;
  z-index: 1;
  pointer-events: none;
}

.hero-orbital circle {
  fill: none;
  stroke: var(--stellar);
  stroke-width: 0.5;
}

.hero-orbital .ring-1 { animation: orbit-spin 60s linear infinite; }
.hero-orbital .ring-2 { animation: orbit-spin 45s linear infinite reverse; }
.hero-orbital .ring-3 { animation: orbit-spin 80s linear infinite; }

/* Gravitational gradient behind hero CTA */
.hero .btn-group {
  position: relative;
}

.hero .btn-group::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, var(--stellar-ghost) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Trust bar glass treatment */
.trust-bar {
  margin-top: var(--space-xl);
}


/* ═══════════════════════════════════════════════════
   11. PRICING TIERS
   ═══════════════════════════════════════════════════ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, var(--surface) 0%, var(--raised) 100%);
  border: 1px solid var(--border-constellation);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--duration-base) var(--ease-out);
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 16px 48px rgba(125, 211, 252, 0.08);
}

/* Featured pricing card elevation */
.pricing-card.featured {
  border-color: var(--gold);
  background:
    radial-gradient(ellipse at top, var(--gold-glow) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(251, 191, 36, 0.04) 0%, transparent 40%),
    linear-gradient(145deg, var(--surface) 0%, var(--raised) 100%);
  transform: scale(1.02);
  z-index: 2;
  box-shadow:
    0 0 60px rgba(251, 191, 36, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 4px 24px rgba(251, 191, 36, 0.08);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow:
    0 0 80px rgba(251, 191, 36, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.4),
    0 8px 40px rgba(251, 191, 36, 0.12);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--void);
  background: var(--gold);
  padding: 6px;
}

.pricing-card.featured { padding-top: calc(var(--space-lg) + 28px); }

.pricing-tier-name {
  font-family: var(--font-mono);
  font-size: var(--xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stellar);
  margin-bottom: var(--space-xs);
}

.pricing-card.featured .pricing-tier-name { color: var(--gold); }

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.pricing-card.featured .pricing-amount {
  background: linear-gradient(135deg, var(--gold) 0%, #fde68a 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-amount small {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

.pricing-desc {
  font-size: var(--small);
  color: var(--text-body);
  margin: var(--space-sm) 0 var(--space-md);
  flex-grow: 0;
}

.pricing-features {
  flex: 1;
  margin-bottom: var(--space-md);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--small);
  color: var(--text-body);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--stellar);
}

.pricing-features li.disabled { color: var(--text-muted); }
.pricing-features li.disabled svg { color: var(--text-muted); opacity: 0.3; }

.pricing-card .btn { width: 100%; }

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════
   12. COMPARISON TABLE
   ═══════════════════════════════════════════════════ */

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-constellation);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--small);
}

.comparison-table thead th {
  font-family: var(--font-mono);
  font-size: var(--xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stellar);
  background: var(--raised);
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-constellation);
  white-space: nowrap;
  position: sticky;
  top: 0;
}

.comparison-table thead th:first-child { min-width: 200px; }

.comparison-table tbody td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
  vertical-align: top;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

/* Row hover with left accent bar */
.comparison-table tbody tr {
  position: relative;
  transition: all var(--duration-fast) ease;
}

.comparison-table tbody tr:hover td {
  background: var(--stellar-ghost);
}

.comparison-table tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 0 0 var(--stellar);
}

.comparison-table .check {
  color: var(--stellar);
  font-weight: 600;
}

.comparison-table .cross {
  color: var(--text-muted);
}

.comparison-table .highlight-col {
  background: var(--gold-glow);
}


/* ═══════════════════════════════════════════════════
   13. TIMELINE / HOW IT WORKS
   ═══════════════════════════════════════════════════ */

.timeline {
  position: relative;
  padding-left: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--stellar-dim) 0%, var(--border-constellation) 50%, transparent 100%);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.2s var(--ease-out);
}

.timeline.visible::before {
  transform: scaleY(1);
}

.timeline-step {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-step:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--void);
  border: 2px solid var(--stellar);
  box-shadow: 0 0 12px var(--stellar-glow);
  z-index: 1;
  transform: scale(0);
  transition: transform 0.5s var(--ease-spring);
}

.timeline.visible .timeline-step:nth-child(1) .timeline-dot { transform: scale(1); transition-delay: 0.2s; }
.timeline.visible .timeline-step:nth-child(2) .timeline-dot { transform: scale(1); transition-delay: 0.4s; }
.timeline.visible .timeline-step:nth-child(3) .timeline-dot { transform: scale(1); transition-delay: 0.6s; }
.timeline.visible .timeline-step:nth-child(4) .timeline-dot { transform: scale(1); transition-delay: 0.8s; }

.timeline-step:first-child .timeline-dot {
  background: var(--stellar);
  box-shadow: 0 0 20px rgba(125, 211, 252, 0.4);
}

.timeline.visible .timeline-step:first-child .timeline-dot {
  animation: pulseRing 2s ease-in-out infinite 1.2s;
}

.timeline-step h3 { margin-bottom: 0.25rem; }

.timeline-step p {
  color: var(--text-body);
  max-width: 500px;
}

.timeline-label {
  font-family: var(--font-mono);
  font-size: var(--xs);
  color: var(--stellar);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}


/* ═══════════════════════════════════════════════════
   14. FAQ ACCORDION
   ═══════════════════════════════════════════════════ */

.faq-list {
  max-width: var(--max-narrow);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  border-left: 3px solid transparent;
  padding-left: var(--space-sm);
  transition: border-color var(--duration-base) ease;
}

.faq-item.open {
  border-bottom-color: var(--border-constellation);
  border-left-color: var(--stellar);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: var(--space-md) 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: color var(--duration-fast) ease;
}

.faq-question:hover { color: var(--stellar); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform var(--duration-base) var(--ease-out);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--stellar);
  transition: all var(--duration-base) var(--ease-out);
}

.faq-icon::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-base) var(--ease-out),
              padding var(--duration-base) var(--ease-out);
}

.faq-answer-inner {
  padding-bottom: var(--space-md);
  color: var(--text-body);
  font-size: var(--small);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════
   15. FORMS
   ═══════════════════════════════════════════════════ */

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-body);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border-constellation);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--body);
  transition: all var(--duration-fast) ease;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

/* Form focus glow */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--stellar);
  background: rgba(12, 16, 25, 0.9);
  box-shadow: 0 0 0 3px var(--stellar-ghost), 0 0 20px rgba(125, 211, 252, 0.08);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--raised);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-hint {
  font-size: var(--xs);
  color: var(--text-muted);
  margin-top: 6px;
}

.form-error {
  font-size: var(--xs);
  color: #ef4444;
  margin-top: 6px;
  display: none;
}

.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
  border-color: #ef4444;
}

.form-group.error .form-error { display: block; }

/* Multi-select (jurisdiction pills) */
.multi-select-wrap {
  position: relative;
}

.multi-select-trigger {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 48px;
  padding: 8px 40px 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border-constellation);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.multi-select-trigger:focus-within { border-color: var(--stellar); box-shadow: 0 0 0 3px var(--stellar-ghost); }

.multi-select-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--stellar-ghost);
  border: 1px solid var(--border-constellation);
  border-radius: 100px;
  font-size: var(--xs);
  color: var(--stellar);
}

.multi-select-pill button {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}

.multi-select-pill button:hover { color: #ef4444; }

.multi-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  background: var(--raised);
  border: 1px solid var(--border-constellation);
  border-radius: var(--radius-sm);
  display: none;
  z-index: 50;
}

.multi-select-dropdown.open { display: block; }

.multi-select-option {
  padding: 10px 16px;
  font-size: var(--small);
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.multi-select-option:hover {
  background: var(--stellar-ghost);
  color: var(--text-primary);
}

.multi-select-option.selected {
  color: var(--stellar);
  background: var(--stellar-ghost);
}


/* ═══════════════════════════════════════════════════
   16. INSIGHT / BLOG CARDS
   ═══════════════════════════════════════════════════ */

.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
}

.insight-card:hover {
  border-color: var(--border-constellation);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.insight-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--raised) 0%, var(--surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-card-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stellar);
  margin-bottom: 8px;
}

.insight-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.insight-card-body p {
  font-size: var(--small);
  color: var(--text-body);
  flex: 1;
}


/* ═══════════════════════════════════════════════════
   17. FOOTER
   ═══════════════════════════════════════════════════ */

.site-footer {
  border-top: none;
  background: var(--deep);
  padding: var(--space-2xl) 0 var(--space-lg);
  position: relative;
}

/* Footer luminous border */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--stellar-dim) 30%, var(--nebula-dim) 50%, var(--stellar-dim) 70%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand p {
  margin-top: var(--space-sm);
  font-size: var(--small);
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.65;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: var(--xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: var(--small);
  color: var(--text-muted);
  transition: color var(--duration-fast) ease;
  position: relative;
  display: inline-block;
}

/* Footer link hover underline */
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--stellar);
  transition: width var(--duration-base) var(--ease-out);
}

.footer-links a:hover { color: var(--stellar); }
.footer-links a:hover::after { width: 100%; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--xs);
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--text-body); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════
   18. SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal blur variant */
.reveal-blur {
  opacity: 0;
  filter: blur(8px);
  transition: opacity var(--duration-slow) var(--ease-out),
              filter var(--duration-slow) var(--ease-out);
}

.reveal-blur.visible {
  opacity: 1;
  filter: blur(0);
}

/* Reveal rise variant */
.reveal-rise {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-rise.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered reveal for children */
.reveal-stagger {
  opacity: 1;
  transform: none;
}

.reveal-stagger > * {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s var(--ease-out),
              transform 0.5s var(--ease-spring);
}

.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: scale(1); transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: scale(1); transition-delay: 50ms; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: scale(1); transition-delay: 100ms; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: scale(1); transition-delay: 150ms; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: scale(1); transition-delay: 200ms; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: scale(1); transition-delay: 250ms; }
.reveal-stagger.visible > *:nth-child(7) { opacity: 1; transform: scale(1); transition-delay: 300ms; }
.reveal-stagger.visible > *:nth-child(8) { opacity: 1; transform: scale(1); transition-delay: 350ms; }
.reveal-stagger.visible > *:nth-child(9) { opacity: 1; transform: scale(1); transition-delay: 400ms; }
.reveal-stagger.visible > *:nth-child(10) { opacity: 1; transform: scale(1); transition-delay: 450ms; }
.reveal-stagger.visible > *:nth-child(11) { opacity: 1; transform: scale(1); transition-delay: 500ms; }
.reveal-stagger.visible > *:nth-child(12) { opacity: 1; transform: scale(1); transition-delay: 550ms; }
.reveal-stagger.visible > *:nth-child(13) { opacity: 1; transform: scale(1); transition-delay: 600ms; }
.reveal-stagger.visible > *:nth-child(14) { opacity: 1; transform: scale(1); transition-delay: 650ms; }
.reveal-stagger.visible > *:nth-child(15) { opacity: 1; transform: scale(1); transition-delay: 700ms; }


/* ═══════════════════════════════════════════════════
   19. JURISDICTION MAP AREA
   ═══════════════════════════════════════════════════ */

.jurisdiction-map {
  position: relative;
  padding: var(--space-xl) 0;
}

.jurisdiction-dots {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.jurisdiction-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: var(--small);
  color: var(--text-body);
  transition: all var(--duration-fast) ease;
  cursor: default;
}

.jurisdiction-pill:hover {
  border-color: var(--border-constellation);
  color: var(--text-primary);
  background: var(--raised);
}

.jurisdiction-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stellar);
}


/* ═══════════════════════════════════════════════════
   20. MISC COMPONENTS
   ═══════════════════════════════════════════════════ */

/* Divider with width animation */
.divider {
  width: 0;
  height: 1px;
  background: var(--border-constellation);
  margin: var(--space-md) 0;
  transition: width 0.8s var(--ease-out);
}

.visible .divider,
.divider.visible {
  width: 60px;
}

.divider--center { margin-left: auto; margin-right: auto; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-stellar {
  background: var(--stellar-ghost);
  border: 1px solid var(--border-constellation);
  color: var(--stellar);
}

.badge-gold {
  background: var(--gold-glow);
  border: 1px solid var(--border-gold);
  color: var(--gold);
}

/* Stat block with scale-pop */
.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--stellar);
  line-height: 1;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.6s var(--ease-spring),
              opacity 0.6s var(--ease-out);
}

.stat-value.visible,
.visible .stat-value {
  transform: scale(1);
  opacity: 1;
}

.stat-label {
  font-size: var(--small);
  color: var(--text-muted);
  margin-top: 4px;
}

/* Horizontal rule */
hr.stellar {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-constellation) 50%, transparent 100%);
  margin: var(--space-xl) 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--stellar);
  color: var(--void);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-family: var(--font-mono);
  font-size: var(--small);
}

.skip-link:focus { top: 10px; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--stellar) 0%, var(--nebula) 50%, var(--gold) 100%);
  z-index: 999;
  transform-origin: left;
  transform: scaleX(0);
  transition: none;
  width: 100%;
}

/* Page header (inner pages) */
.page-header {
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-xl);
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-constellation) 50%, transparent 100%);
}

.page-header h1 { margin-top: var(--space-sm); margin-bottom: var(--space-md); }

.page-header .subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
}

/* Feature list with checkmarks */
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: var(--body);
  color: var(--text-body);
}

.feature-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--stellar);
  margin-top: 2px;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* CTA section with dramatic background */
.cta-section {
  text-align: center;
  padding: var(--space-3xl) 0;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background:
    radial-gradient(circle at 40% 40%, rgba(125, 211, 252, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(167, 139, 250, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.03) 0%, transparent 40%);
  pointer-events: none;
  animation: breathe 10s ease-in-out infinite;
}

/* CTA top border glow */
.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--stellar) 30%, var(--gold) 50%, var(--stellar) 70%, transparent 100%);
  opacity: 0.4;
}

.cta-section h2 {
  position: relative;
  margin-bottom: var(--space-md);
}

.cta-section p {
  position: relative;
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  font-size: 1.1rem;
}

.cta-section .btn-group {
  position: relative;
  justify-content: center;
}

/* Service tier visual progression */
.tier-progression {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: var(--space-xl) 0;
  flex-wrap: wrap;
}

.tier-node {
  text-align: center;
  padding: var(--space-sm) var(--space-md);
}

.tier-node-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--stellar);
  margin: 0 auto var(--space-xs);
  box-shadow: 0 0 16px var(--stellar-glow);
}

.tier-node-label {
  font-family: var(--font-mono);
  font-size: var(--xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tier-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--stellar-dim) 0%, var(--stellar-glow) 100%);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .tier-connector { width: 30px; }
  .tier-node { padding: var(--space-xs); }
}

/* Security messaging */
.security-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding: var(--space-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--small);
  color: var(--text-muted);
}

.security-badge svg {
  width: 20px;
  height: 20px;
  color: var(--stellar);
}


/* ═══════════════════════════════════════════════════
   21. FLOATING CTA BUTTON
   ═══════════════════════════════════════════════════ */

.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: var(--xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow:
    var(--glass-shadow),
    0 0 30px rgba(125, 211, 252, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: all var(--duration-base) var(--ease-out);
  color: var(--stellar);
}

.floating-cta:hover {
  background: var(--stellar);
  color: var(--void);
  border-color: var(--stellar);
  box-shadow:
    0 0 40px rgba(125, 211, 252, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.floating-cta svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 640px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px;
    font-size: 10px;
  }
}


/* ═══════════════════════════════════════════════════
   22. RESPONSIVE UTILITIES
   ═══════════════════════════════════════════════════ */

@media (max-width: 768px) {
  section { padding: var(--space-xl) 0; }
  .hero { min-height: auto; padding-top: calc(var(--nav-height) + var(--space-xl)); padding-bottom: var(--space-xl); }
  .hero-orbital { display: none; }
  .hero::before, .hero::after { display: none; }
}

.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; }
}

/* Print */
@media print {
  .starfield, .nav-top, .scroll-progress, .floating-cta { display: none; }
  body { background: #fff; color: #000; }
  * { color: #000 !important; background: transparent !important; border-color: #ccc !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .starfield::before { animation: none; }
  .hero .eyebrow,
  .hero h1,
  .hero .subtitle,
  .hero .btn-group,
  .hero .trust-bar {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
