/* ═══════════════════════════════════════════════════════════
   LiveQR landing — liveqr.me
   Brand token đồng bộ với app (apps/web/app/globals.css)
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #10141f;
  --panel: #1b2133;
  --panel-2: #222942;
  --line: #343d59;
  --text: #fbfcff;
  --muted: #c3cbdc;
  --muted-2: #a1abc0;
  --purple: #9b7cff;
  --purple-soft: rgba(155, 124, 255, 0.14);
  --purple-line: rgba(155, 124, 255, 0.38);
  --green: #5ee5a2;
  --green-soft: rgba(94, 229, 162, 0.12);
  --orange: #ffae70;
  --red: #ff6b7a;
  --red-soft: rgba(255, 107, 122, 0.14);
  --radius: 12px;
  --radius-lg: 18px;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-head: 'Be Vietnam Pro', var(--font-body);
  --shadow-card: 0 24px 60px -36px rgba(0, 0, 0, .7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; isolation: isolate; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(155, 124, 255, .18), transparent 55%),
    radial-gradient(820px 480px at -8% 12%, rgba(94, 229, 162, .08), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; margin: 0 0 12px; letter-spacing: -.02em; }
p { margin: 0 0 12px; }
a { color: inherit; text-decoration: none; }
img, svg { vertical-align: middle; }
section[id] { scroll-margin-top: 84px; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(760px, 100% - 40px); }

.grad {
  background: linear-gradient(100deg, #c4b0ff 8%, var(--purple) 42%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 11px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #b49aff 0%, var(--purple) 100%);
  color: #0b0d13;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 28px -10px rgba(155, 124, 255, .7);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 14px 36px -10px rgba(155, 124, 255, .85); }
.btn-ghost { background: rgba(255,255,255,.02); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--purple-line); background: var(--purple-soft); }
.btn-danger-ghost { background: transparent; color: var(--red); border-color: rgba(255, 107, 122, .35); }
.btn-danger-ghost:hover { background: var(--red-soft); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ── Header ──────────────────────────────────────────────── */
.site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 20, 31, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(16, 20, 31, .92); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 9px; color: var(--purple); background: var(--purple-soft);
  border: 1px solid var(--purple-line);
  box-shadow: 0 0 0 1px rgba(155, 124, 255, .08), 0 8px 20px -10px rgba(155, 124, 255, .6);
}
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: .01em; }

.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.main-nav a:not(.nav-cta-mobile) { color: var(--muted); transition: color .15s; }
.main-nav a:not(.nav-cta-mobile):hover { color: var(--text); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 42px; height: 42px; padding: 10px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; padding: 80px 0 48px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px 6px 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: #d6cbff; background: var(--purple-soft);
  border: 1px solid var(--purple-line); border-radius: 999px;
}
.kicker-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(94, 229, 162, .16); animation: pulse 1.8s infinite;
}
.hero h1 { font-size: clamp(32px, 4.8vw, 52px); letter-spacing: -.03em; margin-bottom: 16px; }
.hero-sub { color: var(--muted); font-size: 17.5px; line-height: 1.65; max-width: 48ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-cta.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero-points li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
.hero-points strong { color: var(--text); }
.hero-points .check {
  display: grid; place-items: center; width: 18px; height: 18px; flex-shrink: 0;
  border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 11px; font-weight: 700;
}
.platform-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  margin-top: 22px; color: var(--muted-2); font-size: 13px;
}
.platform-row b { font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-size: 11.5px; }
.plat {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 8px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  color: var(--muted); font-size: 13px; font-weight: 600;
}

/* mock stream visual */
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute; inset: 8% -8% -12% 8%;
  background:
    radial-gradient(closest-side, rgba(155, 124, 255, .28), transparent 70%),
    radial-gradient(closest-side at 80% 80%, rgba(94, 229, 162, .16), transparent 68%);
  filter: blur(18px); z-index: 0;
}
.mock-stream {
  position: relative; z-index: 1;
  background: var(--panel); border: 1px solid rgba(155, 124, 255, .22); border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03),
    0 30px 80px -28px rgba(0, 0, 0, .78),
    0 0 80px -24px rgba(155, 124, 255, .35);
}
.mock-topbar, .obs-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em;
  color: var(--muted); border-bottom: 1px solid var(--line); background: #191f31;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,107,122,.5);} 50% { opacity: .55; box-shadow: 0 0 0 5px rgba(255,107,122,0);} }

