/* BookAppointments.ai — Premium Design System v2
   Style: Aurora UI + Glassmorphism | Fonts: Space Grotesk + DM Sans
   Brand: #b900f2 (violet) + #04dff2 (cyan) */

/* ─── TOKENS ─── */
:root {
  /* Background scale */
  --bg-0: #02040C;
  --bg-1: #060915;
  --bg-2: #0A0D1E;
  --bg-3: #0F1229;

  /* Brand */
  --violet: #b900f2;
  --violet-mid: #9500c5;
  --violet-dim: rgba(185,0,242,0.12);
  --violet-glow: rgba(185,0,242,0.25);
  --cyan: #04dff2;
  --cyan-dim: rgba(4,223,242,0.1);
  --cyan-glow: rgba(4,223,242,0.25);

  /* Semantic */
  --gold: #F59E0B;
  --gold-glow: rgba(245,158,11,0.3);
  --green: #00E577;
  --green-dim: rgba(0,229,119,0.12);
  --red: #FF4D6A;
  --red-dim: rgba(255,77,106,0.1);

  /* Text */
  --text-primary: #F0F4FF;
  --text-secondary: #8892AA;
  --text-muted: #4A5568;

  /* Glass */
  --glass-bg: rgba(10,13,30,0.55);
  --glass-border: rgba(255,255,255,0.07);
  --glass-border-hover: rgba(185,0,242,0.35);

  /* Z-index scale */
  --z-base: 1;
  --z-card: 10;
  --z-sticky: 50;
  --z-nav: 100;
  --z-overlay: 200;

  /* Timing */
  --fast: 150ms ease;
  --normal: 250ms ease;
  --slow: 400ms ease;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: var(--z-overlay);
  opacity: 0.4;
}

/* Cyber grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(4,223,242,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185,0,242,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4.25rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; }

/* Line-length cap for readability */
.prose { max-width: 65ch; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--cyan);
  flex-shrink: 0;
}

/* Gradient headline — display:inline-block is critical for background-clip:text
   to survive inside animated parent elements */
.gradient-text {
  display: inline-block;
  background: linear-gradient(120deg, #e066ff 0%, #04dff2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* extra fallback */
}

/* ─── LAYOUT ─── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; z-index: var(--z-base); }

/* ─── AURORA ORB SYSTEM ─── */
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .aurora { animation: aurora-drift var(--duration, 10s) ease-in-out infinite alternate; }
}
@keyframes aurora-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(var(--tx, 30px), var(--ty, -30px)) scale(var(--s, 1.05)); }
}

.aurora-1 {
  width: clamp(400px, 55vw, 700px);
  height: clamp(400px, 55vw, 700px);
  background: radial-gradient(circle at 30%, rgba(185,0,242,0.22), transparent 70%);
  top: -15%; left: -10%;
  --duration: 9s; --tx: 25px; --ty: -20px;
}
.aurora-2 {
  width: clamp(300px, 40vw, 550px);
  height: clamp(300px, 40vw, 550px);
  background: radial-gradient(circle at 70%, rgba(4,223,242,0.16), transparent 70%);
  bottom: -10%; right: -8%;
  --duration: 13s; --tx: -20px; --ty: 30px; --s: 1.08;
}
.aurora-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(185,0,242,0.1), transparent 70%);
  top: 45%; right: 18%;
  --duration: 7s; --tx: 15px; --ty: -15px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.975rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--normal);
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px; /* touch target */
}

/* Shimmer layer */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, #b900f2, #04dff2);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(185,0,242,0.35), 0 4px 16px rgba(0,0,0,0.4);
}
.btn-primary:hover {
  box-shadow: 0 0 48px rgba(185,0,242,0.5), 0 0 80px rgba(4,223,242,0.2), 0 8px 24px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--cyan);
  background: rgba(4,223,242,0.06);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--violet);
  background: var(--violet-dim);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.05rem 2.25rem; font-size: 1.05rem; border-radius: 12px; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; min-height: 44px; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  transition: background var(--normal), border-color var(--normal);
}

.nav-wrap {
  background: rgba(2,4,12,0.7);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: border-color var(--normal);
}
.nav-wrap.scrolled { border-bottom-color: rgba(185,0,242,0.2); }

