:root {
  --bg: #070912;
  --bg-raised: #0e1120;
  --bg-card: #11152a;
  --bg-deep: #04050b;
  --line: rgba(140, 160, 220, 0.16);
  --line-soft: rgba(140, 160, 220, 0.09);
  --text: #eef1fb;
  --text-soft: #9aa3c4;
  --text-dim: #646d92;
  --accent: #2fe3c9;
  --accent-strong: #1fc8b0;
  --accent-ink: #04201c;
  --accent-2: #6f8bff;
  --accent-glow: rgba(47, 227, 201, 0.35);
  --blue: #5b9dff;
  --purple: #a06bff;
  --green: #34d399;
  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --maxw: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 680px at 50% -10%, rgba(47, 227, 201, 0.10), transparent 60%),
    radial-gradient(1000px 560px at 92% 2%, rgba(111, 139, 255, 0.12), transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - 40px, var(--maxw));
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 9, 18, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.topbar-inner {
  width: min(100% - 24px, var(--maxw));
  margin: 0 auto;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(47, 227, 201, 0.25);
}

.brand-name {
  display: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(140, 160, 220, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  flex: 0 0 auto;
  max-width: calc(100vw - 64px);
  overflow-x: auto;
  scrollbar-width: none;
}
.lang-switch::-webkit-scrollbar { display: none; }

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 0 6px;
  height: 32px;
  min-width: 32px;
  border-radius: 999px;
  text-align: center;
  flex: 0 0 auto;
  transition: color 0.15s, background 0.15s;
}
.lang-btn:hover { color: var(--text); }

.lang-btn.is-active {
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 14px rgba(47, 227, 201, 0.3);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0 40px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  width: 820px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47, 227, 201, 0.20), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 160, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 160, 220, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 90%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 90%);
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  animation: blobFloat 14s ease-in-out infinite;
}
.hero-blob-1 {
  width: 280px; height: 280px;
  top: 12%; left: -60px;
  background: radial-gradient(circle, rgba(47, 227, 201, 0.4), transparent 70%);
}
.hero-blob-2 {
  width: 320px; height: 320px;
  bottom: 6%; right: -80px;
  background: radial-gradient(circle, rgba(111, 139, 255, 0.4), transparent 70%);
  animation-delay: -7s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -24px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.hero-copy { text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 13px;
  border: 1px solid rgba(47, 227, 201, 0.3);
  border-radius: 999px;
  background: rgba(47, 227, 201, 0.07);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.85);
  flex: 0 0 auto;
}

.hero h1 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(180deg, #ffffff, #c4ccea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 20px 0 0;
  max-width: 480px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 800;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.btn:hover::after { transform: translateX(120%); }

.btn:active { transform: scale(0.98); }

.btn svg { width: 17px; height: 17px; flex: 0 0 auto; position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--accent-ink);
  box-shadow: 0 12px 32px rgba(47, 227, 201, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(47, 227, 201, 0.42);
}

.btn-ghost {
  background: rgba(140, 160, 220, 0.04);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(140, 160, 220, 0.34);
  background: rgba(140, 160, 220, 0.08);
}

.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 15px;
}

.hero-proof {
  margin: 22px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 192, 127, 0.14);
  flex: 0 0 auto;
}

/* Hero visual: radar orb */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.radar-orb {
  position: relative;
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(47, 227, 201, 0.22);
  inset: 0;
  animation: ringPulse 6s ease-out infinite;
}
.orb-ring:nth-child(2) { inset: 24px; animation-delay: 2s; }
.orb-ring:nth-child(3) { inset: 48px; animation-delay: 4s; }

@keyframes ringPulse {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.05); opacity: 0; }
}

.orb-core {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(47, 227, 201, 0.9), rgba(111, 139, 255, 0.85));
  box-shadow: 0 0 50px rgba(47, 227, 201, 0.55);
  animation: corePulse 3s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 50px rgba(47, 227, 201, 0.5); }
  50% { transform: scale(1.06); box-shadow: 0 0 70px rgba(47, 227, 201, 0.7); }
}

.orb-sweep {
  position: absolute;
  inset: 48px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(47, 227, 201, 0.45), transparent 38%);
  animation: spin 4s linear infinite;
  mask: radial-gradient(circle, transparent 0, #000 1px);
}
@keyframes spin { to { transform: rotate(360deg); } }