.mock-scene, .obs-scene {
  position: relative; aspect-ratio: 16 / 9.4;
  background:
    radial-gradient(700px 340px at 18% 0%, rgba(155, 124, 255, .16), transparent 60%),
    radial-gradient(560px 320px at 95% 100%, rgba(94, 229, 162, .1), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent 30%),
    #181e30;
  display: grid; place-items: center;
}
.mock-cam {
  display: grid; place-items: center; gap: 4px;
  width: 118px; height: 118px; border-radius: 16px;
  background: #1b2133; border: 1px solid var(--line); color: var(--muted);
}
.mock-cam small { font-size: 10.5px; }

.mock-eq {
  position: absolute; right: 16px; bottom: 14px; display: flex; align-items: flex-end; gap: 3px; height: 26px;
}
.mock-eq i { width: 4px; border-radius: 2px; background: var(--green); opacity: .85; animation: eq 1.1s ease-in-out infinite; }
.mock-eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.mock-eq i:nth-child(2) { height: 90%; animation-delay: .18s; }
.mock-eq i:nth-child(3) { height: 55%; animation-delay: .36s; }
.mock-eq i:nth-child(4) { height: 100%; animation-delay: .1s; }
.mock-eq i:nth-child(5) { height: 65%; animation-delay: .28s; }
@keyframes eq { 0%, 100% { transform: scaleY(.45);} 50% { transform: scaleY(1);} }

/* alert card in hero mock */
.mock-alert {
  position: absolute; left: 16px; bottom: 16px; max-width: 78%;
  display: grid; gap: 7px; padding: 14px 16px;
  background: rgba(27, 33, 51, .97); border: 1px solid var(--purple-line); border-radius: 14px;
  box-shadow: 0 14px 44px -12px rgba(155, 124, 255, .45);
  animation: alertIn .8s cubic-bezier(.2, 1.2, .3, 1) both;
}
@keyframes alertIn {
  from { opacity: 0; transform: translateX(-30px) scale(.88); }
  60% { opacity: 1; transform: translateX(4px) scale(1.04); }
  to { opacity: 1; transform: none; }
}
.mock-alert-head, .obs-alert-head { display: flex; align-items: center; gap: 12px; font-size: 16.5px; }
.mock-avatar, .obs-alert-avatar {
  display: grid; place-items: center; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #6c5ce7); color: #0b0d13; font-weight: 700; font-size: 17px;
}
.amt { color: var(--green); font-weight: 700; }
.mock-msg, .obs-alert-msg { margin: 0; font-size: 16px; color: var(--text); }
.mock-tts { font-size: 15px; font-weight: 600; color: #ffd0a8; }
.obs-alert-tts { font-size: 15px; color: #ffd0a8; font-weight: 600; }

.mock-qrchip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; font-size: 14px; font-weight: 600; color: #0b1226;
  background: var(--green); border-top: 1px solid var(--line);
}
.mock-qrchip b { color: #0b0d13; font-weight: 700; }

/* ── Trust strip ─────────────────────────────────────────── */
.trust-strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 30, 48, .92), rgba(20, 25, 39, .6));
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 8px 0;
}
.trust-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 22px; font-size: 14px; color: var(--muted); line-height: 1.45;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--green); white-space: nowrap;
  letter-spacing: -.03em;
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(24, 30, 48, .7), rgba(16, 20, 31, .35));
  border-block: 1px solid var(--line);
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-sub { color: var(--muted); font-size: 16.5px; line-height: 1.65; }

/* ── Demo ────────────────────────────────────────────────── */
.demo-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; align-items: start; }