.nav-inner {
  position: relative;          /* anchor for absolutely-centred links */
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 1;
}
.nav-logo img { height: 34px; width: auto; }

/* True centre — sits above the flex flow, ignores logo/actions widths */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  white-space: nowrap;   /* never wrap individual items */
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  transition: color var(--fast), background var(--fast);
  cursor: pointer;
  white-space: nowrap;
  display: flex; align-items: center;
  min-height: 44px;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.nav-actions { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; z-index: 1; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background: rgba(2,4,12,0.97);
  backdrop-filter: blur(24px);
  padding-top: 80px;
  flex-direction: column;
  align-items: flex-start;
  padding: 80px 2rem 2rem;
  gap: 0.25rem;
  overflow-y: auto;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  color: var(--text-primary);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 0.75rem 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  min-height: 56px;
  display: flex; align-items: center;
  transition: color var(--fast);
}
.mobile-drawer a:hover { color: var(--cyan); }
.mobile-drawer .mobile-cta { margin-top: 1.5rem; }
.drawer-close {
  position: absolute;
  top: 16px; right: 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  color: var(--text-primary);
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--fast);
}
.drawer-close:hover { background: var(--violet-dim); border-color: var(--violet); }

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

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(3rem, 8vh, 5.5rem) clamp(1rem, 4vw, 2rem);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(185,0,242,0.08);
  border: 1px solid rgba(185,0,242,0.22);
  color: #d966f7;
  padding: 0.45rem 1.1rem 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  cursor: default;
}
.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--violet); }
  50%       { opacity: 0.5; box-shadow: 0 0 2px var(--violet); }
}

.hero h1 { margin-bottom: 1.35rem; }
.hero-kicker {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2.75rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 720px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(6,9,21,0.7);
  backdrop-filter: blur(16px);
}
.stat-item {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: background var(--normal);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(185,0,242,0.06); }

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
  display: block;
  background: linear-gradient(120deg, #e066ff, #04dff2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.04em; }

/* ─── SECTION HEADER ─── */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto clamp(3rem, 5vw, 5rem);
}
.section-header p { margin-top: 1rem; font-size: 1.05rem; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ─── GLASS CARDS ─── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: border-color var(--normal), transform var(--normal), box-shadow var(--normal);
}
.glass-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 36px rgba(185,0,242,0.08);
}

/* ─── ICON SYSTEM ─── */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon svg { width: var(--icon-size, 20px); height: var(--icon-size, 20px); }

.icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-wrap-violet { background: var(--violet-dim); border: 1px solid rgba(185,0,242,0.25); }
.icon-wrap-cyan   { background: var(--cyan-dim);   border: 1px solid rgba(4,223,242,0.25); }
.icon-wrap-red    { background: var(--red-dim);    border: 1px solid rgba(255,77,106,0.25); }
.icon-wrap-green  { background: var(--green-dim);  border: 1px solid rgba(0,229,119,0.25); }

.icon-large {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
}

/* ─── PROBLEM ─── */
#problem { background: linear-gradient(180deg, var(--bg-0), var(--bg-1)); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.125rem;
}

.problem-card {
  padding: 1.75rem;
  border-radius: 14px;
  background: var(--red-dim);
  border: 1px solid rgba(255,77,106,0.1);
  cursor: default;
  transition: all var(--normal);
}
.problem-card:hover {
  border-color: rgba(255,77,106,0.28);
  background: rgba(255,77,106,0.07);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255,77,106,0.06);
}
.problem-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(255,77,106,0.12);
  border: 1px solid rgba(255,77,106,0.2);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.problem-icon-wrap svg { color: var(--red); }

.problem-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.problem-card p  { font-size: 0.875rem; line-height: 1.65; }

.cost-banner {
  margin-top: 3.5rem;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,77,106,0.07) 0%, rgba(255,77,106,0.03) 100%);
  border: 1px solid rgba(255,77,106,0.18);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cost-banner::before {
  content: '';
  position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,77,106,0.6), transparent);
}
.cost-banner h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); margin-bottom: 0.75rem; }
.cost-banner p   { max-width: 560px; margin: 0 auto; }
.cost-loss { color: var(--red); }

/* ─── SOLUTION ─── */
#solution { background: var(--bg-1); }

