/* ============================================================
   Noctulo — Landing
   Palette extraite des 3 références (aurore violet → magenta → rouge)
   ============================================================ */

:root {
  /* Base & surfaces */
  --bg:            #060508;
  --bg-2:          #08070b;
  --surface:       #0c0b10;
  --surface-2:     #141219;
  --surface-3:     #1b1922;

  /* Borders */
  --border:        rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.16);
  --border-glow:   rgba(226,24,143,.45);

  /* Text */
  --text:          #f4f3f7;
  --text-soft:     #cecbd6;
  --text-muted:    #c6c3cf;
  --text-dim:      #928fa0;

  /* Aurore — accents (lumière, jamais en aplat de bouton) */
  --violet:  #5a23c7;
  --purple:  #9b1bb5;
  --magenta: #e2188f;
  --pink:    #ff2f9c;
  --red:     #ee2a45;
  --coral:   #ec6a72;
  --aurora:  linear-gradient(105deg, #5a23c7 0%, #9b1bb5 36%, #e2188f 62%, #ee2a45 100%);
  --aurora-soft: linear-gradient(100deg, #9b1bb5, #e2188f);

  /* Type */
  --font-display: 'Jura', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Radii & motion */
  --r-pill: 999px;
  --r-lg:   20px;
  --r-md:   16px;
  --r-sm:   12px;
  --ease:   cubic-bezier(.22,.61,.36,1);
  --t-fast: 150ms var(--ease);
  --t-mid:  250ms var(--ease);

  /* Layout */
  --maxw: 1100px;
  --pad-x: 40px;
}

/* ---------- Self-hosted fonts (alternative hors-ligne) ----------
   Les polices sont chargées via Google Fonts (voir <link> du <head> ;
   domaines autorisés dans la CSP). Pour auto-héberger à la place :
   déposez les .woff2 dans static/fonts/, décommentez ci-dessous,
   supprimez les <link> Google Fonts et retirez les domaines fonts de la CSP.
@font-face{font-family:'Jura';src:url('/static/fonts/Jura-Variable.woff2') format('woff2');font-weight:300 700;font-display:swap}
@font-face{font-family:'Hanken Grotesk';src:url('/static/fonts/HankenGrotesk-Variable.woff2') format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('/static/fonts/JetBrainsMono-Variable.woff2') format('woff2');font-weight:400 500;font-display:swap}
@font-face{font-family:'Noto Sans Arabic';src:url('/static/fonts/NotoSansArabic-Variable.woff2') format('woff2');font-weight:400 700;font-display:swap}
---------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  position: relative;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* RTL (Arabe) */
html[dir="rtl"] body { font-family: 'Noto Sans Arabic', var(--font-body); }
html[dir="rtl"] .step__circle, html[dir="rtl"] .step__circle--sm { right: auto; left: -40px; }

a { color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(226,24,143,.35); color: #fff; }

/* Focus visible — anneau magenta */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

@keyframes auroraDrift {
  0%   { transform: translateX(-50%) translateY(0) scale(1); }
  50%  { transform: translateX(-50%) translateY(2%) scale(1.08); }
  100% { transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================ LAYOUT */
.container { max-width: var(--maxw); margin: 0 auto; }
.section   { padding: 96px var(--pad-x); background: rgba(8,6,12,.52); }
.section--alt { background: rgba(8,6,12,.52); }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--magenta); margin-bottom: 16px;
}
.eyebrow--dim { color: var(--text-dim); }

.hero__title, .h2, .faq__title, .cta__title, .demo__title { text-shadow: 0 2px 12px rgba(0,0,0,.85), 0 1px 3px rgba(0,0,0,.9); }
.hero p, .hero span, .hero .badge, .cta p { text-shadow: 0 2px 12px rgba(0,0,0,.9), 0 1px 4px rgba(0,0,0,.95); }
.section p, .section h2, .section h3, .section li, .section .eyebrow, .compat p, .step__d, .prob__d, .tool__d, .plan__desc, .faq__a p { text-shadow: 0 1px 6px rgba(0,0,0,.7); }

.h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4vw, 42px); line-height: 1.08; letter-spacing: .015em;
}

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 16px; line-height: 1;
  min-height: 48px; padding: 15px 28px; border-radius: var(--r-pill);
  border: 1px solid transparent; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-mid), box-shadow var(--t-mid),
              background var(--t-mid), border-color var(--t-mid);
}
.btn--primary { background: var(--text); color: #0a0910; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(226,24,143,.32); }
.btn--ghost {
  color: var(--text); border-color: var(--border-strong);
  background: rgba(255,255,255,.04); backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.08); }
