/* ==========================================================================
   QLive — Design System
   Clinical Queue & Operations Architecture
   --------------------------------------------------------------------------
   1.  Reset & base
   2.  Design tokens (light / dark)
   3.  Typography
   4.  Layout primitives
   5.  Buttons, badges, links
   6.  Header, mega menu, mobile drawer
   7.  Hero + live simulation
   8.  Cards, bento, feature blocks
   9.  Pricing, comparison table
   10. Accordion, tabs, steps, stats
   11. Forms
   12. Footer
   13. Motion & utilities
   14. Responsive
   ========================================================================== */

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */

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

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  transition: background-color .4s var(--ease), color .4s var(--ease);
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
strong, b { font-weight: 650; color: var(--ink); }
::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 3000;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ==========================================================================
   2. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Type */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Brand ramp — taken from the QLive logo blue */
  --brand-50:  #EEF3FF;
  --brand-100: #DBE5FF;
  --brand-200: #B8CBFF;
  --brand-300: #8AA9FF;
  --brand-400: #4B7BFB;
  --brand-500: #1554F0;
  --brand-600: #0B41D0;
  --brand-700: #0A35A6;
  --brand-800: #0B2C82;
  --brand-900: #0A2465;

  /* The logo's near-black */
  --logo-ink: #0A0F1F;

  /* Support hues */
  --violet: #3B5BDB;
  --violet-soft: #EDF1FE;
  --amber: #C2740A;
  --amber-soft: #FDF3E4;
  --rose: #D91E45;
  --rose-soft: #FFECF0;
  --sky: #0B63CE;
  --sky-soft: #E7F0FD;
  --whatsapp: #25D366;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Spacing rhythm */
  --gap: clamp(1rem, 2.2vw, 1.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --container: 1200px;
  --container-wide: 1400px;

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --ease-glide: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --header-h: 72px;
}

/* ----------------------------------------------------------------------------
   Palette — white is the ground, the logo blue carries every action, and the
   logo's near-black carries type and depth. Deliberately light-only: the
   brand is a white brand.
   ------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  --bg: #FFFFFF;
  --bg-alt: #F6F8FC;
  --bg-deep: #0A0F1F;
  --surface: #FFFFFF;
  --surface-2: #F7F9FD;
  --surface-raised: #FFFFFF;

  --ink: #0A0F1F;
  --text: #1F2739;
  --muted: #5A6478;
  --faint: #8B94A6;
  --inverse: #FFFFFF;

  --line: rgba(10, 15, 31, .09);
  --line-strong: rgba(10, 15, 31, .15);
  --line-soft: rgba(10, 15, 31, .055);

  --brand: var(--brand-500);
  --brand-text: var(--brand-700);
  --brand-tint: var(--brand-50);
  --brand-focus: var(--brand-500);
  --on-brand: #FFFFFF;

  --shadow-xs: 0 1px 2px rgba(10, 15, 31, .05);
  --shadow-sm: 0 2px 8px rgba(10, 15, 31, .05), 0 1px 2px rgba(10, 15, 31, .04);
  --shadow-md: 0 14px 32px -14px rgba(10, 15, 31, .16), 0 2px 8px rgba(10, 15, 31, .04);
  --shadow-lg: 0 36px 70px -30px rgba(10, 15, 31, .26), 0 10px 24px -14px rgba(10, 15, 31, .1);
  --shadow-brand: 0 18px 40px -18px rgba(21, 84, 240, .42);

  --grid-line: rgba(10, 15, 31, .04);
  --glow-a: rgba(21, 84, 240, .13);
  --glow-b: rgba(59, 91, 219, .09);
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.95rem, 3.9vw, 3rem); letter-spacing: -.038em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); letter-spacing: -.028em; }
h4 { font-size: clamp(1.08rem, 1.6vw, 1.2rem); letter-spacing: -.02em; font-weight: 700; }
h5 { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }

p { color: var(--muted); }
p a:not(.btn) {
  color: var(--brand-text);
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent);
}
p a:not(.btn):hover { text-decoration-color: var(--brand); }

.lead {
  font-size: clamp(1.06rem, 1.9vw, 1.28rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.eyebrow.is-centered { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head h2 + p { margin-top: 1.1rem; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.text-muted { color: var(--muted); }
.text-brand { color: var(--brand-text); }

/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}
.container-wide { max-width: var(--container-wide); }
.container-narrow { max-width: 820px; }

.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-alt { background: var(--bg-alt); }
.section-deep {
  background: var(--bg-deep);
  --ink: #FFFFFF;
  --text: #D7DEEC;
  --muted: #98A4BD;
  --line: rgba(255, 255, 255, .12);
  --line-soft: rgba(255, 255, 255, .07);
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .07);
  --brand-text: var(--brand-300);
  color: var(--text);
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split-wide { grid-template-columns: 1.05fr .95fr; }

.stack-sm > * + * { margin-top: .75rem; }
.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }

.hairline { height: 1px; background: var(--line); border: 0; }

/* Decorative backdrops */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}
.bg-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  filter: blur(110px);
}
.bg-glow::before { background: var(--glow-a); top: -340px; left: -180px; }
.bg-glow::after  { background: var(--glow-b); top: -260px; right: -220px; }

