/* ============================================
   Tron Sniffer — Design System
   ============================================ */

:root {
  --bg: #0a0e17;
  --bg-soft: #0e1322;
  --panel: #121a2e;
  --panel-2: #16203a;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.22);
  --text: #e8edf7;
  --text-dim: #94a3b8;
  --text-faint: #64748b;
  --accent: #e8362f;
  --accent-soft: rgba(232, 54, 47, 0.14);
  --accent-2: #ff6a3d;
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.12);
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.12);
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.12);
  --blue: #3b82f6;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

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

::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background decoration ---------- */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

.bg-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.bg-glow--1 {
  width: 560px; height: 560px;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  background: rgba(232, 54, 47, 0.13);
}

.bg-glow--2 {
  width: 420px; height: 420px;
  bottom: -160px; right: -120px;
  background: rgba(59, 130, 246, 0.08);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 18px rgba(232, 54, 47, 0.35);
  flex-shrink: 0;
}

.logo-mark svg { width: 20px; height: 20px; }

.logo span em {
  font-style: normal;
  color: var(--accent);
}

.main-nav { display: flex; align-items: center; gap: 6px; }

.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .2s, background .2s;
}

.main-nav a:hover { color: var(--text); background: rgba(148, 163, 184, 0.08); }

.main-nav a.active {
  color: var(--text);
  background: var(--accent-soft);
}

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 42px; height: 42px;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: all .25s;
}

.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 54, 47, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(232, 54, 47, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover { border-color: var(--text-dim); background: rgba(148, 163, 184, 0.06); }

.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Sections / typography ---------- */

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(148, 163, 184, 0.06);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-sub {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 640px;
}
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin: 0 auto; }

/* ---------- Hero ---------- */

.hero {
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 62px);
  margin-bottom: 22px;
  max-width: 820px;
  margin-inline: auto;
}

.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2) 60%, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: var(--text-dim);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 660px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-badges {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 13.5px;
  font-weight: 500;
}

.hero-badges li { display: flex; align-items: center; gap: 8px; list-style: none; }
.hero-badges svg { width: 16px; height: 16px; color: var(--green); }

/* Stats strip */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 80px;
}

.stat-cell {
  background: var(--bg-soft);
  padding: 30px 20px;
  text-align: center;
}

.stat-cell .num {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-cell .lbl { color: var(--text-faint); font-size: 13.5px; margin-top: 4px; }

/* ---------- Cards / grids ---------- */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 15px; }

/* ---------- Steps ---------- */

.steps { counter-reset: step; }

.step-card { position: relative; padding-top: 44px; }

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 20px; left: 30px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* ---------- Checker widget ---------- */

.checker-shell {
  max-width: 860px;
  margin: 0 auto;
}

.checker-box {
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.checker-form { display: flex; gap: 12px; }

.address-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0 16px;
  transition: border-color .2s, box-shadow .2s;
  min-width: 0;
}

.address-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 54, 47, 0.18);
}

.address-input.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
  animation: shake .4s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.address-input svg { width: 18px; height: 18px; color: var(--text-faint); flex-shrink: 0; }

.address-input input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14.5px;
  padding: 15px 0;
}

.address-input input::placeholder { color: var(--text-faint); }

.form-hint {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-faint);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.form-hint .link { color: var(--accent); font-weight: 500; cursor: pointer; }
.form-hint .link:hover { text-decoration: underline; }

.form-error { color: var(--red); font-size: 13.5px; margin-top: 10px; display: none; font-weight: 500; }

/* Scanning animation */

.scan-status { display: none; margin-top: 30px; }

.scan-bar {
  height: 6px;
  border-radius: 6px;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

.scan-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: scan 1.1s ease-in-out infinite;
}

@keyframes scan {
  0% { left: -40%; }
  100% { left: 100%; }
}

.scan-steps { margin-top: 18px; display: grid; gap: 8px; }

.scan-steps li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 14px;
  opacity: 0;
  transition: opacity .3s, color .3s;
}

.scan-steps li.active { opacity: 1; color: var(--text-dim); }
.scan-steps li.done { opacity: 1; color: var(--text); }
.scan-steps li .dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
}

