/* ═══════════════════════════════════════════════
   AidiN Health — Premium Dark/Light Theme
   Fortune 50 Grade UI

   Architecture:
     Design Tokens   – colors, spacing, radii, shadows
     Light Theme      – overrides for [data-theme="light"]
     Reset            – normalize + base element styles
     Utilities        – container, section, text-gradient, anim
     Components       – header, hero, cards, stat panel, etc.
     Responsive       – tablet (1024), mobile (768), small (480)
   ═══════════════════════════════════════════════ */
/* ── Design Tokens ───────────────────────────── */
:root {
  /* Surfaces */
  --bg:        #09090b;
  --bg-rgb:    9, 9, 11;
  --bg-alt:    #0c0c0e;
  --surface:   #111113;
  --surface-2: #18181b;

  /* Borders */
  --border:    #27272a;
  --border-2:  #3f3f46;

  /* Typography */
  --text:      #fafafa;
  --text-2:    #a1a1aa;
  --text-3:    #71717a;

  /* Brand colors (hex + RGB channels for rgba() usage) */
  --primary:      #ea6020;
  --primary-fg:   #ffffff;
  --primary-rgb:  234, 96, 32;
  --accent:       #094BCC;
  --accent-2:     #95B9FF;
  --accent-rgb:   9, 75, 204;
  --accent-2-rgb: 149, 185, 255;

  /* Status */
  --green:     #22c55e;
  --amber:     #facc15;

  /* Radii */
  --radius:    12px;
  --radius-sm: 8px;
  --radius-xs: 6px;

  /* Shadows (reusable) */
  --shadow-card: 0 8px 24px rgba(0, 0, 0, .15);
  --shadow-btn:  0 4px 16px rgba(var(--primary-rgb), .3);

  /* Layout */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-w: 1120px;
  --header-h: 64px;

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --t: .2s var(--ease);
}

/* ── Light Theme ─────────────────────────────── */
[data-theme="light"] {
  --bg:        #ffffff;
  --bg-rgb:    255, 255, 255;
  --bg-alt:    #fafafa;
  --surface:   #f4f4f5;
  --surface-2: #e4e4e7;
  --border:    #e4e4e7;
  --border-2:  #d4d4d8;
  --text:      #09090b;
  --text-2:    #52525b;
  --text-3:    #71717a;
  --primary:   #ea6020;
  --primary-fg:#ffffff;
  --accent:    #094BCC;
  --accent-2:  #6a9eff;
  --accent-2-rgb: 106, 158, 255;
}
[data-theme="light"] .text-gradient {
  background: linear-gradient(90deg, #094BCC 0%, #4a7de0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .hero-glow {
  background: radial-gradient(ellipse 50% 40% at 50% 30%, rgba(var(--accent-rgb),.06), transparent 70%);
}
[data-theme="light"] .hero-grid-fade { opacity: .08; }
[data-theme="light"] .grain { opacity: .02; }
[data-theme="light"] .card::before {
  background: linear-gradient(135deg, rgba(var(--accent-rgb),.08), rgba(var(--accent-2-rgb),.04));
}
[data-theme="light"] .cta-glow {
  background: radial-gradient(ellipse at 50% 50%, rgba(var(--accent-rgb),.04), transparent 70%);
}
[data-theme="light"] .section-eyebrow { color: var(--accent); }
[data-theme="light"] .field input,
[data-theme="light"] .field textarea { background: #fff; }
[data-theme="light"] .field input:focus,
[data-theme="light"] .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.08);
}

/* Smooth theme transition — scoped to elements that actually change */
html.theme-transition,
html.theme-transition .header,
html.theme-transition .card,
html.theme-transition .card::before,
html.theme-transition .stat-panel,
html.theme-transition .hero-glow,
html.theme-transition .grain,
html.theme-transition .field input,
html.theme-transition .field textarea,
html.theme-transition .nav,
html.theme-transition .theme-toggle,
html.theme-transition .cta-glow,
html.theme-transition .section-eyebrow,
html.theme-transition h1, html.theme-transition h2, html.theme-transition h3, html.theme-transition h4,
html.theme-transition p, html.theme-transition a, html.theme-transition span {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, fill .35s ease !important;
}