.solution-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.solution-copy h2 { margin-bottom: 1.1rem; }
.solution-copy p  { margin-bottom: 1.5rem; }

/* Orbit animation */
.solution-viz {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 0 auto;
  flex-shrink: 0;
}
.orbit-center-box {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; height: 110px;
  background: linear-gradient(135deg, rgba(185,0,242,0.9), rgba(4,223,242,0.8));
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 48px rgba(185,0,242,0.5), 0 0 96px rgba(4,223,242,0.2);
  z-index: 2;
}
.orbit-center-box svg { width: 44px; height: 44px; color: #fff; }

.orbit-ring {
  position: absolute; inset: 0;
  border: 1px solid rgba(185,0,242,0.2);
  border-radius: 50%;
}
.orbit-ring-2 { inset: 30px; border-color: rgba(4,223,242,0.15); }
@media (prefers-reduced-motion: no-preference) {
  .orbit-ring   { animation: spin-slow 22s linear infinite; }
  .orbit-ring-2 { animation: spin-slow 15s linear infinite reverse; }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.orbit-icon {
  position: absolute;
  width: 40px; height: 40px;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.orbit-icon svg { width: 18px; height: 18px; color: var(--cyan); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pillar {
  padding: 1.375rem 1.25rem;
  border-radius: 12px;
  background: var(--violet-dim);
  border: 1px solid rgba(185,0,242,0.12);
  text-align: center;
  cursor: default;
  transition: all var(--normal);
}
.pillar:hover {
  background: rgba(185,0,242,0.14);
  border-color: rgba(185,0,242,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3), 0 0 16px rgba(185,0,242,0.1);
}
.pillar-icon-wrap {
  width: 40px; height: 40px;
  background: rgba(185,0,242,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
}
.pillar-icon-wrap svg { width: 18px; height: 18px; color: var(--violet); }
.pillar h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.2rem; }
.pillar p  { font-size: 0.775rem; color: var(--text-muted); }

/* ─── SERVICES ─── */
#services { background: var(--bg-0); }

.service-tabs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tab-btn {
  padding: 0.55rem 0.875rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--text-secondary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.825rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--fast);
  min-height: 44px;
  display: flex; align-items: center; gap: 0.4rem;
}
.tab-btn:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.15); }
.tab-btn.active {
  color: var(--cyan);
  background: rgba(4,223,242,0.08);
  border-color: rgba(4,223,242,0.3);
  box-shadow: 0 0 16px rgba(4,223,242,0.1);
}
.tab-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.service-panel { display: none; }
.service-panel.active {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  animation: panel-in 0.28s ease;
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.service-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}
.service-content h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 1rem; }

.problem-strip {
  background: var(--red-dim);
  border-left: 2.5px solid var(--red);
  border-radius: 0 10px 10px 0;
  padding: 0.875rem 1.1rem;
  margin-bottom: 1.375rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.service-desc { font-size: 0.975rem; margin-bottom: 1.75rem; line-height: 1.75; }

.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.75rem; }
.benefit-list li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.9rem; color: var(--text-secondary);
}
.check-circle {
  width: 20px; height: 20px;
  background: var(--green-dim);
  border: 1px solid rgba(0,229,119,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.check-circle svg { width: 10px; height: 10px; color: var(--green); }

.outcomes-panel {
  background: rgba(0,229,119,0.04);
  border: 1px solid rgba(0,229,119,0.14);
  border-radius: 12px;
  padding: 1.375rem;
  margin-bottom: 1.75rem;
}
.outcomes-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem;
}
.outcomes-panel ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.outcomes-panel li {
  display: flex; align-items: baseline; gap: 0.45rem;
  font-size: 0.865rem; color: var(--text-secondary);
}
.outcomes-panel li::before { content: '→'; color: var(--green); font-size: 0.8rem; flex-shrink: 0; }

/* Service visual panel */
.service-viz {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.25rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-viz::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  opacity: 0.5;
}

.viz-icon-box {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(185,0,242,0.2), rgba(4,223,242,0.15));
  border: 1px solid rgba(185,0,242,0.25);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 32px rgba(185,0,242,0.2);
}
.viz-icon-box svg { width: 36px; height: 36px; color: var(--cyan); }
.viz-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); }
.viz-desc { font-size: 0.875rem; color: var(--text-secondary); max-width: 240px; line-height: 1.65; }

