/* ==========================================================================
   ADEL AI — Dark Luxury Design System
   Deep navy-black surfaces · champagne gold + electric blue accents
   Persian editorial typography · cinematic, controlled motion
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  /* Surfaces: near-black with a navy cast, three levels only */
  --bg:          #07080c;
  --bg-2:        #0b0d14;
  --bg-3:        #10131c;
  --glass:       rgba(255, 255, 255, .035);
  --glass-2:     rgba(255, 255, 255, .06);
  --glass-3:     rgba(255, 255, 255, .09);

  /* Hairlines: very low contrast on purpose */
  --line:        rgba(255, 255, 255, .075);
  --line-2:      rgba(255, 255, 255, .13);
  --line-gold:   rgba(216, 189, 132, .26);
  --line-blue:   rgba(79, 141, 253, .26);

  /* Text: warm white, then two quieter steps */
  --text:        #f3f0ea;
  --text-2:      #b7bcc7;
  --text-3:      #838a98;

  /* Accents */
  --gold:        #d8bd84;
  --gold-soft:   #e8d6ac;
  --gold-deep:   #a2854a;
  --blue:        #4f8dfd;
  --blue-soft:   #8fb6ff;
  --blue-deep:   #1f4fc4;
  --violet:      #8b7cf6;

  --grad-hero:   linear-gradient(104deg, #f0dfb6 0%, #d8bd84 32%, #8fb6ff 78%, #4f8dfd 100%);
  --grad-line:   linear-gradient(90deg, transparent, var(--line-gold), transparent);

  /* Radii — 12 / 20 / 28, nothing else */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Spacing (4px base) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 136px;

  /* Depth */
  --sh-1: 0 1px 2px rgba(0, 0, 0, .5);
  --sh-2: 0 18px 44px -20px rgba(0, 0, 0, .8);
  --sh-3: 0 44px 90px -38px rgba(0, 0, 0, .95);
  --glow-gold: 0 0 0 1px var(--line-gold), 0 22px 60px -30px rgba(216, 189, 132, .3);
  --glow-blue: 0 0 0 1px var(--line-blue), 0 22px 60px -30px rgba(79, 141, 253, .34);
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px rgba(143, 182, 255, .55);

  /* Layout */
  --shell: 1240px;
  --measure: 60ch;

  /* Motion: one easing everywhere, slow and controlled */
  --e: cubic-bezier(.22, 1, .36, 1);
  --t-fast: .28s var(--e);
  --t-mid:  .55s var(--e);
  --t-slow: .9s var(--e);

  color-scheme: dark;
}

/* The admin panel can force a light shell; the site itself stays dark. */
:root[data-theme="light"] {
  --bg: #f4f5f7; --bg-2: #ffffff; --bg-3: #eef0f4;
  --glass: rgba(10, 14, 24, .03); --glass-2: rgba(10, 14, 24, .05); --glass-3: rgba(10, 14, 24, .08);
  --line: rgba(10, 14, 24, .1); --line-2: rgba(10, 14, 24, .16);
  --text: #0d1018; --text-2: #46505f; --text-3: #6b7482;
  --gold: #8a6d2f; --gold-soft: #a2854a; --blue: #1f4fc4; --blue-soft: #2d63e0;
  --ring: 0 0 0 2px #fff, 0 0 0 4px rgba(31, 79, 196, .5);
  color-scheme: light;
}

/* --- 2. Base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Estedad Variable", Estedad, Vazirmatn, "IRANSansX", Dana,
    "Segoe UI", Tahoma, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* A single, very low-opacity grain + radial wash. No gradient parties. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 600px at 82% -8%, rgba(79, 141, 253, .1), transparent 62%),
    radial-gradient(760px 520px at 8% 4%, rgba(216, 189, 132, .07), transparent 60%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
:root[data-theme="light"] body::after { display: none; }
body > * { position: relative; z-index: 1; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.028em; line-height: 1.16; }
h1 { font-size: clamp(2.5rem, 6.6vw, 5rem); line-height: 1.07; letter-spacing: -.038em; }
h2 { font-size: clamp(1.85rem, 3.9vw, 3.05rem); }
h3 { font-size: 1.16rem; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; }
p  { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
a  { color: var(--blue-soft); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--text); }

.num { font-variant-numeric: tabular-nums; letter-spacing: -.02em; direction: ltr; unicode-bidi: isolate; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: none; box-shadow: var(--ring); border-radius: var(--r-sm);
}

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; inset-inline-start: -9999px; top: 14px; z-index: 300;
  background: var(--gold); color: #17120a; padding: 11px 20px; border-radius: var(--r-sm); font-weight: 600;
}
.skip:focus { inset-inline-start: 18px; }

/* --- 3. Section rhythm -------------------------------------------------- */
.band { padding-block: clamp(72px, 9vw, 136px); position: relative; }
.band--tint { background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }
.band--edge { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 600; color: var(--gold);
  letter-spacing: .04em; margin-bottom: var(--s4);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); opacity: .6; }