/* ==========================================================================
   5. BUTTONS, BADGES, LINKS
   ========================================================================== */

.btn {
  --btn-py: 13px;
  --btn-px: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: .945rem;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .2s var(--ease-soft), border-color .2s var(--ease-soft),
              color .2s var(--ease-soft);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--brand) 88%, #000);
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -18px color-mix(in srgb, var(--brand) 60%, transparent);
}

.btn-ink {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-md);
}
.btn-ink:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-quiet:hover { background: var(--surface-2); border-color: var(--line-strong); }

.btn-wa {
  background: var(--whatsapp);
  color: #04321A;
  box-shadow: 0 18px 40px -18px rgba(37, 211, 102, .55);
}
.btn-wa:hover { background: #1FBE5B; transform: translateY(-2px); }

.btn-sm { --btn-py: 9px; --btn-px: 16px; font-size: .875rem; border-radius: var(--r-xs); }
.btn-lg { --btn-py: 16px; --btn-px: 30px; font-size: 1.02rem; border-radius: var(--r-md); }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: .93rem;
  color: var(--brand-text);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: .755rem;
  font-weight: 620;
  letter-spacing: .01em;
  background: var(--brand-tint);
  color: var(--brand-text);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  white-space: nowrap;
}
.badge-violet { background: var(--violet-soft); color: var(--violet); border-color: color-mix(in srgb, var(--violet) 25%, transparent); }
.badge-amber  { background: var(--amber-soft);  color: var(--amber);  border-color: color-mix(in srgb, var(--amber) 28%, transparent); }
.badge-sky    { background: var(--sky-soft);    color: var(--sky);    border-color: color-mix(in srgb, var(--sky) 25%, transparent); }
.badge-neutral{ background: var(--surface-2);   color: var(--muted);  border-color: var(--line); }

.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  font-size: .8rem;
  font-weight: 550;
  color: var(--muted);
}
.dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent);
  animation: ping 2.4s var(--ease-soft) infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 55%, transparent); }
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ==========================================================================
   6. HEADER / NAV
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              backdrop-filter .35s var(--ease), height .35s var(--ease);
}
.site-header.is-stuck {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
}
body { padding-top: var(--header-h); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  color: var(--ink);
}
/* The wordmark: dark Q, brand-blue "Live." — matching the logo lockup */
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.26rem;
  letter-spacing: -.055em;
  line-height: 1;
  white-space: nowrap;
}
.wm-q { color: var(--ink); }
.wm-live { color: var(--brand); }
.wm-dot { color: var(--brand); }

/* Footer sits on tinted ground; keep the lockup legible there too */
.site-footer .wm-q,
.drawer .wm-q { color: var(--ink); }

/* The wordmark lifts very slightly on hover — the only movement it needs */
.brand { transition: transform .5s var(--ease-spring); }
.brand:hover { transform: translateY(-1px); }

.nav { display: flex; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: var(--r-xs);
  font-size: .905rem;
  font-weight: 550;
  color: var(--muted);
  transition: color .2s, background-color .2s;
}
.nav-link:hover,
.nav-trigger:hover { color: var(--ink); background: var(--surface-2); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 620; }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.nav-trigger svg { width: 13px; height: 13px; transition: transform .3s var(--ease); opacity: .7; }
.has-menu.is-open .nav-trigger svg { transform: rotate(180deg); }
.has-menu.is-open .nav-trigger { color: var(--ink); background: var(--surface-2); }