.panel {
  background: linear-gradient(180deg, #1e253a 0%, var(--panel) 100%);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.panel-tag {
  display: inline-block; margin-bottom: 16px; padding: 5px 12px;
  font-size: 12.5px; font-weight: 600; color: var(--purple);
  background: var(--purple-soft); border: 1px solid var(--purple-line); border-radius: 999px;
}
.panel-tag.green { color: var(--green); background: var(--green-soft); border-color: rgba(94, 229, 162, .3); }
.panel-divider { height: 1px; background: var(--line); margin: 20px 0; }

.viewer-profile { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.viewer-profile > div { min-width: 0; overflow-wrap: anywhere; }
.viewer-avatar {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #2fb57a); color: #0b0d13; font-weight: 700; font-size: 18px;
}
.viewer-profile b { display: block; font-size: 15.5px; }
.viewer-profile small { color: var(--muted); font-size: 13.5px; }

.field-label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input {
  width: 100%; padding: 12px 13px; font: inherit; font-size: 15.5px;
  color: var(--text); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 10px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #97a2b8; }
.field input:focus { border-color: var(--purple-line); box-shadow: 0 0 0 3px var(--purple-soft); }

.amount-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.amount-chip {
  padding: 11px 4px; font: inherit; font-size: 15px; font-weight: 600;
  color: var(--muted); background: var(--panel-2); border: 1px solid var(--line); border-radius: 9px;
  cursor: pointer; transition: all .15s;
}
.amount-chip:hover { border-color: var(--purple-line); color: var(--text); }
.amount-chip.selected { color: #0b0d13; background: var(--purple); border-color: var(--purple); }

#donateBtn { margin-top: 4px; }
#toxicBtn { margin-top: 10px; }

.demo-hints { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--panel-2); border: 1px dashed var(--line); }
.demo-hints p { margin: 0; font-size: 14px; color: var(--muted); }
.demo-hints strong { color: var(--text); }

.interact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* OBS frame */
.obs-frame { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.obs-scene { aspect-ratio: 16 / 9.4; }
.obs-idle {
  position: absolute; inset: auto 16px 16px 16px; padding: 16px;
  font-size: 15px; color: var(--muted); text-align: left;
  background: rgba(27, 33, 51, .9); border: 1px dashed #3a4156; border-radius: 12px;
  transition: opacity .3s;
}
.obs-idle.hidden { display: none; }

.obs-alert {
  position: absolute; left: 16px; bottom: 16px; max-width: 84%;
  display: grid; gap: 8px; padding: 18px 20px;
  background: rgba(27, 33, 51, .97); border: 1px solid var(--purple-line); border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(155, 124, 255, .18), 0 18px 60px -12px rgba(155, 124, 255, .6);
  animation: alertIn .55s cubic-bezier(.2, 1.35, .3, 1) both;
}
.obs-alert.hidden { display: none; }
.obs-alert.out { animation: alertOut .35s ease both; }
@keyframes alertOut { to { opacity: 0; transform: translateX(-18px) scale(.96); } }
.obs-alert-who { font-size: 17px; }
.obs-alert-msg { min-height: 22px; font-size: 16.5px; line-height: 1.45; }
.caret { display: inline-block; width: 2px; height: 18px; margin-left: 2px; background: var(--green); animation: blink .8s step-end infinite; vertical-align: -3px; }
@keyframes blink { 50% { opacity: 0; } }
.obs-alert-tts { font-size: 15px; color: #ffd0a8; font-weight: 600; }

.queue-badge {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 15px; font-size: 14px; font-weight: 600;
  color: var(--text); background: rgba(28, 34, 54, .95);
  border: 1px solid var(--purple-line); border-radius: 999px;
}
.queue-badge.hidden { display: none; }
.queue-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--purple); animation: pulse 1.2s infinite; }

.mod-toast {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 6;
  display: grid; gap: 3px; max-width: 86%;
  padding: 13px 18px; font-size: 14px; text-align: center;
  background: rgba(34, 16, 20, .94); border: 1px solid rgba(255, 107, 122, .45); border-radius: 12px;
  animation: shake .45s ease;
}
.mod-toast.hidden { display: none; }
.mod-toast b { color: var(--red); }
.mod-toast span { color: var(--muted); }
@keyframes shake {
  0%, 100% { transform: translateX(-50%); }
  20% { transform: translateX(calc(-50% - 7px)); }
  40% { transform: translateX(calc(-50% + 7px)); }
  60% { transform: translateX(calc(-50% - 4px)); }
  80% { transform: translateX(calc(-50% + 4px)); }
}

/* wheel overlay */
.wheel-overlay {
  position: absolute; inset: 0; z-index: 8;
  display: grid; place-items: center;
  background: rgba(8, 10, 15, .82); backdrop-filter: blur(4px);
  animation: fadeIn .3s ease both;
}
.wheel-overlay.hidden { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.wheel-box { display: grid; justify-items: center; gap: 16px; }
.wheel { position: relative; width: 230px; height: 230px; }
.wheel-inner {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(
    #9b7cff 0deg 60deg, #6c5ce7 60deg 120deg, #5ee5a2 120deg 180deg,
    #2fb57a 180deg 240deg, #ffae70 240deg 300deg, #b06ab3 300deg 360deg
  );
  border: 5px solid #39415e;
  box-shadow: 0 0 0 6px rgba(155, 124, 255, .18), inset 0 0 24px rgba(0, 0, 0, .45);
  transform: rotate(0deg);
  transition: transform 4.2s cubic-bezier(.15, .85, .18, 1);
  will-change: transform;
}
.wheel-label {
  position: absolute; left: 50%; top: 50%;
  width: 26px; height: 26px; margin: -13px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px;
  background: #1b2133; border: 1px solid var(--line);
}
.wheel-pointer {
  position: absolute; left: 50%; top: -9px; transform: translateX(-50%); z-index: 2;
  width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent;
  border-top: 16px solid var(--green);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6));
}
.wheel-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: #1b2133; border: 3px solid var(--purple);
  display: grid; place-items: center; font-size: 15px;
}
.wheel-result { margin: 0; font-family: var(--font-head); font-size: 18px; font-weight: 600; background: rgba(18, 21, 30, .9); padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line); }

