/* ============================================
   OmniFlow — Premium Landing Page
   ============================================ */

:root {
  --bg: #07071A;
  --bg-2: #0B0B23;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #F8FAFC;
  --text-muted: #C7CAE3;
  --text-dim: #8B90B5;

  --primary: #6366F1;
  --primary-light: #818CF8;
  --primary-lighter: #A5B4FC;
  --primary-dark: #4F46E5;

  --grad: linear-gradient(135deg, #A5B4FC 0%, #818CF8 35%, #6366F1 70%, #4F46E5 100%);
  --grad-soft: linear-gradient(135deg, rgba(165,180,252,0.15), rgba(99,102,241,0.05));
  --glow: 0 0 80px rgba(99, 102, 241, 0.35);
  --glass: linear-gradient(145deg, rgba(255,255,255,0.088), rgba(255,255,255,0.026));
  --glass-strong: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.036));
  --glass-border: rgba(255,255,255,0.14);
  --glass-border-hot: rgba(165,180,252,0.34);
  --depth-soft: 0 24px 70px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.075);
  --depth-strong: 0 34px 100px rgba(0,0,0,0.38), 0 18px 64px -44px rgba(129,140,248,0.9), inset 0 1px 0 rgba(255,255,255,0.1);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1200px;
  --container-narrow: 760px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.container-narrow { max-width: var(--container-narrow); }

