/* ============================================================
   NovaMind AI — Main Stylesheet
   Mobile-first · WCAG AA · Light/Dark · CSS Custom Properties
   ============================================================ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Colours — dark (default) */
  --bg:        #0a0a0f;
  --bg-2:      #111118;
  --surface:   #1a1a22;
  --surface-2: #22222e;
  --text:      #e8e8ef;
  --dim:       #a0a0ac;
  --muted:     #80808c;
  --border:    #3a3a46;
  --border-2:  #2a2a36;

  /* Brand */
  --acc:       #22d3ee;
  --acc-2:     #a78bfa;
  --ok:        #34d399;
  --err:       #ef4444;
  --warn:      #fbbf24;

  /* Gradient */
  --grad:      linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
  --grad-rev:  linear-gradient(135deg, #22d3ee 0%, #a78bfa 100%);

  /* Glass */
  --glass-bg:  rgba(255,255,255,.04);
  --glass-bdr: rgba(255,255,255,.08);

  /* Typography */
  --ff-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --ff-head:   'Space Grotesk', 'Inter', sans-serif;
  --fs-xs:     clamp(.75rem,  1.6vw, .8125rem);
  --fs-sm:     clamp(.8125rem,1.8vw, .875rem);
  --fs-base:   clamp(.9375rem,2.2vw, 1rem);
  --fs-lg:     clamp(1rem,    2.5vw, 1.125rem);
  --fs-xl:     clamp(1.125rem,3vw,   1.25rem);
  --fs-2xl:    clamp(1.25rem, 3.5vw, 1.5rem);
  --fs-3xl:    clamp(1.5rem,  4vw,   2rem);
  --fs-4xl:    clamp(2rem,    5.5vw, 3rem);
  --fs-5xl:    clamp(2.5rem,  7vw,   4rem);

  /* Spacing */
  --sp-1:  .25rem;
  --sp-2:  .5rem;
  --sp-3:  .75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radii */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,.5);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.6);
  --shadow-acc: 0 0 24px rgba(34,211,238,.15);

  /* Transitions */
  --t-fast:   .15s ease;
  --t-base:   .25s ease;
  --t-slow:   .4s ease;

  /* Touch target */
  --touch: 44px;

  /* Section padding */
  --section-py: clamp(var(--sp-12), 8vw, var(--sp-24));
}

/* Light theme */
[data-theme="light"] {
  --bg:        #f8f8fc;
  --bg-2:      #ffffff;
  --surface:   #ffffff;
  --surface-2: #f2f2f8;
  --text:      #111118;
  --dim:       #4a4a58;
  --muted:     #6a6a78;
  --border:    #dddde8;
  --border-2:  #e8e8f0;
  --glass-bg:  rgba(0,0,0,.03);
  --glass-bdr: rgba(0,0,0,.08);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100dvh;
  transition: background var(--t-slow), color var(--t-slow);
}

img, video, svg { display: block; max-width: 100%; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: var(--r-sm); }
button:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: var(--r-sm); }
ul, ol { list-style: none; }
address { font-style: normal; }
em { font-style: italic; }

/* ── 3. ACCESSIBILITY ─────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px; left: var(--sp-4);
  background: var(--acc);
  color: var(--bg);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  z-index: 9999;
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--sp-4); }

/* ── 4. LAYOUT ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(var(--sp-4), 5vw, var(--sp-6));
}

.section {
  padding-block: var(--section-py);
}

.section-tight {
  padding-block: clamp(var(--sp-8), 5vw, var(--sp-16));
}

/* ── 5. BACKGROUND ORBS ───────────────────────────────────── */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: var(--r-full);
  filter: blur(80px);
  opacity: .12;
}

