/* =========================================================================
   SURGEIX — main stylesheet
   Phase 1: design tokens + typography baseline
   Phase 2: navbar pill + hero structure (no animations yet)
   ========================================================================= */

/* ---------- 1. TOKENS ---------------------------------------------------- */
:root {
  /* Surface */
  --bg:            #FFFFFF;
  --surface:       #F0F7FC;
  --surface-2:     #E6F2FA;

  /* Brand */
  --accent:        #1898D7;
  --accent-dim:    rgba(24, 152, 215, 0.10);
  --accent-glow:   rgba(24, 152, 215, 0.20);
  --accent-strong: #0F7AB4;

  --green:         #10B982;
  --green-dim:     rgba(16, 185, 130, 0.12);

  --navy:          #042338;
  --muted:         #5A7A8C;

  /* Lines */
  --border:        rgba(4, 35, 56, 0.09);
  --border-strong: rgba(4, 35, 56, 0.16);
  --border-accent: rgba(24, 152, 215, 0.22);

  /* Neutrals */
  --white:         #FFFFFF;

  /* Type */
  --font-display:  "Montserrat", system-ui, sans-serif;
  --font-body:     "Plus Jakarta Sans", system-ui, sans-serif;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 9999px;

  /* Shadow */
  --shadow-card:   0 8px 32px rgba(4, 35, 56, 0.08);
  --shadow-lift:   0 12px 40px rgba(24, 152, 215, 0.12);
  --shadow-deep:   0 30px 70px rgba(4, 35, 56, 0.14);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-height: 84px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--accent); color: var(--white); }

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

/* ---------- 3. TYPOGRAPHY ------------------------------------------------ */
.display-1, .display-2, h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.display-1 {
  font-weight: 900;
  font-size: clamp(40px, 5.6vw, 76px);
  letter-spacing: -0.035em;
  line-height: 1.0;
}

.display-2 {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 46px);
  letter-spacing: -0.02em;
}

h3 {
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h4 {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
}

.lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
}

.body, p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.body-small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.overline {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  position: relative;
  padding-left: 32px;
}
/* Replace the AI-cliché dot with a thin accent rule on the left */
.overline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}

.highlight-word {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.highlight-word::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px; bottom: 0.10em;
  height: 0.30em;
  background: var(--accent-dim);
  border-radius: 2px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
}
.highlight-word.in-view::after { transform: scaleX(1); }

/* Word + character spans output of the manual hero splitter (Phase 5).
   Words are inline-block so wrapping breaks between words, never mid-word. */
.word {
  display: inline-block;
  white-space: nowrap;
}
.char {
  display: inline-block;
  will-change: transform, opacity;
}

/* ---------- 4. WORDMARK / LOGO SLOT ------------------------------------- */
.logo-slot {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-slot--img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.ds-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--navy);
}

/* ---------- 5. BUTTONS --------------------------------------------------- */
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  border-radius: var(--r-pill);
  padding: 11px 22px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out),
              background 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out),
              color 0.25s var(--ease-out);
  white-space: nowrap;
}
.btn-lg {
  padding: 14px 26px;
  font-size: 14px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 4px 14px var(--accent-glow);
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 24px var(--accent-glow);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--border-accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn-wash {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 4px 14px var(--green-dim);
}
.btn-wash:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 24px var(--green-dim);
}

/* =========================================================================
   NAVBAR — floating pill
   ========================================================================= */
.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, calc(100vw - 40px));
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(4, 35, 56, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 8px 28px rgba(4, 35, 56, 0.07);
  padding: 9px 9px 9px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 1000;
  transition: box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.navbar:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 12px 40px rgba(24, 152, 215, 0.12);
  border-color: rgba(24, 152, 215, 0.18);
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar__nav {
  display: inline-flex;
  align-items: center;
  gap: 26px;
}
.navbar__nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
  position: relative;
  transition: color 0.2s var(--ease-out);
}
.navbar__nav a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -6px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: translateX(-50%) scale(0.5);
  transition: opacity 0.2s, transform 0.25s var(--ease-out);
}
.navbar__nav a:hover {
  color: var(--navy);
}
.navbar__nav a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.navbar__cta {
  padding: 9px 18px;
  font-size: 12.5px;
  flex-shrink: 0;
}

