/* ============================================================
   WalletVerdict — marketing site
   Dark "tech-armored insurance" aesthetic on the product palette.
   Zero dependencies. System fonts only.
   ============================================================ */

:root {
  --bg0: #060a13;
  --bg1: #0b1120;
  --bg2: #0f1420;
  --panel: rgba(23, 30, 48, 0.55);
  --panel-solid: #141b2c;
  --line: rgba(91, 157, 255, 0.14);
  --line-hard: #273049;
  --text: #e8ecf4;
  --muted: #8b93a7;
  --muted2: #7a83a0;
  --accent: #5b9dff;
  --accent2: #3fd9c0;
  --green: #30a46c;
  --amber: #f5a623;
  --red: #e5484d;
  --glow: rgba(91, 157, 255, 0.32);
  --grad: linear-gradient(120deg, #5b9dff 0%, #3fd9c0 100%);
  --radius: 16px;
  --radius-lg: 22px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg0);
  color: var(--text);
  font: 16px/1.65 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* All copy is injected from assets/i18n.js via [data-i18n];
   html[lang] + html[dir] are set by app.js (fa renders RTL). */

::selection { background: rgba(91, 157, 255, 0.35); }

a { color: var(--accent); text-decoration: none; }

img { max-width: 100%; }

.mono { font-family: var(--mono); }

.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- ambient background ---------- */

.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(rgba(91, 157, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 157, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.25) 55%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.25) 55%, transparent 90%);
}

.bg-aurora {
  position: fixed; inset: 0; z-index: -4; pointer-events: none;
  background:
    radial-gradient(720px 480px at 78% -8%, rgba(91, 157, 255, 0.16), transparent 62%),
    radial-gradient(640px 420px at 12% 4%, rgba(63, 217, 192, 0.10), transparent 60%),
    radial-gradient(900px 700px at 50% 118%, rgba(91, 157, 255, 0.07), transparent 65%);
}

/* ---------- topbar ---------- */

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(8, 12, 22, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.topbar-inner {
  display: flex; align-items: center; gap: 26px;
  height: 66px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: 0.01em;
}
.brand svg { width: 32px; height: 32px; border-radius: 8px; }
.brand .v { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.nav a {
  color: var(--muted); font-size: 14px; padding: 7px 12px; border-radius: 8px;
  border: 1px solid transparent; transition: 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(91, 157, 255, 0.08); border-color: var(--line); }

.topbar-right { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }

.lang-select {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--line-hard); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b93a7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 11px center / 13px;
  color: var(--text); font: 600 12.5px/1.5 var(--font);
  padding: 6px 32px 6px 14px; cursor: pointer; max-width: 190px;
  transition: border-color 0.2s;
}
.lang-select:hover { border-color: rgba(91, 157, 255, 0.55); }
.lang-select option { background: var(--panel-solid); color: var(--text); }
[dir="rtl"] .lang-select { background-position: left 11px center; padding: 6px 14px 6px 32px; }

a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; font-weight: 700; font-size: 15px; line-height: 1;
  padding: 14px 24px; cursor: pointer; transition: transform 0.18s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #061020;
  box-shadow: 0 6px 26px rgba(91, 157, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(91, 157, 255, 0.5), inset 0 1px 0 rgba(255,255,255,0.35); }
.btn-ghost {
  color: var(--text); border-color: var(--line-hard);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(91, 157, 255, 0.1); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 158px 0 96px;
  overflow: hidden;
}
#particles {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  mask-image: linear-gradient(to bottom, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px; align-items: center;
}
.hero-copy, .hero-visual { min-width: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em;
  color: var(--accent2); border: 1px solid rgba(63, 217, 192, 0.28);
  background: rgba(63, 217, 192, 0.07);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 26px;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent2); position: relative; }
.pulse-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--accent2); animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

.hero h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.12; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero h1 .hl {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative; white-space: nowrap;
}
.hero-sub {
  color: var(--muted); font-size: 17.5px; max-width: 560px; margin-bottom: 34px;
}
.hero-sub b { color: var(--text); font-weight: 600; }
.verdict-words { font-family: var(--mono); font-size: 0.92em; }
.verdict-words .b { color: var(--red); }
.verdict-words .r { color: var(--amber); }
.verdict-words .a { color: var(--green); }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 12px 38px; width: fit-content;
}
.stat .num {
  font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--text);
  letter-spacing: -0.01em;
}
.stat .num .unit { font-size: 15px; color: var(--accent); }
.stat .lbl { font-size: 12.5px; color: var(--muted2); margin-top: 2px; }