.orb-1 {
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  background: radial-gradient(circle, #a78bfa, transparent 70%);
  top: -15%;
  right: -10%;
  animation: orb-drift 18s ease-in-out infinite alternate;
}

.orb-2 {
  width: min(500px, 70vw);
  height: min(500px, 70vw);
  background: radial-gradient(circle, #22d3ee, transparent 70%);
  bottom: 10%;
  left: -8%;
  animation: orb-drift 22s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  width: min(400px, 60vw);
  height: min(400px, 60vw);
  background: radial-gradient(circle, #f472b6, transparent 70%);
  top: 40%;
  left: 40%;
  animation: orb-drift 26s ease-in-out infinite alternate;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -40px) scale(1.08); }
}

/* ── 6. GLASS CARD ────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}

.glass-card:hover {
  border-color: rgba(167,139,250,.25);
  box-shadow: var(--shadow-acc);
}

/* ── 7. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }

.display {
  font-family: var(--ff-head);
  font-size: var(--fs-5xl);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03em;
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
}

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

.kicker {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: var(--sp-3);
}

.lead-sm {
  font-size: var(--fs-lg);
  color: var(--dim);
  max-width: 680px;
  margin-inline: auto;
  line-height: 1.7;
}

.micro {
  font-size: var(--fs-sm);
  color: var(--muted);
  text-align: center;
  margin-bottom: var(--sp-8);
}

/* ── 8. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: .625rem 1.25rem;
  border-radius: var(--r-md);
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  min-height: var(--touch);
  min-width: var(--touch);
  cursor: pointer;
  border: none;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t-fast);
}

.btn:hover::after { background: rgba(255,255,255,.08); }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--grad);
  color: #0a0a0f;
  font-weight: 700;
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(167,139,250,.4);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--acc-2);
  color: var(--acc-2);
  text-decoration: none;
}

.btn-sm {
  padding: .5rem 1rem;
  font-size: var(--fs-xs);
  min-height: 36px;
  border-radius: var(--r-sm);
}

.btn-lg {
  padding: .875rem 1.75rem;
  font-size: var(--fs-base);
  min-height: 52px;
  border-radius: var(--r-md);
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--touch);
  height: var(--touch);
  border-radius: var(--r-md);
  background: transparent;
  border: none;
  color: var(--dim);
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
  flex-shrink: 0;
}

.icon-btn:hover { color: var(--text); background: var(--glass-bg); }

/* ── 9. NAVIGATION ────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-slow);
}

[data-theme="light"] .nav {
  background: rgba(248,248,252,.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .875rem;
  gap: var(--sp-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-head);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--t-fast);
}

.brand:hover { opacity: .85; text-decoration: none; }
.brand-dot { color: var(--acc); }

.nav-links {
  display: none;
  gap: var(--sp-1);
}

.nav-links a {
  color: var(--dim);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text); background: var(--glass-bg); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.ai-status {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--ok);
  font-weight: 500;
  padding: var(--sp-1) var(--sp-3);
  background: rgba(52,211,153,.08);
  border: 1px solid rgba(52,211,153,.2);
  border-radius: var(--r-full);
  white-space: nowrap;
}

.ai-status-dot {
  width: 7px; height: 7px;
  background: var(--ok);
  border-radius: var(--r-full);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(.8); }
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 2px;
}

.lang-btn {
  padding: .25rem .5rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--t-fast);
  min-height: 28px;
  min-width: 32px;
  letter-spacing: .04em;
}

.lang-btn.active,
.lang-btn[aria-pressed="true"] {
  background: var(--grad);
  color: #0a0a0f;
}

.lang-btn:hover:not(.active) { color: var(--text); }

/* Theme icon toggle */
.i-moon { display: none; }
[data-theme="light"] .i-sun  { display: none; }
[data-theme="light"] .i-moon { display: block; }

/* Mobile hamburger — visible on small screens */
.menu-btn { display: flex; }

/* Mobile menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--border);
  background: rgba(10,10,15,.95);
}

[data-theme="light"] .mobile-menu {
  background: rgba(248,248,252,.97);
}

.mobile-menu a {
  color: var(--dim);
  font-size: var(--fs-base);
  font-weight: 500;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast);
}

.mobile-menu a:hover { color: var(--text); background: var(--glass-bg); }

.mobile-menu .btn {
  margin-top: var(--sp-2);
  width: 100%;
}

.mobile-menu .lang-switcher {
  margin-top: var(--sp-2);
  align-self: flex-start;
}

/* Cart badge */
.cart-badge {
  position: absolute;
  top: 6px; right: 6px;
  width: 18px; height: 18px;
  background: var(--err);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

/* ── 10. HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-24));
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .35;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--acc);
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.2);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-6);
  letter-spacing: .04em;
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--acc);
  border-radius: var(--r-full);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero .lead {
  font-size: var(--fs-lg);
  color: var(--dim);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  margin-bottom: var(--sp-8);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--muted);
}

.hero-meta .sep { color: var(--border); }

.stars {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-sm);
  color: var(--dim);
}

/* Hero visual cards */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
  max-width: 900px;
  margin-inline: auto;
}

.hv-card {
  padding: var(--sp-5);
  text-align: left;
}

.hv-head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.dot {
  width: 10px; height: 10px;
  border-radius: var(--r-full);
}
.d-r { background: #ef4444; }
.d-y { background: #fbbf24; }
.d-g { background: #34d399; }

.hv-title { margin-left: var(--sp-2); }

.hv-body {
  font-family: 'Courier New', monospace;
  font-size: var(--fs-xs);
  line-height: 1.8;
  color: var(--dim);
  white-space: pre-wrap;
  word-break: break-all;
}

.c-acc { color: var(--acc); }
.c-ok  { color: var(--ok); }
.c-mut { color: var(--muted); }

.hv-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-2);
}

.hv-label { font-size: var(--fs-xs); color: var(--muted); }
.hv-value { font-family: var(--ff-head); font-size: var(--fs-xl); font-weight: 700; color: var(--text); }

.hv-bar {
  height: 6px;
  background: var(--border);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
  overflow: hidden;
}

.hv-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  border-radius: var(--r-full);
  transition: width 1.4s cubic-bezier(.16,1,.3,1);
}

.hv-bar span.animated { width: var(--w); }

.hv-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--acc-2);
  background: rgba(167,139,250,.1);
  border: 1px solid rgba(167,139,250,.2);
  border-radius: var(--r-full);
  padding: var(--sp-1) var(--sp-3);
  margin-bottom: var(--sp-3);
}