/* Convo mockup */
.convo-mock {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(4,223,242,0.1);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  width: 100%;
  text-align: left;
  font-size: 0.78rem;
}
.convo-label {
  color: var(--cyan); font-weight: 700; font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.625rem;
}
.convo-line { margin-bottom: 0.45rem; color: var(--text-secondary); line-height: 1.5; }
.convo-name { font-weight: 600; }
.convo-name.ai   { color: var(--cyan); }
.convo-name.lead { color: var(--text-primary); }

/* Follow-up timeline */
.followup-timeline {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(0,229,119,0.1);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  width: 100%;
  text-align: left;
  font-size: 0.78rem;
}
.followup-label {
  color: var(--green); font-weight: 700; font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.625rem;
}
.followup-row {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.45rem; font-size: 0.78rem;
}
.day-badge {
  font-weight: 700; font-size: 0.68rem; min-width: 36px;
  padding: 0.15rem 0.4rem; border-radius: 4px; text-align: center; flex-shrink: 0;
}
.day-green  { color: var(--green);  background: var(--green-dim); }
.day-cyan   { color: var(--cyan);   background: var(--cyan-dim); }
.day-violet { color: var(--violet); background: var(--violet-dim); }
.day-text { color: var(--text-secondary); }

/* ─── COMPARISON TABLE ─── */
#different { background: var(--bg-1); }

.comparison-scroll { overflow-x: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,0.07); }
.comparison-scroll::-webkit-scrollbar { height: 4px; }
.comparison-scroll::-webkit-scrollbar-track { background: transparent; }
.comparison-scroll::-webkit-scrollbar-thumb { background: var(--violet-dim); border-radius: 2px; }

table.comp {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.875rem;
}
.comp th {
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
}
.comp th:first-child { text-align: left; color: var(--text-muted); background: rgba(6,9,21,0.8); }
.comp th:not(:first-child) { color: var(--text-muted); background: rgba(10,13,30,0.8); min-width: 120px; }
.comp th:last-child { color: var(--cyan); background: rgba(4,223,242,0.06); }
.comp .th-name { display: block; font-size: 0.95rem; font-family: 'Space Grotesk', sans-serif; margin-bottom: 0.15rem; color: var(--text-primary); }

.comp td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
  vertical-align: middle;
}
.comp td:first-child { font-weight: 500; color: var(--text-secondary); }
.comp td:not(:first-child) { text-align: center; }
.comp td:last-child { background: rgba(4,223,242,0.03); }
.comp tr:last-child td { border-bottom: none; }
.comp tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
.comp tr:nth-child(even) td:last-child { background: rgba(4,223,242,0.04); }

.c-yes { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--green-dim); border-radius: 50%; }
.c-yes svg { width: 12px; height: 12px; color: var(--green); }
.c-no { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: rgba(255,255,255,0.04); border-radius: 50%; }
.c-no svg  { width: 12px; height: 12px; color: var(--text-muted); }
.c-partial { font-size: 0.75rem; font-weight: 600; color: var(--gold); }

/* ─── ROI ─── */
#roi { background: var(--bg-0); }

.roi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.125rem;
  margin-bottom: 3.5rem;
}

.roi-card {
  padding: 1.75rem 1.375rem;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  text-align: center;
  cursor: default;
  transition: all var(--normal);
  backdrop-filter: blur(12px);
}
.roi-card:hover {
  border-color: rgba(255,77,106,0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4), 0 0 24px rgba(255,77,106,0.06);
}
.roi-loss {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem; font-weight: 800;
  color: var(--red); margin-bottom: 0.3rem;
}
.roi-title { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; }
.roi-detail { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* ROI Calculator */
.roi-calc {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
}
.roi-calc::before {
  content: '';
  position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.4;
}
.roi-calc-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 1.75rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.roi-calc-label svg { width: 14px; height: 14px; }

.calc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.375rem; margin-bottom: 2rem; }

.calc-field label {
  display: block; font-size: 0.78rem; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 0.5rem; letter-spacing: 0.02em;
}
.calc-input {
  width: 100%;
  background: rgba(4,223,242,0.04);
  border: 1.5px solid rgba(4,223,242,0.15);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  outline: none;
  transition: border-color var(--fast), box-shadow var(--fast);
  -webkit-appearance: none;
  min-height: 48px;
}
.calc-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(4,223,242,0.12);
}

