/* ============================================================
   TaxTime Advisors — Landing Page
   Stylesheet: tokens · reset · components · sections · patterns
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Ink / text */
  --ink-900: #0B1A33;   /* headings */
  --ink-600: #3A4A63;   /* body */
  --ink-400: #7A89A0;   /* muted */

  /* Brand */
  --blue-500: #205081;   /* primary */
  --blue-600: #18406A;   /* primary hover (darker) */
  --blue-400: #2E86C1;   /* lighter step for gradient */
  --green-500: #16B981;  /* success / money-positive accent */
  --green-600: #0F9E6E;

  /* Surfaces */
  --white: #FFFFFF;
  --tint: #F6F9FF;
  --tint-2: #EEF4FF;
  --dark: #0B1A33;

  /* Lines */
  --line: rgba(11, 26, 51, .08);
  --line-strong: rgba(11, 26, 51, .14);

  /* Signature gradient (used sparingly) — navy → brighter blue */
  --grad: linear-gradient(120deg, #205081 0%, #2E86C1 100%);
  --grad-soft: linear-gradient(120deg, rgba(32,80,129,.10), rgba(46,134,193,.10));

  /* Typography */
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing scale (4px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Radius */
  --r-card: 18px;
  --r-inset: 12px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(11,26,51,.06);
  --sh-md: 0 8px 24px rgba(11,26,51,.08);
  --sh-lift: 0 16px 40px rgba(11,26,51,.12);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: 0; background: none; }

ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid rgba(31, 111, 235, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.section--tint { background: var(--tint); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.section-head { max-width: 660px; margin-bottom: var(--s-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-top: var(--s-3);
}
.section-head p {
  margin-top: var(--s-4);
  font-size: 1.125rem;
  color: var(--ink-600);
}

.lead { font-size: 1.1875rem; color: var(--ink-600); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 13px 24px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9875rem;
  letter-spacing: -0.01em;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary { background: var(--blue-500); color: #fff; box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn--grad { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(32,80,129,.30); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(32,80,129,.40); }

.btn--ghost { background: #fff; color: var(--ink-900); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }

.btn--light { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.btn--light:hover { background: rgba(255,255,255,.2); }

.btn--lg { padding: 16px 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.text-link { color: var(--blue-600); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- 5. Background patterns ---------- */
.bg-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(32,80,129,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,80,129,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.bg-dots {
  background-image: radial-gradient(rgba(11,26,51,.10) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.glow--blue { background: rgba(32,80,129,.32); }
.glow--green { background: rgba(46,134,193,.26); }

.section > .container { position: relative; z-index: 1; }

/* ============================================================
   6. HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-sm); }

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--ink-900); font-size: 1.15rem; letter-spacing: -.02em; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; box-shadow: var(--sh-sm); }
.brand .mark svg { width: 20px; height: 20px; }

.nav-links { display: flex; align-items: center; gap: var(--s-6); margin-left: var(--s-5); }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--ink-600); transition: color .15s var(--ease); }
.nav-links a:hover { color: var(--ink-900); }
/* the Log in + CTA live inside the nav list only for the mobile menu */
.nav-links > .login, .nav-links > .btn { display: none; }

.nav-actions { display: flex; align-items: center; gap: var(--s-4); margin-left: auto; }
.nav-actions .login { font-weight: 600; font-size: .95rem; color: var(--ink-900); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink-900); }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-open { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* ============================================================
   7. HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(48px, 7vw, 90px); padding-bottom: var(--section-y); overflow: hidden; }
.hero .glow--blue { width: 460px; height: 460px; top: -120px; left: -80px; }
.hero .glow--green { width: 380px; height: 380px; top: 40px; right: -60px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy .eyebrow { margin-bottom: var(--s-4); }
.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  letter-spacing: -.03em;
}
.hero-copy h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p.lead { margin-top: var(--s-5); max-width: 520px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6); }

.hero-trust { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-6); }
.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid #fff; margin-left: -10px;
  background-size: cover; background-position: center;
  display: grid; place-items: center; font-weight: 700; color: #fff; font-size: .8rem;
  font-family: var(--font-display);
}
.avatars span:first-child { margin-left: 0; }
.avatars .a1 { background: #205081; } .avatars .a2 { background: #16B981; }
.avatars .a3 { background: #2E86C1; } .avatars .a4 { background: #0EA5E9; }
.hero-trust small { color: var(--ink-400); font-size: .9rem; }
.hero-trust strong { color: var(--ink-900); }
.stars { color: #F5A623; letter-spacing: 2px; font-size: .9rem; }

/* Hero mockup card */
.hero-visual { position: relative; }
.mockup {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--sh-lift);
  padding: var(--s-5);
  z-index: 2;
}
.mockup-bar { display: flex; align-items: center; gap: 6px; margin-bottom: var(--s-4); }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mockup-bar span { margin-left: auto; font-size: .78rem; color: var(--ink-400); font-weight: 600; }

.refund-card { background: var(--grad); border-radius: var(--r-inset); padding: var(--s-5); color: #fff; }
.refund-card .label { font-size: .82rem; opacity: .85; font-weight: 500; }
.refund-card .amount { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-top: 4px; letter-spacing: -.02em; }
.refund-card .meta { font-size: .82rem; opacity: .9; margin-top: 6px; display: flex; align-items: center; gap: 6px; }

.mockup-rows { margin-top: var(--s-4); display: grid; gap: 10px; }
.mockup-row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; }
.mockup-row .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--tint-2); display: grid; place-items: center; flex-shrink: 0; }
.mockup-row .ic svg { width: 16px; height: 16px; stroke: var(--blue-600); }
.mockup-row .t { font-weight: 600; color: var(--ink-900); font-size: .9rem; }
.mockup-row .s { font-size: .78rem; color: var(--ink-400); }
.mockup-row .chk { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: rgba(22,185,129,.14); display: grid; place-items: center; }
.mockup-row .chk svg { width: 13px; height: 13px; stroke: var(--green-600); }

.float-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.float-badge .fb-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.float-badge .fb-ic svg { width: 18px; height: 18px; stroke: #fff; }
.float-badge small { display: block; font-size: .72rem; color: var(--ink-400); }
.float-badge strong { font-family: var(--font-display); color: var(--ink-900); font-size: .95rem; }
.float-badge--tl { top: -22px; left: -26px; }
.float-badge--tl .fb-ic { background: var(--green-500); }
.float-badge--br { bottom: -24px; right: -20px; }
.float-badge--br .fb-ic { background: var(--blue-500); }

/* Hero trust chips */
.hero-chips { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.hero-chips li { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--ink-600); }
.hero-chips svg { width: 17px; height: 17px; flex-shrink: 0; stroke: var(--green-600); }

/* ============================================================
   8. TRUST STRIP
   ============================================================ */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  padding-block: var(--s-7);
}
.trust-line { text-align: center; color: var(--ink-400); font-size: 1rem; max-width: 720px; margin: 0 auto; padding-bottom: var(--s-7); }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: calc(var(--s-5) / -2); top: 10%; height: 80%; width: 1px; background: var(--line); }
.stat .num { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--ink-900); letter-spacing: -.02em; }
.stat .num .suffix { color: var(--blue-500); }
.stat .cap { font-size: .9rem; color: var(--ink-400); margin-top: 2px; }

.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 56px); padding-bottom: var(--s-7); opacity: .65; }
.logos span { font-family: var(--font-display); font-weight: 700; color: var(--ink-400); font-size: 1.05rem; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; }
.logos svg { width: 20px; height: 20px; }

/* ============================================================
   9. HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding-inline: var(--s-3); }
.step .step-num {
  width: 56px; height: 56px; margin: 0 auto var(--s-4);
  border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  color: var(--blue-600); font-size: 1.25rem; box-shadow: var(--sh-sm);
}
.step h3 { font-size: 1.2rem; margin-bottom: var(--s-2); }
.step p { font-size: .98rem; }

/* ============================================================
   10. SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s-6);
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.svc-card .dots-corner { position: absolute; top: 0; right: 0; width: 120px; height: 120px; opacity: .5;
  -webkit-mask-image: radial-gradient(circle at top right, #000, transparent 70%);
          mask-image: radial-gradient(circle at top right, #000, transparent 70%); }
.svc-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--grad-soft); display: grid; place-items: center; margin-bottom: var(--s-4); }
.svc-ic svg { width: 24px; height: 24px; stroke: var(--blue-600); }
.svc-card h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.svc-card p { font-size: .98rem; margin-bottom: var(--s-4); }
.svc-card.is-featured { background: var(--ink-900); }
.svc-card.is-featured h3, .svc-card.is-featured p { color: #fff; }
.svc-card.is-featured p { color: rgba(255,255,255,.72); }
.svc-card.is-featured .svc-ic { background: rgba(255,255,255,.1); }
.svc-card.is-featured .svc-ic svg { stroke: #fff; }
.svc-card.is-featured .text-link { color: #fff; }

/* ============================================================
   11. PRICING
   ============================================================ */
.billing-toggle { display: inline-flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); justify-content: center; }
.billing-toggle .lbl { font-weight: 600; color: var(--ink-400); font-size: .95rem; transition: color .15s var(--ease); }
.billing-toggle .lbl.is-active { color: var(--ink-900); }
.switch { width: 52px; height: 30px; border-radius: var(--r-pill); background: var(--blue-500); position: relative; transition: background .2s var(--ease); flex-shrink: 0; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--sh-sm); transition: transform .22s var(--ease); }
.switch[aria-checked="true"] .knob { transform: translateX(22px); }
.save-pill { background: rgba(22,185,129,.14); color: var(--green-600); font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: var(--r-pill); }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); align-items: stretch; margin-top: var(--s-7); }
.plan {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s-6);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.plan.is-popular {
  border: 1.5px solid var(--blue-500);
  box-shadow: var(--sh-lift);
  transform: translateY(-12px);
}
.plan.is-popular:hover { transform: translateY(-16px); }
.plan-badge { align-self: flex-start; background: var(--grad); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: var(--s-3); }
.plan h3 { font-size: 1.3rem; }
.plan .plan-desc { font-size: .92rem; color: var(--ink-400); margin-top: 4px; min-height: 42px; }
.plan .price { margin-top: var(--s-4); display: flex; align-items: baseline; gap: 4px; }
.plan .price .cur { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink-900); }
.plan .price .amt { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--ink-900); letter-spacing: -.03em; line-height: 1; }
.plan .price .per { font-size: .82rem; color: var(--ink-400); }
.plan .price-note { font-size: .82rem; color: var(--ink-400); margin-top: 6px; min-height: 20px; }