.hv-3 p {
  font-size: var(--fs-sm);
  color: var(--dim);
  line-height: 1.5;
}

/* ── 11. TRUSTED / STATS ──────────────────────────────────── */
.trusted {
  padding-block: clamp(var(--sp-8), 5vw, var(--sp-12));
  border-block: 1px solid var(--border);
  background: var(--glass-bg);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6) var(--sp-4);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  text-align: center;
}

.stat-num {
  font-family: var(--ff-head);
  font-size: var(--fs-4xl);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-lbl {
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ── 12. SECTION HEADER ───────────────────────────────────── */
.section-head {
  text-align: center;
  margin-bottom: clamp(var(--sp-8), 5vw, var(--sp-16));
}

.section-head h2 {
  margin-bottom: var(--sp-4);
  max-width: 800px;
  margin-inline: auto;
}

/* ── 13. FEATURE GRID ─────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.feature {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.feat-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--fg) 12%, transparent);
  color: var(--fg);
  flex-shrink: 0;
}

.feature h3 { font-size: var(--fs-xl); }
.feature p  { color: var(--dim); font-size: var(--fs-sm); }

/* ── 14. SERVICES GRID ────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.service {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  text-decoration: none;
  color: var(--text);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.service:hover {
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--text);
}

.s-ico {
  font-size: 2rem;
  line-height: 1;
}

.service h3 {
  font-size: var(--fs-xl);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.service p { color: var(--dim); font-size: var(--fs-sm); flex: 1; }

.s-badge {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--acc-2);
  background: rgba(167,139,250,.12);
  border: 1px solid rgba(167,139,250,.25);
  border-radius: var(--r-full);
  padding: 2px var(--sp-2);
  white-space: nowrap;
}

.s-cta {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--acc);
  margin-top: auto;
}

/* ── 15. HOW IT WORKS ─────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  counter-reset: steps;
}

.step {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
}

.step-num {
  font-family: var(--ff-head);
  font-size: var(--fs-3xl);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.step h3 { font-size: var(--fs-xl); }
.step p  { color: var(--dim); font-size: var(--fs-sm); }

/* ── 16. BENEFITS ─────────────────────────────────────────── */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.benefit {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.benefit h3 { font-size: var(--fs-xl); }
.benefit p  { color: var(--dim); font-size: var(--fs-sm); }

.benefit-wide { grid-column: 1 / -1; }

/* ── 17. PRICING CARDS ────────────────────────────────────── */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

.price-card {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  border-color: rgba(167,139,250,.4);
  background: rgba(167,139,250,.06);
  box-shadow: 0 0 40px rgba(167,139,250,.12);
}

.pc-ribbon {
  position: absolute;
  top: var(--sp-4);
  right: -var(--sp-3);
  background: var(--grad);
  color: #0a0a0f;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: var(--sp-1) var(--sp-4);
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  letter-spacing: .04em;
  text-transform: uppercase;
  right: 0;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}

.pc-head { display: flex; flex-direction: column; gap: var(--sp-2); }

.pc-tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--acc);
}

.pc-head h3 { font-size: var(--fs-2xl); }
.pc-sub     { font-size: var(--fs-sm); color: var(--dim); line-height: 1.6; }

.pc-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.pc-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--dim);
  line-height: 1.5;
}