#roi-result .roi-result-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
#roi-result .result-box {
  background: rgba(0,0,0,0.3); border-radius: 12px; padding: 1.25rem; text-align: center;
}
#roi-result .r-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  line-height: 1; margin-bottom: 0.3rem;
}
#roi-result .r-label { font-size: 0.75rem; color: var(--text-muted); }

/* ─── PROCESS ─── */
#process { background: var(--bg-1); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
}

.process-connector {
  position: absolute;
  top: 30px; left: calc(8.33% + 24px); right: calc(8.33% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  opacity: 0.3;
  pointer-events: none;
}

.process-step { text-align: center; position: relative; z-index: 1; }

.step-circle {
  width: 60px; height: 60px;
  margin: 0 auto 1.25rem;
  background: var(--bg-2);
  border: 1.5px solid rgba(185,0,242,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  color: var(--violet);
  transition: all var(--normal);
  cursor: default;
}
.process-step:hover .step-circle {
  background: linear-gradient(135deg, rgba(185,0,242,0.9), rgba(4,223,242,0.8));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 28px rgba(185,0,242,0.45);
  transform: scale(1.05);
}

.process-step h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.4rem; }
.process-step p  { font-size: 0.8rem; color: var(--text-muted); }

/* ─── PRICING ─── */
#pricing { background: var(--bg-0); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  border-radius: 20px;
  padding: 2.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  position: relative;
  transition: all var(--normal);
  cursor: default;
}
.pricing-card:hover { border-color: rgba(185,0,242,0.25); transform: translateY(-5px); box-shadow: 0 24px 64px rgba(0,0,0,0.5); }

.pricing-card.featured {
  background: rgba(185,0,242,0.07);
  border-color: rgba(185,0,242,0.3);
  box-shadow: 0 0 60px rgba(185,0,242,0.1), 0 24px 64px rgba(0,0,0,0.5);
}
.pricing-card.featured::before {
  content: '';
  position: absolute; inset: 0; border-radius: 20px;
  background: linear-gradient(135deg, rgba(185,0,242,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.tier-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #fff;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.3rem 1rem;
  border-radius: 999px; white-space: nowrap;
  box-shadow: 0 0 20px rgba(185,0,242,0.4);
}

.tier-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.4rem; }
.pricing-card h3 { font-size: 1.45rem; margin-bottom: 0.65rem; }
.pricing-card .p-desc { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1.75rem; min-height: 52px; line-height: 1.65; }

.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2.25rem; }
.price-features li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.875rem; color: var(--text-secondary); }
.feat-check { flex-shrink: 0; margin-top: 0.12rem; }
.feat-check svg { width: 14px; height: 14px; color: var(--green); }

/* ─── FAQ ─── */
#faq { background: var(--bg-1); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  max-width: 1020px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: border-color var(--fast);
}
.faq-item:hover { border-color: rgba(185,0,242,0.2); }
.faq-item.open   { border-color: rgba(185,0,242,0.28); }

.faq-q {
  width: 100%;
  background: none; border: none;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem; font-weight: 600;
  text-align: left;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem;
  line-height: 1.5; min-height: 44px;
}

.faq-toggle {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 0.08rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--normal);
}
.faq-toggle svg { width: 12px; height: 12px; color: var(--text-secondary); transition: transform var(--normal); }
.faq-item.open .faq-toggle {
  background: var(--violet);
  border-color: var(--violet);
  box-shadow: 0 0 14px rgba(185,0,242,0.4);
}
.faq-item.open .faq-toggle svg { color: #fff; transform: rotate(45deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p {
  padding: 0 1.25rem 1.1rem;
  padding-top: 1rem;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  line-height: 1.7;
}