.navbar__hamburger {
  display: none;
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  background: var(--accent-dim);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.navbar__hamburger span {
  width: 16px;
  height: 1.6px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

@media (max-width: 900px) {
  .navbar__nav { display: none; }
}
@media (max-width: 768px) {
  .navbar {
    width: calc(100vw - 24px);
    padding: 8px 8px 8px 14px;
  }
  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--nav-height) + 36px) var(--gutter) 64px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(24,152,215,0.10), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(16,185,130,0.06), transparent 60%),
    var(--bg);
  overflow: hidden;
}

/* Hero background decorations (for parallax in Phase 5) */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.blob--accent {
  width: 520px; height: 520px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(24,152,215,0.45), rgba(24,152,215,0) 70%);
}
.blob--green {
  width: 420px; height: 420px;
  bottom: -160px; left: -80px;
  background: radial-gradient(circle, rgba(16,185,130,0.30), rgba(16,185,130,0) 70%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(4,35,56,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(4,35,56,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 80%);
  opacity: 0.6;
}

.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 640px;
}
.hero__copy .hero-title {
  margin-top: 4px;
}
.hero__copy .hero-sub {
  margin-top: -2px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.trust-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.trust-strip li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
}
.trust-strip li strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.trust-strip__divider {
  width: 1px; height: 14px;
  background: var(--border);
  display: inline-block;
}

/* ---------- HERO VISUAL: dashboard card mockup -------------------------- */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
  perspective: 1200px;
}

.dashboard-card {
  width: min(440px, 100%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-deep);
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
}
.dashboard-card::before {
  /* subtle inner highlight on the top edge */
  content: '';
  position: absolute;
  top: 0; left: 12px; right: 12px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.9), transparent);
  pointer-events: none;
}

.dash__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.dash__date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
}
.dash__weekday {
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.dash__day {
  font-weight: 900;
  font-size: 28px;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}
.dash__month {
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.dash__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--green-dim);
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dash__pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(16,185,130,0.7);
}

.dash__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 4px;
}
.dash__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.015em;
}
.dash__branch {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
}

.dash__list {
  display: grid;
  gap: 8px;
}
.appt {
  display: grid;
  grid-template-columns: 56px 30px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--surface);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.appt:hover {
  background: var(--surface-2);
  transform: translateX(2px);
}
.appt__time {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.02em;
  background: var(--accent-dim);
  padding: 4px 6px;
  border-radius: 8px;
  text-align: center;
}
.appt__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  color: var(--white);
  letter-spacing: 0.04em;
}
.appt__avatar[data-color="accent"] { background: var(--accent); }
.appt__avatar[data-color="navy"]   { background: var(--navy); }
.appt__avatar[data-color="green"]  { background: var(--green); }

.appt__body { min-width: 0; }
.appt__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.005em;
}
.appt__svc {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 0;
  line-height: 1.3;
}

.appt__tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--r-pill);
}
.appt__tag--ok   { background: var(--green-dim); color: var(--green); }
.appt__tag--wait { background: rgba(245, 158, 11, 0.12); color: #C97A0F; }
.appt__tag--new  { background: var(--accent-dim); color: var(--accent); }

.dash__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}
.dash__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 4px;
  border-right: 1px solid var(--border);
}
.dash__stat:last-child { border-right: 0; }
.dash__stat strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.dash__stat span {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* Floating WhatsApp notification card (peeks below-left of dashboard) */
.float-card {
  position: absolute;
  bottom: -28px;
  left: -36px;
  width: 280px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
  z-index: 3;
}
.float-card__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #25D366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}
.float-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  color: var(--navy);
  margin: 0;
  letter-spacing: 0.01em;
}
.float-card__sub {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted);
  margin: 2px 0 0;
}
.float-card__tick {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-dim);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .hero__visual { min-height: 0; padding-top: 8px; }
  .float-card { left: 4px; bottom: -36px; }
}
@media (max-width: 540px) {
  .float-card { display: none; }
}

/* =========================================================================
   SHARED — container / section head / section spacing
   ========================================================================= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

main > section {
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: clamp(72px, 9vw, 128px);
}

main > section.ticker-wrap {
  padding-top: 28px;
  padding-bottom: 28px;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 72px);
  max-width: 760px;
}
.section-head .display-2 { margin-top: 4px; }

.section-head--row {
  grid-template-columns: 1fr auto;
  align-items: end;
  max-width: 100%;
  gap: 24px;
}
@media (max-width: 720px) {
  .section-head--row { grid-template-columns: 1fr; }
}

.highlight-word--green::after {
  background: var(--green-dim);
}

/* =========================================================================
   TICKER (placeholder shapes — Phase 4 swaps in real SVG logos)
   ========================================================================= */