.orb-blip {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: blip 2.4s ease-in-out infinite;
}
.orb-blip-1 { top: 30%; left: 22%; }
.orb-blip-2 { top: 64%; left: 70%; animation-delay: 0.8s; }
.orb-blip-3 { top: 74%; left: 34%; animation-delay: 1.6s; }
@keyframes blip {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-radar {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.hero-radar::-webkit-scrollbar { display: none; }

.hero-scan {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 30px;
  background: var(--accent);
  border-radius: 3px;
  transform: translateY(-50%);
  opacity: 0;
  animation: radarSweep 7s linear infinite;
}
@keyframes radarSweep {
  0% { left: 0; opacity: 0; }
  6% { opacity: 0.85; }
  94% { opacity: 0.85; }
  100% { left: calc(100% - 3px); opacity: 0; }
}

.radar-chip {
  flex: 0 0 auto;
  background: rgba(140, 160, 220, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  backdrop-filter: blur(6px);
}

/* ---------- Section rhythm ---------- */
.section, .radar-section, .stats-section, .final-cta {
  padding: 60px 0 0;
}

.radar-section { padding-top: 30px; }

.section-head {
  text-align: center;
  margin-bottom: 28px;
}
.section-head .eyebrow { margin-bottom: 14px; }

.section-sub {
  margin: 14px auto 0;
  max-width: 520px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* ---------- Radar / countdown card ---------- */
.radar-card {
  background:
    linear-gradient(180deg, rgba(20, 25, 52, 0.92), rgba(12, 15, 32, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}
.radar-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(47, 227, 201, 0.12), transparent 70%);
  pointer-events: none;
}

.radar-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.radar-head .eyebrow { margin-bottom: 8px; }
.radar-head h2 { font-size: 26px; }

.radar-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-top: 4px;
  padding: 6px 11px;
  border: 1px solid rgba(52, 192, 127, 0.3);
  border-radius: 999px;
  background: rgba(52, 192, 127, 0.1);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.radar-live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.radar-sub {
  position: relative;
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.countdown {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.count-cell {
  background: linear-gradient(180deg, rgba(8, 10, 22, 0.7), rgba(5, 6, 13, 0.8));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 6px 13px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.count-cell::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 60%; height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.count-cell strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(180deg, #ffffff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.count-cell span {
  display: block;
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.window-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.window-chip {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(140, 160, 220, 0.05);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
}

/* ---------- Quiz ---------- */
.quiz-shell {
  background: linear-gradient(180deg, rgba(20, 25, 52, 0.9), rgba(12, 15, 32, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.quiz-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 800;
}
.quiz-topline span:last-child { color: var(--accent); text-align: right; }

.quiz-progress, .reveal-progress {
  height: 6px;
  background: rgba(8, 10, 22, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  overflow: hidden;
}
.quiz-progress { margin: 14px 0 20px; }
.quiz-progress span, .reveal-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

.quiz-body h3 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.option-card {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  background: rgba(8, 10, 22, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--text);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.option-card:hover {
  border-color: rgba(47, 227, 201, 0.4);
  background: rgba(47, 227, 201, 0.05);
  transform: translateY(-2px);
}
.option-card:active { transform: scale(0.98); }
.option-card.is-selected {
  border-color: var(--accent);
  background: rgba(47, 227, 201, 0.1);
  box-shadow: 0 10px 26px rgba(47, 227, 201, 0.18);
}
.option-index {
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.option-card > span:last-child {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
}

.quiz-back {
  margin-top: 16px;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 0;
}
.quiz-back:hover { color: var(--text); }

/* ---------- Match ---------- */
.match-shell { padding-bottom: 4px; }
.match-banner {
  margin: 0 0 16px;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}
.match-card {
  background: linear-gradient(180deg, rgba(20, 25, 52, 0.92), rgba(12, 15, 32, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.reveal-stage {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px;
  position: relative;
}
.scanner {
  width: 108px; height: 108px;
  border: 1px solid rgba(47, 227, 201, 0.35);
  border-radius: var(--radius);
  background: rgba(47, 227, 201, 0.05);
  position: relative;
  overflow: hidden;
}
.scanner::before {
  content: "";
  position: absolute;
  left: 9%; right: 9%; top: 8%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: scan 1.5s linear infinite;
}
@keyframes scan { 0% { top: 8%; } 100% { top: 88%; } }
.reveal-stage p { margin: 0; color: var(--text-soft); font-size: 14px; font-weight: 800; }
.reveal-progress { width: min(100%, 260px); }

.match-content { padding: 22px; }
.match-top { display: flex; align-items: center; gap: 14px; }
.match-art {
  width: 64px; height: 64px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 900;
  box-shadow: 0 8px 22px rgba(47, 227, 201, 0.3);
}
.match-id { min-width: 0; flex: 1; }
.match-tag {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.4px;
}
.match-id strong {
  display: block;
  margin-top: 5px;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 900;
}
.reward-chip {
  display: inline-block;
  margin-top: 7px;
  padding: 4px 9px;
  border: 1px solid rgba(47, 227, 201, 0.3);
  border-radius: 999px;
  background: rgba(47, 227, 201, 0.12);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
}
.status-chip {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(140, 160, 220, 0.05);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
}
.status-chip.is-live { color: var(--green); border-color: rgba(52, 192, 127, 0.3); background: rgba(52, 192, 127, 0.1); }
.status-chip.is-points { color: var(--blue); border-color: rgba(79, 139, 255, 0.32); background: rgba(79, 139, 255, 0.1); }

.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.fact {
  background: rgba(8, 10, 22, 0.5);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  min-width: 0;
}
.fact span { display: block; color: var(--text-dim); font-size: 10px; font-weight: 800; letter-spacing: 0.4px; }
.fact strong { display: block; margin-top: 5px; color: var(--text); font-size: 12.5px; font-weight: 800; overflow-wrap: anywhere; }

.match-thesis { margin: 0 0 20px; color: var(--text-soft); font-size: 14px; line-height: 1.65; }
.match-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }

.text-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 800;
  padding: 10px;
}
.text-btn:hover { color: var(--text); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 12px; }
.step {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 25, 52, 0.9), rgba(12, 15, 32, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.step::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.7;
}
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 227, 201, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
}
.step-num {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
}
.step h3 { margin: 12px 0 8px; font-size: 18px; line-height: 1.3; font-weight: 900; }
.step p { margin: 0; color: var(--text-soft); font-size: 13.5px; line-height: 1.65; }

/* ---------- Categories ---------- */
.cat-list { display: grid; gap: 10px; }
.cat-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, rgba(20, 25, 52, 0.9), rgba(12, 15, 32, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.cat-row:hover {
  transform: translateX(4px);
  border-color: rgba(47, 227, 201, 0.3);
  background: rgba(47, 227, 201, 0.04);
}
.cat-check {
  width: 28px; height: 28px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: rgba(47, 227, 201, 0.12);
  border: 1px solid rgba(47, 227, 201, 0.32);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.cat-check svg { width: 15px; height: 15px; }

/* ---------- Tools ---------- */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 52px;
  padding: 0 16px;
  background: rgba(140, 160, 220, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 800;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.tool-chip:hover {
  border-color: rgba(47, 227, 201, 0.45);
  background: rgba(47, 227, 201, 0.07);
  transform: translateY(-2px);
}
.tool-chip svg { width: 15px; height: 15px; color: var(--accent); flex: 0 0 auto; }

/* ---------- Stats ---------- */
.stats-head { text-align: center; margin-bottom: 28px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 25, 52, 0.9), rgba(12, 15, 32, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.stat::after {
  content: "";
  position: absolute;
  bottom: -30%; left: 50%;
  width: 70%; height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(47, 227, 201, 0.14), transparent 70%);
}
.stat:hover { transform: translateY(-3px); border-color: rgba(47, 227, 201, 0.3); }
.stat strong {
  position: relative;
  display: block;
  color: var(--accent);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.stat span {
  position: relative;
  display: block;
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 700;
}

/* ---------- Final CTA ---------- */
.final-inner {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 28, 58, 0.95), rgba(12, 15, 32, 0.97));
  border: 1px solid rgba(47, 227, 201, 0.22);
  border-radius: var(--radius-lg);
  padding: 40px 26px;
  text-align: center;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}
.final-inner::before {
  content: "";
  position: absolute;
  top: -50%; left: 50%;
  width: 480px; height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(47, 227, 201, 0.16), transparent 70%);
  pointer-events: none;
}
.final-inner .eyebrow { margin-bottom: 14px; position: relative; }
.final-inner h2 { position: relative; font-size: 30px; }
.final-inner > p:not(.eyebrow) {
  position: relative;
  margin: 14px auto 0;
  max-width: 440px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}
.final-actions {
  position: relative;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 60px;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line-soft);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
}
.footer-links a:hover { color: var(--text); }
.footer-note, .footer-risk {
  margin: 0;
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.65;
  max-width: 520px;
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  .radar-card, .quiz-shell, .match-card, .step, .cat-row, .tool-chip,
  .stat, .final-inner, .section-head, .stats-head {
    animation: revealUp 0.7s ease both;
    animation-timeline: view();
    animation-range: entry 2% cover 26%;
  }
  @keyframes revealUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob, .orb-ring, .orb-core, .orb-sweep, .orb-blip,
  .hero-scan, .btn::after, .radar-live i, .scanner::before {
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (min-width: 430px) {
  .brand-name { display: inline; }
  .lang-btn { min-width: 36px; padding: 0 8px; }
}

@media (max-width: 760px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .hero-copy { text-align: center; }
  .hero h1 { margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: 2; }
  .radar-orb { width: 220px; height: 220px; }
}

@media (min-width: 760px) {
  .section, .radar-section, .stats-section, .final-cta { padding-top: 72px; }
  .radar-section { padding-top: 36px; }

  h2 { font-size: 34px; }
  .radar-head h2, .section-head h2, .stats-head h2, .final-inner h2 { font-size: 32px; }

  .option-grid { grid-template-columns: repeat(4, 1fr); }
  .option-card { min-height: 122px; padding: 16px; }
  .option-card > span:last-child { font-size: 14px; }

  .match-content { padding: 26px; }
  .match-art { width: 74px; height: 74px; font-size: 28px; }

  .steps { grid-template-columns: repeat(3, 1fr); }
  .tool-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  .final-actions { flex-direction: row; justify-content: center; }
  .match-actions { flex-direction: row; align-items: center; justify-content: center; }
  .text-btn { padding: 0 8px; }
}

@media (min-width: 1024px) {
  .container, .topbar-inner { width: min(100% - 48px, 1080px); }
  :root { --maxw: 1080px; }
}
