/* ============================================================================
   NG AUTOMATION — STYLES
   Premium dark glassmorphism design system. Dependency-free.
   Sections: Tokens · Reset · Typography · Layout · Backgrounds · Nav ·
   Buttons · Hero · Cards · Sections · Pricing · Forms · Booking · FAQ ·
   Footer · Modal · Toast · Utilities · Responsive · Reduced-motion
   ==========================================================================*/

/* ------------------------------------------------------------------ TOKENS */
:root {
  /* Brand color system (violet → indigo → pink, tuned for dark surfaces) */
  --primary: #3d7cff;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --secondary: #6366f1;
  --accent: #38bdf8;
  --cyan: #22d3ee;

  /* Surfaces */
  --bg: #07070f;                 /* deep near-black navy (avoid pure #000) */
  --bg-2: #0b0b16;
  --bg-3: #0f1020;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.07);
  --glass-3: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-strong: rgba(255, 255, 255, 0.18);

  /* Text (all pass WCAG AA on --bg) */
  --text: #f4f5fb;               /* primary text — ~17:1 on --bg */
  --text-muted: #aab0c8;         /* secondary text — ~9:1 on --bg */
  --text-dim: #838aa6;           /* tertiary / large text only — ~4.7:1 */

  /* Feedback */
  --success: #34d399;
  --danger: #fb7185;
  --warning: #fbbf24;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #3d7cff 0%, #6366f1 48%, #38bdf8 100%);
  --grad-cta: linear-gradient(120deg, #2563eb 0%, #4f8dff 45%, #38bdf8 100%);
  --grad-text: linear-gradient(110deg, #bcd4ff 0%, #a5c8ff 40%, #9beaf0 100%);
  --grad-line: linear-gradient(90deg, transparent, rgba(61, 124, 255, 0.6), transparent);

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows / glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 40px 80px -24px rgba(0, 0, 0, 0.65);
  --glow-primary: 0 0 40px -6px rgba(61, 124, 255, 0.55);
  --glow-accent: 0 0 40px -6px rgba(56, 189, 248, 0.5);

  /* Spacing scale (density: standard) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --container: 1200px;
  --content: 1120px;
  --nav-h: 72px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 420ms;

  /* Z-index scale */
  --z-base: 1;
  --z-raised: 10;
  --z-nav: 100;
  --z-chat: 800;
  --z-backdrop: 900;
  --z-modal: 1000;
  --z-toast: 1100;

  color-scheme: dark;
}

/* ------------------------------------------------------------------- RESET */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;
  position: relative;
}

img, svg, video { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: rgba(61, 124, 255, 0.35); color: #fff; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: var(--z-toast);
  background: var(--primary-600);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* -------------------------------------------------------------- TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}

.h-display {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--text-muted);
  line-height: 1.62;
  max-width: 58ch;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9dc2ff;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}
.eyebrow.center::before { display: none; }

/* --------------------------------------------------------------- CONTAINER */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section {
  position: relative;
  padding-block: clamp(64px, 10vw, 120px);
}
.section-head {
  max-width: 680px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 18px; }
.section-head.center .lead { margin-inline: auto; }