/* ============================================
   BACKGROUND EFFECTS
   ============================================ */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.2) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  max-width: 100vw;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #6366F1, transparent 70%);
  top: -200px; left: -150px;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #8B5CF6, transparent 70%);
  top: 30%; right: -200px;
  animation: orbFloat 25s ease-in-out infinite reverse;
}
.orb-3 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #4F46E5, transparent 70%);
  bottom: -300px; left: 30%;
  animation: orbFloat 30s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  top: 10px;
}
.nav.scrolled .nav-inner {
  background: rgba(7, 7, 26, 0.78);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  border-color: var(--border-strong);
  box-shadow: 0 18px 60px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px 9px 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)),
    rgba(7, 7, 26, 0.68);
  backdrop-filter: blur(26px) saturate(165%);
  -webkit-backdrop-filter: blur(26px) saturate(165%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
  max-width: var(--container);
  margin: 0 auto;
  box-shadow: 0 16px 70px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.1);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-img {
  height: 34px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 14px rgba(129, 140, 248, 0.28));
  transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-logo:hover .logo-img {
  filter: drop-shadow(0 4px 22px rgba(129, 140, 248, 0.5));
  transform: scale(1.02);
}
.logo-img-lg {
  height: 44px;
}
.footer-logo {
  margin-bottom: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links > a {
  font-size: 14px;
  color: #EEF0FF;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  letter-spacing: 0;
}
.nav-links > a:not(.btn) { opacity: 0.85; }
.nav-links > a:not(.btn):hover { color: #FFFFFF; opacity: 1; }
.nav-links > a.btn {
  margin-left: 4px;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.42), inset 0 1px 0 rgba(255,255,255,0.28);
}
.nav-links > a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.nav-links > a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
  position: relative;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 50%);
  opacity: 0;
  transition: opacity 0.25s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(99, 102, 241, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--primary-lighter);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-block { width: 100%; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 150px 0 86px;
  z-index: 1;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(129, 140, 248, 0.18), transparent 34%),
    radial-gradient(circle at 82% 34%, rgba(99, 102, 241, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 28%);
}
.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: min(920px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(165, 180, 252, 0.42), transparent);
  opacity: 0.75;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(165, 180, 252, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 14px 40px rgba(0,0,0,0.16);
  font-size: 13px;
  font-weight: 500;
  color: #DDE3FF;
  letter-spacing: 0;
  margin-bottom: 26px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-light);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.7rem, 5.75vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin-bottom: 26px;
  max-width: 980px;
  text-wrap: balance;
}
.grad-text {
  background: linear-gradient(110deg, #EEF2FF 0%, #A5B4FC 30%, #818CF8 62%, #FFFFFF 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  animation: gradShift 8s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 660px;
  margin-bottom: 34px;
  line-height: 1.58;
  text-wrap: balance;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 58px;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.stars {
  display: flex;
  gap: 2px;
}
.trust-text strong { color: var(--text); font-weight: 600; }

/* Dashboard Mockup */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin-top: 34px;
}
.dashboard-glow {
  position: absolute;
  inset: -46px;
  background: radial-gradient(ellipse at center, rgba(129,140,248,0.32), transparent 62%);
  filter: blur(70px);
  z-index: -1;
}
.dashboard {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.072), rgba(255,255,255,0.022)),
    rgba(8, 8, 28, 0.72);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 70px 140px -28px rgba(0,0,0,0.62),
    0 24px 80px -38px rgba(129,140,248,0.7),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.dash-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.dash-dots span:first-child { background: #FF5F57; }
.dash-dots span:nth-child(2) { background: #FFBD2E; }
.dash-dots span:nth-child(3) { background: #28CA42; }
.dash-url {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  padding: 4px 14px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.dash-body { display: flex; min-height: 400px; }
.dash-sidebar {
  width: 56px;
  background: rgba(0,0,0,0.2);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid var(--border);
}
.dash-side-logo {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad);
  border-radius: 8px;
  margin-bottom: 8px;
}
.dash-side-item {
  height: 28px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
}
.dash-side-item.active {
  background: rgba(99,102,241,0.2);
  border-left: 2px solid var(--primary-light);
}
.dash-main {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat-card {
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
}
.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.stat-value {
  font-size: 20px;
  font-weight: 700;
  margin: 4px 0 2px;
  letter-spacing: -0.02em;
}
.stat-trend {
  font-size: 11px;
  font-weight: 600;
}
.stat-trend.up { color: #34D399; }
.dash-chart {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  height: 200px;
}
.dash-chart svg { width: 100%; height: 100%; }
.dash-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr 60px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
}
.dash-row span:not(.pill) {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}
.dash-row span:first-child { background: rgba(255,255,255,0.15); }
.pill {
  height: 18px !important;
  border-radius: 4px;
}
.pill.green { background: rgba(52,211,153,0.3) !important; }
.pill.blue { background: rgba(99,102,241,0.3) !important; }

.float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(20, 20, 50, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  text-align: left;
  animation: floatTag 4s ease-in-out infinite;
}
.float-tag-1 {
  top: 12%;
  left: -20px;
  animation-delay: 0s;
}
.float-tag-2 {
  top: 45%;
  right: -30px;
  animation-delay: 1.5s;
}
.float-tag-3 {
  bottom: 12%;
  left: -10px;
  animation-delay: 2.5s;
}
@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.ft-icon {
  width: 32px; height: 32px;
  background: var(--grad-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.ft-title { font-size: 12px; font-weight: 600; }
.ft-sub { font-size: 11px; color: var(--text-dim); margin-top: 1px; }

/* Cycling chips visibility */
.float-tag {
  opacity: 1;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.float-tag.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px) scale(0.95);
}

/* ============================================
   DECORATIVE MARK WATERMARKS
   ============================================ */

/* Giant rotating mark in hero background */
.hero-mark {
  position: absolute;
  right: -110px;
  top: 118px;
  width: 560px;
  height: 560px;
  opacity: 0.045;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 70px rgba(129, 140, 248, 0.48));
  animation: markSpin 100s linear infinite;
  user-select: none;
}
@keyframes markSpin {
  to { transform: rotate(360deg); }
}

/* Mark watermark inside CTA card */
.cta-mark {
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.5));
  animation: markSpin 60s linear infinite reverse;
  user-select: none;
}

/* Side accent mark on sections */
.section-mark {
  position: absolute;
  width: 360px;
  height: 360px;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  animation: markSpin 100s linear infinite;
  z-index: 0;
}
.section-mark-left {
  left: -120px;
  top: 50%;
  transform: translateY(-50%);
}
.section-mark-right {
  right: -120px;
  top: 50%;
}

/* ============================================
   HERO LIVE ANIMATIONS
   ============================================ */

/* Light beams streaking across hero */
.hero-beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.beam {
  position: absolute;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #A5B4FC, transparent);
  opacity: 0.32;
}
.beam-1 {
  top: 18%; left: -200px;
  animation: beamMove 7s linear infinite;
  animation-delay: 0s;
}
.beam-2 {
  top: 42%; left: -200px;
  width: 300px;
  background: linear-gradient(90deg, transparent, #818CF8, transparent);
  animation: beamMove 9s linear infinite;
  animation-delay: 3s;
}
.beam-3 {
  top: 68%; left: -200px;
  width: 250px;
  animation: beamMove 11s linear infinite;
  animation-delay: 6s;
}
@keyframes beamMove {
  0% { transform: translateX(0) skewX(-12deg); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translateX(calc(100vw + 300px)) skewX(-12deg); opacity: 0; }
}

/* Floating sparkle particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #A5B4FC;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(165,180,252,0.9), 0 0 16px rgba(165,180,252,0.35);
  opacity: 0;
  animation: particleFloat 15s ease-in-out infinite;
}
.hero-particles span:nth-child(1)  { left: 8%;  top: 20%; animation-delay: 0s;   width: 3px; height: 3px; }
.hero-particles span:nth-child(2)  { left: 15%; top: 70%; animation-delay: 1s;   }
.hero-particles span:nth-child(3)  { left: 25%; top: 35%; animation-delay: 2s;   width: 5px; height: 5px; }
.hero-particles span:nth-child(4)  { left: 38%; top: 80%; animation-delay: 3s;   }
.hero-particles span:nth-child(5)  { left: 50%; top: 15%; animation-delay: 0.5s; width: 3px; height: 3px; }
.hero-particles span:nth-child(6)  { left: 60%; top: 65%; animation-delay: 4s;   }
.hero-particles span:nth-child(7)  { left: 72%; top: 30%; animation-delay: 2.5s; width: 5px; height: 5px; }
.hero-particles span:nth-child(8)  { left: 85%; top: 75%; animation-delay: 1.5s; }
.hero-particles span:nth-child(9)  { left: 92%; top: 25%; animation-delay: 5s;   }
.hero-particles span:nth-child(10) { left: 30%; top: 55%; animation-delay: 6s;   width: 3px; height: 3px; }
.hero-particles span:nth-child(11) { left: 65%; top: 45%; animation-delay: 7s;   }
.hero-particles span:nth-child(12) { left: 45%; top: 90%; animation-delay: 3.5s; }
@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 0.9; transform: translateY(-20px) scale(1); }
  50% { opacity: 0.6; transform: translateY(-60px) scale(1.2); }
  80% { opacity: 0.4; transform: translateY(-90px) scale(0.8); }
}

/* Word rotator - vertical scroll-through */
.word-rotator {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
  height: 1.05em;
  line-height: 1.05;
}
.word-slot {
  display: flex;
  flex-direction: column;
  animation: wordRotate 16s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}
.word-slot .word {
  height: 1.05em;
  background: linear-gradient(110deg, #EEF2FF, #A5B4FC 48%, #818CF8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
@keyframes wordRotate {
  0%,  18% { transform: translateY(0); }
  22%, 40% { transform: translateY(-1.05em); }
  44%, 62% { transform: translateY(-2.10em); }
  66%, 84% { transform: translateY(-3.15em); }
  88%, 100% { transform: translateY(-4.20em); }
}

/* Title blinking cursor at end */
.title-cursor {
  display: inline-block;
  width: 4px;
  height: 0.85em;
  background: var(--primary-light);
  margin-left: 6px;
  vertical-align: -0.05em;
  border-radius: 2px;
  animation: blink 1.1s steps(2) infinite;
  box-shadow: 0 0 12px var(--primary-light);
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Pulsing ring around primary CTA in hero */
.btn-pulse {
  position: relative;
  overflow: visible;
}
.btn-pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 100px;
  border: 2px solid rgba(165, 180, 252, 0.6);
  animation: ctaPulseRing 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}
@keyframes ctaPulseRing {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* Live "online now" pill in hero */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 13px;
  color: #6EE7B7;
  font-weight: 500;
  margin-left: 4px;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34D399;
  animation: livePulse 1.5s ease-in-out infinite;
  position: relative;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #34D399;
  animation: livePulseRing 1.5s ease-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes livePulseRing {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}
.live-text strong { color: #FFFFFF; font-weight: 700; }

/* Chart line draw-in animation */
.chart-line {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: chartDraw 2.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
  filter: drop-shadow(0 0 6px rgba(129, 140, 248, 0.5));
}
@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}
.chart-fill {
  opacity: 0;
  animation: chartFillIn 1.5s ease-out 1.6s forwards;
}
@keyframes chartFillIn {
  to { opacity: 1; }
}

/* Pulsing dot at chart endpoint */
.chart-pulse {
  filter: drop-shadow(0 0 6px #A5B4FC);
  animation: chartDotPulse 1.6s ease-in-out infinite;
  opacity: 0;
  animation-delay: 2.8s;
  animation-fill-mode: forwards;
}
@keyframes chartDotPulse {
  0%, 100% { opacity: 1; r: 5; }
  50% { opacity: 0.7; r: 6; }
}
.chart-pulse-ring {
  opacity: 0;
  transform-origin: 600px 30px;
  animation: chartRing 1.8s ease-out infinite 2.8s;
}
@keyframes chartRing {
  0%   { opacity: 0.8; r: 5;  stroke-width: 2; }
  100% { opacity: 0;   r: 18; stroke-width: 0.5; }
}

/* Scanning beam across the chart */
.dash-chart { position: relative; overflow: hidden; }
.chart-scan {
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(165, 180, 252, 0.18), transparent);
  animation: chartScan 4s ease-in-out infinite 3s;
  pointer-events: none;
}
@keyframes chartScan {
  0% { left: -30%; }
  60% { left: 100%; }
  100% { left: 100%; }
}

/* Subtle ticker glow when stat updates */
.stat-value.tick-flash {
  animation: tickFlash 0.8s ease-out;
}
@keyframes tickFlash {
  0% { color: #FFFFFF; text-shadow: 0 0 16px #A5B4FC; }
  100% { color: inherit; text-shadow: none; }
}

/* Dashboard tilt prep */
.hero-visual {
  transform-style: preserve-3d;
  perspective: 1400px;
  transition: transform 0.5s var(--ease);
}
.dashboard {
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

/* Marquee strip */
.strip-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip-logos {
  animation: marquee 35s linear infinite;
  width: max-content;
  flex-wrap: nowrap;
}

/* ============================================
   LOGO STRIP
   ============================================ */
.strip {
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.strip-label {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
  font-weight: 500;
}
.strip-logos {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-left: 56px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.strip-logos span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #B4B8D8;
  transition: color 0.3s, opacity 0.3s;
  opacity: 0.75;
}
.strip-logos span:hover { color: var(--text); opacity: 1; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.section.pricing {
  overflow: hidden;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-lighter);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

/* Problem */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}
.problem-card:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.problem-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.problem-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.problem-card p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(99,102,241,0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.feature-card:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-4px);
  background: var(--surface-2);
}
.feature-card:hover::before {
  opacity: 1;
  top: -50%; left: -50%;
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-soft);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 12px;
  color: var(--primary-lighter);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
}
.feature-card:hover .feature-icon {
  background: var(--grad);
  color: white;
  border-color: transparent;
  transform: scale(1.05);
}
.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* How It Works */
.how-steps {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.how-step {
  flex: 1;
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
  position: relative;
  transition: all 0.3s var(--ease);
}
.how-step:hover {
  border-color: rgba(99,102,241,0.4);
  background: var(--surface-2);
  transform: translateY(-4px);
}
.how-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  line-height: 1;
}
.how-step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.how-step p {
  color: var(--text-muted);
  font-size: 15px;
}
.how-line {
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.how-line::before {
  content: '';
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.how-line::after {
  content: '→';
  position: absolute;
  color: var(--primary-light);
  font-size: 18px;
  background: var(--bg);
  padding: 0 8px;
}

/* Stats */
.stats {
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 48px 32px;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(99,102,241,0.02));
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.stats-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.15), transparent 70%);
  pointer-events: none;
}
.stat-block {
  text-align: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline;
}
.stat-plus {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  margin-left: 2px;
}
.stat-text {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 8px;
}
.stat-source {
  color: var(--text-dim);
  font-size: 11.5px;
  line-height: 1.45;
  margin: 10px auto 0;
  max-width: 220px;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.fit-card {
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow: var(--depth-soft);
}
.fit-card-wide {
  grid-column: 1 / -1;
}
.fit-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.fit-card p,
.fit-card li {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.fit-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.fit-card li {
  position: relative;
  padding-left: 20px;
}
.fit-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 14px rgba(129,140,248,0.7);
}

/* Pricing */
.price-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}
.price-card {
  position: relative;
  width: 100%;
  padding: 44px 40px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.35);
}
.price-card-featured {
  background: linear-gradient(180deg, rgba(99,102,241,0.12), rgba(255,255,255,0.03));
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 30px 80px -20px rgba(99,102,241,0.35);
  overflow: visible;
}
.price-card-featured:hover {
  border-color: rgba(99,102,241,0.6);
  box-shadow: 0 40px 100px -20px rgba(99,102,241,0.5);
}
/* Hide legacy inner streak */
.price-card-featured .price-glow { display: none; }

/* Register a custom CSS property so the conic-gradient angle can animate */
@property --runner-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Chasing light that travels along the card's border path */
.price-card-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--runner-angle),
    transparent 0%,
    transparent 70%,
    rgba(165, 180, 252, 0.3) 80%,
    rgba(199, 210, 254, 0.9) 90%,
    rgba(199, 210, 254, 1) 96%,
    rgba(129, 140, 248, 1) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: borderRunner 4s linear infinite;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(165, 180, 252, 0.7));
}
@keyframes borderRunner {
  to { --runner-angle: 360deg; }
}
.price-badge {
  position: relative;
  align-self: flex-start;
  top: auto;
  right: auto;
  padding: 6px 14px;
  margin-bottom: 18px;
  background: var(--grad);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.price-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.price-tagline {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 32px;
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.price-amount {
  display: flex;
  align-items: baseline;
}
.price-currency {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--text-muted);
}
.price-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 5.5vw, 4.25rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-period {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}
.price-strike {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
}
.price-fine {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 12px;
  margin-bottom: 28px;
}
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
}
.price-list svg {
  flex-shrink: 0;
  padding: 4px;
  background: rgba(99,102,241,0.15);
  border-radius: 50%;
}

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.testi-card:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.testi-stars {
  color: #FBBF24;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testi-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
  letter-spacing: -0.02em;
}
.testi-name { font-weight: 600; font-size: 14px; }
.testi-role { font-size: 12.5px; color: var(--text-dim); }

/* Compare table */
.compare-table {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(90px, 0.82fr) minmax(96px, 0.9fr);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  align-items: center;
  gap: 16px;
}
.compare-row:last-child { border-bottom: none; }
.compare-head {
  background: rgba(99,102,241,0.08);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}
.compare-row .check {
  color: var(--primary-lighter);
  font-weight: 600;
}
.compare-row .check::before {
  content: '✓ ';
  color: #34D399;
  font-weight: 700;
}
.compare-total {
  background: rgba(99,102,241,0.06);
  padding: 20px 24px;
  font-size: 16px;
}
.tool-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 600;
}
.tool-name > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tool-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 10px 24px rgba(0,0,0,0.22);
  overflow: hidden;
}
.tool-logo img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  border-radius: 5px;
}
.tool-logo-stack {
  position: relative;
}
.tool-logo-stack img {
  position: absolute;
  width: 18px;
  height: 18px;
}
.tool-logo-stack img:first-child {
  left: 7px;
  top: 6px;
}
.tool-logo-stack img:last-child {
  right: 6px;
  bottom: 6px;
  box-shadow: 0 0 0 2px rgba(20,20,50,0.86);
}
.strike-red {
  text-decoration: line-through;
  color: var(--text-dim);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.faq-item[open] {
  background: var(--surface-2);
  border-color: rgba(99,102,241,0.3);
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--primary-lighter);
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 24px 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.faq-link {
  color: var(--primary-lighter);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(165, 180, 252, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.faq-link:hover { color: #FFFFFF; }

/* CTA */
.cta { padding: 80px 0 120px; }
.cta-card {
  position: relative;
  padding: 56px 48px;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(79,70,229,0.04));
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.4), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* GHL Form Placeholder */
.ghl-form {
  max-width: 480px;
  margin: 0 auto;
}
.placeholder-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.placeholder-form input,
.placeholder-form select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  transition: all 0.2s;
  outline: none;
}
.placeholder-form input::placeholder {
  color: var(--text-dim);
}
.placeholder-form input:focus,
.placeholder-form select:focus {
  border-color: var(--primary-light);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}
.placeholder-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A0A3C2' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  color: var(--text-dim);
}
.placeholder-form select:valid { color: var(--text); }
.placeholder-form select option {
  background: var(--bg-2);
  color: var(--text);
}
.form-fine {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 8px;
}

.cta-alt {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.cta-alt a {
  color: var(--primary-lighter);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  margin-left: 4px;
}
.cta-alt a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--primary-light);
  text-underline-offset: 4px;
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.ct-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.ct-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: rgba(99,102,241,0.15);
  color: var(--primary-light);
  border-radius: 50%;
  font-weight: 700;
  font-size: 11px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 56px;
}
.footer-brand { max-width: 340px; }
.footer-tag {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.6;
}
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 100px;
  color: var(--primary-lighter);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.25s var(--ease);
}
.footer-email:hover {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.5);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.footer-email svg { flex-shrink: 0; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-cols h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.footer-cols a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s;
  overflow-wrap: anywhere;
}
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}
.footer-bottom a {
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}
.footer-bottom a:hover {
  color: var(--primary-lighter);
}