.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(560px, 88vw);
  transform: translateX(-50%) translateY(10px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.has-menu.is-open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item {
  display: flex;
  gap: 12px;
  padding: 13px;
  border-radius: var(--r-md);
  transition: background-color .2s;
}
.mega-item:hover { background: var(--surface-2); }
.mega-icon {
  width: 38px; height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-tint);
  color: var(--brand-text);
}
.mega-icon svg { width: 19px; height: 19px; }
.mega-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: .93rem;
  letter-spacing: -.015em;
  margin-bottom: 2px;
}
.mega-item span { font-size: .8rem; color: var(--muted); line-height: 1.45; display: block; }
.mega-price { font-family: var(--font-mono); font-size: .78rem; color: var(--brand-text); font-weight: 600; }
.mega-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding: 13px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  font-size: .85rem;
  color: var(--muted);
}

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }

.icon-btn {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  transition: color .2s, border-color .2s, background-color .2s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.icon-btn svg { width: 17px; height: 17px; }

.hamburger { display: none; }
.hamburger-box { width: 18px; height: 12px; position: relative; }
.hamburger-box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .2s;
}
.hamburger-box span:nth-child(1) { top: 0; }
.hamburger-box span:nth-child(2) { top: 5.1px; }
.hamburger-box span:nth-child(3) { top: 10.2px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.1px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.1px) rotate(-45deg); }

/* Mobile drawer */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(6, 9, 18, .5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 950;
  width: min(400px, 88vw);
  height: 100dvh;
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: translateX(102%);
  transition: transform .45s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(1.15rem, 4vw, 1.5rem);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 2;
}
.drawer-body { padding: 20px clamp(1.15rem, 4vw, 1.5rem) 28px; flex: 1; }
.drawer-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 22px 0 10px;
}
.drawer-body > .drawer-label:first-child { margin-top: 0; }
.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.drawer-link small { font-family: var(--font-mono); font-size: .76rem; color: var(--brand-text); font-weight: 600; }
.drawer-link[aria-current="page"] { color: var(--brand-text); }
.drawer-cta { margin-top: 26px; display: grid; gap: 10px; }
.drawer-meta { margin-top: 24px; font-size: .85rem; color: var(--muted); }
.drawer-meta a { color: var(--ink); font-weight: 600; }

body.no-scroll { overflow: hidden; }

/* ==========================================================================
   7. HERO + LIVE SIMULATION
   ========================================================================== */

.hero { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.35rem; }
.hero h1 em {
  font-style: normal;
  color: var(--brand-text);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .1em;
  height: .12em;
  border-radius: 3px;
  background: color-mix(in srgb, var(--brand) 30%, transparent);
}
.hero .btn-row { margin-top: 2rem; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 2.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-proof svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

/* --- Simulation shell --- */
.sim {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .95fr;
  grid-template-rows: auto auto;
  gap: 14px;
  perspective: 1400px;
}
.sim-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.sim-desk { grid-row: span 2; display: flex; flex-direction: column; }
.sim-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
}
.sim-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
}
.sim-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 14px; }