/* ---------- hero demo terminal ---------- */

.hero-visual { position: relative; }

.radar { position: absolute; inset: -70px -40px; z-index: -1; pointer-events: none; }
.radar::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(91, 157, 255, 0.13) 0 1px, transparent 1px 72px);
  mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 72%);
}
.radar::after {
  content: ""; position: absolute; inset: 0;
  background: conic-gradient(from 0deg, rgba(63, 217, 192, 0.2), transparent 55deg);
  border-radius: 50%;
  mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 72%);
  animation: radarSpin 5.5s linear infinite;
}
@keyframes radarSpin { to { transform: rotate(360deg); } }

.demo-card {
  position: relative;
  max-width: 100%;
  background: rgba(13, 18, 32, 0.86);
  border: 1px solid var(--line-hard);
  border-radius: var(--radius-lg);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(91, 157, 255, 0.08),
    0 0 70px rgba(91, 157, 255, 0.12);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.demo-head {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px; border-bottom: 1px solid var(--line-hard);
  background: rgba(255, 255, 255, 0.025);
}
.demo-head .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.demo-title { margin-inline-start: 8px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; }
.demo-tag {
  margin-inline-start: auto; font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted2);
  border: 1px solid var(--line-hard); padding: 3px 8px; border-radius: 6px;
}
.demo-body { padding: 20px 22px 22px; min-height: 430px; display: flex; flex-direction: column; }

.demo-addr-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.chain-chip {
  font-size: 11px; letter-spacing: 0.08em; color: var(--accent);
  border: 1px solid rgba(91, 157, 255, 0.35); background: rgba(91, 157, 255, 0.1);
  padding: 4px 9px; border-radius: 7px; white-space: nowrap;
}
.demo-addr {
  flex: 1; min-width: 0; display: flex; align-items: center;
  background: #0a0f1c; border: 1px solid var(--line-hard); border-radius: 10px;
  padding: 10px 13px; font-size: 13px; color: var(--text);
  overflow: hidden; white-space: nowrap;
}
.caret {
  display: inline-block; width: 8px; height: 17px; margin-inline-start: 2px;
  background: var(--accent2); animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.demo-steps { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 6px; }
.demo-steps li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  opacity: 0; transform: translateX(-8px); transition: opacity 0.3s, transform 0.3s;
}
.demo-steps li.on { opacity: 1; transform: none; }
.demo-steps li.done { color: #a8b2c7; }
.step-ico {
  width: 16px; height: 16px; flex: 0 0 auto; border-radius: 50%; position: relative;
}
.step-ico.spin {
  border: 2px solid rgba(91, 157, 255, 0.25); border-top-color: var(--accent);
  animation: rot 0.7s linear infinite;
}
@keyframes rot { to { transform: rotate(360deg); } }
.step-ico.ok { background: rgba(48, 164, 108, 0.16); border: 1px solid rgba(48, 164, 108, 0.55); }
.step-ico.ok::after {
  content: ""; position: absolute; left: 4.5px; top: 3px; width: 5px; height: 8px;
  border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.step-ico.warn { background: rgba(245, 166, 35, 0.14); border: 1px solid rgba(245, 166, 35, 0.55); }
.step-ico.warn::after {
  content: "!"; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--amber); font: 700 10px/1 var(--mono);
}
.step-ico.bad { background: rgba(229, 72, 77, 0.14); border: 1px solid rgba(229, 72, 77, 0.6); }
.step-ico.bad::after {
  content: "\00d7"; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--red); font: 700 11px/1 var(--mono);
}

.demo-verdict {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 12px 0 14px; padding: 15px 18px;
  border-radius: 14px; border: 1px solid var(--line-hard);
  background: rgba(255, 255, 255, 0.02);
  opacity: 0; transform: translateY(10px); transition: opacity 0.45s, transform 0.45s, border-color 0.45s, background 0.45s;
}
.demo-verdict.show { opacity: 1; transform: none; }
.demo-verdict.v-approve { border-color: rgba(48, 164, 108, 0.5); background: rgba(48, 164, 108, 0.07); }
.demo-verdict.v-review  { border-color: rgba(245, 166, 35, 0.5); background: rgba(245, 166, 35, 0.06); }
.demo-verdict.v-block   { border-color: rgba(229, 72, 77, 0.55); background: rgba(229, 72, 77, 0.07); }