/* ============================================
   PREMIUM GLASS PASS
   ============================================ */
.strip,
.section {
  isolation: isolate;
}

.strip {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008)),
    rgba(7, 7, 26, 0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -1px 0 rgba(255,255,255,0.04);
}

.section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 28px;
  width: min(1040px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(165,180,252,0.18), transparent);
  pointer-events: none;
  opacity: 0.78;
}

.problem-card,
.feature-card,
.how-step,
.testi-card,
.faq-item,
.compare-table,
.stats-grid,
.price-card,
.cta-card {
  background: var(--glass);
  border-color: var(--glass-border);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow: var(--depth-soft);
}

.problem-card,
.feature-card,
.how-step,
.testi-card,
.faq-item,
.price-card {
  transform: translateZ(0);
}

.problem-card:hover,
.feature-card:hover,
.how-step:hover,
.testi-card:hover,
.faq-item:hover,
.price-card:hover {
  background: var(--glass-strong);
  border-color: var(--glass-border-hot);
  box-shadow: var(--depth-strong);
}

.problem-card,
.feature-card,
.how-step,
.testi-card,
.price-card,
.cta-card {
  position: relative;
}

.problem-card::after,
.feature-card::after,
.how-step::after,
.testi-card::after,
.price-card::before,
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.14), transparent 32%),
    radial-gradient(circle at 18% 0%, rgba(165,180,252,0.18), transparent 34%);
  opacity: 0.55;
  pointer-events: none;
}