/* ------------------------------------------------------------ BACKGROUNDS */
/* Ambient animated gradient field — fixed, GPU-friendly, behind everything */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 15% -10%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(1000px 700px at 100% 0%, rgba(99, 102, 241, 0.14), transparent 55%),
    var(--bg);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
  mix-blend-mode: screen;
}
.orb-1 { width: 46vw; height: 46vw; left: -8vw; top: -6vw;
  background: radial-gradient(circle at 30% 30%, #2563eb, transparent 70%);
  animation: drift1 24s var(--ease-in-out) infinite alternate; }
.orb-2 { width: 40vw; height: 40vw; right: -6vw; top: 8vw;
  background: radial-gradient(circle at 60% 40%, #38bdf8, transparent 70%);
  animation: drift2 28s var(--ease-in-out) infinite alternate; }
.orb-3 { width: 42vw; height: 42vw; left: 25vw; top: 45vw;
  background: radial-gradient(circle at 50% 50%, #6366f1, transparent 70%);
  animation: drift3 32s var(--ease-in-out) infinite alternate; opacity: 0.4; }

@keyframes drift1 { to { transform: translate3d(8vw, 6vw, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-7vw, 10vw, 0) scale(1.1); } }
@keyframes drift3 { to { transform: translate3d(6vw, -8vw, 0) scale(1.2); } }

/* Subtle grid + noise veil for texture */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* Glass surface primitive */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--r-lg);
}
/* Fallback for browsers without backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .nav-inner, .modal-card { background: rgba(18, 18, 32, 0.92); }
}

/* --------------------------------------------------------------------- NAV */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  padding-top: 14px;
  transition: padding var(--dur) var(--ease-out);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  height: var(--nav-h);
  padding: 0 12px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.nav.scrolled { padding-top: 8px; }
.nav.scrolled .nav-inner {
  background: rgba(11, 11, 22, 0.72);
  border-color: var(--glass-border);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--grad-brand);
  box-shadow: var(--glow-primary);
  flex-shrink: 0;
}
.brand-mark svg { width: 20px; height: 20px; color: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 0.94rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.nav-links a:hover { color: var(--text); background: var(--glass-2); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: var(--r-pill);
  font-weight: 500; font-size: 0.92rem; color: var(--text-muted);
  transition: color var(--dur), background var(--dur);
}
.nav-phone:hover { color: var(--text); background: var(--glass-2); }
.nav-phone svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background: rgba(7, 7, 15, 0.86);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: calc(var(--nav-h) + 40px) 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur);
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 14px 8px;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a svg { width: 20px; height: 20px; color: var(--text-dim); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }

/* ----------------------------------------------------------------- BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  min-height: 48px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out), border-color var(--dur), opacity var(--dur);
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: scale(0.975); }

.btn-primary {
  background: var(--grad-cta);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: var(--glow-primary), var(--shadow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px -4px rgba(79, 141, 255, 0.6), var(--shadow-lg);
  background-position: 100% 50%;
}
.btn-primary:active { transform: translateY(0) scale(0.975); }

.btn-ghost {
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  color: var(--text);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--glass-3);
  border-color: var(--glass-border-strong);
  transform: translateY(-2px);
}

.btn-lg { padding: 17px 34px; min-height: 56px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-arrow svg { transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn-arrow svg { transform: translateX(4px); }

/* Loading state */
.btn.is-loading { pointer-events: none; color: transparent !important; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: #9dc2ff;
  transition: gap var(--dur) var(--ease-out), color var(--dur);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { color: #cfe0ff; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ PILLS */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--r-pill);
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16); }
.pill .dot.live { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } }

/* ------------------------------------------------------------------- HERO */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + clamp(36px, 7vw, 72px));
  padding-bottom: clamp(56px, 8vw, 104px);
  overflow: hidden;
}
/* Full-bleed cinematic hero image + scrims for text legibility */
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 74% center;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 3%, rgba(5,7,15,0.88) 28%, rgba(5,7,15,0.5) 54%, rgba(5,7,15,0.12) 100%),
    linear-gradient(0deg, var(--bg) 1%, transparent 32%);
}
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 90% at 76% 46%, transparent 42%, rgba(5,7,15,0.4) 100%);
  box-shadow: inset 0 -130px 110px -70px var(--bg);
}
.hero-content { position: relative; max-width: 646px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 13px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.82rem; font-weight: 500; color: #d6e3ff;
  font-family: "Space Grotesk", sans-serif;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16); }