/* vote overlay */
.vote-overlay {
  position: absolute; inset: 0; z-index: 8;
  display: grid; place-items: center;
  background: rgba(8, 10, 15, .82); backdrop-filter: blur(4px);
  animation: fadeIn .3s ease both;
}
.vote-overlay.hidden { display: none; }
.vote-box {
  display: grid; gap: 16px; width: min(460px, 90%);
  padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
}
.vote-q { margin: 0; font-family: var(--font-head); font-size: 20px; font-weight: 600; text-align: center; }
.vote-bars { display: grid; gap: 12px; }
.vote-opt {
  display: grid; grid-template-columns: 140px 1fr 52px; align-items: center; gap: 12px;
  padding: 13px 14px; font: inherit; text-align: left;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  transition: border-color .15s, transform .1s;
}
.vote-opt:hover { border-color: var(--purple-line); }
.vote-opt:active { transform: scale(.98); }
.vote-label { font-size: 15px; font-weight: 600; }
.vote-bar { display: block; height: 13px; background: #181e30; border-radius: 999px; overflow: hidden; }
.vote-bar i { display: block; height: 100%; width: 50%; border-radius: 999px; background: linear-gradient(90deg, var(--purple), var(--green)); transition: width .5s ease; }
.vote-pct { font-family: var(--font-head); font-size: 17px; font-weight: 700; text-align: right; }
.vote-total { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.vote-box .btn { justify-self: center; }

.obs-caption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.obs-caption strong { color: var(--text); }

/* ── Steps ───────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step-card {
  position: relative; padding: 28px 24px;
  background: linear-gradient(180deg, #1e253a, var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.step-num {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  color: #0b0d13; background: linear-gradient(135deg, var(--purple), var(--green)); border-radius: 12px;
}
.step-card h3 { font-size: 18px; }
.step-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step-card b { color: var(--text); }
@media (min-width: 981px) {
  .steps-grid::before {
    content: "";
    position: absolute; top: 48px; left: 16%; right: 16%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-line), var(--green), transparent);
    pointer-events: none;
  }
}

/* ── Features ────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  padding: 26px 24px;
  background: linear-gradient(180deg, #1e253a, var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--purple-line);
  box-shadow: 0 28px 60px -32px rgba(155, 124, 255, .45);
}
.feature-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
  color: var(--purple); background: var(--purple-soft); border: 1px solid var(--purple-line); border-radius: 12px;
}
.feature-card h3 { font-size: 17.5px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.feature-card em { color: var(--orange); font-style: normal; font-weight: 600; }

/* ── Compare table ───────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); box-shadow: var(--shadow-card); }
.compare-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th {
  font-family: var(--font-head); font-size: 15px; background: var(--panel-2);
  position: sticky; top: 0;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(155, 124, 255, .04); }
.col-criteria { color: var(--muted); font-weight: 500; min-width: 210px; }
.col-liveqr {
  background: var(--purple-soft);
  border-inline: 1px solid var(--purple-line);
}
.compare-table thead .col-liveqr { color: var(--purple); font-size: 15.5px; }
.liveqr-badge {
  display: inline-block; margin-left: 6px; padding: 2px 7px; vertical-align: 2px;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  color: #0b1226; background: var(--green); border-radius: 999px;
}
.compare-table td.ok { color: var(--green); font-weight: 700; }
.compare-table td.no { color: #9aa4bc; }
.compare-table td.muted { color: var(--muted); }
.table-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px;
  padding: 40px; background: linear-gradient(160deg, #221c3c 0%, var(--panel) 48%, #172033 100%);
  border: 1px solid var(--purple-line); border-radius: 22px;
  box-shadow: 0 30px 90px -40px rgba(155, 124, 255, .5);
}
.pricing-card::before {
  content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -120px;
  background: radial-gradient(circle, rgba(155, 124, 255, .22), transparent 68%);
  pointer-events: none;
}
.pricing-badge {
  display: inline-block; margin-bottom: 12px; padding: 5px 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #0b1226; background: var(--green); border-radius: 999px;
}
.pricing-left, .pricing-right { position: relative; z-index: 1; }
.pricing-left h3 { font-size: 26px; }
.pricing-points { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pricing-points li { position: relative; padding-left: 30px; color: var(--muted); font-size: 15.5px; }
.pricing-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 21px; height: 21px;
  font-size: 12px; font-weight: 700; color: var(--green);
  background: var(--green-soft); border: 1px solid rgba(94, 229, 162, .3); border-radius: 50%;
}
.pricing-points strong { color: var(--text); }
.pricing-right { display: grid; gap: 12px; align-content: center; }
.pricing-contact-label { margin: 0 0 4px; font-size: 14px; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: linear-gradient(180deg, #1e253a, var(--panel)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--purple-line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 18px 20px; font: inherit; font-size: 16px; font-weight: 600; text-align: left;
  color: var(--text); background: transparent; border: 0; cursor: pointer;
}
.faq-icon { position: relative; flex-shrink: 0; width: 12px; height: 12px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 2px;
  background: var(--purple); border-radius: 2px; transition: transform .25s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-icon::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > p { overflow: hidden; margin: 0; padding: 0 20px; color: var(--muted); font-size: 15.5px; opacity: 0; transition: opacity .25s ease, padding .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { opacity: 1; padding: 0 20px 18px; }
.faq-a a { color: var(--purple); font-weight: 600; }
.faq-a b { color: var(--text); }

/* ── Final CTA ───────────────────────────────────────────── */
.final-cta { position: relative; text-align: center; padding: 120px 0; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 10% 10% auto; height: 280px;
  background: radial-gradient(ellipse at center, rgba(155, 124, 255, .18), transparent 70%);
  pointer-events: none;
}
.final-cta h2 { font-size: clamp(28px, 4vw, 44px); }
.final-cta p { color: var(--muted); font-size: 17px; max-width: 42ch; margin-inline: auto; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: #121722; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand p { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; max-width: 30ch; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 { margin: 0 0 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer-col a { font-size: 14.5px; color: var(--text); opacity: .82; transition: opacity .15s, color .15s; }
.footer-col a:hover { opacity: 1; color: var(--purple); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; font-size: 13px; color: var(--muted); }

/* ── Reveal animation ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.features-grid .reveal:nth-child(2) { transition-delay: .06s; }
.features-grid .reveal:nth-child(3) { transition-delay: .12s; }
.features-grid .reveal:nth-child(4) { transition-delay: .04s; }
.features-grid .reveal:nth-child(5) { transition-delay: .1s; }
.features-grid .reveal:nth-child(6) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .wheel-inner { transition-duration: 4.2s !important; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .demo-grid { grid-template-columns: 1fr; }
  .steps-grid, .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card { grid-template-columns: 1fr; gap: 26px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust-item:nth-last-child(-n+2) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(1160px, 100% - 32px); }
  .section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .hero-cta .btn { width: 100%; }
  .btn { white-space: normal; }

  .menu-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #191f31; border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 15px 24px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-cta-mobile { display: block; color: var(--purple); font-weight: 700; }

  .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 0; padding: 8px 0; }
  .hero h1 { font-size: 30px; }
  .kicker { white-space: normal; line-height: 1.4; }
  .trust-item { border-right: none !important; border-bottom: 1px solid var(--line); padding: 18px 4px; }
  .trust-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: none; }
  .field-row, .interact-grid { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .mock-alert, .obs-alert { max-width: 86%; }
  .vote-opt { grid-template-columns: 1fr 40px; }
  .vote-opt .vote-label { grid-column: 1 / -1; }
}