.btn--block { display: flex; width: 100%; padding: 13px; }

.badge {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; color: #f4f3f7;
  background: rgba(10,9,14,.66); border: 1px solid rgba(255,255,255,.18);
  padding: 8px 18px; border-radius: var(--r-pill); backdrop-filter: blur(10px);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); flex-shrink: 0; }

/* ============================================================ NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad-x);
  /* Fond semi-opaque permanent : le nav est "sticky", donc dès qu'on
     scrolle il reste collé en haut de l'écran. Avec un fond transparent,
     le contenu qui défile (notamment le titre du hero) se voit "à travers"
     le nav et devient illisible. */
  background: rgba(6,5,8,.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__logo { display: flex; align-items: center; text-decoration: none; transition: opacity var(--t-fast); }
.nav__logo:hover { opacity: .85; }
.nav__logo img { height: 58px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link { color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.7); transition: opacity var(--t-fast); }
.nav__link:hover { opacity: .75; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__login { color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 8px; text-shadow: 0 1px 8px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.7); transition: opacity var(--t-fast); }
.nav__login:hover { opacity: .75; }
.nav__cta {
  display: inline-flex; align-items: center; background: var(--text); color: #0a0910;
  font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: var(--r-pill);
  text-decoration: none; min-height: 44px; transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(226,24,143,.28); }
.nav__burger { display: none; background: none; border: none; color: var(--text); width: 44px; height: 44px; }

/* Language selector */
.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 7px; min-height: 40px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: 13px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.6);
  padding: 9px 13px; border-radius: var(--r-pill); transition: border-color var(--t-fast), background var(--t-fast);
}
.lang__btn:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.16); }
.lang__menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-sm); padding: 6px; min-width: 150px; z-index: 60;
  box-shadow: 0 20px 50px rgba(0,0,0,.5); display: none;
}
.lang__menu[data-open="true"] { display: block; }
.lang__item {
  display: block; width: 100%; text-align: start; background: none; border: none;
  color: var(--text-soft); font-size: 14px; padding: 9px 12px; border-radius: 8px;
  text-decoration: none; transition: background var(--t-fast);
}
.lang__item:hover, .lang__item[aria-current="true"] { background: rgba(255,255,255,.07); }

/* ===== BACKGROUND WEBGL — fixe, derrière TOUT le site ===== */
.site-webgl {
  position: fixed; top: 0; left: 0;
  display: block; width: 100vw; height: 100vh;
  z-index: -2; background: #000510; pointer-events: none;
}
.site-webgl__scrim {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1; pointer-events: none; background: rgba(6,5,8,.2);
}