.ticker-wrap {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 6%, transparent 94%, var(--bg) 100%),
    var(--surface);
}

.ticker-track {
  display: flex;
  width: max-content;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 0 28px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  flex-shrink: 0;
}
.brand-logo__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--navy);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.brand-logo__name em {
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.12em;
}

/* Inline SVG brand-logo marks */
.brand-logo__svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}
.brand-logo__name--small {
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* Ticker 2 — keyword pills */
.ticker-inner--keywords {
  gap: 28px;
}
.kw {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.015em;
  color: var(--navy);
  white-space: nowrap;
}
.kw-dot {
  font-size: 10px;
  color: var(--accent);
}
.ticker-2-wrap {
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 6%, transparent 94%, var(--bg) 100%),
    linear-gradient(to right, var(--surface), var(--surface-2), var(--surface));
  padding: 36px 0 !important;
}

/* =========================================================================
   PROBLEM
   ========================================================================= */
.problem {
  background: var(--surface);
  position: relative;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .problem__grid { grid-template-columns: 1fr; } }

.pain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.pain-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lift);
}
.pain-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 4px;
}
.pain-card h3 {
  font-size: 19px;
  letter-spacing: -0.015em;
}
.pain-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.pain-card__metric {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

/* =========================================================================
   PINNED FEATURES (Phase 5 will pin & scrub horizontally)
   ========================================================================= */
.features-pin {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.features-pin__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.features-pin__hint {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.features-track-wrap {
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.features-track-wrap::-webkit-scrollbar { display: none; }

.features-track {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 4px 0 12px;
  margin: 0;
  width: max-content;
}

.feat-card {
  width: 360px;
  min-height: 460px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-snap-align: start;
  position: relative;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.feat-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.feat-card--wash:hover { border-color: rgba(16,185,130,0.32); box-shadow: 0 12px 40px rgba(16,185,130,0.14); }

.feat-card__num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 64px;
  color: var(--surface);
  letter-spacing: -0.03em;
  line-height: 1;
  z-index: 0;
}
.feat-card__icon {
  font-size: 56px;
  color: var(--accent);
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
}
.feat-card--wash .feat-card__icon { color: var(--green); }

.feat-card h3 {
  font-size: 22px;
  letter-spacing: -0.015em;
  position: relative;
  z-index: 1;
}
.feat-card > p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.feat-card__list {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  display: grid;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--navy);
  position: relative;
  z-index: 1;
}
.feat-card__list li {
  position: relative;
  padding-left: 18px;
}
.feat-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.feat-card--wash .feat-card__list li::before { background: var(--green); }

/* =========================================================================
   PRODUCT SECTIONS — Barber + Wash
   ========================================================================= */
.product { background: var(--bg); position: relative; overflow: hidden; }
.product-barber { background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); }
.product-wash   { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }

.product__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.product__inner--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 1024px) {
  .product__inner,
  .product__inner--reverse { grid-template-columns: 1fr; gap: 56px; }
  .product__inner--reverse > .product__visual { order: 2; }
  .product__inner--reverse > .product__copy   { order: 1; }
}

.product__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product__copy .display-2 { margin-top: 4px; }

.check-list {
  display: grid;
  gap: 12px;
  margin: 12px 0 8px;
}
.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.check-list li strong { color: var(--navy); font-weight: 700; }
.check-list li i {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 2px;
}
.check-list--green li i { background: var(--green-dim); color: var(--green); }

.product__cta { margin-top: 8px; }
.product__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

/* =========================================================================
   PHONE MOCKUP — realistic iPhone with WhatsApp conversation
   ========================================================================= */
.phone-mockup {
  width: 282px;
  height: 588px;
  background: linear-gradient(145deg, #1A1A1A 0%, #2C2C2C 50%, #1A1A1A 100%);
  border-radius: 54px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    inset 0 0 0 1.5px rgba(255,255,255,0.06),
    inset 0 0 0 5px #0A0A0A,
    0 60px 120px rgba(4,35,56,0.35),
    0 20px 40px rgba(4,35,56,0.20),
    8px 8px 24px rgba(0,0,0,0.30);
  position: relative;
}

/* Side buttons — right (power) */
.phone-mockup::before {
  content: '';
  position: absolute;
  right: -3px;
  top: 130px;
  width: 3px;
  height: 70px;
  background: linear-gradient(to bottom, #2A2A2A, #1A1A1A);
  border-radius: 0 3px 3px 0;
}
/* Side buttons — left (mute + volume up + volume down stacked via box-shadow) */
.phone-mockup::after {
  content: '';
  position: absolute;
  left: -3px;
  top: 100px;
  width: 3px;
  height: 28px;
  background: linear-gradient(to bottom, #2A2A2A, #1A1A1A);
  border-radius: 3px 0 0 3px;
  box-shadow:
    0 44px 0 0 #2A2A2A,
    0 44px 0 -1px #1A1A1A,
    0 0 0 0 #2A2A2A,
    0 90px 0 -10px #2A2A2A,
    0 90px 0 -10px #2A2A2A;
}

.phone-screen {
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  background: #ECE5DD;
  border-radius: 44px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 28px;
  background: #1A1A1A;
  border-radius: 20px;
  z-index: 10;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.phone-status-bar {
  height: 46px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 22px 6px;
  background: #075E54;
  flex-shrink: 0;
}
.ph-time {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}
.ph-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ph-status-icons svg { color: #FFFFFF; }
.ph-status-icons svg rect[fill="#1A1A1A"],
.ph-status-icons svg path[fill="#1A1A1A"] { fill: #FFFFFF; }
.ph-status-icons svg [stroke="#1A1A1A"] { stroke: #FFFFFF; }

/* WhatsApp green header */
.wa-header {
  background: #075E54;
  padding: 6px 12px 10px;
  display: grid;
  grid-template-columns: 18px 32px 1fr auto;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.wa-back {
  color: #FFFFFF;
  display: inline-flex;
}
.wa-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #128C7E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.wa-name__main {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.1;
}
.wa-name__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  color: rgba(255,255,255,0.78);
  margin: 1px 0 0;
}
.wa-icons {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  margin-left: 6px;
}

/* Chat area with subtle WhatsApp pattern */
.wa-chat {
  flex: 1;
  background-color: #ECE5DD;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(7,94,84,0.05) 1.5px, transparent 1.6px),
    radial-gradient(circle at 60% 65%, rgba(7,94,84,0.04) 1px, transparent 1.1px),
    radial-gradient(circle at 85% 15%, rgba(7,94,84,0.04) 1.5px, transparent 1.6px),
    radial-gradient(circle at 35% 80%, rgba(7,94,84,0.04) 1px, transparent 1.1px);
  background-size: 80px 80px, 60px 60px, 100px 100px, 70px 70px;
  padding: 14px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.wa-day {
  align-self: center;
  background: #DBE9F2;
  color: #506771;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 4px;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
}

.wa-bubble {
  max-width: 80%;
  padding: 6px 9px 16px;
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.35;
  color: #303030;
  position: relative;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
}
.wa-bubble p { color: inherit; font-size: inherit; line-height: 1.35; margin: 0; }
.wa-bubble .wa-line { margin-top: 2px; }
.wa-bubble .wa-line--cta { margin-top: 6px; color: #303030; }

.wa-bubble--in {
  background: #FFFFFF;
  align-self: flex-start;
  border-radius: 0 8px 8px 8px;
}
.wa-bubble--in::before {
  content: '';
  position: absolute;
  top: 0; left: -6px;
  width: 6px; height: 13px;
  background: #FFFFFF;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.wa-bubble--out {
  background: #DCF8C6;
  align-self: flex-end;
  border-radius: 8px 0 8px 8px;
}
.wa-bubble--out::before {
  content: '';
  position: absolute;
  top: 0; right: -6px;
  width: 6px; height: 13px;
  background: #DCF8C6;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.wa-time {
  position: absolute;
  bottom: 3px;
  right: 8px;
  font-size: 9px;
  color: rgba(0,0,0,0.45);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
/* Tick: gray "sent" → blue "read" once the bubble is marked .is-read */
.wa-tick {
  display: inline-block;
  color: rgba(0, 0, 0, 0.40);
  transition: color 0.5s var(--ease-out);
}
.wa-bubble--out.is-read .wa-tick { color: #4FC3F7; }

.wa-emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-style: normal;
}

/* Input bar */
.wa-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 8px;
  background: #ECE5DD;
  border-top: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
}
.wa-input {
  flex: 1;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 7px 12px;
  font-family: var(--font-body);
  font-size: 11px;
  color: #909090;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wa-input__text { color: inherit; }
.wa-input__text.is-typing { color: #303030; font-weight: 500; }
.wa-input__caret {
  display: none;
  width: 1.4px;
  height: 12px;
  background: #303030;
  margin-left: -2px;
  animation: wa-caret 0.9s steps(2) infinite;
}
.wa-input__caret.is-on { display: inline-block; }
@keyframes wa-caret {
  50% { opacity: 0; }
}
.wa-mic {
  width: 32px; height: 32px;
  background: #25D366;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37,211,102,0.32);
}

/* Home indicator bar */
.phone-home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0,0,0,0.35);
  z-index: 12;
}

/* Pipeline tracker (Phase 4 will refine) */
.pipeline-tracker {
  width: min(560px, 100%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-deep);
  display: grid;
  gap: 28px;
}
.pipeline__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.pipeline__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-top: 6px;
}
.pipeline__time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--green);
  background: var(--green-dim);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}

.pipeline__stages {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pipeline-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 70px;
}
.pipeline-stage__dot {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  border: 1.5px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.pipeline-stage.is-done .pipeline-stage__dot {
  background: var(--green-dim);
  color: var(--green);
  border-color: var(--green);
}
.pipeline-stage.is-active .pipeline-stage__dot {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.stage-active-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.6;
}
.pipeline-stage__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin: 0;
}
.pipeline-stage.is-done .pipeline-stage__name { color: var(--green); }
.pipeline-stage.is-active .pipeline-stage__name { color: var(--accent); }
.pipeline-stage__time {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

.pipeline-connector {
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  align-self: center;
  transform-origin: left center;
}
.pipeline-connector.is-done { background: var(--green); }

.pipeline__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  gap: 16px;
}
.pipeline__customer { display: flex; align-items: center; gap: 12px; }
.pipeline__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.pipeline__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin: 0;
}
.pipeline__phone {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 0;
}
.pipeline__service {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

/* =========================================================================
   STATS
   ========================================================================= */
.stats-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(24,152,215,0.20), transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(16,185,130,0.12), transparent 60%);
  pointer-events: none;
}
.stats-section .container { position: relative; z-index: 1; }

.stats-section .display-2 { color: var(--white); }
.stats-section .overline { color: rgba(255,255,255,0.6); }
.stats-section .overline__dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(24,152,215,0.25); }
.stats-section .highlight-word::after { background: rgba(24,152,215,0.35); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-item {
  padding: 36px 24px;
  border-right: 1px solid rgba(255,255,255,0.10);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-item:last-child { border-right: 0; }
@media (max-width: 900px) {
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.10); }
}

.stat-item .counter {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}
.stat-item__label {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin: 4px 0 0;
}

/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.how { background: var(--bg); }

.how__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 1024px) {
  .how__steps {
    grid-template-columns: 1fr;
  }
  .how-connector { display: none; }
}

.how-step {
  display: grid;
  gap: 18px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  min-height: 220px;
  align-content: start;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.how-step:hover { border-color: var(--border-accent); transform: translateY(-3px); }

.how-step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  display: inline-block;
  width: max-content;
}
.how-step h3 {
  font-size: 20px;
  letter-spacing: -0.015em;
}
.how-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.how-connector {
  width: 100%;
  height: 0;
  border-top: 2px dashed var(--border-strong);
}

/* =========================================================================
   PRICING
   ========================================================================= */
.pricing { background: var(--surface); }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

.plan {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.plan--featured {
  background: linear-gradient(165deg, #0F7AB4 0%, #1898D7 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 30px 70px rgba(24,152,215,0.32);
  transform: translateY(-8px);
}
.plan--featured:hover { transform: translateY(-12px); }

.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 16px rgba(4,35,56,0.25);
}

.plan__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: inherit;
  margin: 0;
}
.plan__sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 0;
}
.plan--featured .plan__sub { color: rgba(255,255,255,0.78); }

.plan__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
  margin: 8px 0 4px;
}
.plan--featured .plan__price { color: var(--white); }
.plan__currency {
  font-size: 26px;
  vertical-align: top;
  margin-right: 4px;
  font-weight: 700;
}
.plan__period {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  margin-left: 4px;
  letter-spacing: 0;
}
.plan--featured .plan__period { color: rgba(255,255,255,0.78); }
.plan__price--custom { font-size: 36px; }