/* ── Reset & Base — normalize box model, typography defaults ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); background: var(--bg); color: var(--text-2); line-height: 1.6; font-size: 15px; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--text); line-height: 1.2; font-weight: 600; }

/* ── Focus — keyboard navigation accessibility ── */
:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* ── Grain — full-screen SVG noise texture overlay ── */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ── Utilities — layout wrappers, gradient text, animation base ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--bg-alt); }
.text-gradient {
  background: linear-gradient(90deg, #95B9FF 0%, #094BCC 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animation base */
.anim { opacity: 0; transform: translateY(24px); }
.anim.visible { opacity: 1; transform: translateY(0); }

/* ── Section Headers — eyebrow, h2, subtitle shared across all sections ── */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.section-h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -.025em;
  margin-bottom: 16px;
  text-align: center;
}
.section-h2.left { text-align: left; }
.section-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 52px;
  text-align: center;
  line-height: 1.7;
}
.section-sub.left { text-align: left; margin-left: 0; }

/* ── Buttons — .btn base, .btn-primary (orange), .btn-ghost (outline) ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  transition: all var(--t);
  white-space: nowrap;
  border: none;
  position: relative;
}
.btn svg { flex-shrink: 0; display: inline-block; }
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 0 0 0 rgba(var(--primary-rgb),0);
}
.btn-primary:hover {
  opacity: .92;
  box-shadow: var(--shadow-btn);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-2);
}
.btn-lg { padding: 12px 28px; font-size: 15px; }

/* ── Header — fixed nav bar, logo, links, theme toggle, hamburger ── */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  background: rgba(var(--bg-rgb), .8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.header.scrolled { border-bottom-color: var(--border); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.logo { display: flex; flex-direction: column; align-items: center; gap: 0; line-height: 1; }
.logo-smile { color: var(--text); margin-top: -2px; }
.logo-text { font-size: 28px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  position: relative;
  font-size: 14px;
  color: var(--text-3);
  transition: color var(--t);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 12px; }

/* Scroll Progress */
.scroll-progress {
  position: absolute;
  bottom: -1px; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  width: 0%; opacity: .7;
}

/* Nav Overlay (mobile) */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 98;
}
.nav-overlay.active { display: block; }

/* Hamburger */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px; width: 20px; padding: 4px 0;
}
.menu-btn span {
  display: block; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s ease;
}
.menu-btn.active span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn.active span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* Theme Toggle */
.theme-toggle {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  transition: color var(--t), border-color var(--t), background var(--t);
  overflow: hidden;
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-2); }
.theme-toggle svg {
  display: inline-block;
  position: absolute;
  transition: transform .4s var(--ease), opacity .3s ease;
}
.icon-sun  { opacity: 1; transform: rotate(0deg) scale(1); }
.icon-moon { opacity: 0; transform: rotate(-90deg) scale(0); }
[data-theme="light"] .icon-sun  { opacity: 0; transform: rotate(90deg) scale(0); }
[data-theme="light"] .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

/* ── Hero — main landing section with glow, pill badge, grid backdrop ── */
.hero {
  position: relative;
  padding: clamp(120px, 14vw, 168px) 0 clamp(56px, 9vw, 108px);
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 500px;
  top: 10%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb),.1), rgba(var(--accent-2-rgb),.04), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 32px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.hero-pill::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-2-rgb),.06), transparent);
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}
.pill-dot { display: flex; align-items: center; }
.hero-h1 {
  font-size: clamp(38px, 6.5vw, 68px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.tag {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-3);
  background: var(--surface);
  transition: border-color var(--t), color var(--t);
}
.tag:hover { border-color: var(--border-2); color: var(--text-2); }
.hero-cta { display: flex; justify-content: center; gap: 12px; }
.hero-grid-fade {
  position: absolute; inset: 0;
  pointer-events: none; z-index: -1;
  background:
    linear-gradient(rgba(var(--accent-rgb),.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb),.15) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 55% 45% at 50% 35%, black 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 55% 45% at 50% 35%, black 15%, transparent 70%);
  opacity: .25;
}

/* Ping */
.ping { animation: ping 2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping {
  0% { opacity: 1; transform: scale(1); }
  75%, 100% { opacity: 0; transform: scale(2.5); }
}

/* ── Numbers — stats strip with counter values and dividers ── */
.numbers {
  padding: 68px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}
.number-item { position: relative; }
.number-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -24px; top: 10%; height: 80%;
  width: 1px;
  background: var(--border);
}
.number-val {
  display: block;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.03em;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.number-label {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  max-width: 240px;
  margin: 0 auto;
}

/* ── Trust Bar — client logo text strip ── */
.trust-bar {
  padding: 40px 0;
  text-align: center;
}
.trust-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-3);
  margin-bottom: 24px;
  font-weight: 500;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-logo {
  font-size: 15px;
  color: var(--text-3);
  font-weight: 400;
  letter-spacing: -.01em;
  opacity: .5;
  transition: opacity var(--t);
}
.trust-logo:hover { opacity: .8; }
.trust-logo b { font-weight: 700; }