/* ─── TRUST ─── */
#trust { background: var(--bg-0); }

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.trust-card {
  padding: 1.875rem 1.5rem;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  text-align: center;
  cursor: default;
  backdrop-filter: blur(10px);
  transition: all var(--normal);
}
.trust-card:hover {
  border-color: rgba(185,0,242,0.25);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 24px rgba(185,0,242,0.07);
}
.trust-icon-wrap {
  width: 52px; height: 52px;
  background: var(--violet-dim);
  border: 1px solid rgba(185,0,242,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.trust-icon-wrap svg { width: 22px; height: 22px; color: var(--violet); }
.trust-card h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.trust-card p  { font-size: 0.825rem; color: var(--text-secondary); }

.promise-box {
  background: rgba(185,0,242,0.04);
  border: 1px solid rgba(185,0,242,0.14);
  border-radius: 16px;
  padding: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  cursor: default;
}
.promise-box h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 0.875rem; }
.promise-box p  { max-width: 560px; margin: 0 auto; }

/* ─── FINAL CTA ─── */
/* ── Booking section ── */
#booking {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-1);
  border-top: 1px solid rgba(185,0,242,0.08);
}
#booking .section-header { margin-bottom: 2.5rem; }
#booking .section-sub { max-width: 580px; margin: 1rem auto 0; font-size: 1.05rem; color: var(--text-secondary); }
.booking-widget {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(185,0,242,0.18);
  border-radius: 20px;
  padding: 2px;
  box-shadow: 0 0 60px rgba(185,0,242,0.08), 0 0 0 1px rgba(4,223,242,0.05);
  overflow: hidden;
}
.booking-widget iframe {
  display: block;
  width: 100%;
  min-height: 700px;
  border: none;
  border-radius: 18px;
}

#final-cta {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: radial-gradient(ellipse 75% 55% at 50% 50%, rgba(185,0,242,0.14) 0%, transparent 70%), var(--bg-1);
  border-top: 1px solid rgba(185,0,242,0.1);
  text-align: center;
  position: relative; overflow: hidden;
}
#final-cta::before {
  content: '';
  position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent);
  opacity: 0.35;
}

.cta-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1.25rem; }
.cta-inner p  { font-size: 1.1rem; margin-bottom: 2.75rem; }
.cta-btns { display: flex; justify-content: center; gap: 0.875rem; flex-wrap: wrap; }
.cta-footnote {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
  margin-top: 2rem; font-size: 0.8rem; color: var(--text-muted);
}
.cta-footnote span { display: flex; align-items: center; gap: 0.35rem; }
.cta-footnote svg { width: 13px; height: 13px; color: var(--green); }

/* ─── FOOTER ─── */
footer {
  background: #010309;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3rem;
}
.footer-logo img { height: 32px; }
.footer-brand p { font-size: 0.875rem; margin-top: 1rem; max-width: 260px; color: var(--text-muted); line-height: 1.7; }

.f-col h5 {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--cyan); font-weight: 700; margin-bottom: 1.25rem; font-family: 'DM Sans', sans-serif;
}
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.f-col a {
  color: var(--text-muted); text-decoration: none; font-size: 0.875rem;
  transition: color var(--fast); cursor: pointer;
}
.f-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem; font-size: 0.775rem; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--text-primary); }
.footer-links { display: flex; gap: 1.5rem; }

/* ─── ACCESSIBILITY ─── */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ─── FADE-IN ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */

/* ── Large tablet ── */
@media (max-width: 1100px) {
  .solution-layout { grid-template-columns: 1fr; }
  .solution-viz { display: none; }
  .roi-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-connector { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* ── Tablet / Large mobile ── */
@media (max-width: 768px) {
  /* Nav: collapse to logo + hamburger only */
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }

  /* Tighten section vertical rhythm on mobile */
  section { padding: 2.5rem 0; }

  /* Hero — align to top so content sits close to nav instead of center-floating */
  .hero { align-items: flex-start; min-height: auto; padding-bottom: 2.5rem; }
  .hero-content { padding: 1.5rem 1.25rem 2rem; }
  .hero-pill { font-size: 0.68rem; padding: 0.4rem 0.875rem 0.4rem 0.75rem; white-space: nowrap; }
  .hero-sub { font-size: 0.975rem; }
  .hero-ctas { gap: 0.75rem; }

  /* Hero stats: 2×2 */
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat-item:nth-child(2) { border-right: none; }
  .hero-stats .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.05); }
  .hero-stats .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.05); border-right: none; }

  /* Services */
  .service-tabs-wrap {
    gap: 0.3rem; overflow-x: auto; flex-wrap: nowrap;
    padding-bottom: 0.75rem; margin-bottom: 2rem;
    /* fade hint at edge */
    -webkit-mask-image: linear-gradient(90deg,#000 85%,transparent);
    mask-image: linear-gradient(90deg,#000 85%,transparent);
  }
  .service-tabs-wrap::-webkit-scrollbar { height: 2px; }
  .service-tabs-wrap::-webkit-scrollbar-thumb { background: var(--violet-dim); border-radius: 2px; }
  .tab-btn { flex-shrink: 0; font-size: 0.775rem; padding: 0.5rem 0.75rem; }
  .service-panel.active { grid-template-columns: 1fr; gap: 1.75rem; }
  .service-viz { min-height: 220px; }

  /* Sections */
  .faq-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
  .calc-row { grid-template-columns: 1fr; gap: 1rem; }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .pillar { padding: 1rem; }
  .pillar p { display: none; }  /* hide subtitle on tablet, keep icon + title */

  /* ROI */
  .roi-grid { grid-template-columns: repeat(2, 1fr); }
  #roi-result .roi-result-row { grid-template-columns: 1fr; gap: 0.75rem; }

  /* Process */
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 0.75rem; }
  .step-circle { width: 52px; height: 52px; font-size: 1rem; }

  /* Comparison table: hide "Traditional Agency" col so 3 cols fit without scroll */
  .comparison-scroll { font-size: 0.78rem; overflow-x: visible; }
  .comp th:nth-child(3),
  .comp td:nth-child(3) { display: none; }
  .comp th:not(:first-child) { min-width: 0; width: auto; padding: 0.75rem 0.5rem; }
  .comp td { padding: 0.75rem 0.5rem; }
  .comp td:first-child { font-size: 0.76rem; }
  .comp .th-name { font-size: 0.82rem; }
  table.comp { width: 100%; min-width: 0; }
}

