/* ==========================================================================
   CYFRIQ — Design System
   Cyber intelligence, unified.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette */
  --electric: #3B82F6;
  --electric-2: #60A5FA;
  --deep: #1D4ED8;
  --deep-2: #1E40AF;
  --night: #0A0E1A;
  --night-2: #0E1424;
  --night-3: #131A2C;
  --navy: #0B1224;
  --ink: #141A2B;
  --paper: #F5F3EE;
  --chalk: #FAFAF7;
  --white: #FFFFFF;
  --mist: #E6EAF2;
  --muted: #8A94A7;
  --hairline: rgba(255,255,255,0.08);
  --hairline-dark: rgba(10,14,26,0.08);
  --glass: rgba(255,255,255,0.04);
  --glass-2: rgba(255,255,255,0.06);
  --ok: #10B981;
  --warn: #F59E0B;
  --bad: #EF4444;

  /* Type */
  --f-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Scale */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 22px;
  --fs-xl: 28px;
  --fs-2xl: 36px;
  --fs-3xl: 48px;
  --fs-4xl: 64px;
  --fs-5xl: 80px;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Container */
  --container: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --gap: clamp(16px, 2vw, 28px);

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(10,14,26,0.06), 0 2px 4px rgba(10,14,26,0.04);
  --shadow-2: 0 8px 24px rgba(10,14,26,0.08), 0 2px 6px rgba(10,14,26,0.06);
  --shadow-3: 0 20px 60px rgba(10,14,26,0.14), 0 4px 10px rgba(10,14,26,0.08);
  --shadow-glow: 0 0 0 1px rgba(59,130,246,0.35), 0 10px 40px rgba(59,130,246,0.25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; margin: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; padding: 0; }

body {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: #E7ECF5;
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ---------- Typography ---------- */
.h-display {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
h1, h2, h3, h4 { font-family: var(--f-display); letter-spacing: -0.025em; line-height: 1.08; font-weight: 700; }
h1 { font-size: clamp(36px, 6vw, 72px); letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
h4 { font-size: clamp(16px, 1.6vw, 20px); }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--electric-2);
  font-weight: 500;
}
.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: #B7C1D4;
  max-width: 62ch;
}
.mono { font-family: var(--f-mono); }
.grad-text {
  background: linear-gradient(135deg, #fff 0%, #BCD2FF 40%, #3B82F6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.blue-text { color: var(--electric); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 90px) 0; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: var(--gap); }
.grid { display: grid; gap: var(--gap); }
.center { display: flex; align-items: center; justify-content: center; }

/* ---------- Surfaces ---------- */
.bg-night { background: var(--night); color: #E7ECF5; }
.bg-night-2 { background: var(--night-2); color: #E7ECF5; }
.bg-paper { background: var(--paper); color: var(--night); }
.bg-white { background: var(--white); color: var(--night); }
.bg-gradient {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(59,130,246,0.20), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(29,78,216,0.18), transparent 60%),
    linear-gradient(180deg, #060912 0%, #0A0E1A 55%, #0B1224 100%);
}
.bg-grid::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 75%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(10,14,26,0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--pad); max-width: var(--container); margin: 0 auto;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 72px; width: auto; display: block; margin: -14px 0; }
@media (max-width: 600px) { .nav-logo img { height: 56px; margin: -10px 0; } }
.nav-links {
  display: flex; gap: 8px; align-items: center;
}
.nav-links a {
  padding: 10px 14px; font-size: 14px; color: #C7D0E0;
  border-radius: var(--r-sm); transition: color .15s ease, background .15s ease;
  letter-spacing: -0.01em;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; padding: 10px; border-radius: 8px; color: #fff; }
.hamburger:hover { background: rgba(255,255,255,0.06); }
.hamburger svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .hamburger { display: inline-flex; }
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--hairline);
  background: rgba(10,14,26,0.92);
  backdrop-filter: blur(14px);
}
.mobile-drawer.open { display: block; }
.mobile-drawer a {
  display: block; padding: 14px 24px; color: #C7D0E0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-drawer a:hover { color: #fff; background: rgba(255,255,255,0.03); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  transition: all .18s ease;
  cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; }
.btn-primary {
  background: var(--electric); color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 10px 30px rgba(59,130,246,0.35);
}
.btn-primary:hover { background: var(--deep); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 14px 36px rgba(59,130,246,0.45); }
.btn-ghost {
  background: transparent; color: #E7ECF5;
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); }
.btn-dark {
  background: var(--night); color: #fff; border: 1px solid rgba(255,255,255,0.1);
}
.btn-dark:hover { background: var(--night-2); }
.btn-light {
  background: #fff; color: var(--night); border: 1px solid #E6EAF2;
}
.btn-light:hover { background: var(--paper); }
.btn-lg { padding: 16px 26px; font-size: 15px; }

/* ---------- Chips / Pills ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(59,130,246,0.10);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--electric-2); font-size: 12px; font-weight: 500;
  font-family: var(--f-mono); letter-spacing: 0.06em;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 0 4px rgba(59,130,246,0.18); }
.chip-soft {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: #C7D0E0;
}
.chip-dark { background: rgba(10,14,26,0.06); border: 1px solid rgba(10,14,26,0.1); color: var(--night); }

.badge-row { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  color: #B7C1D4;
}

/* ---------- Cards ---------- */
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.35); background: rgba(255,255,255,0.05); }
.card-light {
  background: #fff; color: var(--night);
  border: 1px solid rgba(10,14,26,0.08);
  box-shadow: var(--shadow-2);
}
.card-light:hover { border-color: rgba(59,130,246,0.35); transform: translateY(-4px); box-shadow: var(--shadow-3); }

