/* ============================================================
   Orbit Marketing Site — shared stylesheet
   Design language: deep space + violet aurora (dark)
                    soft white + violet/blue (light)
   ============================================================ */

/* -----------------------------------------------------------
   THEMES — dark is default; light kicks in via [data-theme=light]
   The values that change between themes live in :root and
   [data-theme=light]. Tokens that are theme-invariant
   (gradients, radii, easing) stay in :root.
   ----------------------------------------------------------- */
:root {
  /* dark — same palette as the original single-page build */
  --bg-0: #06060f;
  --bg-1: #0a0a1f;
  --bg-2: #11112a;
  --bg-3: #1a1a3a;
  --surface: rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.06);
  --surface-strong: rgba(0,0,0,0.25);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.15);
  --text: #f5f5fa;
  --text-dim: #a8a8c0;
  --text-mute: #6e6e85;

  --nav-bg: rgba(6,6,15,0.65);
  --nav-bg-scrolled: rgba(6,6,15,0.85);
  --modal-backdrop: rgba(4,4,12,0.7);
  --modal-bg: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  --input-bg: rgba(0,0,0,0.25);

  --device-bg: linear-gradient(180deg, rgba(26,26,58,0.9), rgba(10,10,31,0.95));
  --device-bar-bg: rgba(0,0,0,0.2);

  --gradient-aurora: radial-gradient(ellipse at 30% 20%, rgba(124,92,255,0.35), transparent 60%),
                     radial-gradient(ellipse at 70% 0%, rgba(0,212,255,0.20), transparent 55%),
                     radial-gradient(ellipse at 50% 80%, rgba(255,92,167,0.15), transparent 60%);
  --star-opacity: 0.5;

  --roi-bg: linear-gradient(135deg, rgba(124,92,255,0.12), rgba(0,212,255,0.06));
  --roi-border: rgba(124,92,255,0.25);
  --roi-glow: radial-gradient(circle, rgba(124,92,255,0.25), transparent 70%);

  --plan-featured-bg: linear-gradient(180deg, rgba(124,92,255,0.12), rgba(0,212,255,0.03));
  --compare-bg: linear-gradient(180deg, rgba(17,17,42,0.6), rgba(10,10,31,0.3));
  --compare-th-bg: rgba(0,0,0,0.25);
  --orbit-cell-bg: rgba(124,92,255,0.06);

  --cta-bg: linear-gradient(135deg, rgba(124,92,255,0.2), rgba(0,212,255,0.08));
  --cta-border: rgba(124,92,255,0.3);
  --cta-glow: radial-gradient(ellipse at center, rgba(124,92,255,0.2), transparent 70%);

  /* invariant tokens */
  --accent: #7c5cff;
  --accent-2: #00d4ff;
  --accent-3: #ff5ca7;
  --success: #2ee69b;
  --warn: #ffb547;
  --danger: #ff5c7a;
  --gradient-1: linear-gradient(135deg, #7c5cff 0%, #00d4ff 100%);
  --gradient-2: linear-gradient(135deg, #ff5ca7 0%, #7c5cff 50%, #00d4ff 100%);
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,0.6), 0 10px 30px -10px rgba(124,92,255,0.2);
  --shadow-glow: 0 0 60px rgba(124,92,255,0.35);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  /* light — soft white surface, brand violet/blue accents,
     designed to feel premium not bright/loud. */
  --bg-0: #f7f8fc;
  --bg-1: #ffffff;
  --bg-2: #f1f3fb;
  --bg-3: #e8ecf7;
  --surface: rgba(124,92,255,0.04);
  --surface-2: rgba(124,92,255,0.08);
  --surface-strong: rgba(124,92,255,0.06);
  --border: rgba(20,18,55,0.10);
  --border-strong: rgba(20,18,55,0.18);
  --text: #0d0c2a;
  --text-dim: #4a4a6a;
  --text-mute: #6e6e90;

  --nav-bg: rgba(255,255,255,0.75);
  --nav-bg-scrolled: rgba(255,255,255,0.92);
  --modal-backdrop: rgba(15,15,40,0.45);
  --modal-bg: linear-gradient(180deg, #ffffff, #f6f7fd);
  --input-bg: #ffffff;

  --device-bg: linear-gradient(180deg, #ffffff, #f4f6fc);
  --device-bar-bg: #f1f3fb;

  --gradient-aurora: radial-gradient(ellipse at 30% 20%, rgba(124,92,255,0.18), transparent 60%),
                     radial-gradient(ellipse at 70% 0%, rgba(30,144,255,0.14), transparent 55%),
                     radial-gradient(ellipse at 50% 80%, rgba(255,92,167,0.08), transparent 60%);
  --star-opacity: 0;

  --roi-bg: linear-gradient(135deg, rgba(124,92,255,0.10), rgba(30,144,255,0.05));
  --roi-border: rgba(124,92,255,0.22);
  --roi-glow: radial-gradient(circle, rgba(124,92,255,0.18), transparent 70%);

  --plan-featured-bg: linear-gradient(180deg, rgba(124,92,255,0.10), rgba(30,144,255,0.04));
  --compare-bg: linear-gradient(180deg, #ffffff, #f7f8ff);
  --compare-th-bg: #f1f3fb;
  --orbit-cell-bg: rgba(124,92,255,0.06);

  --cta-bg: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(30,144,255,0.10));
  --cta-border: rgba(124,92,255,0.28);
  --cta-glow: radial-gradient(ellipse at center, rgba(124,92,255,0.16), transparent 70%);

  --accent-2: #1e90ff; /* swap cyan -> deeper blue in light mode for legibility */
  --gradient-1: linear-gradient(135deg, #7c5cff 0%, #1e90ff 100%);
  --gradient-2: linear-gradient(135deg, #ff5ca7 0%, #7c5cff 50%, #1e90ff 100%);
  --shadow-lg: 0 30px 80px -25px rgba(60,50,160,0.18), 0 10px 30px -10px rgba(124,92,255,0.12);
  --shadow-glow: 0 0 60px rgba(124,92,255,0.18);
}

/* Avoid the unstyled flash before the theme attribute is set by JS. */
html { color-scheme: dark light; }
[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
::selection { background: rgba(124,92,255,0.45); color: #fff; }

/* Animated background aurora */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-aurora);
  z-index: -2;
  pointer-events: none;
  transition: background 0.3s var(--ease);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 75% 70%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.4), transparent);
  background-size: 800px 800px;
  z-index: -1;
  pointer-events: none;
  opacity: var(--star-opacity);
  animation: drift 90s linear infinite;
}
@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-800px); }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0; color: var(--text-dim); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent-2);
  padding: 6px 14px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 999px;
}
[data-theme="light"] .eyebrow {
  background: rgba(30,144,255,0.10);
  border-color: rgba(30,144,255,0.25);
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2);
}
.gradient-text {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; position: relative; }
@media (max-width: 768px) { section { padding: 70px 0; } }