.hero-badge .dot.live { animation: pulse 2.4s ease-in-out infinite; }
.hero h1 { margin: 26px 0 22px; font-weight: 700; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust {
  margin-top: 34px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  color: var(--text-dim); font-size: 0.9rem;
}
.hero-trust .stars { display: inline-flex; gap: 2px; color: #fbbf24; }
.hero-trust .stars svg { width: 16px; height: 16px; }
.hero-trust .divider { width: 1px; height: 22px; background: var(--glass-border); }
.hero-avatars { display: flex; }
.hero-avatars span {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--bg-2); margin-left: -10px;
  background: var(--grad-brand); display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 700; color: #fff;
}
.hero-avatars span:first-child { margin-left: 0; }

/* Hero visual — glass "console" mockup with floating cards */
.hero-visual { position: relative; }
.console {
  position: relative;
  padding: 20px;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.console-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; padding: 0 4px; }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.console-bar i:nth-child(1) { background: #ff5f57; }
.console-bar i:nth-child(2) { background: #febc2e; }
.console-bar i:nth-child(3) { background: #28c840; }
.console-bar span { margin-left: auto; font-size: 0.75rem; color: var(--text-dim); font-family: "Space Grotesk"; }

.console-row {
  display: flex; align-items: center; gap: 13px;
  padding: 14px; border-radius: var(--r);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--glass-border);
  margin-bottom: 11px;
}
.console-row .ic {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
}
.console-row .ic svg { width: 21px; height: 21px; }
.ic.violet { background: linear-gradient(135deg, #2563eb, #4f8dff); }
.ic.pink { background: linear-gradient(135deg, #38bdf8, #7dd3fc); }
.ic.cyan { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.ic.green { background: linear-gradient(135deg, #059669, #34d399); }
.console-row .meta { flex: 1; min-width: 0; }
.console-row .meta b { display: block; font-size: 0.94rem; font-weight: 600; }
.console-row .meta small { color: var(--text-dim); font-size: 0.82rem; }
.console-row .tag {
  font-size: 0.72rem; font-weight: 600; padding: 4px 9px; border-radius: var(--r-pill);
  font-family: "Space Grotesk";
}
.tag.green { background: rgba(52,211,153,0.14); color: #6ee7b7; }
.tag.violet { background: rgba(61,124,255,0.16); color: #9dc2ff; }

/* Floating stat chips around the console */
.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 11px;
  padding: 13px 16px;
  border-radius: var(--r);
  background: rgba(15, 16, 32, 0.72);
  border: 1px solid var(--glass-border-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  will-change: transform;
}
.float-chip .fic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-chip .fic svg { width: 19px; height: 19px; }
.float-chip b { font-family: "Space Grotesk"; font-size: 1.2rem; line-height: 1; }
.float-chip small { display: block; color: var(--text-dim); font-size: 0.76rem; margin-top: 3px; }
.chip-a { top: -22px; right: -8px; animation: floaty 6s var(--ease-in-out) infinite; }
.chip-b { bottom: -20px; left: -18px; animation: floaty 7.5s var(--ease-in-out) infinite; animation-delay: -2s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* --------------------------------------------------------------- LOGO STRIP */
.logos { padding-block: clamp(28px, 5vw, 44px); }
.logos p {
  text-align: center; color: var(--text-dim); font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 26px;
  font-family: "Space Grotesk"; font-weight: 500;
}
.logo-track-wrap { position: relative; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.logo-track:hover { animation-play-state: paused; }
.logo-track .logo-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); opacity: 0.72;
  font-family: "Space Grotesk"; font-weight: 600; font-size: 1.15rem; white-space: nowrap;
}
.logo-track .logo-item svg { width: 26px; height: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- STAT BANNER */
.stats-band { position: relative; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-border);
}
.stat {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  padding: clamp(24px, 4vw, 40px) clamp(18px, 3vw, 30px);
  text-align: center;
}
.stat .num {
  font-family: "Space Grotesk"; font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1;
  letter-spacing: -0.03em;
}
.stat .lbl { color: var(--text-muted); font-size: 0.92rem; margin-top: 10px; }

/* ------------------------------------------------------------------ CARDS */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(61,124,255,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--dur) var(--ease-out);
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--glass-border-strong); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }

/* Service (feature) card — larger */
.service-card { padding: clamp(28px, 3.5vw, 40px); }
.service-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; color: #fff; margin-bottom: 22px;
  box-shadow: var(--glow-primary);
}
.service-icon svg { width: 30px; height: 30px; }
.service-icon.violet { background: linear-gradient(135deg, #2563eb, #4f8dff); }
.service-icon.pink { background: linear-gradient(135deg, #0284c7, #7dd3fc); box-shadow: var(--glow-accent); }
.service-icon.cyan { background: linear-gradient(135deg, #0891b2, #22d3ee); box-shadow: 0 0 40px -6px rgba(34,211,238,0.5); }
.service-card h3 { margin-bottom: 12px; }
.service-card > p { color: var(--text-muted); margin-bottom: 22px; }
.service-list { display: grid; gap: 12px; }
.service-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-muted); font-size: 0.96rem; }
.service-list li svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: 1px; }
.service-card .link-arrow { margin-top: 24px; }

/* small feature card */
.feature-card .fi {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--glass-3); border: 1px solid var(--glass-border);
  color: #9dc2ff; margin-bottom: 18px;
}
.feature-card .fi svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.12rem; margin-bottom: 9px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --------------------------------------------------------------- PROCESS */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: "Space Grotesk"; font-weight: 600;
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.25rem;
  background: var(--glass-2); border: 1px solid var(--glass-border);
  color: #9dc2ff; margin-bottom: 20px; position: relative; z-index: 2;
}
.step:not(:last-child) .step-num::after {
  content: ""; position: absolute; left: 100%; top: 50%;
  width: calc(100% + 20px); height: 1px;
  background: linear-gradient(90deg, var(--glass-border-strong), transparent);
}
.step h3 { font-size: 1.16rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* --------------------------------------------------------------- TESTIMONIAL */
.quote-card { display: flex; flex-direction: column; height: 100%; }
.quote-card .qmark { color: var(--primary); opacity: 0.5; margin-bottom: 14px; }
.quote-card .qmark svg { width: 38px; height: 38px; }
.quote-card blockquote { font-size: 1.05rem; line-height: 1.6; color: var(--text); margin-bottom: 22px; flex: 1; }
.quote-card .who { display: flex; align-items: center; gap: 13px; }
.quote-card .who .av {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  font-family: "Space Grotesk"; background: var(--grad-brand);
}
.quote-card .who b { display: block; font-size: 0.96rem; }
.quote-card .who small { color: var(--text-dim); font-size: 0.85rem; }
.quote-card .stars { display: flex; gap: 2px; color: #fbbf24; margin-bottom: 16px; }
.quote-card .stars svg { width: 17px; height: 17px; }

/* ---------------------------------------------------------------- PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
.plan:hover { transform: translateY(-4px); border-color: var(--glass-border-strong); box-shadow: var(--shadow-lg); }
.plan.popular {
  border-color: rgba(79, 141, 255, 0.55);
  background: linear-gradient(180deg, rgba(37,99,235,0.14), rgba(255,255,255,0.02));
  box-shadow: var(--glow-primary), var(--shadow-lg);
}
.plan.popular::after {
  content: "Most Popular";
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--grad-cta); color: #fff;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 7px 16px; border-radius: var(--r-pill);
  font-family: "Space Grotesk"; box-shadow: var(--glow-primary);
}
.plan .plan-name { font-family: "Space Grotesk"; font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.plan .plan-blurb { color: var(--text-muted); font-size: 0.92rem; min-height: 42px; margin-bottom: 20px; }
.plan .price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan .price .amt { font-family: "Space Grotesk"; font-size: clamp(2.2rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -0.03em; }
.plan .price .per { color: var(--text-dim); font-size: 0.95rem; }
.plan .setup { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 24px; }
.plan .plan-features { display: grid; gap: 13px; margin-bottom: 28px; flex: 1; }
.plan .plan-features li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.93rem; color: var(--text-muted); }
.plan .plan-features li svg { width: 19px; height: 19px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.plan .plan-features li.head { color: var(--text); font-weight: 600; }
.plan .plan-features li.head svg { color: var(--success); }
.pricing-note { text-align: center; color: var(--text-dim); font-size: 0.9rem; margin-top: 30px; }
.pricing-note a { color: #9dc2ff; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------- FORMS */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info .lead { margin-bottom: 32px; }
.contact-points { display: grid; gap: 16px; margin-bottom: 34px; }
.contact-point { display: flex; align-items: center; gap: 15px; }
.contact-point .cp-ic {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; color: #9dc2ff;
  background: var(--glass-2); border: 1px solid var(--glass-border);
}
.contact-point .cp-ic svg { width: 21px; height: 21px; }
.contact-point b { display: block; font-size: 0.98rem; }
.contact-point a, .contact-point span { color: var(--text-muted); font-size: 0.94rem; }
.contact-point a:hover { color: #9dc2ff; }

.form-shell {
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.form-shell h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-shell .form-sub { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 26px; }

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.field label .req { color: var(--accent); }
.field .control {
  width: 100%;
  padding: 14px 16px;
  min-height: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  color: var(--text);
  transition: border-color var(--dur), background var(--dur), box-shadow var(--dur);
}
.field textarea.control { min-height: 116px; resize: vertical; line-height: 1.55; }
.field .control::placeholder { color: #6b7089; }
.field .control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(61,124,255,0.06);
  box-shadow: 0 0 0 3px rgba(61,124,255,0.18);
}
.field .control:user-invalid { border-color: var(--danger); }
.field.has-error .control { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(251,113,133,0.16); }
.field .err {
  display: none;
  font-size: 0.82rem; color: var(--danger); margin-top: 7px;
  align-items: center; gap: 6px;
}
.field .err svg { width: 15px; height: 15px; }
.field.has-error .err { display: flex; }
.field .hint { font-size: 0.82rem; color: var(--text-dim); margin-top: 7px; }

/* select styling */
.field select.control { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23838aa6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }

/* consent */
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 22px; }
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px;
  border: 1px solid var(--glass-border-strong); border-radius: 6px;
  background: rgba(255,255,255,0.04); cursor: pointer;
  transition: background var(--dur), border-color var(--dur);
  position: relative;
}
.consent input[type="checkbox"]:checked { background: var(--primary-600); border-color: var(--primary); }
.consent input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 7px; top: 3px;
  width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.consent label { font-size: 0.82rem; color: var(--text-dim); line-height: 1.55; cursor: pointer; }
.consent label a { color: #9dc2ff; text-decoration: underline; text-underline-offset: 2px; }
.consent.has-error input[type="checkbox"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(251,113,133,0.16); }

/* form status message (aria-live) */
.form-status {
  display: none;
  align-items: flex-start; gap: 11px;
  padding: 15px 17px; border-radius: var(--r-sm);
  font-size: 0.9rem; margin-top: 18px; line-height: 1.5;
}
.form-status svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.form-status.show { display: flex; }
.form-status.success { background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.3); color: #a7f3d0; }
.form-status.error { background: rgba(251,113,133,0.12); border: 1px solid rgba(251,113,133,0.3); color: #fecdd3; }
.form-status.info { background: rgba(61,124,255,0.12); border: 1px solid rgba(61,124,255,0.3); color: #cfe0ff; }

.form-legal { text-align: center; font-size: 0.8rem; color: var(--text-dim); margin-top: 18px; }
.form-legal a { color: #9dc2ff; text-decoration: underline; text-underline-offset: 2px; }

/* GHL embed container (replaces built-in form when configured) */
.ghl-embed-slot { min-height: 120px; }
.ghl-embed-slot iframe { width: 100% !important; border: none; border-radius: var(--r); }

/* ---------------------------------------------------------------- BOOKING */
.booking-shell {
  border-radius: var(--r-xl);
  border: 1px solid var(--glass-border);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  overflow: hidden;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.booking-cta-panel {
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 56px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.booking-cta-panel .cal-visual {
  width: 76px; height: 76px; border-radius: 20px;
  display: grid; place-items: center; color: #fff;
  background: var(--grad-cta); box-shadow: var(--glow-primary);
  margin-bottom: 4px;
}
.booking-cta-panel .cal-visual svg { width: 38px; height: 38px; }
.booking-cta-panel h2 { max-width: 22ch; }
.booking-cta-panel p { color: var(--text-muted); max-width: 46ch; }
.booking-badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
.booking-badges .pill { background: var(--glass); }
.booking-badges .pill svg { width: 16px; height: 16px; color: var(--success); }
/* When a real GHL calendar embed is injected here */
.booking-embed-live { padding: 10px; }
.booking-embed-live iframe { width: 100% !important; min-height: 640px; border: none; border-radius: var(--r-lg); }

/* -------------------------------------------------------------------- FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--r);
  background: var(--glass);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--dur), background var(--dur);
}
.faq-item.open { border-color: var(--glass-border-strong); background: var(--glass-2); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; text-align: left;
  font-family: "Space Grotesk"; font-weight: 500; font-size: 1.06rem; color: var(--text);
}
.faq-q .faq-ic {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--glass-3);
  border: 1px solid var(--glass-border); color: #9dc2ff;
  transition: transform var(--dur) var(--ease-out), background var(--dur);
}
.faq-q .faq-ic svg { width: 18px; height: 18px; }
.faq-item.open .faq-ic { transform: rotate(45deg); background: var(--primary-600); color: #fff; border-color: transparent; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
.faq-a-inner { padding: 0 24px 22px; color: var(--text-muted); font-size: 0.98rem; line-height: 1.65; }

/* ---------------------------------------------------------------- CTA BAND */
.cta-band { position: relative; }
.cta-shell {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(44px, 7vw, 88px) clamp(28px, 5vw, 72px);
  text-align: center;
  border: 1px solid rgba(79,141,255,0.35);
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(37,99,235,0.35), transparent 60%),
    linear-gradient(160deg, rgba(56,189,248,0.14), rgba(99,102,241,0.14));
  box-shadow: var(--shadow-lg);
}
.cta-shell h2 { max-width: 20ch; margin: 0 auto 20px; }
.cta-shell .lead { margin: 0 auto 34px; }
.cta-shell .hero-actions { justify-content: center; }

/* ----------------------------------------------------------------- FOOTER */
.footer { position: relative; padding-top: clamp(56px, 8vw, 88px); padding-bottom: 40px; border-top: 1px solid var(--glass-border); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--text-muted); font-size: 0.94rem; max-width: 34ch; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--glass-2); border: 1px solid var(--glass-border); color: var(--text-muted);
  transition: color var(--dur), background var(--dur), transform var(--dur);
}
.footer-social a:hover { color: #fff; background: var(--primary-600); transform: translateY(-2px); }
.footer-social a svg { width: 19px; height: 19px; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; font-family: "Space Grotesk"; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.94rem; padding: 6px 0; transition: color var(--dur); }
.footer-col a:hover { color: #9dc2ff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--glass-border);
  color: var(--text-dim); font-size: 0.86rem;
}
.footer-bottom .legal-links { display: flex; gap: 22px; }
.footer-bottom .legal-links a:hover { color: #9dc2ff; }
.footer-disclaimer { color: var(--text-dim); font-size: 0.78rem; line-height: 1.6; margin-top: 22px; max-width: 100%; opacity: 0.75; }

/* ------------------------------------------------------------------ MODAL */
.modal-backdrop {
  position: fixed; inset: 0; z-index: var(--z-backdrop);
  background: rgba(5, 5, 12, 0.72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
  display: grid; place-items: center; padding: 20px;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative; z-index: var(--z-modal);
  width: min(560px, 100%);
  max-height: min(86dvh, 820px);
  background: var(--bg-3);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform var(--dur-slow) var(--ease-out);
  display: flex; flex-direction: column;
}
.modal-backdrop.open .modal-card { transform: translateY(0) scale(1); }
.modal-card.modal-wide { width: min(920px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--glass-border); }
.modal-head h3 { font-size: 1.15rem; }
.modal-close {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--glass-2);
  border: 1px solid var(--glass-border); color: var(--text-muted);
  transition: color var(--dur), background var(--dur);
}
.modal-close:hover { color: #fff; background: var(--glass-3); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 0; overflow: auto; -webkit-overflow-scrolling: touch; }
.modal-body iframe { width: 100%; height: min(72dvh, 760px); border: none; display: block; }
.modal-fallback { padding: 40px 28px; text-align: center; }
.modal-fallback .cal-visual { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-cta); color: #fff; box-shadow: var(--glow-primary); }
.modal-fallback .cal-visual svg { width: 32px; height: 32px; }
.modal-fallback p { color: var(--text-muted); margin: 12px auto 24px; max-width: 40ch; }

/* ------------------------------------------------------------------ TOAST */
.toast-wrap {
  position: fixed; z-index: var(--z-toast);
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 10px; width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--r);
  background: var(--bg-3); border: 1px solid var(--glass-border-strong);
  box-shadow: var(--shadow-lg); color: var(--text); font-size: 0.92rem;
  transform: translateY(20px); opacity: 0;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur);
  pointer-events: auto;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { width: 20px; height: 20px; flex-shrink: 0; }
.toast.success svg { color: var(--success); }
.toast.error svg { color: var(--danger); }

/* --------------------------------------------------------------- UTILITIES */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.divider-line { height: 1px; background: var(--grad-line); border: none; margin: 0; }
.badge-soft {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: var(--r-pill);
  background: rgba(61,124,255,0.12); border: 1px solid rgba(61,124,255,0.28);
  color: #9dc2ff; font-size: 0.8rem; font-weight: 600; font-family: "Space Grotesk";
}
.badge-soft svg { width: 15px; height: 15px; }
.hide-mobile { display: initial; }
.only-mobile { display: none; }

/* Scroll-reveal base state (JS adds .in) */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.06s; }
[data-reveal-delay="2"] { transition-delay: 0.12s; }
[data-reveal-delay="3"] { transition-delay: 0.18s; }
[data-reveal-delay="4"] { transition-delay: 0.24s; }
[data-reveal-delay="5"] { transition-delay: 0.30s; }

/* Simple legal / content pages */
.legal-page { padding-top: calc(var(--nav-h) + 60px); padding-bottom: 80px; max-width: 820px; }
.legal-page h1 { margin-bottom: 12px; }
.legal-page .updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.35rem; margin: 40px 0 14px; }
.legal-page h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal-page p, .legal-page li { color: var(--text-muted); margin-bottom: 14px; line-height: 1.7; }
.legal-page ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal-page a { color: #9dc2ff; text-decoration: underline; text-underline-offset: 3px; }
.legal-page .callout { padding: 18px 20px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-border); margin: 20px 0; }

/* Status (success / cancelled) pages */
.status-page { min-height: 100dvh; display: grid; place-items: center; padding: 40px 20px; text-align: center; }
.status-card { max-width: 520px; padding: clamp(32px, 5vw, 52px); }
.status-icon { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; margin: 0 auto 28px; color: #fff; }
.status-icon svg { width: 42px; height: 42px; }
.status-icon.ok { background: linear-gradient(135deg, #059669, #34d399); box-shadow: 0 0 50px -8px rgba(52,211,153,0.6); }
.status-icon.warn { background: linear-gradient(135deg, #d97706, #fbbf24); box-shadow: 0 0 50px -8px rgba(251,191,36,0.5); }
.status-card h1 { margin-bottom: 14px; }
.status-card p { color: var(--text-muted); margin-bottom: 30px; }
.status-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------- CHAT SAFE */
/* Reserve bottom-right space so the GHL chat widget never covers nav/CTAs.
   The widget itself is injected via the script you paste in index.html. */
#ghl-chat-anchor { position: fixed; right: 0; bottom: 0; z-index: var(--z-chat); pointer-events: none; }

/* --------------------------------------------------------------- RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .step:not(:last-child) .step-num::after { display: none; }
}

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav-cta > .btn-primary { display: none; }   /* CTA lives in the mobile menu */
  .nav-toggle { display: flex; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 60px); padding-bottom: 76px; }
  .hero-media img { object-position: 66% center; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(5,7,15,0.66) 0%, rgba(5,7,15,0.82) 56%, var(--bg) 93%),
      linear-gradient(90deg, rgba(5,7,15,0.72), rgba(5,7,15,0.3));
  }
  .hero-vignette { box-shadow: inset 0 -80px 70px -55px var(--bg); }
  .hero-content { max-width: 640px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .pricing-grid { grid-template-columns: 1fr; }
  .plan.popular { order: -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-chip { display: none; }              /* keep hero clean on small screens */
  .hide-mobile { display: none; }
  .only-mobile { display: initial; }
  .cta-shell .hero-actions .btn { width: 100%; }
}

/* --------------------------------------------------------- REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .orb { animation: none; }
  .logo-track { animation: none; transform: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .float-chip { animation: none; }
}