.card-num {
  font-family: var(--f-mono); font-size: 11px;
  color: rgba(255,255,255,0.5); letter-spacing: 0.22em;
}
.card-title { font-family: var(--f-display); font-weight: 700; font-size: 20px; margin-top: 10px; letter-spacing: -0.02em; }
.card-desc { color: #B7C1D4; font-size: 15px; margin-top: 10px; }

/* ---------- Stat strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg); overflow: hidden;
}
.stat { background: var(--night-2); padding: 28px; }
.stat .n { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 3.4vw, 44px); color: var(--electric); letter-spacing: -0.03em; }
.stat .l { color: #9FA9BE; font-size: 14px; margin-top: 8px; line-height: 1.45; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Compare table ---------- */
.compare {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 14px; background: #fff; color: var(--night);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-2);
}
.compare th, .compare td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(10,14,26,0.06);
  vertical-align: middle;
}
.compare thead th {
  background: var(--night); color: #C7D0E0; font-family: var(--f-mono);
  font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.compare thead th.us { background: var(--electric); color: #fff; }
.compare td.us { background: rgba(59,130,246,0.06); font-weight: 600; color: var(--deep); }
.compare td.ok { color: var(--ok); font-weight: 600; }
.compare td.no { color: var(--bad); font-weight: 600; }
.compare td.partial { color: var(--warn); font-weight: 600; }
.compare .cat-row td { background: var(--paper); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--night); font-weight: 600; }

.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); }

/* ---------- Feature grids ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: 1fr; } }

.cap-card {
  background: #fff; border: 1px solid rgba(10,14,26,0.06);
  border-radius: var(--r-lg); padding: 22px;
  box-shadow: var(--shadow-1);
  color: var(--night);
}
.cap-card h4 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--deep);
  padding: 6px 10px; background: rgba(59,130,246,0.08); display: inline-flex;
  border-radius: 6px; margin-bottom: 14px;
}
.cap-card ul { padding: 0; margin: 0; list-style: none; }
.cap-card li {
  padding: 8px 0; border-bottom: 1px dashed rgba(10,14,26,0.08);
  font-size: 14px; color: #2E3548; line-height: 1.5;
}
.cap-card li:last-child { border: 0; }

/* ---------- Timeline ---------- */
.timeline {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px; position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 36px;
  height: 2px; background: linear-gradient(90deg, rgba(59,130,246,0.15), var(--electric), rgba(59,130,246,0.15));
}
.step { text-align: center; position: relative; z-index: 1; }
.step-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--night-2); border: 2px solid var(--electric);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 22px;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 6px rgba(59,130,246,0.12);
}
.step h4 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.step p { color: #8A94A7; font-size: 13px; }
.step .when {
  margin-top: 10px; display: inline-block; font-family: var(--f-mono);
  font-size: 11px; color: var(--electric-2); letter-spacing: 0.08em;
  background: rgba(59,130,246,0.08); padding: 4px 10px; border-radius: 6px;
}
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
}