.pc-list li::before {
  content: '✓';
  color: var(--ok);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05em;
}

.pc-meta {
  font-size: var(--fs-xs);
  color: var(--muted);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
}

.pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.pc-price {
  font-family: var(--ff-head);
  font-size: var(--fs-4xl);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.btn-add-cart { flex-shrink: 0; }

/* ── 18. TESTIMONIALS ─────────────────────────────────────── */
.tst-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.tst {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.stars-sm {
  color: var(--warn);
  font-size: var(--fs-base);
  letter-spacing: .05em;
}

.tst blockquote {
  font-size: var(--fs-base);
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.tst figcaption {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: 500;
}

/* ── 19. FAQ ──────────────────────────────────────────────── */
.faq-wrap { max-width: 800px; }

.faq {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-5);
  font-weight: 600;
  font-size: var(--fs-base);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--t-fast);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

.faq-item summary:hover { color: var(--acc); }

.chev {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform var(--t-base);
  display: flex;
}

.faq-item[open] .chev { transform: rotate(180deg); }

.faq-body {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--dim);
  font-size: var(--fs-sm);
  line-height: 1.7;
  animation: faq-open .25s ease;
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 20. CONTACT ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--dim);
}

.cl-ico {
  color: var(--acc);
  flex-shrink: 0;
  margin-top: .15em;
}

.contact-list a { color: var(--acc); }
.contact-list a:hover { text-decoration: underline; }

/* ── 21. FORMS ────────────────────────────────────────────── */
.contact-form {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--dim);
}

.field input,
.field textarea {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .75rem 1rem;
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
  min-height: var(--touch);
}

.field textarea { min-height: 120px; resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--acc-2);
  box-shadow: 0 0 0 3px rgba(167,139,250,.15);
}

.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: var(--err);
}

.form-msg {
  font-size: var(--fs-sm);
  min-height: 1.5em;
  padding: var(--sp-2) 0;
}

.form-msg.ok  { color: var(--ok); }
.form-msg.err { color: var(--err); }

/* ── 22. NEWSLETTER ───────────────────────────────────────── */
.newsletter {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding: var(--sp-8) var(--sp-6);
  align-items: flex-start;
}

.newsletter h3 { font-size: var(--fs-2xl); }
.newsletter p  { color: var(--dim); font-size: var(--fs-sm); margin-top: var(--sp-2); }

.nl-form {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  width: 100%;
}

.nl-form input {
  flex: 1;
  min-width: 200px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .75rem 1rem;
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  min-height: var(--touch);
}

.nl-form input::placeholder { color: var(--muted); }

.nl-form input:focus {
  outline: none;
  border-color: var(--acc-2);
  box-shadow: 0 0 0 3px rgba(167,139,250,.15);
}

/* ── 23. FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-top: var(--section-py);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-12);
}

.footer-grid nav h4,
.footer-grid div h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: var(--sp-4);
}

.footer-grid nav ul,
.footer-grid div ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-grid nav a,
.footer-grid div a {
  color: var(--muted);
  font-size: var(--fs-sm);
  transition: color var(--t-fast);
  text-decoration: none;
}

.footer-grid nav a:hover,
.footer-grid div a:hover { color: var(--text); }

.foot-tag {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-top: var(--sp-4);
  max-width: 320px;
}

.foot-legal {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.8;
  margin-top: var(--sp-5);
}

.foot-legal a { color: var(--muted); }
.foot-legal a:hover { color: var(--acc); }

.foot-bar {
  border-top: 1px solid var(--border);
  padding-block: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  align-items: center;
  text-align: center;
}

.foot-bar p {
  font-size: var(--fs-xs);
  color: var(--muted);
}

.foot-mini { color: var(--border) !important; }

/* ── 24. BACK TO TOP ──────────────────────────────────────── */
.to-top {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 48px; height: 48px;
  border-radius: var(--r-full);
  background: var(--grad);
  color: #0a0a0f;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--t-base);
  z-index: 50;
}

.to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ── 25. CART DRAWER ──────────────────────────────────────── */
.cart-overlay,
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 200;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100dvh;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform var(--t-slow);
}