/* plan meta chips + value pricing */
.plan-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-3); }
.plan-tag { font-size: .72rem; font-weight: 600; color: var(--blue-600); background: var(--grad-soft); padding: 4px 9px; border-radius: var(--r-pill); white-space: nowrap; }
.plan-pricing { margin-top: var(--s-4); }
.plan-pricing .price { margin-top: 0; }
.price-sub { display: flex; align-items: center; gap: 8px; margin-top: 6px; min-height: 24px; }
.price-mrp { font-size: .95rem; color: var(--ink-400); text-decoration: line-through; }
.plan .btn { margin-top: var(--s-5); }
.plan-more { margin-top: var(--s-3); font-size: .88rem; }
.price-foot { text-align: center; margin-top: var(--s-5); font-size: .92rem; color: var(--ink-400); }
.price-foot a { color: var(--blue-600); font-weight: 600; }
.plan .btn { margin-top: var(--s-5); }
.plan .features { margin-top: var(--s-5); display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: var(--s-5); }
.plan .features li { display: flex; gap: 10px; font-size: .94rem; color: var(--ink-600); }
.plan .features li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; stroke: var(--green-600); }
.plan .features li.muted { color: var(--ink-400); }
.plan .features li.muted svg { stroke: var(--ink-400); }

/* ============================================================
   12. EXPERT CHAT
   ============================================================ */