.feature-card::after,
.how-step::after,
.testi-card::after,
.problem-card::after {
  z-index: 0;
}

.feature-card > *,
.how-step > *,
.testi-card > *,
.problem-card > *,
.price-card > *,
.cta-card > * {
  position: relative;
  z-index: 1;
}

.feature-icon,
.dash-side-logo,
.price-list svg,
.ct-item span {
  background:
    linear-gradient(145deg, rgba(165,180,252,0.22), rgba(99,102,241,0.08));
  border: 1px solid rgba(165,180,252,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 12px 30px rgba(0,0,0,0.22);
}

.problem-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 18px 42px rgba(0,0,0,0.28);
}

.stats-grid {
  background:
    radial-gradient(circle at 50% 0%, rgba(165,180,252,0.2), transparent 48%),
    var(--glass);
  border-color: rgba(165,180,252,0.24);
}

.stat-block {
  padding: 18px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.065);
  overflow: hidden;
}

.stat-block .stat-num,
.stat-block .stat-plus {
  overflow-wrap: normal;
  white-space: nowrap;
}

.stat-block .stat-plus {
  display: inline-block;
}

.price-card {
  overflow: hidden;
}

.price-card-featured {
  background:
    radial-gradient(circle at 50% 0%, rgba(165,180,252,0.24), transparent 44%),
    linear-gradient(180deg, rgba(99,102,241,0.16), rgba(255,255,255,0.035));
  border-color: rgba(165,180,252,0.38);
  box-shadow: 0 44px 120px -36px rgba(99,102,241,0.82), var(--depth-soft);
}