/* ── Cards — .card base with gradient-border hover, icon, title, text ── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--t), transform .25s var(--ease), box-shadow .25s var(--ease);
}
/* Gradient border on hover */
.card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),.25), rgba(var(--accent-2-rgb),.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: var(--shadow-card); }

/* Shared icon container */
.icon-box {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.icon-box svg { display: inline-block; }
.card-icon { margin-bottom: 18px; color: var(--text); }
.card-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.card-text { font-size: 14px; color: var(--text-3); line-height: 1.7; }

/* ── Split Layout — two-column grid (text + visual), stat panel ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-text .section-eyebrow { text-align: left; }

/* Stat Panel */
.stat-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t), box-shadow .25s var(--ease);
}
.stat-panel:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-card);
}
.stat-panel-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 500; color: var(--text);
}
.stat-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green);
  background: rgba(34,197,94,.1);
  padding: 2px 8px;
  border-radius: 999px;
}
.stat-chart {
  padding: 16px 24px 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text-3);
}
.sparkline { width: 100%; height: auto; display: block; }
.spark-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.spark-line.drawn { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s ease-out; }
.spark-area { opacity: 0; }
.spark-area.drawn { opacity: 1; transition: opacity .8s ease .6s; }

.stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 24px;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.stat-row:last-child { border-bottom: none; }
.stat-row strong {
  color: var(--text); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stat-bar-wrap { display: flex; align-items: center; gap: 10px; }
.stat-bar {
  width: 64px; height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  transform-origin: left;
}

/* ── Why Grid — featured card + small cards sidebar ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why-feature {
  display: flex; gap: 20px;
  align-items: flex-start;
  padding: 32px;
}
.why-feature .card-title { margin-bottom: 10px; }

.why-small-grid {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
}
.why-small {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
}
.why-small svg { flex-shrink: 0; color: var(--text); }
.why-small h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.why-small p { font-size: 13px; color: var(--text-3); line-height: 1.5; }

/* ── Testimonials — star ratings, quote body, author avatar ── */
.testimonial {
  display: flex; flex-direction: column; gap: 16px;
}
.stars { display: flex; gap: 2px; color: var(--amber); }
.testimonial-body {
  font-size: 14px; color: var(--text-2);
  line-height: 1.7; flex: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--text-3);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; color: var(--text); }
.testimonial-author span { font-size: 12px; color: var(--text-3); }

/* ── FAQ — native <details> accordion with +/− toggle ── */
.faq-list { display: flex; flex-direction: column; }
.faq { border-bottom: 1px solid var(--border); }
.faq:first-child { border-top: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  font-size: 15px; font-weight: 500; color: var(--text);
  cursor: pointer; list-style: none;
  transition: color var(--t);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 20px; font-weight: 300;
  color: var(--text-3);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform .25s var(--ease);
}
.faq[open] summary::after { content: '\2212'; }
.faq summary:hover { color: var(--text-2); }
.faq p {
  padding: 0 0 20px;
  font-size: 14px; color: var(--text-3);
  line-height: 1.7;
}

/* ── CTA Band — call-to-action card with radial glow ── */
.cta-band { padding: clamp(56px, 8vw, 100px) 0; }
.cta-inner {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 72px 48px;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(var(--accent-rgb),.06), rgba(var(--accent-2-rgb),.02), transparent 70%);
  pointer-events: none;
}
.cta-inner h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700; letter-spacing: -.025em;
  margin-bottom: 12px;
  position: relative;
}
.cta-inner p {
  color: var(--text-2); font-size: 16px;
  margin-bottom: 32px;
  position: relative;
}
.cta-inner .btn { position: relative; }

/* ── Contact — info column + form card ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-eyebrow { text-align: left; }
.contact-rows { display: flex; flex-direction: column; gap: 24px; }
.contact-row { display: flex; align-items: center; gap: 14px; }
.contact-icon-wrap { background: var(--surface); color: var(--text-3); }
.contact-row small {
  display: block; font-size: 12px;
  color: var(--text-3); margin-bottom: 2px;
}
.contact-row a, .contact-row span {
  font-size: 14px; color: var(--text);
}
.contact-row a:hover { color: var(--text-2); }

/* Form */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px; font-weight: 500; color: var(--text-2);
}
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-size: 14px; color: var(--text);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.12);
}
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Footer — brand, link columns, copyright ── */
.footer { border-top: 1px solid var(--border); padding: 48px 0 0; }
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: flex-start; padding-bottom: 40px;
}
.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text-3); line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; }
.footer-cols h4 {
  font-size: 12px; font-weight: 600; color: var(--text);
  margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: .06em;
}
.footer-cols a {
  display: block; font-size: 14px; color: var(--text-3);
  margin-bottom: 10px;
  transition: color var(--t);
}
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-3);
}