.scan-steps li.done .dot {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

/* ---------- Results ---------- */

.result-panel { display: none; margin-top: 34px; }

.result-head {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  flex-wrap: wrap;
}

.gauge { position: relative; width: 150px; height: 150px; flex-shrink: 0; }

.gauge svg { transform: rotate(-90deg); }

.gauge .track { stroke: var(--panel-2); }
.gauge .fill {
  stroke: url(#gaugeGrad);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.gauge .gauge-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge .gauge-score {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.gauge .gauge-cap { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

.result-meta { flex: 1; min-width: 240px; }

.risk-verdict {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.risk-verdict.low { background: var(--green-soft); color: var(--green); }
.risk-verdict.medium { background: var(--amber-soft); color: var(--amber); }
.risk-verdict.high { background: var(--red-soft); color: var(--red); }

.result-meta .addr {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-dim);
  word-break: break-all;
  margin-bottom: 6px;
}

.result-meta .net { font-size: 13px; color: var(--text-faint); }

.risk-bars { display: grid; gap: 14px; margin-top: 22px; }

.risk-bar-row { display: grid; grid-template-columns: 190px 1fr 44px; align-items: center; gap: 14px; font-size: 13.5px; }

.risk-bar-row .name { color: var(--text-dim); }
.risk-bar-row .val { text-align: right; font-family: var(--font-mono); color: var(--text); }

.risk-bar {
  height: 8px;
  border-radius: 8px;
  background: var(--panel-2);
  overflow: hidden;
}

.risk-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--red));
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.result-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }

.result-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 22px;
}

.result-block h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.flag-list { display: grid; gap: 10px; }

.flag-list li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-dim);
}

.flag-list li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.flag-list li.bad svg { color: var(--red); }
.flag-list li.warn svg { color: var(--amber); }
.flag-list li.ok svg { color: var(--green); }

.kv { display: grid; gap: 12px; }

.kv .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.kv .row:last-child { border-bottom: none; padding-bottom: 0; }
.kv .k { color: var(--text-faint); }
.kv .v { font-family: var(--font-mono); color: var(--text); text-align: right; }

.result-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.demo-note {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  font-size: 13.5px;
}

/* ---------- Pricing ---------- */

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }

.price-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: rgba(232, 54, 47, 0.5);
  box-shadow: 0 24px 60px rgba(232, 54, 47, 0.18);
}

.price-tag-pop {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-name { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }

.price-value {
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 800;
  margin: 14px 0 4px;
}

.price-value small { font-size: 15px; font-weight: 500; color: var(--text-faint); }

.price-desc { color: var(--text-faint); font-size: 14px; margin-bottom: 24px; }

.price-features { display: grid; gap: 12px; margin-bottom: 28px; flex: 1; }

.price-features li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-dim);
}

.price-features svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; margin-top: 3px; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14.5px;
}

.compare-table th, .compare-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  background: var(--panel);
  font-family: var(--font-head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.compare-table tbody tr:hover { background: rgba(148, 163, 184, 0.04); }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }
.compare-table .yes { color: var(--green); font-weight: 700; }
.compare-table .no { color: var(--text-faint); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* ---------- FAQ ---------- */

.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item.open { border-color: var(--border-strong); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-head);
  text-align: left;
}

.faq-q .chev {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  color: var(--text-dim);
  transition: transform .3s, background .3s, color .3s;
}

.faq-item.open .chev { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-a p {
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: 15px;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  border-radius: 20px;
  padding: 64px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 120% at 50% -20%, rgba(232, 54, 47, 0.28), transparent 60%),
    linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}

.cta-band h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.cta-band p { color: var(--text-dim); max-width: 520px; margin: 0 auto 30px; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 84px 0 20px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(32px, 5vw, 50px); margin-bottom: 16px; }
.page-hero p { color: var(--text-dim); max-width: 620px; margin: 0 auto; font-size: 17px; }

/* ---------- About ---------- */

.value-card { text-align: left; }

.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 32px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--panel-2));
}

.timeline-item { position: relative; padding-bottom: 36px; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
}

.timeline-item .year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.timeline-item h3 { font-size: 18px; margin: 4px 0 8px; }
.timeline-item p { color: var(--text-dim); font-size: 15px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 64px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p { color: var(--text-faint); font-size: 14px; margin-top: 14px; max-width: 300px; }

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.footer-col ul { display: grid; gap: 10px; }
.footer-col li { list-style: none; }
.footer-col a { color: var(--text-dim); font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 13.5px;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .price-card.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 60px; }

  .header-cta .btn-ghost { display: none; }

  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(10, 14, 23, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
  }

  body.nav-open .main-nav { transform: none; opacity: 1; pointer-events: auto; }

  .main-nav a { padding: 13px 14px; font-size: 16px; }

  .checker-form { flex-direction: column; }
  .checker-box { padding: 24px; }

  .result-head { flex-direction: column; text-align: center; }
  .result-cols { grid-template-columns: 1fr; }
  .risk-bar-row { grid-template-columns: 120px 1fr 40px; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 44px 24px; }
}

@media (max-width: 420px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-cell { padding: 20px 12px; }
}