.band-head { max-width: 44rem; margin-bottom: clamp(40px, 5vw, 72px); }
.band-head h2 { margin-bottom: var(--s4); }
.band-head p { color: var(--text-2); max-width: var(--measure); font-size: 1.04rem; }

/* --- 4. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 1rem; font-weight: 600; letter-spacing: -.01em;
  padding: 14px 28px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast),
              border-color var(--t-fast), color var(--t-fast);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

.btn--gold {
  background: linear-gradient(180deg, #e8d6ac, #cbaa6c);
  color: #1a1408; box-shadow: 0 14px 34px -18px rgba(216, 189, 132, .55);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -20px rgba(216, 189, 132, .62); color: #1a1408; }

.btn--glass {
  background: var(--glass); color: var(--text); border-color: var(--line-2);
  backdrop-filter: blur(14px);
}
.btn--glass:hover { transform: translateY(-2px); border-color: var(--line-blue); background: var(--glass-2); color: var(--text); }

.btn--quiet { background: transparent; color: var(--text-2); border-color: var(--line); }
.btn--quiet:hover { color: var(--text); border-color: var(--line-2); }

.btn--sm { padding: 9px 18px; font-size: .9rem; }

/* --- 5. Navigation ------------------------------------------------------ */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background var(--t-mid), border-color var(--t-mid), backdrop-filter var(--t-mid);
}
.nav.is-stuck {
  background: rgba(7, 8, 12, .72);
  backdrop-filter: blur(22px) saturate(1.25);
  border-bottom-color: var(--line);
}
:root[data-theme="light"] .nav.is-stuck { background: rgba(244, 245, 247, .82); }
.nav__inner { display: flex; align-items: center; gap: var(--s5); min-height: 78px; }

.mark { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.mark:hover { color: var(--text); }
.mark__glyph {
  width: 36px; height: 36px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(145deg, rgba(216, 189, 132, .22), rgba(79, 141, 253, .18));
  border: 1px solid var(--line-2); display: grid; place-items: center;
}
.mark__glyph svg { width: 19px; height: 19px; }
.mark__fa { font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; }
.mark__en { font-size: .64rem; font-weight: 500; color: var(--text-3); letter-spacing: .22em; align-self: flex-end; padding-bottom: 8px; }

.nav__links { display: flex; gap: var(--s5); margin-inline-start: auto; }
.nav__links a { position: relative; color: var(--text-2); font-size: .95rem; font-weight: 500; padding-block: 6px; }
.nav__links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: inline-end;
  transition: transform var(--t-mid);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: var(--s3); }
.burger {
  display: none; width: 44px; height: 44px; flex: 0 0 auto;
  background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  cursor: pointer; align-items: center; justify-content: center; color: var(--text);
}
.burger i { display: block; width: 17px; height: 1.5px; background: currentColor; position: relative; }
.burger i::before, .burger i::after {
  content: ""; position: absolute; inset-inline: 0; height: 1.5px; background: currentColor;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.burger i::before { top: -6px; }
.burger i::after { top: 6px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  overflow: hidden; max-height: 0; background: rgba(7, 8, 12, .96);
  backdrop-filter: blur(22px); border-bottom: 1px solid transparent;
  transition: max-height var(--t-mid), border-color var(--t-mid);
}
.drawer.is-open { max-height: 420px; border-bottom-color: var(--line); }
.drawer__in { padding: var(--s4) clamp(20px, 5vw, 56px) var(--s6); }
.drawer a { display: block; padding: 13px 0; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--line); }
.drawer .btn { width: 100%; margin-top: var(--s5); }

/* --- 6. Hero ------------------------------------------------------------ */
.hero { padding-block: clamp(120px, 15vw, 190px) clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(40px, 5vw, 76px); align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(14px);
  font-size: .85rem; font-weight: 500; color: var(--text-2); margin-bottom: var(--s6);
}
.badge b {
  font-size: .72rem; font-weight: 700; color: #1a1408; letter-spacing: .06em;
  background: linear-gradient(180deg, #e8d6ac, #cbaa6c);
  padding: 3px 10px; border-radius: var(--r-pill);
}
.hero h1 { margin-bottom: var(--s5); max-width: 22ch; }
.hero h1 .grad {
  background: var(--grad-hero); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--text-2); max-width: 40ch; font-weight: 400; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s7); }