.now-serving {
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--brand-tint), transparent);
  padding: 14px 16px;
}
.now-label {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-text);
  font-weight: 700;
}
.now-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 6px; }
.now-token {
  font-family: var(--font-mono);
  font-size: clamp(2.1rem, 4.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.now-name { font-size: .92rem; font-weight: 600; color: var(--text); text-align: right; }
.now-name small { display: block; font-weight: 450; color: var(--faint); font-size: .76rem; }

.queue-list { display: flex; flex-direction: column; gap: 7px; }
.queue-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid transparent;
  font-size: .84rem;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .3s;
}
.queue-row.is-next { background: var(--brand-tint); border-color: color-mix(in srgb, var(--brand) 25%, transparent); }
.queue-tok {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .82rem;
  color: var(--muted);
  min-width: 30px;
  font-variant-numeric: tabular-nums;
}
.queue-row.is-next .queue-tok { color: var(--brand-text); }
.queue-name { flex: 1; color: var(--text); font-weight: 500; }
.queue-tag { font-size: .7rem; color: var(--faint); font-family: var(--font-mono); }

.sim-actions { display: flex; gap: 8px; margin-top: auto; }
.sim-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--r-sm);
  font-size: .82rem;
  font-weight: 620;
  font-family: var(--font-display);
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
}
.sim-btn.is-primary {
  background: var(--brand);
  color: var(--on-brand);
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.sim-btn.is-primary.is-firing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .35);
  animation: sweep .6s var(--ease) forwards;
}
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* TV display panel */
.sim-tv {
  background: #060911;
  border-color: rgba(255, 255, 255, .1);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 16px;
  text-align: center;
  min-height: 156px;
  position: relative;
}
.sim-tv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(75, 123, 251, .22), transparent 65%);
}
.tv-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.tv-token {
  position: relative;
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  color: #fff;
  margin: 8px 0 6px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 34px rgba(75, 123, 251, .55);
}
.tv-sub { position: relative; font-size: .75rem; color: rgba(255, 255, 255, .55); }
.tv-room { position: relative; margin-top: 10px; display: flex; gap: 6px; }
.tv-room span {
  width: 26px; height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .16);
}
.tv-room span.on { background: var(--brand-300); }

/* WhatsApp panel */
.sim-wa { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.wa-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.wa-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  flex: none;
}
.wa-avatar svg { width: 16px; height: 16px; color: #fff; }
.wa-meta strong { display: block; font-size: .8rem; font-family: var(--font-display); letter-spacing: -.01em; }
.wa-meta span { font-size: .68rem; color: var(--brand-text); font-weight: 550; }
.wa-thread { display: flex; flex-direction: column; gap: 7px; min-height: 96px; justify-content: flex-end; }
.wa-bubble {
  align-self: flex-start;
  max-width: 92%;
  padding: 9px 12px;
  border-radius: 14px 14px 14px 4px;
  background: var(--surface-2);
  font-size: .795rem;
  line-height: 1.45;
  color: var(--text);
  border: 1px solid var(--line-soft);
  animation: bubbleIn .45s var(--ease) backwards;
}
.wa-bubble.is-out {
  align-self: flex-end;
  background: color-mix(in srgb, var(--whatsapp) 16%, var(--surface));
  border-color: color-mix(in srgb, var(--whatsapp) 30%, transparent);
  border-radius: 14px 14px 4px 14px;
}
.wa-bubble b { color: var(--ink); font-weight: 650; }
.wa-time { display: block; margin-top: 3px; font-size: .63rem; color: var(--faint); font-family: var(--font-mono); }
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.sim-float {
  position: absolute;
  right: -18px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.sim-float .kpi { font-family: var(--font-mono); font-weight: 700; font-size: 1.15rem; color: var(--ink); line-height: 1; }
.sim-float small { font-size: .7rem; color: var(--muted); }

/* ==========================================================================
   8. CARDS / BENTO / FEATURES
   ========================================================================== */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  position: relative;
  overflow: hidden;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .935rem; }

.card-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-tint);
  color: var(--brand-text);
  margin-bottom: 1.15rem;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}
.card-icon svg { width: 21px; height: 21px; }
.card-icon.is-violet { background: var(--violet-soft); color: var(--violet); border-color: color-mix(in srgb, var(--violet) 22%, transparent); }
.card-icon.is-amber  { background: var(--amber-soft);  color: var(--amber);  border-color: color-mix(in srgb, var(--amber) 25%, transparent); }
.card-icon.is-sky    { background: var(--sky-soft);    color: var(--sky);    border-color: color-mix(in srgb, var(--sky) 22%, transparent); }
.card-icon.is-rose   { background: var(--rose-soft);   color: var(--rose);   border-color: color-mix(in srgb, var(--rose) 22%, transparent); }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--gap);
}
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }

.bento-feature {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}
.bento-feature .bento-visual { margin-top: auto; padding-top: 1.75rem; }

/* Mini visuals used inside cards */
.mini-display {
  border-radius: var(--r-md);
  background: #060911;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .09);
}
.mini-display .t {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -.04em;
  text-shadow: 0 0 26px rgba(75, 123, 251, .5);
}
.mini-display .l {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 5px;
}