.verdict-pill {
  font-family: var(--mono); font-weight: 800; font-size: 23px; letter-spacing: 0.06em;
}
.v-approve .verdict-pill { color: var(--green); text-shadow: 0 0 22px rgba(48, 164, 108, 0.6); }
.v-review  .verdict-pill { color: var(--amber); text-shadow: 0 0 22px rgba(245, 166, 35, 0.55); }
.v-block   .verdict-pill { color: var(--red);   text-shadow: 0 0 22px rgba(229, 72, 77, 0.6); }
.verdict-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }

.score-ring { position: relative; width: 84px; height: 84px; flex: 0 0 auto; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .track { stroke: rgba(255, 255, 255, 0.08); }
.score-ring .val { stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.v-approve .val { stroke: var(--green); filter: drop-shadow(0 0 6px rgba(48,164,108,0.7)); }
.v-review  .val { stroke: var(--amber); filter: drop-shadow(0 0 6px rgba(245,166,35,0.7)); }
.v-block   .val { stroke: var(--red);   filter: drop-shadow(0 0 6px rgba(229,72,77,0.7)); }
.score-num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--mono); font-size: 21px; font-weight: 800;
}
.score-num .of { display: block; font-size: 9px; font-weight: 500; color: var(--muted2); text-align: center; }

.demo-evidence { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.demo-evidence li {
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; color: #b8c0d4; min-width: 0;
  background: rgba(255, 255, 255, 0.022); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px; padding: 7px 11px;
  opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s;
}
.demo-evidence li.on { opacity: 1; transform: none; }
.demo-evidence .ev-text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.demo-evidence .src {
  margin-inline-start: auto; flex: 0 0 auto; font-family: var(--mono); font-size: 10px;
  color: var(--muted2); border: 1px solid var(--line-hard);
  padding: 2px 7px; border-radius: 5px; white-space: nowrap;
}
.ev-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.ev-dot.g { background: var(--green); box-shadow: 0 0 8px rgba(48,164,108,0.8); }
.ev-dot.a { background: var(--amber); box-shadow: 0 0 8px rgba(245,166,35,0.8); }
.ev-dot.r { background: var(--red); box-shadow: 0 0 8px rgba(229,72,77,0.8); }

.demo-foot {
  margin-top: auto; padding-top: 14px; font-size: 11px; color: var(--muted2);
  letter-spacing: 0.05em; display: flex; justify-content: space-between; gap: 10px;
}

.scanline {
  position: absolute; left: 0; right: 0; height: 90px; top: -90px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(63, 217, 192, 0.09), rgba(63, 217, 192, 0.28));
  border-bottom: 1px solid rgba(63, 217, 192, 0.6);
  opacity: 0;
}
.demo-card.scanning .scanline { opacity: 1; animation: scanMove 1.9s linear infinite; }
@keyframes scanMove { from { transform: translateY(0); } to { transform: translateY(620px); } }

/* ---------- sections ---------- */

section { position: relative; padding: 96px 0; }
.sec-head { max-width: 720px; margin-bottom: 54px; }
.sec-eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.22em;
  color: var(--accent); margin-bottom: 14px; text-transform: uppercase;
}
.sec-eyebrow::before { content: "// "; color: var(--accent2); }
.sec-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 16px; }
.sec-sub { color: var(--muted); font-size: 16.5px; }

/* reveal on scroll — hidden only when JS is around to reveal it again */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- pain cards ---------- */

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card {
  border: 1px solid var(--line-hard); border-radius: var(--radius);
  padding: 28px 26px; background: var(--panel);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  position: relative; overflow: hidden; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.pain-card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 72, 77, 0.6), transparent);
}
.pain-card:hover { transform: translateY(-5px); border-color: rgba(229, 72, 77, 0.4); box-shadow: 0 18px 46px rgba(0,0,0,0.4); }
.pain-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(229, 72, 77, 0.1); border: 1px solid rgba(229, 72, 77, 0.3);
  margin-bottom: 18px; color: var(--red);
}
.pain-card h3 { font-size: 19px; margin-bottom: 10px; }
.pain-card p { color: var(--muted); font-size: 14.5px; }
.pain-bridge {
  margin-top: 44px; text-align: center; font-size: 19px; font-weight: 600;
}
.pain-bridge .hl { color: var(--accent2); }