.proof { display: flex; flex-wrap: wrap; gap: clamp(22px, 3vw, 46px); margin-top: clamp(40px, 5vw, 66px); padding-top: var(--s5); border-top: 1px solid var(--line); }
.proof div strong { display: block; font-size: 1.28rem; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.proof div span { font-size: .85rem; color: var(--text-3); }

/* Cinematic visual: photo with a real fallback, plus HUD cards */
.frame { position: relative; }
.plate {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--sh-3);
  aspect-ratio: 4 / 5; background: var(--bg-3);
}
.plate::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(190deg, rgba(7, 8, 12, .14) 0%, rgba(7, 8, 12, .5) 52%, rgba(7, 8, 12, .88) 100%);
}
.plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
/* Fallback art shows when the remote photo cannot load */
.plate__fb {
  position: absolute; inset: 0; opacity: 0; transition: opacity var(--t-slow);
  background:
    radial-gradient(620px 420px at 68% 22%, rgba(79, 141, 253, .4), transparent 66%),
    radial-gradient(520px 380px at 22% 78%, rgba(216, 189, 132, .26), transparent 64%),
    linear-gradient(168deg, #101522, #07080c 72%);
}
.plate__fb::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(78% 68% at 60% 38%, #000 25%, transparent 78%);
}
.is-fallback .plate__fb { opacity: 1; }

.hud { position: absolute; z-index: 3; display: grid; gap: 7px; padding: 14px 16px; border-radius: 20px;
  background: rgba(12, 15, 22, .62); border: 1px solid var(--line-2);
  backdrop-filter: blur(20px) saturate(1.2); box-shadow: var(--sh-2); min-width: 168px;
}
.hud__k { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--text-3); letter-spacing: .03em; }
.hud__k i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.hud--blue .hud__k i { background: var(--blue); }
.hud strong { font-size: .95rem; font-weight: 600; letter-spacing: -.015em; color: var(--text); }
.hud small { font-size: .74rem; color: var(--text-3); }
.hud__bar { height: 3px; border-radius: 3px; background: var(--glass-3); overflow: hidden; }
.hud__bar span { display: block; height: 100%; background: var(--grad-hero); width: 0; transition: width 1.6s var(--e); }
.is-in .hud__bar span { width: var(--w, 72%); }

.hud--1 { top: 7%; inset-inline-start: -7%; }
.hud--2 { top: 36%; inset-inline-end: -8%; }
.hud--3 { bottom: 20%; inset-inline-start: -5%; }
.hud--4 { bottom: 5%; inset-inline-end: -4%; }

/* --- 7. Glass card primitive -------------------------------------------- */
.card {
  position: relative; border-radius: var(--r-md); background: var(--glass);
  border: 1px solid var(--line); backdrop-filter: blur(16px);
  transition: transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid), background var(--t-mid);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), transparent 42%);
}

/* --- 8. Studio ---------------------------------------------------------- */
.studio__top { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s6); }
.studio__top .band-head { margin-bottom: 0; }
.studio__frame {
  border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2);
  border: 1px solid var(--line-2); box-shadow: var(--sh-3);
}
.rail { display: flex; gap: var(--s1); overflow-x: auto; scrollbar-width: none; padding: var(--s3); border-bottom: 1px solid var(--line); background: var(--glass); }
.rail::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto;
  font: inherit; font-size: .93rem; font-weight: 500; color: var(--text-3);
  background: transparent; border: 1px solid transparent; border-radius: var(--r-pill);
  padding: 10px 19px; cursor: pointer; transition: all var(--t-fast);
}
.tab:hover { color: var(--text); background: var(--glass-2); }
.tab[aria-selected="true"] {
  color: var(--text); background: var(--glass-2); border-color: var(--line-gold);
  box-shadow: 0 14px 32px -22px rgba(216, 189, 132, .6);
}
.tab[aria-selected="true"] svg { color: var(--gold); }
.tab svg { width: 17px; height: 17px; flex: 0 0 auto; transition: transform var(--t-mid), color var(--t-fast); }
.tab:hover svg { transform: translateY(-1px); }

.panel { padding: clamp(20px, 3.4vw, 40px); }
.panel__head { margin-bottom: var(--s5); }
.panel__head h3 { margin-bottom: 5px; }
.panel__head p { color: var(--text-3); font-size: .93rem; }