.plan__features {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.plan--featured .plan__features {
  border-color: rgba(255,255,255,0.18);
}
.plan__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
}
.plan--featured .plan__features li { color: var(--white); }
.plan__features li i {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.plan--featured .plan__features li i {
  background: rgba(255,255,255,0.18);
  color: var(--white);
}

.plan__cta { margin-top: auto; justify-content: center; width: 100%; }
.plan--featured .plan__cta {
  background: var(--white);
  color: var(--accent);
}
.plan--featured .plan__cta:hover { filter: none; background: var(--white); color: var(--accent-strong); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { background: var(--bg); }
.faq__container { max-width: 820px; }

.faq__list { display: grid; gap: 12px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 4px 4px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item[open] { border-color: var(--border-accent); box-shadow: var(--shadow-card); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.6px;
  background: var(--accent);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out);
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0); }

.faq-item__body {
  padding: 0 22px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 70ch;
}

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.cta-final {
  position: relative;
  text-align: center;
  background: var(--surface);
  overflow: hidden;
}
.cta-final__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24,152,215,0.30), rgba(24,152,215,0) 65%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.cta-final__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 820px;
  text-align: center;
}
.cta-final__inner .display-1 { font-size: clamp(36px, 4.6vw, 64px); }
.cta-final__inner .lede { max-width: 60ch; text-align: center; }