/* ---------- Logos marquee ---------- */
.marquee { overflow: hidden; padding: 24px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.marquee-track { display: flex; gap: 60px; animation: marq 40s linear infinite; width: max-content; }
.marquee-item { opacity: 0.75; color: #7f89a0; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid rgba(10,14,26,0.08); }
.faq-item { border-bottom: 1px solid rgba(10,14,26,0.08); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; text-align: left; font-family: var(--f-display);
  font-weight: 600; font-size: 17px; color: var(--night); letter-spacing: -0.015em;
}
.faq-q .plus {
  width: 30px; height: 30px; border-radius: 50%; background: var(--paper);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  transition: transform .25s ease, background .25s ease;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--electric); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s ease;
  color: #48506A; font-size: 15px; line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 0 22px; }

/* Dark variant */
.faq.on-dark { border-top-color: rgba(255,255,255,0.08); }
.faq.on-dark .faq-item { border-bottom-color: rgba(255,255,255,0.08); }
.faq.on-dark .faq-q { color: #E7ECF5; }
.faq.on-dark .faq-q .plus { background: rgba(255,255,255,0.06); color: #E7ECF5; }
.faq.on-dark .faq-a { color: #B7C1D4; }

/* ---------- Forms — elevated ---------- */
.form-card {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFAF6 100%);
  color: var(--night);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3vw, 44px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 40px 80px -20px rgba(10,14,26,0.45),
    0 18px 40px -18px rgba(29,78,216,0.25);
  border: 1px solid rgba(10,14,26,0.06);
  overflow: hidden;
}
/* Gradient top accent bar */
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--electric) 0%, var(--electric-2) 40%, var(--deep) 100%);
  border-top-left-radius: var(--r-xl);
  border-top-right-radius: var(--r-xl);
}
/* Subtle radial glow top-right */
.form-card::after {
  content: "";
  position: absolute;
  top: -140px; right: -140px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(59,130,246,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.form-card > * { position: relative; z-index: 1; }

.form-step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 14px;
  padding-top: 18px;
  border-top: 1px dashed rgba(10,14,26,0.08);
}
.form-step:first-of-type { margin-top: 10px; padding-top: 0; border-top: 0; }
.form-step .num {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--electric) 0%, var(--deep) 100%);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(29,78,216,0.35);
}
.form-step .label {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--night);
  letter-spacing: -0.01em;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 11px;
  font-family: var(--f-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5C6780;
  font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid rgba(10,14,26,0.12);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-family: var(--f-body);
  color: var(--night);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
  box-shadow: 0 1px 2px rgba(10,14,26,0.03) inset;
}
.field input::placeholder, .field textarea::placeholder {
  color: #9BA3B5;
  font-weight: 400;
}
.field input:hover, .field select:hover, .field textarea:hover {
  border-color: rgba(10,14,26,0.22);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow:
    0 0 0 4px rgba(59,130,246,0.15),
    0 2px 10px rgba(59,130,246,0.18);
  background: #FFFFFF;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }

/* Custom select chevron */
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233B82F6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* Premium checkbox */
.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: #48506A;
  padding: 14px;
  background: rgba(59,130,246,0.04);
  border: 1px solid rgba(59,130,246,0.12);
  border-radius: var(--r-sm);
}
.check-row input[type="checkbox"] {
  margin-top: 2px;
  width: 18px; height: 18px;
  accent-color: var(--electric);
  cursor: pointer;
  flex: 0 0 auto;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.form-success, .form-error {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  margin-top: 16px;
  display: none;
}
.form-success {
  background: rgba(16,185,129,0.08);
  color: #047857;
  border: 1px solid rgba(16,185,129,0.3);
}
.form-error {
  background: rgba(239,68,68,0.06);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,0.3);
}

/* Premium submit button — overrides within form */
.form-card .btn-submit {
  width: 100%;
  justify-content: center;
  padding: 18px 22px;
  font-size: 15px;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--electric) 0%, var(--deep) 100%);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.2) inset,
    0 10px 28px -8px rgba(29,78,216,0.55);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.form-card .btn-submit::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.form-card .btn-submit:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 16px 32px -8px rgba(29,78,216,0.7);
  filter: brightness(1.05);
}
.form-card .btn-submit:hover::before { left: 130%; }
.form-card .btn-submit:active { transform: translateY(0); }