.field { display: grid; gap: var(--s2); margin-bottom: var(--s4); }
.field > label { font-size: .88rem; font-weight: 500; color: var(--text-2); }
input[type="text"], input[type="password"], input[type="email"], textarea, select {
  font: inherit; font-size: 1rem; width: 100%; color: var(--text);
  background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 13px 16px; transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
textarea { resize: vertical; min-height: 104px; line-height: 1.85; }
input:hover, textarea:hover, select:hover { border-color: var(--line-blue); }
input:focus, textarea:focus, select:focus {
  outline: none; background: var(--glass-2); border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(79, 141, 253, .14);
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
select { cursor: pointer; }
select option { background: var(--bg-2); color: var(--text); }
input[type="file"] { padding: 10px; cursor: pointer; }
input[type="file"]::file-selector-button {
  font: inherit; font-weight: 600; margin-inline-end: 12px; cursor: pointer; color: #1a1408;
  background: linear-gradient(180deg, #e8d6ac, #cbaa6c); border: 0; border-radius: 9px; padding: 8px 16px;
}
.row { display: flex; flex-wrap: wrap; gap: var(--s4); margin-bottom: var(--s5); }
.row .field { flex: 1 1 210px; margin-bottom: 0; }

.chat {
  min-height: 300px; max-height: 440px; overflow-y: auto; display: grid; gap: var(--s4);
  align-content: start; padding: var(--s5); margin-bottom: var(--s4);
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-md);
}
.chat__empty { text-align: center; color: var(--text-3); padding: var(--s7) var(--s3); }
.chat__empty strong { display: block; color: var(--text); font-size: 1.06rem; font-weight: 600; margin-bottom: 7px; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; margin-top: var(--s5); }
.chip {
  font: inherit; font-size: .87rem; font-weight: 500; cursor: pointer; color: var(--text-2);
  background: var(--glass-2); border: 1px solid var(--line-2); padding: 8px 16px;
  border-radius: var(--r-pill); transition: all var(--t-fast);
}
.chip:hover { color: var(--gold); border-color: var(--line-gold); transform: translateY(-1px); }

.msg { max-width: min(82%, 44rem); display: grid; gap: 6px; animation: msgIn .5s var(--e) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg > p { padding: 13px 18px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .97rem; }
.msg.user { justify-self: start; }
.msg.user > p {
  background: linear-gradient(140deg, rgba(79, 141, 253, .2), rgba(79, 141, 253, .1));
  border: 1px solid var(--line-blue); color: var(--text);
  border-radius: var(--r-md) var(--r-md) var(--r-md) 6px;
}
.msg.assistant { justify-self: end; }
.msg.assistant > p {
  background: var(--glass-2); border: 1px solid var(--line-2); color: var(--text);
  border-radius: var(--r-md) 6px var(--r-md) var(--r-md);
}
.msg.error > p { background: rgba(214, 94, 78, .14); border-color: rgba(214, 94, 78, .4); color: #f0b4ab; }
.msg .meta { font-size: .73rem; color: var(--text-3); font-weight: 500; letter-spacing: .02em; }
.msg.assistant .meta { text-align: end; }
.typing i { display: inline-block; width: 5px; height: 5px; margin-inline-end: 5px; border-radius: 50%; background: var(--text-3); animation: blink 1.3s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 62%, 100% { opacity: .22; } 32% { opacity: 1; } }

.composer { display: flex; gap: var(--s3); align-items: flex-end; }
.composer textarea { min-height: 56px; max-height: 190px; }
.composer .btn { height: 54px; }

.result { margin-top: var(--s5); display: grid; gap: var(--s3); font-size: .95rem; }
.result:empty { display: none; }
.result img, .result video { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line-2); box-shadow: var(--sh-2); }
.result pre {
  margin: 0; max-height: 320px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--s4); font-family: inherit; font-size: .91rem; line-height: 1.85; color: var(--text-2);
}
.result .meta { font-size: .82rem; font-weight: 600; color: var(--gold); letter-spacing: .02em; }
.result .download {
  justify-self: start; display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .93rem;
  padding: 12px 22px; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  color: var(--text); background: var(--glass); transition: all var(--t-fast);
}
.result .download:hover { border-color: var(--line-gold); color: var(--gold); transform: translateY(-2px); }
.result .state { color: var(--text-3); display: flex; align-items: center; gap: 11px; }
.result .state::before {
  content: ""; width: 15px; height: 15px; flex: 0 0 auto; border-radius: 50%;
  border: 2px solid var(--line-2); border-top-color: var(--gold); animation: spin .9s linear infinite;
}
.result .state--err { color: #f0b4ab; }
.result .state--err::before { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton {
  height: 260px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: linear-gradient(100deg, var(--glass) 28%, var(--glass-3) 50%, var(--glass) 72%);
  background-size: 300% 100%; animation: sweep 1.8s infinite linear;
}
@keyframes sweep { to { background-position: -200% 0; } }

.hint {
  margin-top: var(--s4); font-size: .87rem; color: var(--text-3); line-height: 1.8;
  background: var(--glass); border: 1px solid var(--line); border-inline-start: 2px solid var(--line-gold);
  border-radius: var(--r-sm); padding: 13px 17px;
}
.pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 500;
  color: var(--text-2); background: var(--glass); border: 1px solid var(--line-2);
  border-radius: var(--r-pill); padding: 8px 16px; backdrop-filter: blur(14px);
}
.pill b { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }
.pill.is-busy b { background: var(--gold); animation: blink 1.1s infinite; }
.pill.is-error b { background: #d65e4e; }

/* --- 9. Feature cards --------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.feature { display: flex; flex-direction: column; gap: var(--s3); padding: clamp(20px, 2.4vw, 30px); }
.feature:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--sh-2); background: var(--glass-2); }
.feature--wide { grid-column: span 2; }
.feature__icon {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  background: var(--glass-2); border: 1px solid var(--line-2); color: var(--gold);
  transition: transform var(--t-mid), color var(--t-mid), border-color var(--t-mid);
}
.feature:hover .feature__icon { transform: translateY(-3px) rotate(-3deg); border-color: var(--line-gold); }
.feature--blue .feature__icon { color: var(--blue-soft); }
.feature:hover.feature--blue .feature__icon { border-color: var(--line-blue); }
.feature__icon svg { width: 22px; height: 22px; }
.feature p { color: var(--text-2); font-size: .96rem; }
.feature__go {
  margin-top: auto; align-self: start; font: inherit; font-size: .92rem; font-weight: 600;
  color: var(--gold); background: none; border: 0; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; transition: gap var(--t-fast), color var(--t-fast);
}
.feature__go:hover { gap: 12px; color: var(--gold-soft); }

/* --- 10. AI showcase ---------------------------------------------------- */
.showcase { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(20px, 2.6vw, 34px); align-items: start; }
.sc-chat { padding: var(--s5); display: grid; gap: var(--s4); }
.sc-chat__head { display: flex; align-items: center; gap: 11px; padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.sc-chat__head i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; box-shadow: 0 0 0 4px rgba(79, 141, 253, .16); }
.sc-chat__head strong { font-size: .94rem; font-weight: 600; }
.sc-chat__head small { margin-inline-start: auto; font-size: .76rem; color: var(--text-3); }
.sc-msg { padding: 13px 17px; font-size: .95rem; border-radius: var(--r-md); max-width: 92%; }
.sc-msg--user { background: linear-gradient(140deg, rgba(79, 141, 253, .2), rgba(79, 141, 253, .09)); border: 1px solid var(--line-blue); justify-self: start; border-bottom-left-radius: 6px; }
.sc-msg--ai { background: var(--glass-2); border: 1px solid var(--line-2); justify-self: end; color: var(--text-2); border-bottom-right-radius: 6px; }
.sc-msg--ai b { color: var(--text); font-weight: 600; }

.doc { padding: var(--s5); display: grid; gap: var(--s4); }
.doc__top { display: flex; align-items: center; gap: var(--s3); }
.doc__top strong { font-size: .95rem; font-weight: 600; }
.doc__top span { margin-inline-start: auto; font-size: .76rem; color: var(--text-3); }
.doc__page {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: var(--s5); display: grid; gap: 11px;
}
.doc__line { height: 8px; border-radius: 4px; background: var(--glass-3); }
.doc__line.w1 { width: 94%; } .doc__line.w2 { width: 78%; } .doc__line.w3 { width: 86%; }
.doc__line.w4 { width: 62%; } .doc__line.w5 { width: 90%; }
.doc__mark {
  position: relative; border-radius: 5px; padding: 3px 7px; margin-inline: -7px;
  background: linear-gradient(90deg, rgba(216, 189, 132, .3), rgba(216, 189, 132, .08));
  border-inline-start: 2px solid var(--gold);
  font-size: .87rem; color: var(--text); opacity: 0; transform: translateX(8px);
  transition: opacity 1.1s var(--e) .5s, transform 1.1s var(--e) .5s;
}
.is-in .doc__mark { opacity: 1; transform: none; }
.doc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.metric { padding: 14px 16px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); display: grid; gap: 4px; }
.metric span { font-size: .75rem; color: var(--text-3); }
.metric strong { font-size: 1.16rem; font-weight: 700; letter-spacing: -.02em; }
.metric--risk strong { color: var(--gold); }
.metric--ok strong { color: var(--blue-soft); }
.metric ul { margin-top: 4px; display: grid; gap: 5px; }
.metric li { font-size: .82rem; color: var(--text-2); padding-inline-start: 13px; position: relative; }
.metric li::before { content: ""; position: absolute; inset-inline-start: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }

/* --- 11. Dashboard preview ---------------------------------------------- */
.dash {
  border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2);
  border: 1px solid var(--line-2); box-shadow: var(--sh-3);
  display: grid; grid-template-columns: 208px minmax(0, 1fr);
}
.dash__side { border-inline-end: 1px solid var(--line); padding: var(--s4); display: grid; gap: var(--s2); align-content: start; background: var(--glass); }
.dash__brand { display: flex; align-items: center; gap: 9px; padding: 8px 10px var(--s4); }
.dash__brand i { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(145deg, var(--gold), var(--gold-deep)); flex: 0 0 auto; }
.dash__brand strong { font-size: .9rem; font-weight: 600; }
.dash__nav {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 11px;
  font-size: .87rem; color: var(--text-3); border: 1px solid transparent; transition: all var(--t-fast); cursor: default;
}
.dash__nav svg { width: 16px; height: 16px; flex: 0 0 auto; }
.dash__nav:hover { color: var(--text-2); background: var(--glass-2); }
.dash__nav.is-on { color: var(--text); background: var(--glass-2); border-color: var(--line-2); }
.dash__nav.is-on svg { color: var(--gold); }

.dash__main { display: grid; align-content: start; }
.dash__top { display: flex; align-items: center; gap: var(--s3); padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dash__top h3 { font-size: 1rem; }
.dash__tabs { display: flex; gap: 4px; margin-inline-start: auto; padding: 4px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-pill); }
.dash__tabs button {
  font: inherit; font-size: .81rem; font-weight: 500; padding: 6px 14px; cursor: pointer;
  background: transparent; border: 0; border-radius: var(--r-pill); color: var(--text-3); transition: all var(--t-fast);
}
.dash__tabs button[aria-pressed="true"] { background: var(--glass-3); color: var(--text); }
.dash__body { padding: var(--s5); display: grid; gap: var(--s4); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { padding: 15px 17px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); display: grid; gap: 3px; transition: all var(--t-fast); }
.kpi:hover { background: var(--glass-2); border-color: var(--line-2); }
.kpi span { font-size: .74rem; color: var(--text-3); }
.kpi strong { font-size: 1.32rem; font-weight: 700; letter-spacing: -.025em; }
.kpi em { font-style: normal; font-size: .74rem; color: var(--blue-soft); }
.chart { grid-column: span 2; padding: var(--s5); border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.chart__head { display: flex; align-items: baseline; gap: var(--s3); margin-bottom: var(--s5); }
.chart__head strong { font-size: .92rem; font-weight: 600; }
.chart__head small { color: var(--text-3); font-size: .76rem; margin-inline-start: auto; }
.bars { display: flex; align-items: flex-end; gap: clamp(6px, 1.2vw, 14px); height: 148px; }
.bars div { flex: 1 1 0; display: grid; align-content: end; gap: 7px; justify-items: center; }
.bars i {
  display: block; width: 100%; border-radius: 6px 6px 3px 3px; height: 0;
  background: linear-gradient(180deg, rgba(216, 189, 132, .85), rgba(79, 141, 253, .3));
  transition: height 1.3s var(--e); will-change: height;
}
.bars div:hover i { background: linear-gradient(180deg, var(--gold-soft), rgba(79, 141, 253, .5)); }
.is-in .bars i { height: var(--h); }
.bars b { font-size: .68rem; font-weight: 400; color: var(--text-3); }
.feed { padding: var(--s5); border-radius: 18px; background: var(--glass); border: 1px solid var(--line); display: grid; gap: var(--s3); align-content: start; }
.feed strong { font-size: .92rem; font-weight: 600; }
.feed li { display: grid; gap: 2px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; padding-bottom: 0; }
.feed li span { font-size: .85rem; color: var(--text-2); }
.feed li small { font-size: .72rem; color: var(--text-3); }

/* --- 12. Cinematic band ------------------------------------------------- */
.cine { position: relative; min-height: min(78vh, 680px); display: grid; align-items: center; overflow: hidden; border-block: 1px solid var(--line); }
.cine__bg { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.cine__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.cine__fb {
  position: absolute; inset: 0; opacity: 0; transition: opacity var(--t-slow);
  background:
    radial-gradient(900px 520px at 24% 34%, rgba(79, 141, 253, .3), transparent 64%),
    radial-gradient(700px 500px at 78% 66%, rgba(216, 189, 132, .2), transparent 62%),
    linear-gradient(160deg, #0d1220, #07080c 70%);
}
.is-fallback .cine__fb { opacity: 1; }
.cine::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(95deg, rgba(7, 8, 12, .94) 4%, rgba(7, 8, 12, .7) 46%, rgba(7, 8, 12, .38) 100%);
}
.cine__in { position: relative; z-index: 2; padding-block: clamp(64px, 9vw, 120px); }
.cine__in h2 { max-width: 20ch; margin-bottom: var(--s5); }
.cine__in p { color: var(--text-2); max-width: 44ch; margin-bottom: var(--s6); }

/* --- 13. Stats ---------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.stat { background: var(--bg-2); padding: clamp(24px, 3vw, 40px) clamp(18px, 2vw, 28px); display: grid; gap: 7px; transition: background var(--t-mid); }
.stat:hover { background: var(--bg-3); }
.stat strong { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; background: var(--grad-hero); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat span { font-size: .93rem; color: var(--text); font-weight: 500; }
.stat small { font-size: .81rem; color: var(--text-3); line-height: 1.7; }

/* --- 14. Security ------------------------------------------------------- */
.sec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); align-items: start; }
.sec__list { display: grid; gap: var(--s5); }
.sec__item { display: flex; gap: var(--s4); }
.sec__item svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--gold); margin-top: 8px; stroke-width: 1.3; }
.sec__item h3 { margin-bottom: 3px; }
.sec__item p { color: var(--text-2); font-size: .95rem; }
.pledge { padding: clamp(26px, 3.4vw, 40px); position: relative; overflow: hidden; }
.pledge::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(520px 320px at 78% 8%, rgba(216, 189, 132, .16), transparent 66%);
}
.pledge > * { position: relative; z-index: 1; }
.pledge h3 { font-size: 1.24rem; margin-bottom: var(--s3); }
.pledge p { color: var(--text-2); font-size: .96rem; }
.pledge ul { margin-top: var(--s5); display: grid; gap: var(--s3); }
.pledge li { display: flex; gap: var(--s3); font-size: .94rem; color: var(--text-2); }
.pledge li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 7px; color: var(--blue-soft); }