.cta-final__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.cta-final__small {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.cta-final__small a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent-dim);
  text-underline-offset: 3px;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(24,152,215,0.45), transparent);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
@media (max-width: 1024px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-slot--dark {
  /* Logo PNG sits well on the dark navy footer */
  filter: drop-shadow(0 2px 6px rgba(24,152,215,0.35));
}
.ds-wordmark--white { color: var(--white); }

.site-footer__tagline {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  margin: 0;
  max-width: 36ch;
  line-height: 1.5;
}
.site-footer__status {
  margin-top: 4px;
}
.site-footer__status .status-dot {
  color: rgba(255,255,255,0.7);
  font-size: 11px;
}
.site-footer__status .status-dot i {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16,185,130,0.18);
}

.site-footer__col {
  display: grid;
  gap: 12px;
  align-content: start;
}
.site-footer__col h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 4px;
}
.site-footer__col a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  transition: color 0.2s;
}
.site-footer__col a:hover { color: var(--white); }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.site-footer__bottom p { color: inherit; margin: 0; font-size: 12px; }

@media (max-width: 600px) {
  .site-footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* =========================================================================
   PHASE 6 — Lenis smooth scroll integration
   ========================================================================= */
html.lenis,
html.lenis body { height: auto; }

.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html.lenis { scroll-behavior: smooth; }
}