.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 84px; }
.mini-bars i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: color-mix(in srgb, var(--brand) 26%, transparent);
  transition: height .8s var(--ease);
}
.mini-bars i.peak { background: var(--brand); }

.mini-rows { display: grid; gap: 6px; }
.mini-rows div {
  height: 30px;
  border-radius: 7px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--faint);
}
.mini-rows div span:last-child { margin-left: auto; }

/* Problem/solution comparison */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.versus-col { border-radius: var(--r-lg); padding: clamp(1.4rem, 2.6vw, 2rem); border: 1px solid var(--line); }
.versus-col.is-before { background: var(--surface-2); }
.versus-col.is-after {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
  box-shadow: var(--shadow-md);
}
.versus-col h4 { display: flex; align-items: center; gap: 9px; margin-bottom: 1.15rem; }
.versus-list li {
  display: flex;
  gap: 11px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  font-size: .92rem;
  color: var(--muted);
}
.versus-list li:first-child { border-top: 0; }
.versus-list svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.is-before .versus-list svg { color: var(--rose); }
.is-after .versus-list svg { color: var(--brand); }
.is-after .versus-list li { color: var(--text); }

/* Checklist */
.check-list { display: grid; gap: 11px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .935rem; color: var(--muted); }
.check-list svg { width: 19px; height: 19px; flex: none; color: var(--brand); margin-top: 1px; }
.check-list li strong { color: var(--ink); font-weight: 620; }

/* Logo-free trust strip */
.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  padding: 20px 0;
}
.strip li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .875rem;
  font-weight: 550;
  color: var(--muted);
}
.strip svg { width: 17px; height: 17px; color: var(--brand); }

/* ==========================================================================
   9. PRICING & COMPARISON
   ========================================================================== */

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: start; }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  height: 100%;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.is-featured {
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  box-shadow: var(--shadow-lg);
}
.price-card.is-featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, var(--brand), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: var(--on-brand);
  font-size: .705rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-brand);
  white-space: nowrap;
}
.price-name { font-family: var(--font-display); font-size: 1.18rem; font-weight: 750; letter-spacing: -.025em; color: var(--ink); }
.price-for { font-size: .84rem; color: var(--faint); margin-top: 3px; }
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 1.35rem 0 .35rem;
}
.price-amount .num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.045em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-amount .per { font-size: .84rem; color: var(--faint); font-weight: 500; }
.price-recur {
  font-size: .82rem;
  color: var(--muted);
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line-soft);
}
.price-recur b { color: var(--text); }
.price-blurb { font-size: .9rem; margin-bottom: 1.35rem; }
.price-feats { display: grid; gap: 10px; margin-bottom: 1.85rem; }
.price-feats li { display: flex; gap: 10px; font-size: .885rem; color: var(--muted); align-items: flex-start; }
.price-feats svg { width: 17px; height: 17px; flex: none; color: var(--brand); margin-top: 2px; }
.price-feats li.is-off { color: var(--faint); }
.price-feats li.is-off svg { color: var(--faint); opacity: .55; }
.price-feats .head {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 4px;
}
.price-actions { margin-top: auto; display: grid; gap: 9px; }

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.cmp { min-width: 720px; font-size: .9rem; }
.cmp thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface-2);
  padding: 16px 18px;
  text-align: center;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.cmp thead th:first-child { text-align: left; }
