/* ═══════════════════════════════════════════════════════════════
   SILENTBAIT — Marketing Site Design System
   Deep-navy enterprise · monochromatic indigo · restrained motion
   Brand base: #040359
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Palette — navy family */
  --bg-0: #02022E;
  --bg-1: #040359;
  --surface: #060A45;
  --card: rgba(8, 12, 66, 0.55);
  --card-solid: #070B48;
  --border: #1C2470;
  --border-strong: #2A3385;

  /* Primary indigo */
  --primary: #4D6BFE;
  --primary-2: #7A93FF;
  --primary-soft: rgba(77, 107, 254, 0.12);
  --primary-line: rgba(77, 107, 254, 0.35);

  /* Text — navy-tinted */
  --text-0: #F4F6FF;
  --text-1: #B9C0E8;
  --text-2: #6F77B8;

  /* Semantics — functional widgets only */
  --danger: #FF3D5E;
  --ok: #00E69A;
  --warn: #FFB020;

  /* Type — Space Grotesk everywhere, JetBrains Mono for code accents */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-1: 0.2s;
  --dur-2: 0.35s;
  --dur-3: 0.6s;

  /* Rhythm */
  --radius: 14px;
  --radius-sm: 10px;
  --nav-h: 72px;
  --section-pad: clamp(88px, 11vw, 144px);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--text-0); line-height: 1.12; letter-spacing: -0.015em; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