/* ── Utility classes — spacing, sizing ── */
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.w-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

/* ── Tablet (≤1024px) ─────────────────────────── */
@media (max-width: 1024px) {
  .split { gap: 40px; }
  .why-grid { gap: 16px; }
  .footer-cols { gap: 40px; }
  .contact-grid { gap: 40px; }
  .numbers-grid { gap: 32px; }
  .number-item:not(:last-child)::after { right: -16px; }
}

/* ── Mobile (≤768px) ─────────────────────────── */
@media (max-width: 768px) {
  .hero-h1 { font-size: clamp(32px, 8vw, 48px); }
  .hero-sub { font-size: 15px; }
  .hero-glow { width: 100%; height: 400px; }
  .section-h2 { font-size: clamp(24px, 5vw, 36px); }
  .section-sub { font-size: 15px; margin-bottom: 36px; }

  .nav {
    position: fixed; top: 0; right: 0;
    width: 280px; height: 100dvh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 99;
  }
  .nav.open { transform: translateX(0); }
  .nav-link {
    font-size: 16px; padding: 14px 0; width: 100%;
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
  }
  .nav-link::after { display: none; }
  .header-right .btn-primary { display: none; }
  .menu-btn { display: flex; z-index: 101; }

  .numbers { padding: 48px 0; }
  .numbers-grid { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .number-item::after { display: none; }
  .number-label { margin: 0; }
  .cards-3 { grid-template-columns: 1fr; gap: 16px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-text .section-h2, .split-text .section-sub { text-align: center; }
  .split-text .section-eyebrow { text-align: center; display: block; }
  .split-text .anim:last-child { text-align: center; }
  .why-grid { grid-template-columns: 1fr; }
  .why-feature { flex-direction: column; }
  .why-small-grid { grid-template-rows: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info .section-h2, .contact-info .section-sub { text-align: center; }
  .contact-info .section-eyebrow { text-align: center; display: block; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; align-items: center; text-align: center; }
  .footer-brand { text-align: center; }
  .footer-brand .logo { justify-content: center; }
  .footer-cols { gap: 40px; }
  .footer-bottom { text-align: center; }
  .cta-inner { padding: 48px 24px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
  .trust-logos { gap: 20px; }
  .trust-logo { font-size: 14px; }
  .stat-panel-header { padding: 12px 18px; }
  .stat-row { padding: 12px 18px; font-size: 13px; }
  .stat-chart { padding: 12px 18px 6px; }
  .testimonial-body { font-size: 13px; }
}

/* ── Small mobile (≤480px) ────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-h1 { font-size: clamp(28px, 7.5vw, 40px); letter-spacing: -.03em; }
  .hero-sub { font-size: 14px; }
  .hero-pill { font-size: 12px; padding: 5px 12px 5px 8px; }
  .section-h2 { font-size: clamp(22px, 5.5vw, 30px); }
  .section-sub { font-size: 14px; }
  .tag { font-size: 11px; padding: 4px 10px; }
  .card { padding: 20px; }
  .card-title { font-size: 15px; }
  .card-text { font-size: 13px; }
  .why-small { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 20px; }
  .why-feature { padding: 24px 20px; }
  .trust-bar { padding: 28px 0; }
  .trust-logos { gap: 12px; }
  .trust-logo { font-size: 12px; }
  .faq summary { font-size: 14px; padding: 16px 0; }
  .faq p { font-size: 13px; padding-bottom: 16px; }
  .cta-inner { padding: 40px 20px; }
  .cta-inner h2 { font-size: clamp(20px, 5vw, 28px); }
  .cta-inner p { font-size: 14px; margin-bottom: 24px; }
  .form-card { padding: 24px; gap: 16px; }
  .contact-rows { gap: 16px; }
  .btn-lg { padding: 11px 24px; font-size: 14px; }
  .number-val { font-size: clamp(28px, 7vw, 40px); }
  .number-label { font-size: 12px; }
  .nav { width: 100%; border-left: none; }
  .footer-cols { flex-direction: column; gap: 24px; text-align: center; }
}

/* ── Reduced Motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  .anim { opacity: 1; transform: none; }
}