/* ── Mobile (small) ── */
@media (max-width: 560px) {
  section { padding: 2rem 0; }

  /* Hero */
  .hero-content { padding: 1.25rem 1rem 1.75rem; }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.5rem); letter-spacing: -0.02em; }
  .hero-pill { font-size: 0.65rem; max-width: 90%; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; justify-content: center; width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 1.5rem; }

  /* Problem grid: force single column */
  .problem-grid { grid-template-columns: 1fr; }
  .cost-banner { padding: 1.5rem; }

  /* Solution */
  .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 0.625rem; }
  .pillar { padding: 1rem 0.75rem; }

  /* Services */
  .service-content h3 { font-size: 1.3rem; }
  .service-viz { display: none; }   /* hide viz on smallest screens */

  /* ROI grid */
  .roi-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .roi-loss { font-size: 1.5rem; }
  .roi-calc { padding: 1.375rem; }

  /* Process */
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 0.75rem; }
  .step-circle { width: 48px; height: 48px; font-size: 0.95rem; }
  .process-step p { font-size: 0.75rem; }

  /* Trust */
  .trust-row { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-q { font-size: 0.825rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }

  /* CTA */
  .cta-btns { flex-direction: column; align-items: stretch; }
  .booking-widget { border-radius: 14px; }
  .booking-widget iframe { min-height: 640px; border-radius: 12px; }
  .cta-btns .btn { text-align: center; justify-content: center; width: 100%; }
  .cta-footnote { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .cta-inner h2 { font-size: 1.75rem; }
  .cta-inner p  { font-size: 0.975rem; }
}

/* ── Tiny screens (iPhone SE etc) ── */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-pill { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.25rem; }
  .roi-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: rgba(185,0,242,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(185,0,242,0.5); }

/* ═══════════════════════════════════════════
   MOTION SYSTEM
   ═══════════════════════════════════════════ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  z-index: calc(var(--z-nav) + 10);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
  box-shadow: 0 0 8px var(--violet);
}

/* Page entrance — body fades in */
@keyframes page-reveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body {
  animation: page-reveal 0.4s ease forwards;
}

/* ── Hero stagger ── */
.hero-pill     { animation: hero-enter 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s both; }
.hero h1       { animation: hero-enter 0.8s cubic-bezier(0.22,1,0.36,1) 0.25s both; }
.hero-sub      { animation: hero-enter 0.7s cubic-bezier(0.22,1,0.36,1) 0.45s both; }
.hero-ctas     { animation: hero-enter 0.7s cubic-bezier(0.22,1,0.36,1) 0.6s both; }
.hero-stats    { animation: hero-enter 0.8s cubic-bezier(0.22,1,0.36,1) 0.8s both; }

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* Nav entrance */
.nav-wrap {
  animation: nav-drop 0.6s cubic-bezier(0.22,1,0.36,1) 0.05s both;
}
@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Aurora enhanced */
.aurora-1 { animation: aurora-drift 11s ease-in-out infinite alternate, aurora-reveal 1.2s ease 0.2s both; }
.aurora-2 { animation: aurora-drift 14s ease-in-out infinite alternate, aurora-reveal 1.4s ease 0.4s both; }
.aurora-3 { animation: aurora-drift 8s  ease-in-out infinite alternate, aurora-reveal 1.6s ease 0.6s both; }

@keyframes aurora-reveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Scroll-triggered stagger (children) ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Stagger for grid children via JS-added classes */
.stagger-item {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1),
              transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.stagger-item.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ── Mouse spotlight ── */
.spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 600px; height: 600px;
  margin-left: -300px; margin-top: -300px;
  background: radial-gradient(circle, rgba(185,0,242,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.12s linear;
  will-change: transform;
}

/* ── Scan line effect on hero ── */
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, rgba(4,223,242,0.3) 50%, transparent 90%);
  pointer-events: none;
  z-index: 3;
  animation: scan 6s linear infinite;
}
@keyframes scan {
  0%   { top: 0%;   opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ── Gradient text (static — no animation to avoid compositor/clip conflict) ── */
.gradient-text {
  display: inline-block;
  background: linear-gradient(120deg, #e066ff 0%, #04dff2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ── Section header reveal ── */
.section-header.visible h2 {
  animation: headline-up 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes headline-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ── Card hover lift ── */
.problem-card, .pillar, .trust-card, .roi-card, .process-step:hover .step-circle, .pricing-card {
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}

/* ── Step circle pulse on hover ── */
.process-step:hover .step-circle {
  box-shadow: 0 0 0 0 rgba(185,0,242,0.5);
  animation: ring-pulse 0.6s ease forwards;
}
@keyframes ring-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(185,0,242,0.5); }
  100% { box-shadow: 0 0 0 16px rgba(185,0,242,0); }
}

/* ── Pill dot pulse ── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1);   box-shadow: 0 0 8px var(--violet); }
  50%       { opacity: 0.5; transform: scale(0.85); box-shadow: 0 0 3px var(--violet); }
}

/* ── Button press feedback ── */
.btn:active { transform: translateY(0) scale(0.97) !important; }

/* ── Tab active indicator ── */
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: 2px;
}
.tab-btn { position: relative; }

/* ── Counter number glow on reveal ── */
.stat-number { display: inline-block; }

/* ── Service panel transition ── */
.service-panel.active {
  animation: panel-in 0.35s cubic-bezier(0.22,1,0.36,1);
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Section dividers ── */
section + section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  margin: 0 5%;
}

@media (prefers-reduced-motion: reduce) {
  .hero-pill, .hero h1, .hero-sub, .hero-ctas, .hero-stats,
  .nav-wrap, .aurora-1, .aurora-2, .aurora-3, .hero::after { animation: none !important; }
}

/* ── Mobile motion fixes ── */
@media (max-width: 768px) {
  /* Prevent any horizontal scroll bleed */
  body, section, .hero { overflow-x: hidden; }

  /* Kill parallax on mobile — JS transform would cause layout jitter */
  .aurora { transform: none !important; will-change: auto; }

  /* Disable mouse spotlight on touch devices */
  .spotlight { display: none; }

  /* Scan line contained within hero on mobile */
  .hero { overflow: hidden; }

  /* Kill hero entrance animations — prevents compositor interference with gradient text */
  .hero-pill, .hero h1, .hero-sub, .hero-ctas, .hero-stats, .nav-wrap {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Mobile gradient text: solid color with explicit -webkit-text-fill-color value.
     Using 'unset' is unreliable on Android Chrome — explicit color is bulletproof. */
  .gradient-text {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #d966f7 !important;
    color: #d966f7 !important;
    animation: none !important;
  }
}