code { font-family: var(--font-mono); font-size: 0.86em; }
img, canvas, svg { display: block; max-width: 100%; }
::selection { background: rgba(77, 107, 254, 0.35); color: #fff; }

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

/* ── Icons ─────────────────────────────────────────────────── */
.ic { width: 20px; height: 20px; flex: none; }
.ic--sm { width: 15px; height: 15px; }

/* ── Background layers ─────────────────────────────────────── */
.bg-cyber { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--bg-0); overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(28, 36, 112, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 36, 112, 0.28) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 25%, transparent 75%);
}
.bg-glow {
  position: absolute; width: 900px; height: 620px;
  top: -280px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(77, 107, 254, 0.16) 0%, transparent 62%);
}
.bg-noise {
  position: absolute; inset: 0; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Shared primitives ─────────────────────────────────────── */
.glass {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.text-grad {
  background: linear-gradient(94deg, var(--primary) 0%, var(--primary-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--primary-2);
  margin-bottom: 20px;
}
.eyebrow--red { color: var(--danger); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 12px 24px; border-radius: 10px;
  transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease),
              border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 16px; height: 16px; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #5A77FF 0%, var(--primary) 100%);
  box-shadow: 0 8px 24px rgba(77, 107, 254, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn--primary:hover { background: linear-gradient(180deg, #6682FF 0%, #5874FF 100%); box-shadow: 0 10px 30px rgba(77, 107, 254, 0.45), inset 0 1px 0 rgba(255,255,255,0.22); transform: translateY(-1px); }
.btn--ghost {
  color: var(--text-0);
  border: 1px solid var(--border-strong);
  background: rgba(8, 12, 66, 0.4);
}
.btn--ghost:hover { border-color: var(--primary); background: var(--primary-soft); transform: translateY(-1px); }

/* Dots */
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-2); box-shadow: 0 0 8px rgba(122, 147, 255, 0.8); animation: pulse 2.2s var(--ease) infinite; flex: none; }
.pulse-dot--red { background: var(--danger); box-shadow: 0 0 8px rgba(255, 61, 94, 0.8); }
.pulse-dot--green { background: var(--ok); box-shadow: 0 0 8px rgba(0, 230, 154, 0.7); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

section { scroll-margin-top: calc(var(--nav-h) + 12px); }
.br-wide { display: none; }
@media (min-width: 720px) { .br-wide { display: block; } }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(2, 2, 46, 0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2), background var(--dur-2);
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(2, 2, 46, 0.88); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__wordmark { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--text-0); letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: 13.5px; font-weight: 500; color: var(--text-1); transition: color var(--dur-1); }
.nav__links a:hover { color: var(--text-0); }
.nav__ctas { display: flex; gap: 10px; align-items: center; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav__burger span { width: 22px; height: 2px; background: var(--text-0); border-radius: 2px; transition: transform var(--dur-2) var(--ease), opacity var(--dur-2); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════ HERO ═══════════ */
.hero { padding: calc(var(--nav-h) + clamp(56px, 8vw, 104px)) 0 clamp(48px, 6vw, 80px); }
.hero__copy { max-width: 900px; margin: 0 auto 56px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 12, 66, 0.6);
  margin-bottom: 28px;
}
.badge__text { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-1); }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px rgba(0, 230, 154, 0.8); animation: pulse 2.4s var(--ease) infinite; }
.hero__title { font-size: clamp(38px, 5.2vw, 64px); font-weight: 400; margin-bottom: 24px; }
.hero__sub { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--text-1); max-width: 680px; margin: 0 auto 36px; }
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__micro { margin-top: 20px; font-size: 12.5px; color: var(--text-2); font-family: var(--font-mono); letter-spacing: 0.04em; }

/* Hero dual panes */
.hero__panes { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: stretch; }
.pane { overflow: hidden; display: flex; flex-direction: column; transition: border-color var(--dur-2) var(--ease); }
.pane:hover { border-color: var(--border-strong); }
.pane__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-2);
}
.pane__title { margin-left: 4px; letter-spacing: 0.02em; }
.pane__chip { margin-left: auto; color: var(--primary-2); border: 1px solid var(--primary-line); padding: 2px 9px; border-radius: 6px; background: var(--primary-soft); font-size: 10.5px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; opacity: 0.85; }
.dot--red { background: #FF5F57; } .dot--yellow { background: #FEBC2E; } .dot--green { background: #28C840; }

/* Terminal */
.terminal {
  flex: 1; padding: 18px; min-height: 380px;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.8;
  color: #C4CBEE; overflow: hidden;
}
.terminal .t-line { white-space: pre-wrap; word-break: break-all; }
.terminal .t-prompt { color: var(--ok); }
.terminal .t-cmd { color: var(--text-0); }
.terminal .t-ok { color: var(--ok); }
.terminal .t-info { color: var(--primary-2); }
.terminal .t-warn { color: var(--warn); }
.terminal .t-dim { color: var(--text-2); }
.terminal .t-cursor { display: inline-block; width: 8px; height: 14px; background: var(--primary-2); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Radar pane */
.radar-wrap { padding: 18px 18px 4px; display: flex; justify-content: center; }
#radar { width: min(100%, 300px); height: auto; aspect-ratio: 1; }
.feed { padding: 10px 14px 14px; font-family: var(--font-mono); font-size: 11.5px; }
.feed__head, .feed__row {
  display: grid; grid-template-columns: 62px 1.2fr 1fr 74px 44px; gap: 8px; align-items: center;
  padding: 6px 8px;
}
.feed__head { color: var(--text-2); font-size: 10px; letter-spacing: 0.12em; border-bottom: 1px solid var(--border); }
.feed__body { min-height: 196px; }
.feed__row { border-bottom: 1px solid rgba(28, 36, 112, 0.5); color: var(--text-1); animation: feed-in 0.4s var(--ease); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.feed__row .f-ip { color: var(--text-0); }
.feed__row .f-time { color: var(--text-2); }
.feed__row .f-bait { color: var(--primary-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-ad { font-weight: 700; font-size: 10px; text-align: center; border-radius: 5px; padding: 2px 0; letter-spacing: 0.04em; }
.f-ad--hit { color: var(--danger); background: rgba(255, 61, 94, 0.1); border: 1px solid rgba(255, 61, 94, 0.35); animation: pulse 1.4s infinite; }
.f-ad--none { color: var(--text-2); background: rgba(111, 119, 184, 0.08); border: 1px solid rgba(111, 119, 184, 0.2); }
.f-ttp { font-weight: 700; text-align: right; }
.f-ttp--crit { color: var(--danger); } .f-ttp--high { color: var(--warn); } .f-ttp--med { color: var(--primary-2); }

/* ═══════════ STATS ═══════════ */
.stats { padding: 8px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(4, 3, 89, 0.35); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 28px 12px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat__num { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 38px); color: var(--text-0); letter-spacing: -0.015em; }
.stat__label { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }

/* ═══════════ SECTIONS ═══════════ */
.section { padding: var(--section-pad) 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(4, 3, 89, 0.4) 18%, rgba(4, 3, 89, 0.4) 82%, transparent); }
.section__head { max-width: 780px; margin: 0 auto 64px; text-align: center; }
.section__head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 400; margin-bottom: 18px; }
.section__head p { font-size: 17px; color: var(--text-1); max-width: 640px; margin: 0 auto; }

/* ── Pillars ── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  padding: 32px 28px; position: relative;
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.pillar:hover { transform: translateY(-2px); border-color: var(--primary-line); background: rgba(10, 15, 80, 0.6); }
.pillar__icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 11px; margin-bottom: 20px;
  color: var(--primary-2);
  background: var(--primary-soft); border: 1px solid var(--primary-line);
}
.pillar h3 { font-size: 18.5px; font-weight: 600; margin-bottom: 10px; }
.pillar p { font-size: 14.5px; color: var(--text-1); }
.pillar__code {
  display: block; margin-top: 18px; padding: 10px 13px;
  background: rgba(2, 2, 46, 0.8); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--ok); font-size: 12px;
}
.pillar--cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; border-color: var(--primary-line); background: linear-gradient(160deg, rgba(77, 107, 254, 0.12), rgba(8, 12, 66, 0.55) 55%); }
.pillar--cta h3 { font-size: 22px; }
.pillar--cta:hover { transform: translateY(-2px); }

/* ── Split (AD Trap) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; margin-bottom: 18px; }
.split__copy > p { margin-bottom: 26px; font-size: 16px; }
.checklist { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.checklist li { position: relative; padding-left: 30px; font-size: 14.5px; }
.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: 1px;
  width: 19px; height: 19px; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: var(--primary-2);
  border: 1px solid var(--primary-line); border-radius: 6px; background: var(--primary-soft);
}
.checklist strong { color: var(--text-0); font-weight: 600; }

/* AD trap animation card */
.adtrap { padding: 0 22px 26px; overflow: hidden; }
.adtrap .pane__bar { margin: 0 -22px 22px; padding-left: 22px; padding-right: 22px; }
.adtrap__stage { opacity: 0.25; transform: scale(0.99); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.adtrap__stage.is-lit { opacity: 1; transform: none; }
.adtrap__node { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; background: rgba(2, 2, 46, 0.6); transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.adtrap__label { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--text-0); margin-bottom: 7px; }
.adtrap__node code { font-size: 12px; color: var(--text-1); line-height: 1.6; }
.adtrap__stage.is-lit .adtrap__node--attacker { border-color: var(--primary-line); box-shadow: 0 0 20px rgba(77, 107, 254, 0.12); }
.adtrap__stage.is-lit .adtrap__node--ad { border-color: rgba(255, 176, 32, 0.45); box-shadow: 0 0 20px rgba(255, 176, 32, 0.08); }
.adtrap__stage.is-lit .adtrap__node--critical { border-color: var(--danger); box-shadow: 0 0 26px rgba(255, 61, 94, 0.22); }
.adtrap__stage.is-lit .adtrap__node--critical .adtrap__label { color: var(--danger); text-transform: uppercase; letter-spacing: 0.06em; font-size: 12.5px; }
.adtrap__arrow { display: flex; justify-content: center; padding: 6px 0; opacity: 0.25; transition: opacity 0.5s; }
.adtrap__arrow.is-lit { opacity: 1; }
.adtrap__arrow span { width: 2px; height: 22px; background: linear-gradient(180deg, var(--primary), transparent); position: relative; overflow: hidden; }
.adtrap__arrow.is-lit span::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--primary-2)); animation: flow 1.1s linear infinite; }
@keyframes flow { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ── Simulator ── */
.sim { padding: 32px; }
.sim__controls { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 42px; }
.sim__btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(2, 2, 46, 0.5); color: var(--text-1);
  transition: all var(--dur-2) var(--ease);
}
.sim__btn .ic { color: var(--text-2); transition: color var(--dur-2); }
.sim__btn:hover { border-color: var(--primary-line); color: var(--text-0); }
.sim__btn:hover .ic { color: var(--primary-2); }
.sim__btn.is-active { border-color: var(--primary); color: var(--text-0); background: var(--primary-soft); }
.sim__btn.is-active .ic { color: var(--primary-2); }
.sim__btn:disabled { opacity: 0.45; cursor: wait; }

.sim__stepper { display: flex; align-items: flex-start; margin-bottom: 36px; }
.sim__step { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: none; width: 120px; min-width: 0; text-align: center; }
.sim__node {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border-strong); background: var(--surface);
  transition: all 0.4s var(--ease);
}
.sim__step-label { font-size: 11px; font-family: var(--font-mono); color: var(--text-2); transition: color 0.4s; letter-spacing: 0.02em; }
.sim__link { flex: 1; min-width: 6px; height: 2px; background: var(--border); margin-top: 9px; position: relative; overflow: hidden; }
.sim__link::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--primary), var(--ok)); transform: translateX(-101%); transition: transform 0.55s var(--ease); }
.sim__link.is-done::after { transform: translateX(0); }
.sim__step.is-active .sim__node { border-color: var(--primary-2); box-shadow: 0 0 14px rgba(77, 107, 254, 0.5); animation: pulse 1.1s infinite; }
.sim__step.is-active .sim__step-label { color: var(--primary-2); }
.sim__step.is-done .sim__node { border-color: var(--ok); background: var(--ok); }
.sim__step.is-done .sim__step-label { color: var(--ok); }
.sim__step.is-critical .sim__node { border-color: var(--danger); background: var(--danger); box-shadow: 0 0 16px rgba(255, 61, 94, 0.6); animation: pulse 0.9s infinite; }
.sim__step.is-critical .sim__step-label { color: var(--danger); }