/* =========================================================================
   PHASE 6 — WhatsApp message-arrival sequence (init states)
   ========================================================================= */
.wa-bubble {
  /* Final visible state by default — JS will override to hidden when sequence runs. */
  opacity: 1;
}

.wa-typing {
  align-self: flex-start;
  background: #FFFFFF;
  border-radius: 0 8px 8px 8px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
  position: relative;
  width: max-content;
}
.wa-typing::before {
  content: '';
  position: absolute;
  top: 0; left: -6px;
  width: 6px; height: 13px;
  background: #FFFFFF;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.wa-typing--out {
  align-self: flex-end;
  background: #DCF8C6;
  border-radius: 8px 0 8px 8px;
}
.wa-typing--out::before {
  left: auto; right: -6px;
  background: #DCF8C6;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.wa-typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(0,0,0,0.32);
  animation: wa-bounce 1.2s ease-in-out infinite;
}
.wa-typing span:nth-child(2) { animation-delay: 0.18s; }
.wa-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes wa-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30%           { transform: translateY(-4px); opacity: 0.85; }
}

/* =========================================================================
   PHASE 7 — Film grain overlay + magnetic CTAs
   ========================================================================= */

/* Subtle full-page grain. Sits above content, pointer-events: none,
   mix-blend-mode: multiply for restraint. Disabled in reduced-motion. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.65 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}
@media (prefers-reduced-motion: reduce) {
  .grain { display: none; }
}

/* Magnetic CTAs — JS-driven via gsap.quickTo(x/y).
   Inline transform set by JS overrides any CSS transform during hover. */
.magnetic {
  will-change: transform;
}
/* Suppress the static hover-lift on magnetic buttons so the magnetic
   pull is the only motion the user perceives. */
.magnetic.btn-primary:hover,
.magnetic.btn-wash:hover {
  transform: none;
}