.price-badge,
.live-pill,
.footer-email {
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 14px 38px rgba(0,0,0,0.24);
}

.compare-table {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.078), rgba(255,255,255,0.024)),
    rgba(7,7,26,0.58);
}

.compare-row {
  border-bottom-color: rgba(255,255,255,0.075);
}

.compare-head,
.compare-total {
  background: rgba(129,140,248,0.105);
}

.faq-item {
  border-radius: 18px;
}

.faq-item[open] {
  background: var(--glass-strong);
  border-color: rgba(165,180,252,0.34);
  box-shadow: var(--depth-strong);
}

.cta-card {
  background:
    radial-gradient(circle at 50% -10%, rgba(165,180,252,0.28), transparent 44%),
    radial-gradient(circle at 100% 100%, rgba(79,70,229,0.16), transparent 38%),
    var(--glass);
  border-color: rgba(165,180,252,0.32);
  box-shadow: 0 50px 140px -40px rgba(99,102,241,0.72), var(--depth-soft);
}

.cta-card .cta-glow {
  position: absolute;
  z-index: 0;
}

.cta-card .cta-mark {
  position: absolute;
  z-index: 0;
}

.cta-card .cta-content {
  position: relative;
  z-index: 2;
}

.placeholder-form input,
.placeholder-form select {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 28px rgba(0,0,0,0.18);
}