.sim__lower { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.sim__console {
  background: rgba(2, 2, 46, 0.85); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.8;
  min-height: 240px; max-height: 240px; overflow-y: auto;
}
.sim__console-line { white-space: pre-wrap; word-break: break-all; animation: feed-in 0.3s var(--ease); }
.sim__console-line--muted { color: var(--text-2); }
.sim__console-line--cyan { color: var(--primary-2); }
.sim__console-line--green { color: var(--ok); }
.sim__console-line--red { color: var(--danger); }
.sim__console-line--amber { color: var(--warn); }
.sim__verdict {
  border: 1px dashed var(--border-strong); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 20px; min-height: 240px; transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.sim__verdict-idle { color: var(--text-2); font-family: var(--font-mono); font-size: 12.5px; }
.sim__verdict.is-final { border: 1px solid var(--danger); box-shadow: 0 0 30px rgba(255, 61, 94, 0.14); }
.sim__verdict.is-contained { border: 1px solid var(--ok); box-shadow: 0 0 30px rgba(0, 230, 154, 0.1); }
.verdict__score { font-family: var(--font-display); font-weight: 600; font-size: 52px; line-height: 1; letter-spacing: -0.015em; }
.verdict__score--red { color: var(--danger); }
.verdict__score--amber { color: var(--warn); }
.verdict__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text-0); margin: 12px 0 6px; }
.verdict__sub { font-size: 13px; color: var(--text-1); }
.verdict__tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.verdict__tag { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 6px; }
.verdict__tag--red { color: var(--danger); border: 1px solid rgba(255, 61, 94, 0.4); background: rgba(255, 61, 94, 0.08); }
.verdict__tag--green { color: var(--ok); border: 1px solid rgba(0, 230, 154, 0.35); background: rgba(0, 230, 154, 0.07); }
.verdict__tag--cyan { color: var(--primary-2); border: 1px solid var(--primary-line); background: var(--primary-soft); }