/* --- 15. Pricing -------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); align-items: start; }
.plan { padding: clamp(24px, 2.8vw, 34px); display: grid; gap: var(--s4); }
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--sh-2); }
.plan--pro { border-color: var(--line-gold); background: var(--glass-2); box-shadow: var(--glow-gold); }
.plan__name { display: flex; align-items: center; gap: var(--s3); }
.plan__name h3 { font-size: 1.1rem; }
.plan__name b { font-size: .7rem; font-weight: 600; color: var(--gold); border: 1px solid var(--line-gold); border-radius: var(--r-pill); padding: 2px 10px; letter-spacing: .03em; }
.plan__price { font-size: 2rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.plan__price small { font-size: .82rem; font-weight: 400; color: var(--text-3); letter-spacing: 0; }
.plan p { color: var(--text-2); font-size: .94rem; }
.plan ul { display: grid; gap: 9px; }
.plan li { font-size: .9rem; color: var(--text-2); padding-inline-start: 22px; position: relative; }
.plan li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 11px; width: 11px; height: 6px;
  border-inline-start: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.plan .btn { width: 100%; }
.plans__note { margin-top: var(--s5); font-size: .86rem; color: var(--text-3); }

/* --- 16. FAQ ------------------------------------------------------------ */
.faq { max-width: 52rem; display: grid; gap: var(--s3); }
.qa { border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--line); overflow: hidden; transition: border-color var(--t-fast), background var(--t-fast); }
.qa:hover { border-color: var(--line-2); }
.qa[open] { border-color: var(--line-gold); background: var(--glass-2); }
.qa summary {
  cursor: pointer; list-style: none; padding: var(--s4) var(--s5);
  font-weight: 500; font-size: 1.02rem; display: flex; align-items: center; gap: var(--s4);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; margin-inline-start: auto; flex: 0 0 auto; width: 9px; height: 9px;
  border-inline-end: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg); transition: transform var(--t-mid);
}
.qa[open] summary::after { transform: rotate(-135deg); }
.qa__a { padding: 0 var(--s5) var(--s5); color: var(--text-2); font-size: .96rem; max-width: var(--measure); }
.qa[open] .qa__a { animation: qaIn .5s var(--e) both; }
@keyframes qaIn { from { opacity: 0; transform: translateY(-6px); } }