.chat-section { overflow: hidden; }
.chat-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.chat-list { margin-top: var(--s-5); display: grid; gap: var(--s-4); }
.chat-list li { display: flex; gap: 14px; }
.chat-list .ci { width: 42px; height: 42px; border-radius: 11px; background: var(--grad-soft); display: grid; place-items: center; flex-shrink: 0; }
.chat-list .ci svg { width: 20px; height: 20px; stroke: var(--blue-600); }
.chat-list h4 { font-size: 1.05rem; margin-bottom: 2px; }
.chat-list p { font-size: .94rem; }

/* chat mockup */
.chat-window {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--sh-lift); overflow: hidden; max-width: 420px;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.chat-head .ca-av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-display); }
.chat-head .ca-name { font-family: var(--font-display); font-weight: 700; color: var(--ink-900); font-size: .98rem; }
.chat-head .ca-status { font-size: .8rem; color: var(--green-600); display: flex; align-items: center; gap: 5px; }
.chat-head .ca-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); }
.chat-body { padding: var(--s-5); display: grid; gap: 12px; background: var(--tint); }
.bubble { max-width: 80%; padding: 11px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.5; box-shadow: var(--sh-sm); }
.bubble.in { background: #fff; color: var(--ink-600); border-bottom-left-radius: 5px; }
.bubble.out { background: var(--blue-500); color: #fff; justify-self: end; border-bottom-right-radius: 5px; }
.bubble.typing { display: inline-flex; gap: 4px; align-items: center; padding: 14px; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-400); animation: blink 1.2s infinite both; }
.bubble.typing i:nth-child(2) { animation-delay: .2s; }
.bubble.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.chat-foot { display: flex; align-items: center; gap: 10px; padding: var(--s-4) var(--s-5); border-top: 1px solid var(--line); }
.chat-foot .fake-input { flex: 1; height: 38px; border-radius: var(--r-pill); background: var(--tint-2); border: 1px solid var(--line); display: flex; align-items: center; padding-inline: 14px; color: var(--ink-400); font-size: .85rem; }
.chat-foot .send { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-500); display: grid; place-items: center; flex-shrink: 0; }
.chat-foot .send svg { width: 17px; height: 17px; stroke: #fff; }

/* ============================================================
   13. WHY US
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.why-card { display: flex; gap: 14px; padding: var(--s-5); border-radius: var(--r-card); transition: background .2s var(--ease); }
.why-card:hover { background: #fff; box-shadow: var(--sh-sm); }
.why-ic { width: 46px; height: 46px; border-radius: 12px; background: #fff; box-shadow: var(--sh-sm); display: grid; place-items: center; flex-shrink: 0; }
.why-ic svg { width: 22px; height: 22px; stroke: var(--blue-600); }
.why-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.why-card p { font-size: .92rem; }

/* ============================================================
   14. TESTIMONIALS
   ============================================================ */
.tst-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-5); }
.tst {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--s-6); display: flex; flex-direction: column;
}
.tst .stars { margin-bottom: var(--s-4); font-size: 1rem; }
.tst blockquote { font-size: 1rem; color: var(--ink-900); line-height: 1.6; flex: 1; }
.tst.is-feature { background: var(--ink-900); }
.tst.is-feature blockquote { color: #fff; font-size: 1.2rem; font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }
.tst.is-feature .who .name { color: #fff; }
.tst.is-feature .who .role { color: rgba(255,255,255,.6); }
.tst .who { display: flex; align-items: center; gap: 12px; margin-top: var(--s-5); }
.tst .who .ph { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-display); flex-shrink: 0; }
.tst .who .name { font-weight: 700; color: var(--ink-900); font-size: .95rem; font-family: var(--font-display); }
.tst .who .role { font-size: .84rem; color: var(--ink-400); }

/* ============================================================
   15. FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; gap: var(--s-4); text-align: left; padding: var(--s-5) 0; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink-900); }
.faq-q .q-ic { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--tint-2); display: grid; place-items: center; flex-shrink: 0; transition: background .2s var(--ease); }
.faq-q .q-ic svg { width: 16px; height: 16px; stroke: var(--blue-600); transition: transform .25s var(--ease); }
.faq-item.is-open .q-ic { background: var(--blue-500); }
.faq-item.is-open .q-ic svg { stroke: #fff; transform: rotate(45deg); }
.faq-a { overflow: hidden; height: 0; transition: height .28s var(--ease); }
.faq-a-inner { padding-bottom: var(--s-5); color: var(--ink-600); font-size: 1rem; max-width: 90%; }

/* ============================================================
   16. FINAL CTA
   ============================================================ */
.cta-band { position: relative; background: var(--grad); border-radius: 28px; overflow: hidden; padding: clamp(40px, 6vw, 72px); text-align: center; color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.15rem; margin-top: var(--s-4); max-width: 560px; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; margin-top: var(--s-6); }
.cta-band .reassure { margin-top: var(--s-5); font-size: .9rem; color: rgba(255,255,255,.8); display: inline-flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; justify-content: center; }
.cta-band .reassure span { display: inline-flex; align-items: center; gap: 6px; }
.cta-band .reassure svg { width: 16px; height: 16px; stroke: #fff; }

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding-top: var(--s-9); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: var(--s-6); padding-bottom: var(--s-8); }
.footer .brand { color: #fff; }
.footer-about p { margin-top: var(--s-4); font-size: .92rem; max-width: 280px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: var(--s-5); }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .15s var(--ease); }
.footer-social a:hover { background: var(--blue-500); }
.footer-social svg { width: 18px; height: 18px; stroke: #fff; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: var(--s-4); }
.footer-col a { display: block; font-size: .9rem; padding: 6px 0; color: rgba(255,255,255,.65); transition: color .15s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: .85rem; }
.footer-disclaimer { font-size: .8rem; color: rgba(255,255,255,.45); padding-bottom: var(--s-6); line-height: 1.6; max-width: 880px; }

/* ============================================================
   18. Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   19. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .chat-grid { grid-template-columns: 1fr; }
  .chat-window { margin-inline: auto; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .tst-grid { grid-template-columns: 1fr 1fr; }
  .tst.is-feature { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .login, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }

  /* mobile menu panel — full-screen overlay below the header */
  .nav-links.is-mobile {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--dark); padding: var(--s-6) var(--gutter) var(--s-7); margin: 0;
    border-top: 1px solid rgba(255,255,255,.08); box-shadow: var(--sh-lift);
    border-radius: 0 0 var(--r-card) var(--r-card);
    z-index: 90; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s var(--ease);
  }
  body.nav-open .nav-links.is-mobile { opacity: 1; visibility: visible; transform: none; height: 60vh; }
  .nav-links.is-mobile a {
    width: 100%; padding: var(--s-5) 0; font-size: 1.2rem; font-weight: 600;
    color: #fff; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.is-mobile a:hover { color: var(--blue-400); }
  .nav-links.is-mobile .login {
    display: block; margin-top: var(--s-6); border-bottom: 0;
    color: rgba(255,255,255,.72); font-weight: 600; font-size: 1.05rem; padding: 0;
  }
  .nav-links.is-mobile .btn {
    display: inline-flex; width: 100%; margin-top: var(--s-4); border-bottom: 0;
    background: var(--grad); color: #fff; padding: 17px 24px; font-size: 1.0625rem;
    box-shadow: 0 8px 24px rgba(32,80,129,.45);
  }
  body.nav-open { overflow: hidden; }

  /* dimming backdrop to separate the menu popup from the page behind it */
  .nav-scrim {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: rgba(11,26,51,.55);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), visibility .25s var(--ease);
    z-index: 80;
  }
  body.nav-open .nav-scrim { opacity: 1; visibility: visible; pointer-events: auto; }

  /* Hero: center copy, CTAs, chips and trust row on mobile */
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-copy p.lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-cta .btn { width: 100%; }
  .hero-chips { justify-content: center; }
  .hero-trust { justify-content: center; }

  .steps { grid-template-columns: 1fr; gap: var(--s-6); }
  .steps::before { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .plan.is-popular { transform: none; }
  .plan.is-popular:hover { transform: translateY(-4px); }
  .why-grid { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
  .trust-stats { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .stat:nth-child(3)::before, .stat:nth-child(2)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .trust-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-badge--tl { left: -8px; top: -16px; }
  .float-badge--br { right: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   20. DEADLINE STRIP
   ============================================================ */
.deadline-bar { background: var(--grad); color: #fff; font-size: .92rem; }
.deadline-bar.is-hidden { display: none; }
.deadline-inner { display: flex; align-items: center; gap: var(--s-4); padding-block: 10px; }
.deadline-inner p { margin: 0; color: rgba(255,255,255,.92); }
.deadline-inner strong { color: #fff; }
.deadline-countdown { font-weight: 700; color: #fff; margin-left: 6px; }
.deadline-cta { margin-left: auto; font-weight: 700; color: #fff; white-space: nowrap; }
.deadline-cta:hover { text-decoration: underline; }
.deadline-close { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.deadline-close svg { width: 18px; height: 18px; stroke: #fff; }
.deadline-close:hover { background: rgba(255,255,255,.15); }

/* ============================================================
   21. PLAN COMPARISON TABLE
   ============================================================ */
.compare-wrap { margin-top: var(--s-8); }
.compare-title { text-align: center; font-size: 1.4rem; margin-bottom: var(--s-5); }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; font-size: .92rem; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-900); background: var(--tint); }
.compare thead th.is-popular { color: var(--blue-600); position: relative; }
.compare thead th.is-popular::after { content: "Popular"; display: block; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-600); }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink-700, var(--ink-600)); font-family: var(--font-body); }
.compare tbody tr:nth-child(even) td, .compare tbody tr:nth-child(even) th { background: rgba(246,249,255,.6); }
.compare td.yes { color: var(--green-600); font-weight: 700; font-size: 1.05rem; }
.compare td.no { color: var(--ink-400); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }

/* ============================================================
   22. TESTIMONIAL PHOTOS + EXPERTS + TRUST BAND
   ============================================================ */
.tst .who img.ph { object-fit: cover; }
.verified { color: var(--green-600); font-weight: 600; white-space: nowrap; }
.tst.is-feature .verified { color: #5fe3b0; }

.trust-band { position: relative; background: var(--ink-900); border-radius: 28px; padding: clamp(32px, 5vw, 56px); color: #fff; overflow: hidden; }
.trust-band-head { text-align: center; max-width: 640px; margin: 0 auto var(--s-7); }
.trust-band-head h2 { color: #fff; margin-top: var(--s-3); font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.trust-band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item h4 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.trust-item p { color: rgba(255,255,255,.72); font-size: .92rem; line-height: 1.55; }
.trust-ic { width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex-shrink: 0; }
.trust-ic svg { width: 22px; height: 22px; stroke: #fff; }

/* ============================================================
   23. FLOATING WHATSAPP BUTTON
   ============================================================ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  padding: 13px 18px 13px 14px; border-radius: var(--r-pill);
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(37,211,102,.55); }

/* ============================================================
   24. NEW-COMPONENT RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .trust-band-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .deadline-inner { flex-wrap: wrap; gap: 8px; padding-block: 8px; }
  .deadline-cta { margin-left: 0; }
  .deadline-close { position: absolute; right: var(--gutter); top: 8px; }
  .deadline-bar { position: relative; }
  .wa-float-label { display: none; }
  .wa-float { padding: 14px; }
  .wa-float svg { width: 28px; height: 28px; }
}
/* ============================================================
   24b. LEGAL / CONTENT PAGES (privacy, terms, security)
   ============================================================ */
.legal { padding-block: var(--s-8); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal .updated { color: var(--ink-400); font-size: .92rem; margin-top: var(--s-3); }
.legal h2 { font-size: 1.25rem; margin-top: var(--s-6); }
.legal p { margin-top: var(--s-3); }
.legal ul { list-style: disc; padding-left: 1.4rem; margin-top: var(--s-3); }
.legal li { margin-top: 6px; }
.legal a { color: var(--blue-600); font-weight: 600; }
.legal .legal-note { margin-top: var(--s-6); padding: var(--s-4) var(--s-5); background: var(--tint); border: 1px solid var(--line); border-radius: var(--r-inset); font-size: .92rem; color: var(--ink-400); }

/* ============================================================
   25. PLANS PAGE (plans.html)
   ============================================================ */
.plan-jump { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.plan-jump a { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-5); text-align: center; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.plan-jump a:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--blue-500); }
.plan-jump a.is-popular { border-color: var(--blue-500); box-shadow: var(--sh-md); }
.plan-jump strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-900); }
.plan-jump span { font-size: .85rem; color: var(--ink-400); }

.plan-detail { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.plan-detail-aside { position: sticky; top: calc(var(--header-h) + 16px); }
.plan-detail-aside h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-top: var(--s-3); }
.plan-detail-aside .plan-meta { margin-top: var(--s-4); }
.plan-detail-aside .plan-pricing { margin-top: var(--s-4); }
.plan-detail-aside p { margin: var(--s-4) 0 var(--s-5); color: var(--ink-600); }
.plan-detail-body h3 { font-size: 1.25rem; margin-bottom: var(--s-5); }
.detail-features { display: grid; gap: var(--s-4); }
.detail-features li { position: relative; padding-left: 34px; color: var(--ink-600); line-height: 1.55; }
.detail-features li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(22,185,129,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F9E6E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.detail-features li strong { color: var(--ink-900); font-weight: 600; }

@media (max-width: 768px) {
  .plan-jump { grid-template-columns: 1fr 1fr; }
  .plan-detail { grid-template-columns: 1fr; }
  .plan-detail-aside { position: static; }
}