/* ── Architecture ── */
.arch__flow { display: flex; align-items: stretch; margin-bottom: 40px; }
.arch__stage { flex: 1; padding: 26px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 7px; transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.arch__stage:hover { transform: translateY(-2px); border-color: var(--primary-line); }
.arch__icon { color: var(--primary-2); margin-bottom: 4px; }
.arch__icon .ic { width: 24px; height: 24px; }
.arch__stage h4 { font-size: 14.5px; font-weight: 600; }
.arch__stage p { font-size: 12px; color: var(--text-2); line-height: 1.55; }
.arch__tag { margin-top: auto; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.06em; color: var(--primary-2); border: 1px solid var(--primary-line); background: var(--primary-soft); padding: 3px 9px; border-radius: 6px; }
.arch__conn { flex: none; width: 42px; display: flex; align-items: center; justify-content: center; position: relative; }
.arch__conn::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, var(--border), var(--primary-line), var(--border)); }
.arch__packet { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--primary-2); box-shadow: 0 0 8px rgba(77, 107, 254, 0.9); top: calc(50% - 3px); animation: packet 2.2s linear infinite; }
@keyframes packet { from { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } to { left: calc(100% - 6px); opacity: 0; } }
.arch__badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.arch__badge { padding: 18px 20px; display: flex; align-items: flex-start; gap: 13px; }
.arch__badge .ic { color: var(--primary-2); margin-top: 1px; }
.arch__badge strong { display: block; color: var(--text-0); font-size: 14px; font-family: var(--font-display); font-weight: 600; margin-bottom: 3px; }
.arch__badge span { font-size: 12.5px; color: var(--text-2); line-height: 1.45; display: block; }