/* --- 17. Final CTA ------------------------------------------------------ */
.final { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.final::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(760px 420px at 50% 112%, rgba(216, 189, 132, .2), transparent 66%),
    radial-gradient(900px 480px at 50% -18%, rgba(79, 141, 253, .16), transparent 64%);
}
.final__in { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; gap: var(--s5); }
.final__in h2 { max-width: 26ch; }
.final__in p { color: var(--text-2); max-width: 46ch; }
.final__cta { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s3); }

/* --- 18. Footer --------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px) var(--s5); background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: var(--s7) var(--s5); }
.footer__about p { color: var(--text-3); font-size: .92rem; max-width: 32ch; margin-top: var(--s4); }
.footer h2 { font-size: .8rem; font-weight: 600; color: var(--text); letter-spacing: .02em; margin-bottom: var(--s4); }
.footer li { margin-bottom: 10px; }
.footer li a, .footer li button {
  color: var(--text-3); font-size: .92rem; font: inherit; font-size: .92rem;
  background: none; border: 0; padding: 0; cursor: pointer; transition: color var(--t-fast);
}
.footer li a:hover, .footer li button:hover { color: var(--gold); }
.footer__legal {
  margin-top: clamp(36px, 4vw, 56px); padding-top: var(--s5); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between;
  color: var(--text-3); font-size: .84rem;
}

/* --- 19. Account dialog ------------------------------------------------- */
.sheet {
  position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: var(--s4);
  background: rgba(4, 5, 8, .78); backdrop-filter: blur(10px);
}
.sheet.is-open { display: grid; animation: fadeIn .32s var(--e) both; }
@keyframes fadeIn { from { opacity: 0; } }
.sheet__card {
  width: 100%; max-width: 430px; background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: clamp(24px, 4vw, 36px);
  max-height: 92vh; overflow-y: auto; animation: sheetIn .48s var(--e) both;
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.sheet__close {
  float: inline-end; width: 36px; height: 36px; display: grid; place-items: center; line-height: 1;
  border: 1px solid var(--line-2); background: var(--glass); border-radius: 11px;
  cursor: pointer; color: var(--text-3); font-family: inherit; transition: all var(--t-fast);
}
.sheet__close:hover { color: var(--text); border-color: var(--line-blue); }
.sheet h2 { font-size: 1.44rem; margin-bottom: var(--s2); }
.sheet__sub { color: var(--text-3); font-size: .93rem; margin-bottom: var(--s5); }
.segmented {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-pill); margin-bottom: var(--s5);
}
.segmented button {
  font: inherit; font-weight: 500; font-size: .93rem; padding: 9px; cursor: pointer;
  background: transparent; border: 0; border-radius: var(--r-pill); color: var(--text-3); transition: all var(--t-fast);
}
.segmented button[aria-selected="true"] { background: var(--glass-3); color: var(--text); }
.sheet .btn { width: 100%; margin-top: var(--s2); }
.sheet__alt { margin-top: var(--s4); text-align: center; }
.sheet__alt button { font: inherit; font-size: .91rem; color: var(--blue-soft); background: none; border: 0; cursor: pointer; }
.sheet__alt button:hover { color: var(--text); }
.sheet__note { margin-top: var(--s5); font-size: .8rem; color: var(--text-3); line-height: 1.8; text-align: center; }