/* ---------- feature grid ---------- */

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
  position: relative; border-radius: var(--radius); padding: 30px 26px;
  background: var(--panel); border: 1px solid var(--line-hard);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.3s;
  overflow: hidden;
}
.feat-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px 200px at 50% -10%, rgba(91, 157, 255, 0.14), transparent 70%);
}
.feat-card:hover { transform: translateY(-5px); border-color: rgba(91, 157, 255, 0.45); box-shadow: 0 18px 50px rgba(0,0,0,0.45), 0 0 40px rgba(91,157,255,0.1); }
.feat-card:hover::after { opacity: 1; }
.feat-num {
  font-family: var(--mono); font-size: 11.5px; color: var(--accent2); letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.feat-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(91, 157, 255, 0.1); border: 1px solid rgba(91, 157, 255, 0.32);
  color: var(--accent); margin-bottom: 18px;
}
.feat-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.feat-card p { color: var(--muted); font-size: 14.5px; }
.feat-card p b { color: #c6cede; font-weight: 600; }

/* ---------- how it works ---------- */

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step-card {
  position: relative; padding: 34px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23, 30, 48, 0.7), rgba(13, 18, 32, 0.7));
  border: 1px solid var(--line-hard); overflow: hidden;
}
.step-card .big {
  position: absolute; top: 6px; inset-inline-end: 16px; font-family: var(--mono);
  font-size: 84px; font-weight: 800; color: rgba(91, 157, 255, 0.08); line-height: 1;
}
.step-chip {
  display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em;
  color: var(--accent); border: 1px solid rgba(91, 157, 255, 0.35);
  padding: 4px 10px; border-radius: 7px; margin-bottom: 18px; background: rgba(91, 157, 255, 0.08);
}
.step-card h3 { font-size: 19px; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 14.5px; }
.steps-connector { display: none; }

/* ---------- sources ---------- */

.src-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.src-chip {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--line-hard); border-radius: 14px; padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02); transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.src-chip:hover { border-color: rgba(63, 217, 192, 0.5); transform: translateY(-3px); box-shadow: 0 0 34px rgba(63,217,192,0.08); }
.src-chip .name { font-weight: 700; font-size: 15.5px; display: flex; align-items: center; gap: 8px; }
.src-chip .name::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); flex: 0 0 auto; }
.src-chip .kind { font-family: var(--mono); font-size: 11px; color: var(--muted2); letter-spacing: 0.1em; }
.chain-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chain-pill {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  border: 1px solid var(--line-hard); border-radius: 999px; padding: 7px 16px;
  background: rgba(255, 255, 255, 0.02);
}
.chain-pill.deep { color: var(--accent2); border-color: rgba(63, 217, 192, 0.4); background: rgba(63, 217, 192, 0.06); }

/* ---------- insurance strip ---------- */