.cmp thead th small {
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  color: var(--brand-text);
  margin-top: 2px;
}
.cmp th.is-featured { background: var(--brand-tint); }
.cmp tbody th {
  text-align: left;
  font-weight: 550;
  color: var(--text);
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
.cmp tbody td {
  text-align: center;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
}
.cmp tbody tr:hover th,
.cmp tbody tr:hover td { background: var(--surface-2); }
.cmp .grp th {
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 10px 18px;
}
.cmp .yes { color: var(--brand); }
.cmp .no { color: var(--faint); opacity: .5; }
.cmp svg { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }

/* ROI calculator */
.calc {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.calc-field { margin-bottom: 1.5rem; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: .89rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.calc-field output {
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 700;
  color: var(--brand-text);
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: grab;
  transition: transform .2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: grab;
}
.calc-out {
  background: var(--bg-deep);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.calc-out::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 0%, rgba(75, 123, 251, .22), transparent 60%);
  pointer-events: none;
}
.calc-out > * { position: relative; }
.calc-metric { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.calc-metric span { font-size: .855rem; color: rgba(255, 255, 255, .6); }
.calc-metric b {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.calc-hero {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding-bottom: 16px;
}
.calc-hero b { font-size: clamp(2rem, 4.2vw, 2.6rem); color: var(--brand-300); }
.calc-note { font-size: .74rem; color: rgba(255, 255, 255, .45); line-height: 1.5; margin-top: auto; }

/* ==========================================================================
   10. ACCORDION / TABS / STEPS / STATS
   ========================================================================== */

.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.1rem);
  font-weight: 650;
  letter-spacing: -.02em;
  color: var(--ink);
  transition: color .2s;
}
.acc-btn:hover { color: var(--brand-text); }
.acc-icon {
  width: 26px; height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.acc-icon svg { width: 13px; height: 13px; }
.acc-btn[aria-expanded="true"] .acc-icon {
  transform: rotate(45deg);
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.acc-panel > div { overflow: hidden; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel p { padding: 0 4px 24px; max-width: 74ch; font-size: .95rem; }
.acc-panel ul { padding: 0 4px 24px 22px; list-style: disc; color: var(--muted); font-size: .95rem; }
.acc-panel li { margin-bottom: 6px; }

/* Tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 2rem; }
.tab {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: .885rem;
  font-weight: 600;
  color: var(--muted);
  transition: all .25s var(--ease-soft);
}
.tab:hover { color: var(--ink); border-color: var(--line-strong); }
.tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.tab-panel[hidden] { display: none; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: var(--gap); }
.step {
  position: relative;
  padding-left: 68px;
  padding-bottom: 34px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand-text);
}
.step::after {
  content: "";
  position: absolute;
  left: 23px; top: 54px; bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--line-strong), transparent);
}
.step:last-child::after { display: none; }
.step h4 { margin-bottom: .4rem; }
.step p { font-size: .93rem; }
.step-time {
  display: inline-block;
  margin-top: .6rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--brand-text);
  background: var(--brand-tint);
  padding: 3px 9px;
  border-radius: var(--r-xs);
  font-weight: 600;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.stat {
  padding: clamp(1.2rem, 2.4vw, 1.75rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.stat .val {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.045em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .lbl { margin-top: .55rem; font-size: .865rem; color: var(--muted); }

/* Callout */
.callout {
  display: flex;
  gap: 15px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--brand-tint);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  font-size: .92rem;
  color: var(--text);
}
.callout svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 1px; }
.callout.is-amber { background: var(--amber-soft); border-color: color-mix(in srgb, var(--amber) 26%, transparent); }
.callout.is-amber svg { color: var(--amber); }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  background: var(--bg-deep);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(75, 123, 251, .3), transparent 55%),
    radial-gradient(circle at 82% 100%, rgba(59, 91, 219, .26), transparent 55%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255, 255, 255, .7); max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 2.1rem; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .22); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .13); color: #fff; border-color: rgba(255, 255, 255, .38); }
.cta-fine { margin-top: 1.6rem; font-size: .82rem; color: rgba(255, 255, 255, .5); }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}
.page-hero .container { position: relative; }
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--faint);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.crumbs a:hover { color: var(--brand-text); }
.crumbs svg { width: 12px; height: 12px; opacity: .5; }

/* ==========================================================================
   11. FORMS
   ========================================================================== */

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: .855rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.field label .req { color: var(--rose); }
.field .hint { font-size: .78rem; color: var(--faint); margin-top: 6px; }

.input,
.select,
.textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: .94rem;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.textarea { min-height: 118px; resize: vertical; line-height: 1.55; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C667C' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 15px;
  padding-right: 38px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice span {
  display: block;
  padding: 12px 10px;
  text-align: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: .855rem;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s var(--ease-soft);
}
.choice small { display: block; font-weight: 500; font-size: .72rem; color: var(--faint); margin-top: 2px; font-family: var(--font-mono); }
.choice:hover span { border-color: var(--line-strong); color: var(--ink); }
.choice input:checked + span {
  border-color: var(--brand);
  background: var(--brand-tint);
  color: var(--brand-text);
}
.choice input:focus-visible + span { outline: 2px solid var(--brand-focus); outline-offset: 2px; }

/* Contact info cards */
.info-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .3s, transform .3s var(--ease);
}
.info-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.info-card .card-icon { margin-bottom: 0; width: 40px; height: 40px; }
.info-card strong { display: block; font-family: var(--font-display); font-size: .95rem; letter-spacing: -.015em; }
.info-card span { font-size: .87rem; color: var(--muted); }