/* ============================================================ HERO */
.hero { position: relative; padding: 104px var(--pad-x) 120px; overflow: hidden; text-align: center; }
.hero__glow {
  position: absolute; top: -340px; left: 50%; width: 1500px; height: 1000px;
  transform: translateX(-50%); pointer-events: none; z-index: 1;
  background: radial-gradient(46% 52% at 50% 42%,
    rgba(226,24,143,.42) 0%, rgba(155,27,181,.30) 26%, rgba(90,35,199,.22) 42%,
    rgba(238,42,69,.12) 56%, transparent 70%);
  animation: auroraDrift 16s ease-in-out infinite;
}
.hero__fade { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(60% 60% at 50% 100%, rgba(6,5,8,.9), transparent); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(60% 65% at 50% 50%, rgba(6,5,8,.42) 0%, rgba(6,5,8,.24) 48%, transparent 78%); }
.hero__inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; animation: fadeUp .7s var(--ease) both; }
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 6.2vw, 64px); line-height: 1.06; letter-spacing: .02em;
  margin: 26px auto 22px; max-width: 820px;
}
.hero__sub { font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--text-muted); max-width: 620px; margin: 0 auto 36px; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.trust { font-size: 14px; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.trust i { color: var(--coral); font-style: normal; }

/* ============================================================ COMPAT */
.compat { padding: 40px var(--pad-x) 90px; border-top: 1px solid rgba(255,255,255,.06); background: rgba(8,6,12,.5); }
.compat__logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }
.compat__chip {
  font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--text-soft);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  padding: 12px 24px; border-radius: 14px; backdrop-filter: blur(8px);
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative; border: 1px solid var(--border); border-radius: 18px;
  padding: 30px 28px; background: var(--surface); overflow: hidden;
}
.step__circle, .step__circle--sm {
  position: absolute; border: 1px solid rgba(255,255,255,.05); border-radius: 50%; pointer-events: none;
}
.step__circle { top: -40px; right: -40px; width: 140px; height: 140px; }
.step__circle--sm { top: -20px; right: -20px; width: 90px; height: 90px; border-color: rgba(255,255,255,.04); }
.step__n { font-family: var(--font-mono); font-size: 13px; color: var(--magenta); margin-bottom: 14px; }
.step__t { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.step__d { font-size: 15px; line-height: 1.55; color: var(--text-muted); }

/* ============================================================ PROBLEM */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prob {
  border: 1px solid var(--border); border-radius: 18px; padding: 30px 28px;
  background: var(--surface); transition: border-color var(--t-mid), transform var(--t-mid);
}
.prob:hover { border-color: rgba(226,24,143,.32); transform: translateY(-3px); }
.prob__icon {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 20px;
  background: rgba(226,24,143,.14); border: 1px solid rgba(226,24,143,.32);
  display: flex; align-items: center; justify-content: center; color: var(--pink); font-size: 20px;
}
.prob__t { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin-bottom: 10px; }
.prob__d { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* ============================================================ SOLUTION */
.solution { position: relative; overflow: hidden; }
.solution__glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 520px; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(90,35,199,.20), rgba(226,24,143,.10) 45%, transparent 70%);
}
.solution__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.solution__head p { font-size: 18px; line-height: 1.6; color: var(--text-muted); }
.solution__head .h2 { margin-bottom: 16px; }
.pillars { display: flex; flex-direction: column; gap: 36px; }
.pillar__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pillar__name {
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .14em;
  color: #fff; background: var(--aurora-soft); padding: 6px 14px; border-radius: var(--r-pill);
}
.pillar__tag { font-size: 14px; color: var(--text-dim); }
.pillar__rule { flex: 1; height: 1px; background: rgba(255,255,255,.07); }
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool {
  border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px;
  background: var(--surface); transition: border-color var(--t-mid), background var(--t-mid);
}
.tool:hover { border-color: rgba(255,255,255,.2); background: #121019; }
.tool__t { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 9px; }
.tool__d { font-size: 14px; line-height: 1.55; color: var(--text-muted); }

/* ============================================================ DEMO */
.demo__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,3.4vw,36px); letter-spacing: .015em; text-align: center; margin-bottom: 32px; }
.demo__tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.demo__tab {
  min-height: 44px; padding: 12px 24px; border-radius: var(--r-pill);
  border: 1px solid transparent; background: transparent; color: var(--text-dim);
  font-weight: 600; font-size: 15px; transition: all var(--t-mid);
}
.demo__tab[aria-selected="true"] { border-color: var(--border-strong); background: rgba(255,255,255,.08); color: var(--text); }
.demo__window { max-width: 960px; margin: 0 auto; border: 1px solid var(--border-strong); border-radius: 22px; background: var(--surface); overflow: hidden; }
.demo__bar { display: flex; align-items: center; gap: 7px; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.demo__bar span.tl { width: 11px; height: 11px; border-radius: 50%; background: #2a2832; }
.demo__bar .label { margin-inline-start: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.demo__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 280px; }
.demo__col { padding: 30px; }
.demo__col--in { border-inline-end: 1px solid rgba(255,255,255,.07); }
.demo__col--out { background: linear-gradient(135deg, rgba(226,24,143,.06), rgba(90,35,199,.04)); }
.demo__cap { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.demo__cap--out { color: var(--magenta); display: flex; align-items: center; gap: 8px; }
.demo__text { font-size: 15px; line-height: 1.6; color: var(--text-soft); white-space: pre-line; }
.demo__text--out { color: var(--text); }
.demo__panel[hidden] { display: none; }

/* ============================================================ PRICING */
.pricing__head { text-align: center; margin-bottom: 44px; max-width: 620px; margin-left: auto; margin-right: auto; }
.pricing__head .h2 { margin-bottom: 14px; }
.pricing__sub { font-size: 17px; line-height: 1.6; color: var(--text-muted); margin-bottom: 28px; }
.toggle { position: relative; display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 5px; }
.toggle__pill {
  position: absolute; top: 5px; left: 0; height: calc(100% - 10px); border-radius: var(--r-pill);
  background: #f4f3f7; border: 1.5px solid var(--magenta);
  box-shadow: 0 0 0 1px rgba(226,24,143,.35), 0 6px 18px rgba(226,24,143,.4); z-index: 0;
  transition: transform .35s var(--ease), width .35s var(--ease);
}
.toggle__btn { position: relative; z-index: 1; min-height: 40px; padding: 11px 22px; border-radius: var(--r-pill); border: none; background: transparent; color: var(--text-muted); font-size: 15px; font-weight: 600; transition: color .3s ease; }
.toggle__btn.is-active { color: #0a0910; }
.toggle__save { font-size: 12px; font-weight: 600; opacity: .8; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan2 {
  display: flex; flex-direction: column; text-align: center; height: 100%;
  border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 34px 28px;
  background: rgba(12,11,16,.92); cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease, opacity .6s var(--ease);
}
.plan2:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.22); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.plan2.is-selected { border-color: var(--magenta); box-shadow: 0 0 0 1.5px var(--magenta), 0 0 30px rgba(226,24,143,.32), 0 24px 64px rgba(226,24,143,.22); }
.plan2.is-reveal { opacity: 0; transform: translateY(28px); }
.plan2-wrap { position: relative; }
.plan2-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%,-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: linear-gradient(100deg,#9b1bb5,#e2188f); color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 7px 16px; border-radius: var(--r-pill);
  box-shadow: 0 10px 26px rgba(226,24,143,.45);
}
.plan2-badge span { font-size: 13px; line-height: 1; }
.plan2--pro {
  border: 2px solid rgba(255,255,255,.12); background: rgba(14,11,18,.95); padding: 38px 28px 34px;
}
.plan2--pro.is-selected { border-color: var(--magenta); }
@media (min-width: 1024px) { .plan2--pro { margin-top: -22px; } }
.plan2__name { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--text); }
.plan2__desc { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); min-height: 40px; }
.plan2__price { margin-top: 24px; display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.plan2__amount { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1; color: #fff; }
.plan2--pro .plan2__amount { font-size: 52px; }
.plan2__per { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.plan2__note { margin-top: 10px; font-size: 12.5px; color: var(--text-dim); }
.plan2__features { margin: 30px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.plan2__features li { display: flex; gap: 11px; font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.plan2--pro .plan2__features li { color: var(--text); }
.plan2__check { color: var(--magenta); font-weight: 700; flex-shrink: 0; }
.plan2--pro .plan2__check { color: var(--pink); }
.plan2__foot { margin-top: auto; padding-top: 30px; }
.plan2__cta {
  display: block; text-align: center; font-weight: 600; font-size: 14.5px; padding: 13px;
  border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04);
  color: var(--text); text-decoration: none; transition: background .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.plan2__cta:hover { background: rgba(255,255,255,.1); transform: translateY(-1px); }
.plan2__cta--pro { border: none; font-weight: 700; padding: 14px; background: linear-gradient(100deg,#9b1bb5,#e2188f); color: #fff; }
.plan2__cta--pro:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(226,24,143,.5); }

/* ============================================================ FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px,4vw,42px); letter-spacing: .015em; text-align: center; margin-bottom: 48px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; background: transparent; border: none; text-align: start;
  color: var(--text); font-size: 17px; font-weight: 600; line-height: 1.4;
}
.faq__icon { font-size: 24px; font-weight: 400; color: var(--magenta); flex-shrink: 0; line-height: 1; transition: transform var(--t-mid); }
.faq__item[data-open="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 26px; max-height: 0; overflow: hidden; transition: max-height var(--t-mid), padding var(--t-mid); }
.faq__item[data-open="true"] .faq__a { padding: 0 26px 24px; max-height: 320px; }
.faq__a p { font-size: 15px; line-height: 1.65; color: var(--text-muted); }

/* ============================================================ CTA FINAL */
.cta { position: relative; overflow: hidden; padding: 110px var(--pad-x); text-align: center; background: rgba(8,6,12,.42); }
.cta__glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 1100px; height: 600px; pointer-events: none;
  background: radial-gradient(50% 55% at 50% 50%, rgba(226,24,143,.30), rgba(90,35,199,.18) 40%, rgba(238,42,69,.10) 58%, transparent 72%);
}
.cta__inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px,5vw,50px); line-height: 1.05; letter-spacing: .02em; margin-bottom: 20px; }
.cta__sub { font-size: clamp(16px,2vw,19px); line-height: 1.6; color: var(--text-muted); margin-bottom: 36px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================ FOOTER */
.footer { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.12); padding: 56px var(--pad-x) 40px; background: linear-gradient(180deg, rgba(7,6,10,.55), rgba(7,6,10,.78)); }
.footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 44px; }
.footer__brand { max-width: 300px; }
.footer__brand img { height: 32px; margin-bottom: 16px; }
.footer__brand p { font-size: 14px; line-height: 1.6; color: #d6d3de; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__h { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-size: 14px; color: #d6d3de; text-decoration: none; text-shadow: 0 1px 4px rgba(0,0,0,.6); transition: color var(--t-fast); }
.footer__links a:hover { color: #fff; }
.footer__legal { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.06); }
.footer__legal p { font-size: 13px; color: #d6d3de; line-height: 1.5; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* ============================================================ COOKIE */
.cookie {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; pointer-events: none;
}
.cookie[hidden] { display: none; }
.cookie__panel {
  pointer-events: auto; width: 360px; max-width: 90vw;
  display: flex; flex-direction: column; gap: 12px;
  background: rgba(16,14,21,.95); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55); color: var(--text);
}
.cookie__head { display: flex; align-items: center; gap: 12px; }
.cookie__badge {
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  border-radius: 10px; background: rgba(226,24,143,.12); color: var(--pink);
  box-shadow: inset 0 0 0 1px rgba(226,24,143,.25); flex-shrink: 0;
}
.cookie__title { font-size: 14px; font-weight: 600; line-height: 1.35; margin: 0; text-shadow: none; }
.cookie__close {
  margin-inline-start: auto; display: inline-flex; width: 32px; height: 32px;
  align-items: center; justify-content: center; border-radius: 8px;
  background: transparent; border: none; color: var(--text-dim); flex-shrink: 0;
  transition: background .2s ease;
}
.cookie__close:hover { background: rgba(255,255,255,.06); }
.cookie__text { font-size: 12.5px; line-height: 1.6; color: var(--text-soft); margin: 0; text-shadow: none; }
.cookie__text a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 4px; }
.cookie__text a:hover { color: #fff; }
.cookie__actions { display: flex; align-items: center; gap: 8px; }
.cookie__btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px; border-radius: 8px; font-size: 12px; font-weight: 600;
  font-family: inherit; transition: background .2s ease;
}
.cookie__btn--ghost { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: var(--text-soft); }
.cookie__btn--ghost:hover { background: rgba(255,255,255,.1); }
.cookie__btn--primary { border: none; background: var(--magenta); color: #fff; }
.cookie__btn--primary:hover { background: var(--pink); }
.cookie__prefs { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.cookie__prefs[hidden] { display: none; }
.cookie__row { display: flex; align-items: flex-start; gap: 8px; padding: 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); }
.cookie__check {
  margin-top: 2px; display: inline-flex; width: 20px; height: 20px;
  align-items: center; justify-content: center; border-radius: 5px;
  border: 1px solid rgba(255,255,255,.22); background: transparent; color: var(--pink);
  font-size: 12px; line-height: 1; flex-shrink: 0; font-family: inherit; cursor: pointer;
}
.cookie__check[disabled] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: var(--text-dim); cursor: not-allowed; }
.cookie__row-t { font-size: 12px; font-weight: 600; color: var(--text); text-shadow: none; }
.cookie__row-t span { font-size: 10px; color: var(--text-dim); }
.cookie__row p { font-size: 10.5px; color: var(--text-dim); margin: 2px 0 0; text-shadow: none; }
.cookie__prefs-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .steps, .cards-3, .tools, .plans { grid-template-columns: 1fr; }
  .plan--pro { order: -1; }
  .demo__grid { grid-template-columns: 1fr; }
  .demo__col--in { border-inline-end: none; border-bottom: 1px solid rgba(255,255,255,.07); }
}
@media (max-width: 760px) {
  :root { --pad-x: 22px; }
  .nav { padding: 14px var(--pad-x); }
  .nav__logo img { height: 34px; }
  .nav__links, .nav__login, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; align-items: center; justify-content: center; }
  .section { padding: 64px var(--pad-x); }
  .compat { padding: 32px var(--pad-x) 64px; }
  .hero { padding: 64px var(--pad-x) 72px; }
  .cta { padding: 80px var(--pad-x); }
  .demo__tabs { flex-wrap: wrap; }
  .footer__top { flex-direction: column; }
  .footer__cols { gap: 40px; }
  /* Mobile nav drawer */
  .nav__links--open {
    display: flex; flex-direction: column; gap: 4px; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(6,5,8,.96); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: 12px var(--pad-x) 20px;
  }
  .nav__links--open .nav__link { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.05); }
}
@media (max-width: 480px) {
  .hero__trust { gap: 14px 18px; }
  .plan__top, .plan__includes { padding-left: 22px; padding-right: 22px; }
  .faq__q { padding: 20px 18px; font-size: 16px; }
  .faq__item[data-open="true"] .faq__a { padding: 0 18px 22px; }
  .faq__a { padding: 0 18px; }
  .demo__col { padding: 24px 22px; }
  .toggle { flex-wrap: wrap; justify-content: center; }
  .toggle__btn { padding: 10px 16px; font-size: 14px; }
  .cookie { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