/* ============== NAV ============== */
nav.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
nav.nav.scrolled {
  background: var(--nav-bg-scrolled);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1;
  color: var(--text);
  flex-shrink: 0;
}
.brand-mark { display: inline-flex; flex-shrink: 0; }
.brand-mark svg { display: block; }
.orbit-disc { fill: var(--text); }
.orbit-arc { stroke: #4FB3FF; fill: none; stroke-width: 4; stroke-linecap: round; }
.orbit-arc.back { opacity: 0.4; }
.orbit-sat { fill: #7FCBFF; }
[data-theme="light"] .orbit-arc { stroke: #2E7BE0; }
[data-theme="light"] .orbit-arc.back { opacity: 0.32; }
[data-theme="light"] .orbit-sat { fill: #4FB3FF; }
.brand-word {
  position: relative; font-family: 'Inter', sans-serif;
  font-weight: 700; letter-spacing: -0.025em; color: var(--text);
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 0.92rem; color: var(--text-dim); font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ''; display: block; height: 2px; margin-top: 4px;
  background: var(--gradient-1); border-radius: 2px;
}
.nav-cta {
  display: flex; gap: 10px; align-items: center;
}

/* Theme toggle */
.theme-toggle {
  width: 38px; height: 38px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.theme-toggle:hover { color: var(--text); background: var(--surface-2); border-color: var(--border-strong); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Mobile nav toggle */
.nav-menu-btn {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  color: var(--text);
  align-items: center; justify-content: center;
}
.nav-menu-btn svg { width: 20px; height: 20px; }
.nav-menu-btn .icon-close { display: none; }
body.nav-open .nav-menu-btn .icon-bars { display: none; }
body.nav-open .nav-menu-btn .icon-close { display: block; }

/* Mobile drawer */
.nav-drawer {
  position: fixed; top: 64px; right: 0; left: 0;
  background: var(--nav-bg-scrolled);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 22px;
  display: none;
  z-index: 99;
}
.nav-drawer a {
  display: block; padding: 12px 4px; font-size: 1rem; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.nav-drawer a:last-of-type { border-bottom: none; }
.nav-drawer .drawer-cta { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.nav-drawer .drawer-cta .btn { width: 100%; }
body.nav-open .nav-drawer { display: block; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--gradient-1); color: #fff;
  box-shadow: 0 8px 24px rgba(124,92,255,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124,92,255,0.5); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover { background: var(--surface); }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn svg { width: 16px; height: 16px; }

/* ============== HERO ============== */
.hero { padding: 160px 0 60px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 { margin-top: 22px; }
.hero-sub {
  font-size: 1.18rem; margin-top: 22px; max-width: 540px; line-height: 1.65;
}
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 16px; margin-top: 38px;
  color: var(--text-mute); font-size: 0.85rem;
}
.hero-trust-avatars { display: flex; }
.hero-trust-avatars span {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg-1);
  margin-left: -8px; background: var(--gradient-1); display: grid; place-items: center;
  font-size: 0.75rem; font-weight: 700; color: #fff;
}
.hero-trust-avatars span:nth-child(2) { background: linear-gradient(135deg,#ff5ca7,#7c5cff); }
.hero-trust-avatars span:nth-child(3) { background: linear-gradient(135deg,#00d4ff,#2ee69b); }
.hero-trust-avatars span:nth-child(4) { background: linear-gradient(135deg,#ffb547,#ff5c7a); }
.hero-trust strong { color: var(--text); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--warn); }

/* Compact page hero (non-home pages) */
.page-hero { padding: 150px 0 60px; text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin-top: 18px; }
.page-hero p { margin: 20px auto 0; max-width: 640px; font-size: 1.08rem; }
.page-hero .hero-cta { justify-content: center; }

/* Hero visual */
.hero-visual {
  position: relative; transform: perspective(1400px) rotateY(-6deg) rotateX(4deg);
  transform-style: preserve-3d;
}
.device {
  background: var(--device-bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(124,92,255,0.25);
}
.device-bar {
  padding: 12px 16px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
  background: var(--device-bar-bg);
}
.device-dot { width: 10px; height: 10px; border-radius: 50%; }
.device-dot.r { background: #ff5c7a; }
.device-dot.y { background: #ffb547; }
.device-dot.g { background: #2ee69b; }
.device-url {
  margin-left: 14px; padding: 4px 12px; font-size: 0.78rem; color: var(--text-mute);
  background: var(--surface); border-radius: 6px; font-family: 'JetBrains Mono', monospace;
}
.device-body { padding: 22px; }

/* Floating cards near hero */
.float-card {
  position: absolute; padding: 14px 18px;
  background: var(--bg-1); backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
[data-theme="light"] .float-card {
  background: #ffffff;
}
.float-card.fc-1 { top: -28px; left: -38px; animation-delay: 0s; }
.float-card.fc-2 { bottom: -20px; right: -40px; animation-delay: 2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.float-card .fc-top { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 600; color: var(--text); }
.fc-icon {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--gradient-1); color: #fff;
}
.fc-icon.green { background: linear-gradient(135deg,#2ee69b,#00d4ff); }
.float-card .fc-text { font-size: 0.74rem; color: var(--text-mute); margin-top: 4px; }

@media (max-width: 768px) {
  .float-card { display: none; }
  .hero-visual { transform: none; }
}

/* ============== STATS BAR ============== */
.stats-bar { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.stat .num {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em;
  background: var(--gradient-1); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { color: var(--text-mute); font-size: 0.88rem; margin-top: 6px; }

/* ============== SECTION HEADER ============== */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.sec-head h2 { margin-top: 18px; }
.sec-head p { margin-top: 18px; font-size: 1.08rem; }

/* ============== PROBLEM ============== */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  padding: 28px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); position: relative; overflow: hidden;
}
.problem-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--danger), transparent);
}
.problem-card h3 { color: var(--text); margin-bottom: 10px; font-size: 1.15rem; }
.problem-card .stat-line { font-size: 2rem; font-weight: 800; color: var(--danger); margin-bottom: 4px; letter-spacing: -0.03em; }
.problem-card p { font-size: 0.95rem; }

/* ============== HOW IT WORKS ============== */
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .how-steps { grid-template-columns: 1fr; } }
.step {
  padding: 32px 26px; background: linear-gradient(180deg, var(--surface), transparent);
  border: 1px solid var(--border); border-radius: var(--radius-lg); position: relative;
}
.step-num {
  position: absolute; top: -18px; left: 26px;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--gradient-1); display: grid; place-items: center;
  font-weight: 800; color: #fff; box-shadow: 0 8px 22px rgba(124,92,255,0.4);
}
.step h3 { margin-top: 14px; margin-bottom: 10px; }
.step p { font-size: 0.95rem; }

/* ============== FEATURES ============== */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  padding: 28px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(124,92,255,0.4); background: var(--surface-2); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,92,255,0.25), rgba(0,212,255,0.15));
  border: 1px solid rgba(124,92,255,0.3);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--accent-2); }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { font-size: 0.93rem; }

/* ============== SCREENSHOTS ============== */
.ss-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center;
  margin-bottom: 100px;
}
.ss-row:last-child { margin-bottom: 0; }
.ss-row.reverse { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) {
  .ss-row, .ss-row.reverse { grid-template-columns: 1fr; gap: 24px; margin-bottom: 60px; }
}
.ss-row.reverse .ss-copy { order: 2; }
@media (max-width: 900px) { .ss-row.reverse .ss-copy { order: 0; } }
.ss-copy h2 { margin-bottom: 16px; }
.ss-copy p { margin-bottom: 22px; font-size: 1.02rem; }
.ss-list { list-style: none; padding: 0; margin: 0; }
.ss-list li {
  display: flex; align-items: flex-start; gap: 12px; padding: 8px 0;
  font-size: 0.95rem; color: var(--text-dim);
}
.check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(46,230,155,0.15); border: 1px solid rgba(46,230,155,0.4);
  display: grid; place-items: center; color: var(--success);
  margin-top: 1px;
}
.check svg { width: 12px; height: 12px; }

/* SVG mock screen wrapper */
.ss-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--device-bg);
  box-shadow: var(--shadow-lg);
}
.ss-frame-bar {
  display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border);
  background: var(--device-bar-bg);
}
.ss-frame-bar span { width: 8px; height: 8px; border-radius: 50%; }
.ss-frame-bar .r { background: #ff5c7a; } .ss-frame-bar .y { background: #ffb547; } .ss-frame-bar .g { background: #2ee69b; }

/* Light-mode adjustments for dark-text-on-dark SVG mockups: invert their colours so the panels keep contrast on a white page. */
[data-theme="light"] .ss-frame svg text[fill="#f5f5fa"] { fill: #0d0c2a; }
[data-theme="light"] .ss-frame svg text[fill="#a8a8c0"] { fill: #4a4a6a; }
[data-theme="light"] .ss-frame svg text[fill="#6e6e85"] { fill: #7a7a95; }
[data-theme="light"] .ss-frame svg rect[fill="rgba(255,255,255,0.04)"],
[data-theme="light"] .ss-frame svg rect[fill="rgba(255,255,255,0.03)"],
[data-theme="light"] .ss-frame svg rect[fill="rgba(255,255,255,0.05)"],
[data-theme="light"] .ss-frame svg rect[fill="rgba(255,255,255,0.06)"] {
  fill: rgba(124,92,255,0.06);
}
[data-theme="light"] .ss-frame svg rect[stroke="rgba(255,255,255,0.08)"] { stroke: rgba(20,18,55,0.12); }
[data-theme="light"] .device svg text[fill="#f5f5fa"] { fill: #0d0c2a; }
[data-theme="light"] .device svg text[fill="#a8a8c0"] { fill: #4a4a6a; }
[data-theme="light"] .device svg text[fill="#6e6e85"] { fill: #7a7a95; }
[data-theme="light"] .device svg rect[fill="rgba(255,255,255,0.04)"],
[data-theme="light"] .device svg rect[fill="rgba(255,255,255,0.03)"] {
  fill: rgba(124,92,255,0.05);
}
[data-theme="light"] .device svg rect[stroke="rgba(255,255,255,0.08)"] { stroke: rgba(20,18,55,0.12); }

/* ============== COMPARISON ============== */
.compare {
  background: var(--compare-bg);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  padding: 18px 22px; text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.compare th {
  background: var(--compare-th-bg); font-weight: 600; color: var(--text);
  font-size: 0.92rem;
}
.compare th.orbit { color: var(--accent-2); }
.compare td.row-label { font-weight: 600; color: var(--text); }
.compare td.orbit-cell { background: var(--orbit-cell-bg); }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--success); font-weight: 700; }
.compare .no { color: var(--text-mute); }
.compare .partial { color: var(--warn); }
@media (max-width: 768px) {
  .compare th, .compare td { padding: 12px 14px; font-size: 0.85rem; }
}

/* ============== ROI CALCULATOR ============== */
.roi {
  background: var(--roi-bg);
  border: 1px solid var(--roi-border);
  border-radius: var(--radius-xl);
  padding: 50px;
  position: relative; overflow: hidden;
}
.roi::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: var(--roi-glow);
  pointer-events: none;
}
.roi-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 900px) {
  .roi-grid { grid-template-columns: 1fr; gap: 30px; }
  .roi { padding: 28px 18px; border-radius: var(--radius-lg); }
}
.roi-input { margin-bottom: 22px; }
.roi-input label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.88rem; color: var(--text-dim); margin-bottom: 10px; font-weight: 500;
  gap: 12px;
}
.roi-input label .val {
  font-weight: 700; color: var(--text);
  font-family: 'JetBrains Mono', monospace; font-size: 0.95rem;
  background: var(--surface); padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--border);
}
.roi-input .row { display: flex; align-items: center; gap: 14px; }
.roi-input input[type=range] {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 6px; background: var(--surface-2); border-radius: 3px; outline: none;
  width: 100%;
}
.roi-input input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gradient-1);
  cursor: pointer; box-shadow: 0 4px 12px rgba(124,92,255,0.5);
  border: 3px solid var(--bg-1);
}
.roi-input input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #7c5cff;
  cursor: pointer; border: 3px solid var(--bg-1);
}
/* On mobile, slider thumb bumps up so it's easier to grab on touch */
@media (max-width: 640px) {
  .roi-input input[type=range] { height: 8px; }
  .roi-input input[type=range]::-webkit-slider-thumb { width: 26px; height: 26px; }
  .roi-input input[type=range]::-moz-range-thumb { width: 26px; height: 26px; }
}
.roi-result {
  text-align: center; padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.roi-result .small { color: var(--text-dim); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.roi-result .big {
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -0.03em;
  background: var(--gradient-1); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 12px 0;
  line-height: 1.05;
  word-break: break-word;
}
.roi-result .sub { color: var(--text-dim); font-size: 0.95rem; }
.roi-breakdown {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; text-align: left;
}
@media (max-width: 380px) { .roi-breakdown { grid-template-columns: 1fr; } }
.roi-breakdown .item {
  padding: 14px; background: var(--surface-strong); border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.roi-breakdown .item .k { font-size: 0.72rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.08em; }
.roi-breakdown .item .v { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-top: 4px; word-break: break-word; }

/* ============== TESTIMONIALS ============== */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 1000px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial {
  padding: 32px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; position: relative;
}
.testimonial::before {
  content: '"'; position: absolute; top: 6px; right: 22px;
  font-family: Georgia, serif; font-size: 6rem; line-height: 1;
  color: rgba(124,92,255,0.15); font-weight: 700;
}
.testimonial .stars { margin-bottom: 16px; font-size: 1.1rem; }
.testimonial .quote {
  color: var(--text); font-size: 0.98rem; line-height: 1.65;
  flex-grow: 1; margin-bottom: 24px; position: relative; z-index: 1;
}
.author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  background: var(--gradient-1); font-size: 1.05rem;
  flex-shrink: 0;
}
.author-avatar.a2 { background: linear-gradient(135deg, #ff5ca7, #7c5cff); }
.author-avatar.a3 { background: linear-gradient(135deg, #00d4ff, #2ee69b); }
.author .name { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.author .role { color: var(--text-mute); font-size: 0.82rem; }

/* ============== PRICING ============== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan {
  padding: 36px 30px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; position: relative;
}
.plan.featured {
  background: var(--plan-featured-bg);
  border-color: rgba(124,92,255,0.5);
  box-shadow: 0 0 60px rgba(124,92,255,0.15);
  transform: scale(1.03);
}
@media (max-width: 1000px) { .plan.featured { transform: none; } }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-1); color: #fff; font-size: 0.75rem;
  padding: 5px 14px; border-radius: 999px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.plan-name { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.plan-desc { color: var(--text-mute); font-size: 0.88rem; margin-top: 6px; }
.plan-price { margin: 22px 0 8px; }
.plan-price .amt { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.plan-price .per { color: var(--text-mute); font-size: 0.9rem; }
.plan ul { list-style: none; padding: 0; margin: 24px 0; flex-grow: 1; }
.plan ul li {
  padding: 8px 0; display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.93rem; color: var(--text-dim);
}
.plan ul li::before {
  content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0;
}

/* ============== FAQ ============== */
.faq-grid { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; background: var(--surface);
  overflow: hidden; transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-q {
  width: 100%; padding: 20px 24px; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 1rem; font-weight: 600; color: var(--text);
}
.faq-q .icon { transition: transform 0.3s var(--ease); font-size: 1.3rem; color: var(--accent); }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease);
  padding: 0 24px; color: var(--text-dim); font-size: 0.95rem;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 22px; }

/* ============== CTA ============== */
.cta-final {
  background: var(--cta-bg);
  border: 1px solid var(--cta-border);
  border-radius: var(--radius-xl);
  padding: 70px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: var(--cta-glow);
  pointer-events: none;
}
.cta-final h2 { position: relative; }
.cta-final p { margin-top: 18px; font-size: 1.1rem; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
.cta-final .hero-cta { justify-content: center; position: relative; margin-top: 32px; }

/* ============== ABOUT / CONTACT page layouts ============== */
.split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.about-stack > * + * { margin-top: 22px; }
.value-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px;
}
@media (max-width: 640px) { .value-grid { grid-template-columns: 1fr; } }
.value {
  padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.value h4 { font-size: 1rem; margin-bottom: 8px; }
.value p { font-size: 0.92rem; }

.contact-card {
  padding: 30px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: none; }
.contact-row svg { width: 22px; height: 22px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.contact-row .lbl { color: var(--text-mute); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-row .val { color: var(--text); font-size: 1rem; margin-top: 2px; }

/* ============== COMING-SOON page ============== */
.coming-soon {
  min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 160px 24px 80px;
}
.coming-soon h1 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 18px; }
.coming-soon p { margin: 20px auto 0; max-width: 540px; font-size: 1.05rem; }
.coming-soon .cs-icon {
  width: 84px; height: 84px; border-radius: var(--radius-lg);
  background: var(--gradient-1); display: grid; place-items: center;
  margin: 0 auto; color: #fff;
  box-shadow: var(--shadow-glow);
}
.coming-soon .cs-icon svg { width: 38px; height: 38px; }

/* ============== FOOTER ============== */
footer {
  padding: 70px 0 30px; border-top: 1px solid var(--border); margin-top: 100px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.9rem; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: var(--text-mute); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  color: var(--text-mute); font-size: 0.82rem;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 8px; transition: background 0.2s, border-color 0.2s;
}
.socials a:hover { background: var(--surface); border-color: var(--border-strong); }
.socials svg { width: 16px; height: 16px; }

/* ============== MODAL ============== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--modal-backdrop); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; transition: opacity 0.25s var(--ease);
}
.modal-backdrop.open { display: flex; opacity: 1; }
.modal {
  width: 100%; max-width: 540px;
  background: var(--modal-bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 92vh; overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease);
  position: relative;
}
.modal-backdrop.open .modal { transform: none; }
.modal-head {
  padding: 28px 32px 18px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.modal-head h3 { font-size: 1.35rem; margin-bottom: 6px; }
.modal-head p { font-size: 0.92rem; }
.modal-close {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--surface); color: var(--text-dim);
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--surface-2); color: var(--text); }
.modal-body { padding: 22px 32px 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); background: var(--surface);
}
.field textarea { resize: vertical; min-height: 90px; }
.field .err { color: var(--danger); font-size: 0.78rem; margin-top: 4px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.modal-foot {
  margin-top: 8px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.modal-foot .btn { flex: 1; min-width: 160px; }
.modal-note {
  margin-top: 14px; font-size: 0.78rem; color: var(--text-mute); text-align: center;
}
.modal-success {
  text-align: center; padding: 20px 10px 6px;
}
.modal-success .check-lg {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #2ee69b, #00d4ff);
  display: grid; place-items: center; margin: 0 auto 18px;
  color: #fff; box-shadow: 0 0 40px rgba(46,230,155,0.4);
}
.modal-success h3 { margin-bottom: 10px; }
.modal-success p { font-size: 0.95rem; max-width: 380px; margin: 0 auto 22px; }

/* ============== ANIMATIONS ============== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.show { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* Honour reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
                                                                                                                                                                                                                                                                                             