.cart-drawer:not([hidden]) { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-head h3 { font-size: var(--fs-xl); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.cart-empty {
  color: var(--muted);
  font-size: var(--fs-sm);
  text-align: center;
  padding-block: var(--sp-8);
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}

.ci-info { flex: 1; }
.ci-name { font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--sp-1); }
.ci-price { font-size: var(--fs-sm); color: var(--acc); font-weight: 700; }

.ci-qty {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}

.ci-qty button {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--glass-bg);
  color: var(--text);
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ci-qty button:hover { border-color: var(--acc); color: var(--acc); }
.ci-qty span { font-size: var(--fs-sm); font-weight: 600; min-width: 20px; text-align: center; }

.ci-remove {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: var(--fs-xs);
  transition: color var(--t-fast);
  padding: var(--sp-1);
  border-radius: var(--r-sm);
}

.ci-remove:hover { color: var(--err); }

.cart-foot {
  padding: var(--sp-5) var(--sp-6);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  flex-shrink: 0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.cart-total {
  font-family: var(--ff-head);
  font-size: var(--fs-2xl);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 26. CHECKOUT MODAL ───────────────────────────────────── */
.checkout-overlay { z-index: 300; }

.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: min(540px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  z-index: 301;
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  transition: transform var(--t-base), opacity var(--t-base);
  opacity: 0;
}

.checkout-modal:not([hidden]) {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.checkout-summary {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--dim);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.pay-note {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--muted);
  background: rgba(167,139,250,.06);
  border: 1px solid rgba(167,139,250,.15);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  line-height: 1.6;
}

.pay-note svg { flex-shrink: 0; margin-top: .1em; color: var(--acc-2); }

/* ── 27. REVEAL ANIMATIONS ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.feature-grid .reveal:nth-child(2) { transition-delay: .08s; }
.feature-grid .reveal:nth-child(3) { transition-delay: .16s; }
.feature-grid .reveal:nth-child(4) { transition-delay: .24s; }
.feature-grid .reveal:nth-child(5) { transition-delay: .32s; }
.feature-grid .reveal:nth-child(6) { transition-delay: .40s; }

.service-grid .reveal:nth-child(2) { transition-delay: .08s; }
.service-grid .reveal:nth-child(3) { transition-delay: .16s; }
.service-grid .reveal:nth-child(4) { transition-delay: .24s; }
.service-grid .reveal:nth-child(5) { transition-delay: .32s; }
.service-grid .reveal:nth-child(6) { transition-delay: .40s; }

.steps .reveal:nth-child(2) { transition-delay: .1s; }
.steps .reveal:nth-child(3) { transition-delay: .2s; }
.steps .reveal:nth-child(4) { transition-delay: .3s; }

.price-grid .reveal:nth-child(2) { transition-delay: .1s; }
.price-grid .reveal:nth-child(3) { transition-delay: .2s; }
.price-grid .reveal:nth-child(4) { transition-delay: .3s; }

.stat-grid .reveal:nth-child(2) { transition-delay: .08s; }
.stat-grid .reveal:nth-child(3) { transition-delay: .16s; }
.stat-grid .reveal:nth-child(4) { transition-delay: .24s; }

/* ── 28. UTILITY ──────────────────────────────────────────── */
[hidden] { display: none !important; }

/* ── 29. RESPONSIVE BREAKPOINTS ───────────────────────────── */

/* ── sm: 480px ── */
@media (min-width: 480px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-visual { grid-template-columns: 1fr 1fr; }
  .hv-3 { grid-column: 1 / -1; }
}

/* ── md: 768px ── */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-btn  { display: none; }
  .ai-status { display: flex; }

  .feature-grid  { grid-template-columns: repeat(2, 1fr); }
  .service-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps         { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid  { grid-template-columns: repeat(2, 1fr); }
  .price-grid    { grid-template-columns: repeat(2, 1fr); }
  .tst-grid      { grid-template-columns: repeat(3, 1fr); }
  .contact-grid  { grid-template-columns: 1fr 1fr; align-items: start; }

  .hero-visual {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .hv-3 { grid-column: auto; }

  .newsletter {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nl-form { width: auto; flex-shrink: 0; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .foot-bar { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ── lg: 1024px ── */
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .steps        { grid-template-columns: repeat(4, 1fr); }
  .price-grid   { grid-template-columns: repeat(4, 1fr); }
}

/* ── xl: 1280px ── */
@media (min-width: 1280px) {
  .benefit-grid { grid-template-columns: repeat(4, 1fr); }
  .benefit-wide { grid-column: auto; }
}

/* ── 30. PRINT ────────────────────────────────────────────── */
@media print {
  .nav, .to-top, .cart-drawer, .checkout-modal, .bg-orbs { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
  .glass-card { border: 1px solid #ccc; background: #fff; }
}