/* ==========================================================================
   12. FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--line);
}
.footer-about p { font-size: .89rem; margin-top: 1.1rem; max-width: 34ch; }
.footer-contact { margin-top: 1.5rem; display: grid; gap: 9px; }
.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .875rem;
  color: var(--muted);
  transition: color .2s;
}
.footer-contact a:hover { color: var(--brand-text); }
.footer-contact svg { width: 15px; height: 15px; flex: none; color: var(--faint); }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: .885rem; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--brand-text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 1.75rem;
  font-size: .81rem;
  color: var(--faint);
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--brand-text); }

/* Floating WhatsApp */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 19px 13px 15px;
  border-radius: var(--r-pill);
  background: var(--whatsapp);
  color: #04321A;
  font-weight: 650;
  font-size: .9rem;
  font-family: var(--font-display);
  box-shadow: 0 16px 36px -14px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-fab:hover { transform: translateY(-3px) scale(1.02); }
.wa-fab svg { width: 21px; height: 21px; }

/* ==========================================================================
   12b. CLINIC FLOW SIMULATOR
   ========================================================================== */

.sim-lab {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: clamp(1.25rem, 2.6vw, 2rem);
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) { .sim-lab { grid-template-columns: 1fr; } }

.sim-controls { display: flex; flex-direction: column; gap: 1.15rem; }
.sim-field label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-size: .875rem; font-weight: 600; color: var(--text); margin-bottom: 9px;
}
.sim-field output {
  font-family: var(--font-mono); font-size: .875rem; font-weight: 700;
  color: var(--brand-text); font-variant-numeric: tabular-nums;
}
.sim-stage { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.sim-canvas-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
}
#flowCanvas { display: block; width: 100%; height: 300px; }
@media (max-width: 640px) { #flowCanvas { height: 340px; } }

.sim-timebar {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: .78rem; color: var(--muted);
}
.sim-track {
  flex: 1; height: 5px; border-radius: 3px;
  background: var(--surface-2); border: 1px solid var(--line-soft); overflow: hidden;
}
.sim-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--violet));
}

.sim-metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden;
}
.sim-metrics > div { background: var(--surface); padding: 12px 14px; }
.sim-metrics .k {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--faint);
}
.sim-metrics .v {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
  letter-spacing: -.035em; color: var(--ink); margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.sim-metrics .v.is-rose { color: var(--rose); }
.sim-metrics .v.is-brand { color: var(--brand-text); }

.sim-verdict {
  font-size: .92rem; color: var(--muted); line-height: 1.6;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--brand-tint);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
}
.sim-verdict strong { color: var(--brand-text); }

.sim-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.sim-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 7px; }

/* ==========================================================================
   13. MOTION & UTILITIES
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.full { grid-column: 1 / -1; }


/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .sim-float { right: 8px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hamburger { display: grid; }
  .header-actions .btn { display: none; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card.is-featured { order: -1; }
  .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 3; }
  .calc { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split-wide { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .sim { grid-template-columns: 1fr; }
  .sim-desk { grid-row: auto; }
  .sim-float { display: none; }
  .versus { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .bento > *, .bento .span-3, .bento .span-4, .bento .span-6 { grid-column: 1 / -1; }
  .field-row { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-proof { gap: 8px 18px; }
  .wa-fab span { display: none; }
  .wa-fab { padding: 14px; right: 16px; bottom: 16px; }
  .step { padding-left: 56px; }
  .step::before { width: 38px; height: 38px; border-radius: 12px; font-size: .74rem; }
  .step::after { left: 19px; top: 46px; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}

@media print {
  .site-header, .drawer, .scrim, .wa-fab, .cta-band { display: none !important; }
  body { padding-top: 0; }
}