/* ── ROI ── */
.roi { padding: 44px; }
.roi__sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 38px; }
.roi__field label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text-0); margin-bottom: 14px; }
.roi__field output { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--primary-2); }
.roi__scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--text-2); margin-top: 6px; }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--primary) var(--fill, 10%), var(--border) var(--fill, 10%)); outline: none; }
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--primary);
  box-shadow: 0 2px 10px rgba(77, 107, 254, 0.5); cursor: grab; transition: transform var(--dur-1) var(--ease);
}
input[type='range']::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type='range']::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); box-shadow: 0 2px 10px rgba(77, 107, 254, 0.5); cursor: grab; }
.roi__results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.roi__card { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 26px 18px; text-align: center; background: rgba(2, 2, 46, 0.55); transition: border-color var(--dur-2) var(--ease); }
.roi__card:hover { border-color: var(--border-strong); }
.roi__num { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3vw, 40px); color: var(--text-0); letter-spacing: -0.015em; }
.roi__card--green .roi__num { color: var(--ok); }
.roi__card--cyan .roi__num { color: var(--primary-2); }
.roi__label { font-size: 13px; color: var(--text-2); margin-top: 8px; display: block; }
.roi__note { margin-top: 28px; font-size: 11.5px; color: var(--text-2); font-family: var(--font-mono); line-height: 1.7; }

/* ── Pricing ── */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { padding: 36px 30px; display: flex; flex-direction: column; position: relative; transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.price:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.price h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); margin-bottom: 16px; }
.price__amount { font-family: var(--font-display); font-weight: 500; font-size: 50px; color: var(--text-0); line-height: 1; letter-spacing: -0.015em; margin-bottom: 12px; }
.price__amount--custom { font-size: 42px; background: linear-gradient(94deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price__currency { font-size: 24px; vertical-align: 14px; color: var(--text-2); font-weight: 600; }
.price__per { font-size: 14px; font-weight: 500; color: var(--text-2); margin-left: 6px; letter-spacing: 0; }
.price__desc { font-size: 14px; color: var(--text-2); margin-bottom: 24px; }
.price ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex: 1; }
.price li { position: relative; padding-left: 26px; font-size: 14px; }
.price li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-2); font-weight: 700; }
.price li strong { color: var(--text-0); font-weight: 600; }
.price--featured { border-color: var(--primary); background: linear-gradient(170deg, rgba(77, 107, 254, 0.14), rgba(8, 12, 66, 0.55) 50%); }
.price__flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: var(--primary);
  padding: 5px 14px; border-radius: 999px;
  white-space: nowrap;
}