.insure {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(63, 217, 192, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(13, 18, 32, 0.6), rgba(9, 13, 24, 0.6));
}
.insure-inner { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.insure-shield { width: 148px; height: 148px; filter: drop-shadow(0 0 34px rgba(91, 157, 255, 0.35)); }
.insure h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.25; margin-bottom: 14px; letter-spacing: -0.01em; }
.insure h2 .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.insure p { color: var(--muted); font-size: 16.5px; max-width: 640px; }
.insure-points { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.insure-points .pt { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: #c6cede; font-weight: 600; }
.insure-points .pt::before {
  content: ""; width: 18px; height: 18px; flex: 0 0 auto; border-radius: 50%;
  background: rgba(63, 217, 192, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fd9c0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-11'/%3E%3C/svg%3E") center/11px no-repeat;
  border: 1px solid rgba(63, 217, 192, 0.45);
}

/* ---------- comparison ---------- */

.cmp-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line-hard); }
table.cmp {
  width: 100%; border-collapse: collapse; min-width: 760px;
  background: rgba(13, 18, 32, 0.7); font-size: 14.5px;
}
.cmp th, .cmp td { padding: 16px 20px; text-align: start; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: top; }
.cmp thead th {
  font-size: 13.5px; letter-spacing: 0.04em; color: var(--muted);
  background: rgba(255, 255, 255, 0.025); border-bottom: 1px solid var(--line-hard);
}
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp td:first-child { color: var(--muted); font-size: 13.5px; width: 17%; }
.cmp .col-wv { background: rgba(91, 157, 255, 0.06); border-left: 1px solid rgba(91, 157, 255, 0.3); border-right: 1px solid rgba(91, 157, 255, 0.3); }
.cmp thead .col-wv { color: var(--text); font-weight: 800; background: rgba(91, 157, 255, 0.12); border-top: 2px solid var(--accent); }
.cmp .good { color: var(--accent2); font-weight: 600; }
.cmp .bad { color: var(--muted2); }
.cmp-note { margin-top: 18px; color: var(--muted2); font-size: 13.5px; }

/* ---------- plans ---------- */

.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line-hard); border-radius: var(--radius);
  background: var(--panel); padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.3s;
}
.plan:hover { transform: translateY(-5px); border-color: rgba(91, 157, 255, 0.4); }
.plan.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(15, 21, 36, 0.96), rgba(15, 21, 36, 0.96)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(91, 157, 255, 0.14);
}
.plan-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; white-space: nowrap;
  background: var(--grad); color: #061020; padding: 4px 12px; border-radius: 999px;
}
.plan .aud { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent2); margin-bottom: 10px; text-transform: uppercase; }
.plan h3 { font-size: 21px; margin-bottom: 8px; }
.plan .desc { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; min-height: 60px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.plan li { display: flex; gap: 9px; font-size: 13.5px; color: #b8c0d4; }
.plan li::before {
  content: ""; margin-top: 3px; width: 14px; height: 14px; flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b9dff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13l5 5L20 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plan .btn { margin-top: auto; width: 100%; }
.plan-note { margin-top: 22px; text-align: center; color: var(--muted2); font-size: 13px; }

/* ---------- faq ---------- */

.faq-list { max-width: 800px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line-hard); border-radius: 14px; overflow: hidden;
  background: rgba(255, 255, 255, 0.02); transition: border-color 0.25s;
}
.faq-item[open] { border-color: rgba(91, 157, 255, 0.4); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-weight: 600; font-size: 15.5px; display: flex; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; margin-left: auto; font-family: var(--mono); font-size: 19px;
  color: var(--accent); transition: transform 0.25s; flex: 0 0 auto;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }
.faq-item .faq-body b { color: #c6cede; font-weight: 600; }

/* ---------- final CTA ---------- */

.final {
  text-align: center; padding: 130px 0 140px; position: relative; overflow: hidden;
}
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(640px 380px at 50% 62%, rgba(91, 157, 255, 0.16), transparent 70%);
}
.final h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.final h2 .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final p { color: var(--muted); font-size: 17px; margin-bottom: 36px; }
.final .btn-primary { font-size: 17px; padding: 18px 36px; border-radius: 14px; }
.final .fine { margin-top: 18px; font-size: 13px; color: var(--muted2); }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line); padding: 44px 0 54px;
  background: rgba(6, 9, 17, 0.8); font-size: 13.5px; color: var(--muted2);
}
.foot-grid { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 800; font-size: 16px; }
.foot-brand svg { width: 26px; height: 26px; border-radius: 6px; }
.foot-links { display: flex; gap: 22px; margin-inline-start: auto; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.disclaimer {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 900px; line-height: 1.7;
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero { padding-top: 130px; }
  .hero-sub { max-width: 100%; }
  .feat-grid, .pain-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .src-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .insure-inner { grid-template-columns: 1fr; text-align: left; }
  .insure-shield { width: 110px; height: 110px; }
  .nav { display: none; }
}
@media (max-width: 620px) {
  .feat-grid, .pain-grid, .steps-grid, .plan-grid, .src-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, auto); }
  .hero h1 { font-size: 34px; }
  .demo-body { min-height: 470px; }
  .container { width: calc(100% - 32px); }
  .topbar-inner { gap: 12px; }
  .btn-app-top { display: none; }
}


/* ---------- RTL (Farsi) ---------- */

[dir="rtl"] .demo-addr, [dir="rtl"] .chain-chip, [dir="rtl"] .demo-title,
[dir="rtl"] .demo-evidence .src, [dir="rtl"] .demo-foot, [dir="rtl"] .score-num,
[dir="rtl"] .step-chip, [dir="rtl"] .feat-num { direction: ltr; }
[dir="rtl"] .demo-steps li { transform: translateX(8px); }
[dir="rtl"] .demo-steps li.on { transform: none; }
[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(-3px); }

/* ---------- reduced motion ---------- */

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