.placeholder-form input:focus,
.placeholder-form select:focus {
  background: rgba(255,255,255,0.085);
  box-shadow: 0 0 0 4px rgba(129,140,248,0.16), 0 16px 42px rgba(0,0,0,0.24);
}

.footer {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.04)),
    radial-gradient(circle at 18% 10%, rgba(99,102,241,0.12), transparent 28%);
}

.sources-card {
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow: var(--depth-soft);
}
.sources-card summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}
.sources-card summary::-webkit-details-marker { display: none; }
.sources-card ul {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  list-style: none;
}
.sources-card a {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.sources-card a:hover {
  color: var(--primary-lighter);
}

/* ============================================
   POLICY POPUP PAGES
   ============================================ */
.policy-page {
  min-height: 100vh;
}
.policy-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 24px;
}
.policy-modal {
  position: relative;
  width: min(920px, 100%);
  padding: 42px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% -10%, rgba(165,180,252,0.22), transparent 42%),
    var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: var(--depth-strong);
}
.policy-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
}
.policy-close:hover {
  color: var(--primary-lighter);
  border-color: rgba(165,180,252,0.36);
}
.policy-logo {
  height: 40px;
  width: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 2px 14px rgba(129, 140, 248, 0.28));
}
.policy-modal h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}
.policy-updated {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 34px;
}
.policy-modal section {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.policy-modal h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.policy-modal p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.policy-modal p:last-child {
  margin-bottom: 0;
}
.policy-modal a:not(.policy-close) {
  color: var(--primary-lighter);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(165,180,252,0.38);
  text-underline-offset: 4px;
}

.footer-top {
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow: var(--depth-soft);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav {
    top: 10px;
  }
  .nav-inner {
    padding: 8px 12px 8px 16px;
    border-radius: 24px;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    margin-top: 8px;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    background: rgba(7,7,26,0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s var(--ease);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links > a {
    padding: 12px 8px;
    width: 100%;
  }
  .nav-links > a.btn { margin-top: 8px; }

  .hero {
    padding: 116px 0 58px;
    overflow-x: clip;
  }
  .hero-title {
    font-size: clamp(2.35rem, 8.7vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.024em;
    max-width: 760px;
  }
  .hero-sub {
    max-width: 620px;
    margin-bottom: 30px;
  }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-mark {
    right: -170px;
    top: 120px;
    width: 440px;
    height: 440px;
    opacity: 0.035;
  }

  .problem-grid,
  .features-grid,
  .testi-grid,
  .stats-grid,
  .price-wrap,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .features-grid { gap: 12px; }

  .how-steps { flex-direction: column; }
  .how-line { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .footer-cols > div:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .float-tag { display: none; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-sidebar { display: none; }

  .stats-grid {
    padding: 28px 20px;
    gap: 14px;
  }
  .stat-block {
    padding: 18px 14px;
  }
  .stat-num {
    font-size: clamp(2.05rem, 8vw, 3rem);
  }
  .stat-plus {
    font-size: clamp(1.45rem, 6vw, 2.15rem);
  }
  .section { padding: 70px 0; }
  .cta-card { padding: 40px 24px; }
  .price-card { padding: 36px 24px; }
  .compare-row { font-size: 13px; padding: 14px 16px; }
}

@media (max-width: 540px) {
  .nav {
    left: 10px;
    right: 10px;
  }
  .nav-inner {
    padding: 8px 10px 8px 14px;
  }
  .logo-img {
    height: 31px;
  }
  .hero {
    padding: 104px 0 52px;
  }
  .hero::after {
    width: calc(100% - 36px);
  }
  .badge {
    max-width: calc(100vw - 40px);
    justify-content: center;
    margin-bottom: 24px;
    font-size: 12.5px;
  }
  .hero-title {
    font-size: clamp(2.12rem, 9vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.018em;
    max-width: 100%;
  }
  .word-rotator {
    max-width: 100%;
  }
  .word-slot .word {
    white-space: nowrap;
  }
  .hero-sub {
    font-size: 1rem;
    line-height: 1.55;
  }
  .hero-trust {
    gap: 10px;
    margin-bottom: 42px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-num {
    font-size: clamp(2rem, 12vw, 2.8rem);
  }
  .stat-plus {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }
  .stat-text {
    font-size: 13px;
  }
  .price-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.25;
  }
  .policy-shell {
    padding: 22px 14px;
  }
  .policy-modal {
    padding: 30px 20px;
    border-radius: 24px;
  }
  .policy-close {
    top: 12px;
    right: 12px;
  }
  .policy-logo {
    height: 33px;
    margin-bottom: 24px;
  }
  .policy-modal section {
    padding: 20px 0;
  }
  .policy-modal p {
    font-size: 14.5px;
  }
  .footer-top {
    padding: 28px 22px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }
  .footer-cols > div:nth-child(3) {
    grid-column: 1 / -1;
  }
  .footer-cols a {
    font-size: 14px;
    line-height: 1.35;
  }
  .hero-mark,
  .hero-beams,
  .hero-particles {
    max-width: 100vw;
  }
  .form-row { grid-template-columns: 1fr; }
  .strip-logos { gap: 28px; }
  .strip-logos span { font-size: 16px; }
}

/* Selection */
::selection {
  background: rgba(99,102,241,0.4);
  color: white;
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .beam, .hero-particles, .chart-scan, .word-slot, .title-cursor,
  .live-dot::after, .btn-pulse-ring, .strip-logos { animation: none !important; }
  .word-slot { transform: translateY(0) !important; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(99,102,241,0.3);
  border-radius: 100px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(99,102,241,0.5); }