/* --- 20. Motion: page load, reveal, cursor ------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  [data-anim] { opacity: 0; }
  body.is-loaded [data-anim] {
    animation: animIn .9s var(--e) both;
    animation-delay: calc(var(--d, 0) * 1ms);
  }
  @keyframes animIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

  [data-anim="scale"] { transform: scale(.985); }
  body.is-loaded [data-anim="scale"] { animation-name: animScale; animation-duration: 1.1s; }
  @keyframes animScale { from { opacity: 0; transform: scale(.975); } to { opacity: 1; transform: none; } }

  [data-reveal] { opacity: 0; will-change: transform, opacity; }
  [data-reveal="up"]      { transform: translateY(34px); }
  [data-reveal="fade"]    { transform: none; }
  [data-reveal="scale"]   { transform: scale(.982); }
  [data-reveal="right"]   { transform: translateX(30px); }
  [data-reveal="left"]    { transform: translateX(-30px); }
  [data-reveal].is-in {
    opacity: 1; transform: none;
    transition: opacity .95s var(--e), transform .95s var(--e);
    transition-delay: calc(var(--d, 0) * 1ms);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-anim], [data-reveal] { opacity: 1 !important; transform: none !important; }
}

.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 941px) {
  .cursor, .cursor-dot {
    display: block; position: fixed; top: 0; inset-inline-start: 0; z-index: 400;
    pointer-events: none; border-radius: 50%; mix-blend-mode: difference;
  }
  .cursor {
    width: 30px; height: 30px; margin: -15px 0 0 -15px;
    border: 1px solid rgba(255, 255, 255, .55);
    transition: width .35s var(--e), height .35s var(--e), margin .35s var(--e),
                border-color .35s var(--e), opacity .35s var(--e);
  }
  .cursor-dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; background: #fff; }
  body.cur-btn .cursor { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: rgba(255, 255, 255, .85); }
  body.cur-img .cursor { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
  body.cur-img .cursor-dot { opacity: 0; }
  body.cur-card .cursor { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
}
@media (prefers-reduced-motion: reduce) { .cursor, .cursor-dot { display: none !important; } }

/* --- 21. Responsive ----------------------------------------------------- */
@media (max-width: 1180px) {
  .hud--1 { inset-inline-start: -2%; } .hud--2 { inset-inline-end: -3%; }
  .hud--3 { inset-inline-start: 0; }  .hud--4 { inset-inline-end: 0; }
  .dash { grid-template-columns: 178px minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature--wide { grid-column: span 2; }
  .showcase { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan--pro { order: -1; }
  .dash__body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .burger { display: inline-flex; }
  .nav__actions { margin-inline-start: auto; }
  .hero { padding-block: 116px 64px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .plate { aspect-ratio: 16 / 12; }
  .hud--1 { top: 5%; inset-inline-start: 4%; }
  .hud--2 { top: auto; bottom: 34%; inset-inline-end: 4%; }
  .hud--3, .hud--4 { display: none; }
  .dash { grid-template-columns: 1fr; }
  .dash__side { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .band { padding-block: 62px; }
  .hero { padding-block: 104px 52px; }
  .hero__cta .btn, .final__cta .btn, .cine__in .btn { flex: 1 1 100%; }
  .badge { margin-bottom: var(--s5); }
  .proof { gap: var(--s4) var(--s5); }
  .features, .stats, .doc__grid { grid-template-columns: 1fr; }
  .feature--wide { grid-column: span 1; }
  .studio__frame, .dash { border-radius: var(--r-md); }
  .panel { padding: var(--s4); }
  .chat { padding: var(--s3); max-height: 56vh; }
  .msg { max-width: 94%; }
  .composer { flex-wrap: wrap; }
  .composer textarea { flex: 1 1 100%; }
  .composer .btn { width: 100%; }
  .dash__body { grid-template-columns: 1fr; padding: var(--s4); }
  .chart { grid-column: span 1; padding: var(--s4); }
  .bars { height: 118px; }
  .plate { aspect-ratio: 4 / 3.4; }
  .hud { min-width: 0; padding: 11px 13px; }
  .hud--1 { inset-inline-start: 3%; } .hud--2 { inset-inline-end: 3%; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .qa summary { padding: var(--s4); font-size: .97rem; }
  .qa__a { padding: 0 var(--s4) var(--s4); }
  .cine { min-height: 0; }
}
@media (min-width: 1500px) { :root { --shell: 1340px; } }