.form-footer-note {
  margin-top: 14px;
  font-size: 12px;
  color: #6C7693;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-footer-note svg { flex: 0 0 auto; color: var(--electric); }

.form-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(10,14,26,0.06);
  font-size: 11px;
  font-family: var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8A94A7;
}
.form-trust span { display: inline-flex; align-items: center; gap: 6px; }
.form-trust span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
}

/* ---------- Dividers ---------- */
.hr { height: 1px; background: rgba(255,255,255,0.08); border: 0; margin: 0; }
.hr-light { height: 1px; background: rgba(10,14,26,0.08); border: 0; }

/* ---------- Footer ---------- */
.footer { background: #060912; color: #9FA9BE; padding: 72px 0 32px; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #C7D0E0; margin-bottom: 14px; font-weight: 500; }
.footer ul { padding: 0; margin: 0; list-style: none; }
.footer li { padding: 6px 0; }
.footer a { color: #8A94A7; font-size: 14px; transition: color .15s; }
.footer a:hover { color: var(--electric-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: #6C7693; flex-wrap: wrap; gap: 14px; }
.footer-bottom .badges { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; }
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 9vw, 120px);
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .kicker {
  display: inline-flex; gap: 8px; align-items: center;
  color: #C7D0E0; font-size: 13px; padding: 8px 14px; border-radius: 99px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  font-family: var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero .kicker .live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(16,185,129,0.2); }
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-visual {
  position: relative; z-index: 1;
}

/* Animated hero 'console' */
.console {
  border-radius: var(--r-lg); overflow: hidden;
  background: rgba(10,14,26,0.85); border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(59,130,246,0.1);
  transform: perspective(1400px) rotateX(6deg) rotateY(-4deg);
}
.console-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.console-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.console-bar .dot.r { background: #EF4444; }
.console-bar .dot.y { background: #F59E0B; }
.console-bar .dot.g { background: #10B981; }
.console-bar .title { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: #8A94A7; letter-spacing: 0.1em; }
.console-body { padding: 20px 22px; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.75; color: #C7D0E0; }
.console-body .ok { color: #34D399; }
.console-body .warn { color: #FBBF24; }
.console-body .bad { color: #F87171; }
.console-body .k { color: var(--electric-2); }
.console-body .p { color: #9AA5BC; }
.console-body .t { color: #6C7693; }
.console-body .blink::after { content: "▌"; color: var(--electric); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Callouts ---------- */
.callout-dark {
  background: linear-gradient(135deg, #070A14 0%, #0C132A 100%);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 72px);
  color: #fff; position: relative; overflow: hidden;
}
.callout-dark::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59,130,246,0.28), transparent 70%);
  pointer-events: none;
}

/* ---------- Aside accents ---------- */
.accent-bar {
  width: 44px; height: 3px; background: var(--electric); border-radius: 2px;
  margin-bottom: 14px;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; } .mt-6 { margin-top: 64px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; } .mb-6 { margin-bottom: 64px; }
.two-col { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: 1fr; } .cols-2 { grid-template-columns: 1fr; } }

/* Scroll fade — progressive enhancement.
   Default state is visible so SEO/no-JS/print/screenshots all work.
   Only hide initial state when .js is present on <html>. */
.reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Print-friendly legal page */
.doc {
  color: var(--night); background: #fff;
}
.doc h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.doc h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 42px; margin-bottom: 10px; color: var(--deep); }
.doc h3 { font-size: 18px; margin-top: 28px; margin-bottom: 8px; color: var(--night); }
.doc p, .doc li { color: #2E3548; font-size: 15px; line-height: 1.75; }
.doc ul, .doc ol { padding-left: 22px; margin: 8px 0 16px; }
.doc li { padding: 4px 0; }
.doc .meta { color: #6C7693; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.doc .toc { background: var(--paper); border-radius: var(--r-md); padding: 22px; border: 1px solid rgba(10,14,26,0.06); }
.doc .toc h4 { font-size: 12px; font-family: var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--deep); margin-bottom: 10px; }
.doc .toc ol { padding-left: 20px; margin: 0; }
.doc .toc a { color: var(--deep); text-decoration: none; font-size: 14px; }
.doc .toc a:hover { text-decoration: underline; }

/* Responsive helpers */
@media (max-width: 700px) {
  h1 { font-size: clamp(32px, 8vw, 44px); }
  .hero-visual { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