/* ── CTA banner ── */
.cta { padding: 0 0 var(--section-pad); }
.cta__panel { position: relative; overflow: hidden; text-align: center; padding: clamp(52px, 7vw, 88px) 28px; border-color: var(--primary-line); background: linear-gradient(170deg, rgba(77, 107, 254, 0.12), rgba(4, 3, 89, 0.5) 60%); }
.cta__panel h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 400; max-width: 820px; margin: 0 auto 16px; }
.cta__panel p { color: var(--text-1); font-size: 16.5px; margin-bottom: 34px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); background: rgba(2, 2, 46, 0.85); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { font-size: 14px; color: var(--text-2); margin: 14px 0 18px; max-width: 260px; }
.footer__status { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12.5px; }
.footer__status a { color: var(--ok); }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h5 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.footer__col a { font-size: 14px; color: var(--text-1); transition: color var(--dur-1); }
.footer__col a:hover { color: var(--text-0); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.footer__motto { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--text-2); }

/* ── Modal ── */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(2, 2, 30, 0.8); backdrop-filter: blur(6px); animation: fade-in 0.25s var(--ease); }
.modal__card { position: relative; width: min(520px, 100%); max-height: 92vh; overflow-y: auto; padding: 40px 38px; animation: modal-in 0.35s var(--ease); border-color: var(--border-strong); background: rgba(6, 10, 69, 0.92); box-shadow: 0 30px 80px rgba(0, 0, 20, 0.6); }
@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px); } }
.modal__close { position: absolute; top: 14px; right: 16px; font-size: 15px; color: var(--text-2); padding: 8px; transition: color var(--dur-1); }
.modal__close:hover { color: var(--text-0); }
.modal__body h3 { font-size: 26px; margin-bottom: 8px; }
.modal__body > p { font-size: 14px; color: var(--text-2); margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--text-0); }
.field input, .field select {
  font: inherit; font-size: 14px; color: var(--text-0);
  background: rgba(2, 2, 46, 0.8); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; outline: none; transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(77, 107, 254, 0.18); }
.field input::placeholder { color: var(--text-2); }
.form-error { color: var(--danger); font-size: 13px; margin-bottom: 14px; }
.modal__privacy { margin-top: 18px; font-size: 12.5px; color: var(--text-2); text-align: center; }
.modal__success { text-align: center; padding: 12px 0; }
.modal__check {
  width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center;
  color: var(--ok); border: 1.5px solid var(--ok); border-radius: 50%;
  animation: modal-in 0.4s var(--ease);
}
.modal__check .ic { width: 26px; height: 26px; }
.modal__success h3 { font-size: 24px; margin-bottom: 8px; }
.modal__success > p { color: var(--text-1); font-size: 14.5px; margin-bottom: 24px; }
.modal__calendar-ph {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-2);
  border: 1px dashed var(--border-strong); border-radius: var(--radius-sm);
  padding: 16px; margin-bottom: 26px;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1080px) {
  .hero__panes { grid-template-columns: 1fr; }
  .terminal { min-height: 300px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .arch__flow { flex-wrap: wrap; gap: 14px; }
  .arch__conn { display: none; }
  .arch__stage { flex: 1 1 30%; }
  .arch__badges { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__ctas {
    position: fixed; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(2, 2, 46, 0.98);
    backdrop-filter: blur(20px);
    padding: 18px 24px; gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
  }
  .nav__links { top: var(--nav-h); }
  .nav__ctas { top: calc(var(--nav-h) + 252px); padding-bottom: 22px; }
  .nav__links a { display: block; padding: 11px 4px; font-size: 16px; border-bottom: 1px solid rgba(28, 36, 112, 0.5); }
  .nav__ctas .btn { width: 100%; }
  .nav.is-open .nav__links, .nav.is-open .nav__ctas { opacity: 1; transform: none; pointer-events: auto; }
  .nav__burger { display: flex; }
  .pricing { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .sim__lower { grid-template-columns: 1fr; }
  .roi__sliders { grid-template-columns: 1fr; }
  .roi { padding: 28px 20px; }
  .sim { padding: 22px 16px; }
  .sim__step { width: auto; flex: 1; }
  .sim__step-label { font-size: 9.5px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}

@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .arch__stage { flex: 1 1 100%; }
  .arch__badges { grid-template-columns: 1fr; }
  .roi__results { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .field-row { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .feed__head, .feed__row { grid-template-columns: 52px 1.1fr 0.9fr 62px 38px; font-size: 10.5px; gap: 5px; }
}

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