/* =========================================================
   CyWAF — Marketing site styles
   Brand: Cyshield guidelines — Blue #1C1998, Red #BC0424,
   Black #171717, White #FFFFFF.
   Secondary: Denim #1E3568, Green #106945, Fire #E6A451.
   ========================================================= */

:root {
  /* Core brand — Cyshield palette */
  --blue: #1C1998;
  --blue-deep: #12103E;
  --blue-mid: #3A59D9;
  --blue-light: #7FA2F4;
  --denim: #1E3568;
  --red: #BC0424;
  --red-light: #D63852;
  --black: #171717;
  --white: #ffffff;

  /* Secondary (use sparingly) */
  --green: #106945;
  --fire: #E6A451;
  --gray: #707070;
  --gray-100: #F1F3F3;

  /* Surfaces — light theme (default) */
  --bg: #f7f7fb;
  --bg-1: #ffffff;
  --bg-2: #f0f1f9;
  --surface: #ffffff;
  --surface-2: #f5f6fc;
  --border: rgba(28, 25, 152, 0.08);
  --border-strong: rgba(28, 25, 152, 0.18);

  /* Text */
  --text: #1b1a1a;
  --text-muted: #55566a;
  --text-dim: #85869a;

  /* AI gradient — red→blue, the signature brand sweep */
  --ai-gradient: linear-gradient(
    90deg,
    #E84A63 0%,
    #BC0424 28%,
    #3A59D9 65%,
    #1C1998 100%
  );

  --shadow-sm: 0 1px 2px rgba(28, 25, 152, 0.05);
  --shadow-md: 0 8px 24px rgba(28, 25, 152, 0.08), 0 2px 6px rgba(28, 25, 152, 0.04);
  --shadow-glow-blue: 0 0 0 1px rgba(58, 89, 217, 0.18),
    0 18px 50px -20px rgba(58, 89, 217, 0.25);
  --shadow-glow-red: 0 0 0 1px rgba(188, 4, 36, 0.14),
    0 18px 40px -20px rgba(188, 4, 36, 0.20);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Body decorative backdrop — very subtle brand-tinted light wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(28, 25, 152, 0.04), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(188, 4, 36, 0.02), transparent 60%),
    linear-gradient(180deg, #f7f7fb 0%, #f0f1f9 100%);
}

::selection {
  background: rgba(28, 25, 152, 0.18);
  color: var(--blue);
}

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

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  overflow: visible;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 600;
}

p {
  margin: 0;
}

code,
pre {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular,
    Menlo, monospace;
  font-size: 13px;
}

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(188, 4, 36, 0.4);
}

.section-title {
  font-size: clamp(30px, 4.2vw, 48px);
  letter-spacing: -0.025em;
  max-width: 760px;
  margin-top: 14px;
  line-height: 1.05;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 17px;
  margin-top: 16px;
  max-width: 620px;
  line-height: 1.55;
}

.section-head {
  margin-bottom: 56px;
}

.grad-text {
  background: var(--ai-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.red-text {
  color: var(--red);
}

.underline-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.underline-accent::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--white) 20%,
    var(--white) 80%,
    transparent
  );
  opacity: 0.4;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 150ms var(--ease), background 150ms var(--ease),
    border-color 150ms var(--ease), box-shadow 150ms var(--ease);
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 30px -10px rgba(28, 25, 152, 0.65);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #2621b8;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.24) inset,
    0 16px 44px -12px rgba(28, 25, 152, 0.9);
}

.btn-red {
  background: var(--red);
  color: #fff;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 10px 30px -10px rgba(188, 4, 36, 0.7);
}

.btn-red:hover {
  transform: translateY(-1px);
  background: #d80831;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 14px 44px -10px rgba(188, 4, 36, 0.95);
}

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

.btn-ghost:hover {
  background: rgba(28, 25, 152, 0.05);
  border-color: rgba(28, 25, 152, 0.3);
}

.btn-lg {
  padding: 14px 22px;
  font-size: 15px;
}

.btn svg {
  width: 14px;
  height: 14px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 1160px;
  z-index: 50;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid var(--border);
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 150ms var(--ease), border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--border-strong);
  box-shadow: 0 6px 20px rgba(28, 25, 152, 0.06);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  transition: transform 150ms var(--ease), opacity 150ms var(--ease);
  line-height: 0;
  margin-left: 8px;
}

.nav-brand:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.nav-brand-logo-full {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 120ms var(--ease), background 120ms var(--ease);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(28, 25, 152, 0.06);
}

.nav-links a.active {
  color: var(--blue);
  background: rgba(28, 25, 152, 0.08);
  box-shadow: inset 0 0 0 1px rgba(28, 25, 152, 0.18);
}

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

.nav-cta .btn {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 999px;
}

.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
}

/* ---------- Decorative brand waves (echo the mockup's layered line motif) ---------- */
/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 180px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Layer 1 — soft gradient base (light) */
.hero-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 20% 100%, rgba(58, 89, 217, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 10%, rgba(188, 4, 36, 0.05), transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(28, 25, 152, 0.05), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f3f4fb 60%, #ebedf7 100%);
}

/* Layer 2 — aurora mesh (4 drifting colour blobs, light tints) */
.hero-mesh {
  position: absolute;
  inset: -10%;
  filter: blur(60px) saturate(1.05);
  opacity: 0.6;
  will-change: transform;
}

.hero-mesh .blob {
  position: absolute;
  border-radius: 50%;
  animation: blob-drift 32s ease-in-out infinite;
  will-change: transform;
}

.hero-mesh .blob-1 {
  top: 6%; left: 8%;
  width: 620px; height: 620px;
  background: radial-gradient(circle at 40% 40%, rgba(58, 89, 217, 0.18), transparent 60%);
}
.hero-mesh .blob-2 {
  top: 22%; right: 4%;
  width: 540px; height: 540px;
  background: radial-gradient(circle at 60% 50%, rgba(127, 162, 244, 0.22), transparent 60%);
  animation-delay: -9s;
  animation-duration: 38s;
}
.hero-mesh .blob-3 {
  bottom: -10%; left: 40%;
  width: 800px; height: 620px;
  background: radial-gradient(circle at 50% 50%, rgba(188, 4, 36, 0.10), transparent 60%);
  animation-delay: -16s;
  animation-duration: 44s;
}
.hero-mesh .blob-4 {
  top: 48%; left: 2%;
  width: 380px; height: 380px;
  background: radial-gradient(circle at 50% 50%, rgba(28, 25, 152, 0.14), transparent 60%);
  animation-delay: -24s;
  animation-duration: 36s;
}

@keyframes blob-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25%      { transform: translate3d(60px, -40px, 0) scale(1.08); }
  50%      { transform: translate3d(-30px, 50px, 0) scale(0.94); }
  75%      { transform: translate3d(40px, 30px, 0) scale(1.05); }
}

/* Layer 3 — perspective grid (very subtle on light) */
.hero-grid {
  position: absolute;
  inset: -1px;
  background-image: linear-gradient(
      to right,
      rgba(28, 25, 152, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(28, 25, 152, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 25%,
    #000 35%,
    transparent 78%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 60% at 50% 25%,
    #000 35%,
    transparent 78%
  );
}

/* Layer 4 — diagonal light beam sweep */
.hero-beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.4) 46%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.4) 54%,
    transparent 65%
  );
  background-size: 260% 100%;
  background-position: -120% 0;
  mix-blend-mode: overlay;
  opacity: 0.6;
  animation: beam-sweep 18s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: background-position;
}

@keyframes beam-sweep {
  0%, 12% { background-position: -120% 0; }
  55%, 100% { background-position: 220% 0; }
}

/* Layer 5 — subtle horizontal scan line at top (radar/WAF feel) */
.hero-scan {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(28, 25, 152, 0.35), transparent);
  filter: blur(1px);
  animation: scan-pulse 6s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes scan-pulse {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(12px); opacity: 0.8; }
}

/* Layer 6 — grain texture (very faint on light) */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.3 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  opacity: 0.025;
  mix-blend-mode: multiply;
}

/* Layer 7 — bottom fade into body bg */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 75%, #f0f1f9 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-mesh .blob,
  .hero-beam,
  .hero-scan {
    animation: none !important;
  }
}

/* Layer 8 — subtle instrument-bezel rails in the hero gutters (wide screens only) */
.hero-rails {
  position: absolute;
  top: 140px;
  bottom: 60px;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
  display: none;
}

@media (min-width: 1280px) {
  .hero-rails {
    display: block;
  }
}

.hero-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(28, 25, 152, 0.14) 20%,
    rgba(28, 25, 152, 0.22) 50%,
    rgba(28, 25, 152, 0.14) 80%,
    transparent 100%
  );
}

.hero-rail-l { left:  max(40px, calc((100vw - 1200px) / 2 - 80px)); }
.hero-rail-r { right: max(40px, calc((100vw - 1200px) / 2 - 80px)); }

.hero-rail-tick {
  position: absolute;
  width: 10px;
  height: 1px;
  background: rgba(28, 25, 152, 0.28);
}

.hero-rail-l .hero-rail-tick { left: -4px; }
.hero-rail-r .hero-rail-tick { right: -4px; }

.hero-rail-tick-strong {
  width: 18px;
  height: 1px;
  background: rgba(28, 25, 152, 0.48);
  box-shadow: 0 0 6px rgba(58, 89, 217, 0.3);
}

.hero-rail-l .hero-rail-tick-strong { left: -8px; }
.hero-rail-r .hero-rail-tick-strong { right: -8px; }

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(188, 4, 36, 0.06);
  border: 1px solid rgba(188, 4, 36, 0.22);
  color: var(--red);
  font-size: 13px;
  margin-bottom: 28px;
}

.hero-badge .chip {
  background: var(--red);
  color: #fff;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge svg {
  width: 12px;
  height: 12px;
  color: var(--red);
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 80px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 26px;
  font-weight: 600;
}

.hero h1 .grad-text {
  background: linear-gradient(
    90deg,
    #BC0424 0%,
    #8E0318 55%,
    #1C1998 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-signal {
  margin-top: 32px;
  color: var(--text-dim);
  font-size: 13px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-signal span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-signal svg {
  width: 14px;
  height: 14px;
  color: #0f9b63;
}

/* ---------- Hero product card (dashboard preview) ---------- */
.hero-product {
  margin-top: 72px;
  perspective: 1500px;
}

.hero-product-frame {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(28, 25, 152, 0.22),
    rgba(28, 25, 152, 0.08) 40%,
    rgba(28, 25, 152, 0.04)
  );
  padding: 1px;
  box-shadow:
    0 30px 80px -20px rgba(28, 25, 152, 0.22),
    0 10px 30px -10px rgba(28, 25, 152, 0.10);
}

.hero-product-frame::after {
  content: "";
  position: absolute;
  inset: -60px;
  background: radial-gradient(
    ellipse at center,
    rgba(58, 89, 217, 0.10),
    rgba(188, 4, 36, 0.03) 50%,
    transparent 65%
  );
  z-index: -1;
  pointer-events: none;
}

.hero-product-inner {
  background: #f5f6fc;
  border-radius: 19px;
  padding: 14px;
}

/* Mock dashboard */
.mock-dash {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  min-height: 500px;
}

.mock-side {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.mock-side-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 6px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

.mock-side-brand img {
  width: 16px;
  height: 20px;
}

.mock-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-side li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  font-size: 13px;
  border-radius: 8px;
  color: var(--text-muted);
}

.mock-side li svg {
  width: 14px;
  height: 14px;
}

.mock-side li.active {
  background: rgba(28, 25, 152, 0.08);
  color: var(--blue);
  border: 1px solid rgba(28, 25, 152, 0.2);
  font-weight: 600;
}

.mock-main {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.mock-topbar h3 {
  font-size: 14px;
  font-weight: 600;
}

.mock-topbar .badge {
  margin-left: auto;
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(15, 155, 99, 0.10);
  color: #0f9b63;
  border: 1px solid rgba(15, 155, 99, 0.32);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mock-topbar .badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0f9b63;
  box-shadow: 0 0 6px rgba(15, 155, 99, 0.5);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mock-stat {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.mock-stat .label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mock-stat .value {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.mock-stat .delta {
  font-size: 11px;
  color: #0f9b63;
  margin-top: 2px;
}

.mock-stat .delta.neg {
  color: var(--red);
}

.mock-chart {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  position: relative;
}

.mock-chart::before,
.mock-feed::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(90deg, transparent, rgba(58, 89, 217, 0.55), transparent);
}

.mock-feed::before {
  background: linear-gradient(90deg, transparent, rgba(232, 74, 99, 0.55), transparent);
}

.mock-chart-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.mock-chart-head strong {
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}

.mock-chart svg {
  width: 100%;
  height: 180px;
  overflow: visible;
  flex: 1;
}

/* ---------- Overview grid (chart + live feed) ---------- */
.mock-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  flex: 1;
}

/* ---------- Live threat feed ---------- */
.mock-feed {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  overflow: hidden;
  position: relative;
}

.mock-feed-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.mock-feed-head strong {
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}

.mock-feed-head .badge {
  margin-left: auto;
  font-size: 10px;
  padding: 3px 8px;
  background: rgba(15, 155, 99, 0.10);
  color: #0f9b63;
  border: 1px solid rgba(15, 155, 99, 0.32);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mock-feed-head .badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0f9b63;
  box-shadow: 0 0 4px rgba(15, 155, 99, 0.5);
  animation: pulse 1.6s ease-in-out infinite;
}

.mock-feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow: hidden;
}

.mock-feed-list li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 11.5px;
}

.mock-feed-list li:last-child {
  border-bottom: 0;
}

.col-time {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.col-time time {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.col-time span {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.col-req {
  min-width: 0;
}

.col-req .req-line {
  font-family: "Geist Mono", monospace;
  font-size: 11.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.col-req .req-line .m {
  color: var(--text-dim);
  margin-right: 6px;
}

.col-req .req-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: var(--text-dim);
  margin-top: 2px;
}

.col-req .req-meta .cc {
  font-family: "Geist Mono", monospace;
  letter-spacing: 0.04em;
  padding: 1px 4px;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-muted);
}

.col-req .req-meta .ip {
  font-family: "Geist Mono", monospace;
  font-variant-numeric: tabular-nums;
}

.mock-feed-foot {
  padding: 8px 14px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  text-align: right;
  color: var(--blue);
  background: rgba(28, 25, 152, 0.025);
}

.sev-med {
  background: rgba(230, 164, 81, 0.14);
  color: #b35300;
  border: 1px solid rgba(230, 164, 81, 0.45);
}

.mock-table {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 12px;
}

.mock-table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 0.6fr 0.6fr;
  padding: 10px 14px;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.mock-table-row:last-child {
  border-bottom: 0;
}

.mock-table-row.head {
  color: var(--text-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(28, 25, 152, 0.03);
}

.sev {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.sev-crit {
  background: rgba(188, 4, 36, 0.10);
  color: var(--red);
  border: 1px solid rgba(188, 4, 36, 0.32);
}

.sev-high {
  background: rgba(230, 164, 81, 0.14);
  color: #b35300;
  border: 1px solid rgba(230, 164, 81, 0.45);
}

.sev-low {
  background: rgba(58, 89, 217, 0.18);
  color: #b5b3ef;
  border: 1px solid rgba(58, 89, 217, 0.4);
}

/* ---------- Trust logos ---------- */
.trust {
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--border);
}

.trust p {
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-row span {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  letter-spacing: -0.01em;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(58, 89, 217, 0.08), rgba(28, 25, 152, 0.04));
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: transform 150ms var(--ease), border-color 150ms var(--ease), box-shadow 150ms var(--ease);
  box-shadow: 0 2px 8px rgba(28, 25, 152, 0.04);
  position: relative;
  overflow: hidden;
}

.trust-row span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(58, 89, 217, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 250ms var(--ease);
}

.trust-row span:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 25, 152, 0.25);
  box-shadow: 0 8px 20px rgba(28, 25, 152, 0.12);
}

.trust-row span:hover::before {
  opacity: 1;
}

/* ---------- Generic section ---------- */
.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.section-divider {
  border-top: 1px solid var(--border);
}

/* ---------- Pillars grid ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pillar {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: transform 250ms var(--ease), border-color 250ms var(--ease),
    box-shadow 250ms var(--ease);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(28, 25, 152, 0.04);
}

.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(58, 89, 217, 0.07),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 250ms var(--ease);
  pointer-events: none;
}

.pillar:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px -30px rgba(28, 25, 152, 0.35);
}

.pillar:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(58, 89, 217, 0.12), rgba(28, 25, 152, 0.06));
  border: 1px solid rgba(28, 25, 152, 0.18);
  display: grid;
  place-items: center;
  color: var(--blue);
  margin-bottom: 20px;
}

.pillar-icon svg {
  width: 20px;
  height: 20px;
}

.pillar.red-accent .pillar-icon {
  background: linear-gradient(180deg, rgba(188, 4, 36, 0.12), rgba(142, 3, 24, 0.05));
  border-color: rgba(188, 4, 36, 0.28);
  color: var(--red);
}

.pillar h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.pillar p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- AI spotlight ---------- */
.ai-spot {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 60px;
  overflow: hidden;
  box-shadow: 0 20px 60px -30px rgba(28, 25, 152, 0.22);
  max-width: 100%;
}

.ai-spot::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(188, 4, 36, 0.10),
    transparent 60%
  );
  filter: blur(50px);
  pointer-events: none;
}

.ai-spot::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(58, 89, 217, 0.14),
    transparent 60%
  );
  filter: blur(50px);
  pointer-events: none;
}

.ai-spot-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow: hidden;
}

.ai-spot h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.ai-spot p {
  color: var(--text-muted);
  font-size: 17px;
  margin-top: 18px;
  line-height: 1.55;
}

.ai-spot ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-spot ul li {
  display: flex;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
  align-items: flex-start;
}

.ai-spot ul li strong {
  font-weight: 600;
}

.ai-spot ul li span {
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
  font-size: 14px;
}

.ai-spot ul li svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ML Flow card */
.ml-flow {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  position: relative;
  box-shadow: 0 12px 32px -16px rgba(28, 25, 152, 0.18);
  overflow: hidden;
  max-width: 100%;
}

.ml-flow h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 16px;
}

.ml-req {
  background: #f5f6fc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #1b1a1a;
  line-height: 1.7;
  position: relative;
  overflow-x: auto;
  max-width: 100%;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.ml-req .k {
  color: var(--blue);
  font-weight: 500;
}

.ml-req .s {
  color: #b35300;
}

.ml-req .w {
  background: rgba(188, 4, 36, 0.12);
  color: var(--red);
  border-radius: 3px;
  padding: 0 2px;
  font-weight: 500;
}

.ml-arrow {
  text-align: center;
  padding: 10px 0;
  line-height: 0;
}

.ml-arrow svg {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  color: var(--red);
}

.ml-score {
  background: linear-gradient(
    135deg,
    rgba(188, 4, 36, 0.08),
    rgba(58, 89, 217, 0.06)
  );
  border: 1px solid rgba(188, 4, 36, 0.25);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ml-score-ring {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 50%;
  background: conic-gradient(
    #BC0424 0 94%,
    rgba(28, 25, 152, 0.08) 94% 100%
  );
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.ml-score-ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #ffffff;
}

.ml-score-ring span {
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: 14px;
  color: var(--red);
}

.ml-score-meta .s1 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.ml-score-meta .s2 {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.ml-llm {
  background: #f5f6fc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 14px 14px 20px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  position: relative;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
}

.ml-llm .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-weight: 600;
}

.ml-llm::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: var(--ai-gradient);
}

.ml-llm .tag-legacy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  top: 40px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(188, 4, 36, 0.4),
    rgba(58, 89, 217, 0.4),
    transparent
  );
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  box-shadow: 0 1px 0 rgba(28, 25, 152, 0.04);
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red), var(--red-light));
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px -4px rgba(188, 4, 36, 0.5);
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 14.5px;
}

.step code {
  display: inline-block;
  margin-top: 12px;
  background: rgba(28, 25, 152, 0.06);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 500;
}

/* ---------- Split feature blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.split.reverse > .split-visual {
  order: -1;
}

.split-copy h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.split-copy p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
}

.split-copy ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.split-copy ul li {
  display: flex;
  gap: 10px;
  color: var(--text);
  font-size: 14.5px;
  align-items: center;
}

.split-copy ul li svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
}

.split-visual {
  background: linear-gradient(
    180deg,
    rgba(28, 25, 152, 0.18),
    rgba(28, 25, 152, 0.04)
  );
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1px;
  box-shadow: 0 12px 32px -16px rgba(28, 25, 152, 0.18);
  overflow: hidden;
  max-width: 100%;
}

.split-visual-inner {
  background: var(--surface);
  border-radius: 19px;
  padding: 22px;
  overflow: hidden;
  max-width: 100%;
}

/* Rule builder visual */
.rule-build {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rule-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f6fc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}

.rule-chip {
  background: rgba(28, 25, 152, 0.08);
  border: 1px solid rgba(28, 25, 152, 0.18);
  color: var(--blue);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.rule-chip.op {
  background: rgba(188, 4, 36, 0.08);
  border-color: rgba(188, 4, 36, 0.28);
  color: var(--red);
}

.rule-chip.val {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
}

.rule-row-then {
  background: rgba(188, 4, 36, 0.06) !important;
  border-color: rgba(188, 4, 36, 0.22) !important;
}

.rule-chip-then {
  background: rgba(188, 4, 36, 0.12) !important;
  border-color: rgba(188, 4, 36, 0.3) !important;
  color: var(--red) !important;
  font-weight: 600;
}

.rule-chip-block {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 2px 6px -2px rgba(188, 4, 36, 0.4);
}

.rule-expert {
  font-family: "Geist Mono", ui-monospace, monospace;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: #1b1a1a;
  font-size: 11.5px;
  line-height: 1.7;
  margin: 0;
  overflow-x: auto;
  white-space: pre;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.rule-expert .c {
  color: var(--text-dim);
}

.rule-expert .k {
  color: var(--blue);
  font-weight: 500;
}

.rule-expert .s {
  color: #b35300;
}

/* Multi-domain grid */
.dom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dom-card {
  background: #f5f6fc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.dom-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 89, 217, 0.15), transparent 50%);
  opacity: 0;
  transition: opacity 250ms var(--ease);
}

.dom-card:hover::before {
  opacity: 1;
}

.dom-card h5 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dom-card h5 .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0f9b63;
  box-shadow: 0 0 6px rgba(15, 155, 99, 0.5);
}

.dom-card .meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
}

.dom-card .bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(28, 25, 152, 0.08);
  overflow: hidden;
}

.dom-card .bar::after {
  content: "";
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--blue));
  width: var(--w, 60%);
}

/* ---------- Governance grid ---------- */
.gov {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gov-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease),
    box-shadow 200ms var(--ease);
  box-shadow: 0 1px 0 rgba(28, 25, 152, 0.04);
}

.gov-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(28, 25, 152, 0.22);
}

.gov-card svg {
  width: 22px;
  height: 22px;
  color: var(--red);
  margin-bottom: 14px;
}

.gov-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.gov-card p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ---------- Developer experience ---------- */
.dev-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.dev-grid > div {
  max-width: 100%;
  overflow: hidden;
}

.dev-grid h2 {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.dev-grid p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.dev-grid ul {
  max-width: 100%;
  overflow: hidden;
}

.dev-grid ul li {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.dev-grid ul li span {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  display: block;
}

.terminal {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px -12px rgba(28, 25, 152, 0.16);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12.5px;
  max-width: 100%;
}

.terminal-head {
  background: #f5f6fc;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.terminal-head .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-head .dot.r {
  background: #ff5f57;
}

.terminal-head .dot.y {
  background: #febc2e;
}

.terminal-head .dot.g {
  background: #28c840;
}

.terminal-head .title {
  margin-left: 10px;
  font-family: "Geist", sans-serif;
}

.terminal-body {
  padding: 18px;
  color: #1b1a1a;
  line-height: 1.78;
  overflow-x: auto;
  white-space: pre;
  background: #ffffff;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.terminal-body .prompt {
  color: var(--text-dim);
  user-select: none;
}

.terminal-body .cmd {
  color: #1b1a1a;
  font-weight: 500;
}

.terminal-body .comment {
  color: var(--text-dim);
}

.terminal-body .k {
  color: var(--blue);
  font-weight: 500;
}

.terminal-body .s {
  color: #b35300;
}

.terminal-body .n {
  color: #9a6a00;
}

.terminal-body .ok {
  color: #0f9b63;
}

.terminal-body .r {
  color: var(--red);
}

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  width: fit-content;
  margin-bottom: 14px;
}

.tab {
  background: transparent;
  border: 0;
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: background 150ms var(--ease), color 150ms var(--ease);
}

.tab.active {
  background: rgba(188, 4, 36, 0.10);
  color: var(--red);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ---------- Stack strip ---------- */
.stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stack-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(28, 25, 152, 0.04);
}

.stack-card h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin: 0 0 12px;
  font-weight: 600;
}

.stack-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stack-card li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stack-card li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-light);
}

/* ---------- Stats row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(28, 25, 152, 0.04);
}

.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: 0;
}

.stat-value {
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: var(--ai-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-label {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* ---------- CTA ---------- */
.cta-final {
  position: relative;
  text-align: center;
  padding: 100px 40px;
  border-radius: 28px;
  background: radial-gradient(
      ellipse at top,
      rgba(58, 89, 217, 0.12),
      transparent 62%
    ),
    radial-gradient(
      ellipse at bottom,
      rgba(188, 4, 36, 0.06),
      transparent 62%
    ),
    linear-gradient(180deg, #ffffff, #f5f6fc);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: 0 20px 60px -30px rgba(28, 25, 152, 0.25);
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(28, 25, 152, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgba(28, 25, 152, 0.05) 1px,
      transparent 1px
    );
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  pointer-events: none;
}

.cta-final h2 {
  font-size: clamp(32px, 4.8vw, 56px);
  letter-spacing: -0.03em;
  position: relative;
  line-height: 1.05;
}

.cta-final p {
  color: var(--text-muted);
  font-size: 17px;
  margin: 18px auto 36px;
  max-width: 520px;
  position: relative;
}

.cta-final .hero-ctas {
  position: relative;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  margin-top: 80px;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
}

.footer-brand-logo-full {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  transition: transform 150ms var(--ease);
}

.footer-brand-logo-full:hover {
  transform: scale(1.02);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 280px;
  line-height: 1.55;
}

.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin: 0 0 14px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 120ms var(--ease);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bar {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: border-color 120ms var(--ease), color 120ms var(--ease),
    background 120ms var(--ease);
}

.footer-social a:hover {
  border-color: rgba(188, 4, 36, 0.55);
  color: var(--red);
  background: rgba(188, 4, 36, 0.08);
}

.footer-social svg {
  width: 14px;
  height: 14px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

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

/* ---------- Responsive ---------- */
/* Tablet: 640px - 1000px */
@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(32px, 8vw, 60px);
  }
  
  .hero-sub {
    font-size: 17px;
  }
  
  .trust-row span {
    font-size: 13px;
    padding: 9px 16px;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section-title {
    font-size: clamp(26px, 6vw, 40px);
  }
  
  .pillar {
    padding: 22px;
  }
  
  /* AI section tablet optimization */
  .ai-spot {
    padding: 40px 30px;
  }
  
  .ai-spot-grid {
    gap: 40px;
  }
  
  .ml-flow {
    padding: 22px;
  }
  
  .ml-req {
    font-size: 11px;
    padding: 12px;
    overflow-x: auto;
  }
  
  .ml-score {
    padding: 14px;
  }
  
  .ml-llm {
    font-size: 12px;
  }
  
  /* Developer experience tablet */
  .terminal-body {
    font-size: 11px;
  }
  
  .rule-expert {
    font-size: 10.5px;
  }
  
  .dev-grid > div {
    max-width: 100%;
  }
  
  .dev-grid h2 {
    font-size: clamp(24px, 5vw, 36px) !important;
    max-width: 100% !important;
  }
  
  .dev-grid p {
    font-size: 15px !important;
    max-width: 100% !important;
  }
  
  .dev-grid ul li {
    font-size: 14px !important;
    max-width: 100% !important;
  }
  
  .dev-grid ul li span {
    font-size: 14px !important;
    max-width: 100% !important;
  }
  
  .split-visual-inner {
    padding: 18px;
  }
  
  /* Fix for mock dashboard overflow */
  .mock-chart svg,
  .mock-feed {
    min-width: 0;
  }
  
  .hero-product-frame {
    max-width: 100%;
  }
  
  /* Fix code blocks on tablet */
  .terminal-body,
  .rule-expert {
    font-size: 11.5px;
  }
}

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }
  .nav-mobile-toggle {
    display: inline-flex;
  }
  .nav-cta {
    margin-left: auto;
  }
  .nav-cta .btn:first-child {
    display: none;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .ai-spot-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .ai-spot {
    padding: 36px 24px;
  }
  
  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .split.reverse > .split-visual {
    order: 0;
  }
  
  .split-copy ul {
    margin-top: 16px;
    gap: 8px;
  }
  
  .split-copy p {
    margin-top: 12px;
  }
  .dev-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .dev-grid > div {
    max-width: 100%;
    overflow: hidden;
  }
  
  .dev-grid h2,
  .dev-grid p,
  .dev-grid ul,
  .dev-grid ul li,
  .dev-grid ul li span {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Terminal mobile optimization */
  .terminal {
    max-width: 100%;
    overflow: hidden;
  }
  
  .terminal-body {
    font-size: 11px;
    overflow-x: auto;
    padding: 14px;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
  }
  .gov {
    grid-template-columns: repeat(2, 1fr);
  }
  .stack {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .stat:nth-child(2n) {
    border-right: 0;
  }
  .stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps::before {
    display: none;
  }
  .mock-dash {
    grid-template-columns: 1fr;
  }
  .mock-side {
    display: none;
  }
  .mock-grid {
    grid-template-columns: 1fr;
  }
  
  /* Terminal overflow fix */
  .terminal-body {
    font-size: 11px;
    overflow-x: auto;
  }
  
  /* Rule builder mobile */
  .rule-build {
    gap: 8px;
  }
  
  .rule-chip {
    font-size: 11px;
    padding: 2px 8px;
  }
  
  .rule-expert {
    font-size: 10px;
    padding: 12px 14px;
    overflow-x: auto;
  }
  
  .split-visual-inner {
    padding: 18px;
  }
  
  .tabs {
    padding: 3px;
    margin-bottom: 12px;
  }
  
  .tab {
    padding: 5px 12px;
    font-size: 11.5px;
  }
  
  /* Radar view mobile */
  .radar-view {
    padding: 32px 24px;
  }
  
  .radar-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  /* Globe/Gateway view mobile */
  .globe-view,
  .gateway-card {
    padding: 32px 24px;
  }
  
  .gateway-grid,
  .globe-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }
  
  .container {
    padding: 0 12px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .hero {
    padding: 140px 0 40px;
  }
  
  .hero h1 {
    font-size: clamp(28px, 10vw, 48px);
    line-height: 1.1;
  }
  
  .hero-sub {
    font-size: 16px;
  }
  
  .hero-signal {
    font-size: 12px;
    gap: 12px;
  }
  
  .trust-row {
    gap: 8px;
  }
  
  .trust-row span {
    font-size: 12px;
    padding: 8px 14px;
  }
  
  .trust p {
    font-size: 11px;
    margin-bottom: 20px;
  }
  
  .pillars {
    grid-template-columns: 1fr;
  }
  
  .gov {
    grid-template-columns: 1fr;
  }
  
  .stack {
    grid-template-columns: 1fr;
  }
  
  .stats {
    grid-template-columns: 1fr;
  }
  
  .stat {
    border-bottom: 1px solid var(--border);
    padding: 28px 22px;
  }
  
  .stat:last-child {
    border-bottom: 0;
  }
  
  .stat-value {
    font-size: 38px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand-logo-full {
    height: 48px;
    margin-bottom: 16px;
  }
  
  .mock-feed-list li {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    padding: 8px 10px;
    font-size: 10.5px;
  }
  
  .dom-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-final {
    padding: 60px 16px;
  }
  
  .cta-final h2 {
    font-size: clamp(28px, 8vw, 42px);
  }
  
  .hero-product-inner {
    padding: 6px;
  }
  
  .ai-spot {
    border-radius: 20px;
    padding: 32px 14px;
  }
  
  .ai-spot-grid {
    gap: 32px;
  }
  
  .ai-spot h2,
  .radar-copy h2,
  .globe-copy h2,
  .gateway-copy h2,
  .split-copy h2 {
    font-size: clamp(24px, 7vw, 36px);
  }
  
  .ai-spot p {
    font-size: 15px;
  }
  
  .ai-spot ul {
    margin-top: 20px;
    gap: 12px;
  }
  
  .ai-spot ul li {
    font-size: 14px;
  }
  
  .ai-spot ul li span {
    font-size: 13px;
  }
  
  /* ML Flow - Fix mobile overflow */
  .ml-flow {
    padding: 16px;
    max-width: 100%;
  }
  
  .ml-flow h4 {
    font-size: 11px;
  }
  
  .ml-req {
    padding: 12px;
    font-size: 10.5px;
    overflow-x: auto;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  
  .ml-score {
    padding: 12px;
    flex-wrap: nowrap;
    gap: 10px;
  }
  
  .ml-score-ring {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }
  
  .ml-score-ring span {
    font-size: 13px;
  }
  
  .ml-score-meta {
    flex: 1;
    min-width: 0;
  }
  
  .ml-score-meta .s1 {
    font-size: 12px;
  }
  
  .ml-score-meta .s2 {
    font-size: 10.5px;
  }
  
  .ml-llm {
    padding: 12px 12px 12px 16px;
    font-size: 11.5px;
  }
  
  .ml-llm code {
    font-size: 10.5px;
    padding: 1px 4px;
  }
  
  /* Radar chart mobile fixes */
  .radar-chart {
    max-height: 280px;
  }
  
  .radar-card {
    padding: 16px;
  }
  
  .radar-view,
  .globe-view,
  .gateway-card {
    padding: 28px 14px;
    border-radius: 20px;
  }
  
  /* Globe/Gateway visualization mobile fixes */
  .globe-viz,
  .gateway-viz {
    max-width: 100%;
    width: 100%;
  }
  
  /* Fix comparison table mobile */
  .compare-card {
    border-radius: 16px;
  }
  
  /* Developer experience mobile */
  .dev-grid {
    gap: 32px;
  }
  
  .dev-grid > div {
    padding: 0;
    max-width: 100%;
  }
  
  .dev-grid h2 {
    font-size: clamp(22px, 6vw, 32px) !important;
    max-width: 100% !important;
  }
  
  .dev-grid p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    margin-top: 14px !important;
  }
  
  .dev-grid ul {
    margin-top: 20px !important;
    gap: 10px !important;
  }
  
  .dev-grid ul li {
    font-size: 13px !important;
    gap: 8px !important;
    max-width: 100% !important;
  }
  
  .dev-grid ul li span {
    font-size: 13px !important;
    max-width: 100% !important;
  }
  
  .dev-grid ul li code {
    font-size: 11px !important;
    padding: 1px 4px !important;
  }
  
  .dev-grid .btn {
    font-size: 13px;
    padding: 10px 14px;
  }
  
  .dev-grid > div > div {
    flex-wrap: wrap;
    max-width: 100%;
  }
  
  .terminal {
    border-radius: 12px;
  }
  
  .terminal-body {
    font-size: 10.5px;
    padding: 14px;
    line-height: 1.7;
  }
  
  .terminal-head {
    padding: 8px 12px;
    font-size: 11px;
  }
  
  .terminal-head .title {
    font-size: 11px;
  }
  
  /* Split sections mobile */
  .split-visual {
    border-radius: 16px;
  }
  
  .split-visual-inner {
    padding: 14px;
  }
  
  .rule-build {
    gap: 6px;
  }
  
  .rule-row {
    padding: 8px 10px;
    font-size: 12px;
    flex-wrap: wrap;
  }
  
  .rule-chip {
    font-size: 10.5px;
    padding: 2px 7px;
  }
  
  .rule-chip.val {
    font-size: 10px;
  }
  
  .rule-expert {
    font-size: 10px;
    padding: 12px;
  }
  
  .tabs {
    margin-bottom: 10px;
  }
  
  .tab {
    padding: 5px 10px;
    font-size: 11px;
  }
  
  /* Fix nav on mobile */
  .nav {
    width: calc(100% - 12px);
    padding: 10px 10px;
  }
  
  .nav-brand-logo-full {
    height: 38px;
    object-fit: contain;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .container {
    padding: 0 10px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: clamp(26px, 11vw, 40px);
  }
  
  .trust-row {
    gap: 6px;
  }
  
  .trust-row span {
    font-size: 11px;
    padding: 7px 12px;
  }
  
  .trust p {
    font-size: 10px;
  }
  
  .ai-spot {
    padding: 24px 12px;
  }
  
  .split {
    gap: 20px;
  }
  
  .split-copy h2 {
    font-size: clamp(22px, 6vw, 32px);
  }
  
  .split-copy ul {
    margin-top: 14px;
    gap: 6px;
  }
  
  .split-copy ul li {
    font-size: 13px;
    gap: 8px;
  }
  
  .split-copy p {
    margin-top: 10px;
    font-size: 14px;
  }
  
  .dev-grid > div {
    padding: 0;
  }
  
  .dev-grid h2 {
    font-size: clamp(20px, 7vw, 28px) !important;
    max-width: 100% !important;
  }
  
  .dev-grid p {
    font-size: 13px !important;
    max-width: 100% !important;
    margin-top: 12px !important;
  }
  
  .dev-grid ul {
    margin-top: 18px !important;
    gap: 8px !important;
  }
  
  .dev-grid ul li {
    font-size: 12px !important;
    gap: 6px !important;
    max-width: 100% !important;
  }
  
  .dev-grid ul li span {
    font-size: 12px !important;
    max-width: 100% !important;
  }
  
  .dev-grid ul li code {
    font-size: 10px !important;
    padding: 1px 3px !important;
  }
  
  .ml-flow {
    padding: 16px;
  }
  
  .ml-req {
    padding: 10px;
    font-size: 10px;
  }
  
  .ml-score {
    padding: 10px;
    gap: 8px;
  }
  
  .ml-score-ring {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  
  .ml-score-ring span {
    font-size: 12px;
  }
  
  .ml-score-meta .s1 {
    font-size: 11px;
  }
  
  .ml-score-meta .s2 {
    font-size: 10px;
  }
  
  .ml-llm {
    padding: 10px 10px 10px 14px;
    font-size: 11px;
  }
  
  .ml-llm code {
    font-size: 10px;
  }
  
  .terminal-body {
    font-size: 10px;
    padding: 12px;
  }
  
  .terminal-head {
    padding: 8px 10px;
    font-size: 10px;
  }
  
  .terminal-head .dot {
    width: 8px;
    height: 8px;
  }
  
  .rule-expert {
    font-size: 9.5px;
    padding: 10px;
  }
  
  .rule-row {
    padding: 7px 8px;
    gap: 6px;
  }
  
  .rule-chip {
    font-size: 10px;
    padding: 2px 6px;
  }
  
  .rule-chip.val {
    font-size: 9.5px;
  }
  
  .split-visual-inner {
    padding: 14px;
  }
  
  .stat-value {
    font-size: 32px;
  }
  
  .pillar,
  .gov-card,
  .stack-card,
  .step {
    padding: 16px;
  }
  
  .btn-lg {
    padding: 12px 18px;
    font-size: 14px;
  }
  
  .hero-ctas .btn {
    padding: 12px 20px;
  }
  
  .nav-brand-logo-full {
    height: 34px;
    object-fit: contain;
  }
  
  .footer-brand-logo-full {
    height: 42px;
    margin-bottom: 14px;
  }
}

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

/* ---------- Per-class radar ---------- */
.radar-view {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 60px;
  background: linear-gradient(180deg, rgba(58, 89, 217, 0.04), rgba(188, 4, 36, 0.015));
  overflow: hidden;
}

.radar-view::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(58, 89, 217, 0.12), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.radar-view::after {
  content: "";
  position: absolute;
  bottom: -200px;
  right: -150px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(188, 4, 36, 0.08), transparent 60%);
  filter: blur(70px);
  pointer-events: none;
}

.radar-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.radar-copy h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.radar-copy p {
  color: var(--text-muted);
  font-size: 17px;
  margin-top: 18px;
  line-height: 1.55;
}

.radar-legend {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radar-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
}

.radar-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.radar-legend .dot.top {
  background: var(--red-light);
  box-shadow: 0 0 10px var(--red-light);
}
.radar-legend .dot.mid { background: var(--blue-light); }
.radar-legend .dot.low { background: var(--text-dim); }

.radar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 10px 30px -20px rgba(28, 25, 152, 0.18);
}

.radar-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.radar-card-head h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 500;
  margin: 0;
}

.radar-card-head p {
  color: var(--text-muted);
  font-size: 12.5px;
  margin: 4px 0 0;
  font-family: "Geist Mono", ui-monospace, monospace;
}

.radar-badge {
  background: rgba(188, 4, 36, 0.08);
  border: 1px solid rgba(188, 4, 36, 0.25);
  color: var(--red);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.radar-chart {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  margin: 4px auto 0;
  max-width: 100%;
}

@media (max-width: 768px) {
  .radar-chart {
    max-height: 320px;
  }
}

.radar-shape {
  fill: rgba(58, 89, 217, 0.18);
  stroke: var(--blue);
  stroke-width: 1.75;
  stroke-linejoin: round;
}

.radar-dots circle { fill: var(--blue); }

.radar-dots circle.top {
  fill: var(--red);
  filter: drop-shadow(0 0 4px rgba(188, 4, 36, 0.6));
}

.radar-labels { fill: var(--text-muted); }
.radar-labels .top-label { fill: var(--red); font-weight: 600; }

.radar-card-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}

.radar-card-foot span:first-child {
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10.5px;
  font-weight: 600;
}

.radar-card-foot strong {
  color: var(--red);
  font-weight: 600;
}

.radar-card-foot .sep { color: var(--text-dim); }
.radar-card-foot .muted { color: var(--text-muted); }

@media (max-width: 860px) {
  .radar-view { padding: 32px; }
  .radar-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Live inspection pipeline (gateway) ---------- */
.gateway-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px 56px 44px;
  background: linear-gradient(180deg, rgba(58, 89, 217, 0.06), rgba(127, 162, 244, 0.04));
  overflow: hidden;
}

.gateway-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(58, 89, 217, 0.25), transparent 60%);
  filter: blur(70px);
  pointer-events: none;
}

.gateway-card::after {
  content: "";
  position: absolute;
  inset: auto auto -40% -15%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(127, 162, 244, 0.18), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

/* ambient log backdrop (reused from earlier) */
.gateway-bg-logs {
  position: absolute;
  inset: 30px 20px;
  pointer-events: none;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--text-dim);
  opacity: 0.13;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
  z-index: 0;
}
.gateway-bg-logs .log-line {
  white-space: nowrap;
  padding: 3px 0;
  letter-spacing: 0.01em;
  animation: log-scroll 28s linear infinite;
}
.gateway-bg-logs .log-line:nth-child(odd)  { animation-duration: 32s; }
.gateway-bg-logs .log-line:nth-child(3n)   { animation-duration: 25s; animation-delay: -4s; }
.gateway-bg-logs .log-line:nth-child(4n+1) { animation-delay: -12s; }
.gateway-bg-logs .log-line:nth-child(5n)   { animation-delay: -18s; }
.gateway-bg-logs .log-line .t { color: var(--text-dim); }
.gateway-bg-logs .log-line .r { color: var(--red); font-weight: 600; }
.gateway-bg-logs .log-line .m { color: var(--text-muted); font-style: italic; opacity: 0.8; }

.gateway-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: center;
}

.gateway-copy h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.gateway-copy p {
  color: var(--text-muted);
  font-size: 17px;
  margin-top: 18px;
  line-height: 1.55;
}

.gateway-steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gateway-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
}
.gateway-steps li div { display: flex; flex-direction: column; gap: 2px; }
.gateway-steps li strong { font-size: 14px; font-weight: 600; }
.gateway-steps li span { font-size: 13px; color: var(--text-muted); }
.gateway-steps .s-dot {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.gateway-steps .s-dot::before {
  content: counter(step-i);
}
.gateway-steps { counter-reset: step-i; }
.gateway-steps li { counter-increment: step-i; }
.gateway-steps .s1 { background: var(--blue-mid); box-shadow: 0 0 10px rgba(58, 89, 217, 0.5); }
.gateway-steps .s2 { background: var(--blue-light); box-shadow: 0 0 10px rgba(127, 162, 244, 0.5); }
.gateway-steps .s3 { background: #c469ff; box-shadow: 0 0 10px rgba(127, 162, 244, 0.55); }
.gateway-steps .s4 { background: var(--red-light); box-shadow: 0 0 10px rgba(232, 74, 99, 0.55); }

/* SVG gateway visualization */
.gateway-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gateway-viz {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(7, 5, 42, 0.45));
}

.gateway-viz .gw-label {
  fill: var(--text);
  font-family: "Geist", sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.gateway-viz .gw-sub {
  fill: var(--text-dim);
  font-family: "Geist", sans-serif;
  font-size: 11px;
}

/* Source/origin nodes */
.gateway-viz .node-glow {
  fill: rgba(127, 162, 244, 0.18);
  filter: blur(3px);
}
.gateway-viz .node-base {
  fill: var(--blue);
  stroke: var(--blue);
  stroke-width: 1.25;
}
.gateway-viz .origin-glow {
  fill: rgba(110, 217, 164, 0.2);
  animation: origin-breathe 3s ease-in-out infinite;
}
.gateway-viz .origin-base {
  fill: #0f3a2a;
  stroke: #0f9b63;
  stroke-width: 1.25;
}
@keyframes origin-breathe {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* Rules gate pulse on hit */
.gateway-viz .gate-pulse-rules {
  opacity: 0;
  animation: gate-pulse 3.65s ease-out infinite;
  animation-delay: 0.55s;  /* sync with bad-sig packets */
}
@keyframes gate-pulse {
  0%, 90%  { opacity: 0; }
  94%      { opacity: 1; stroke-width: 2.5; }
  100%     { opacity: 0; stroke-width: 1.5; }
}

/* AI scanning laser */
.gateway-viz .ai-scan {
  animation: ai-scan-sweep 2.2s ease-in-out infinite;
}
@keyframes ai-scan-sweep {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(297px); }
  100% { transform: translateY(0); }
}

.gateway-viz .ai-spark {
  transform-origin: center;
  transform-box: fill-box;
  animation: ai-spark-pulse 2.2s ease-in-out infinite;
}
@keyframes ai-spark-pulse {
  0%, 100% { transform: rotate(0deg) scale(0.9); opacity: 0.7; }
  50%      { transform: rotate(90deg) scale(1.1); opacity: 1; }
}

/* Packet flow */
.gateway-viz .packet {
  animation: packet-fly 7s linear infinite;
  will-change: transform;
}
.gateway-viz .packet-dot {
  fill: var(--blue);
  filter: drop-shadow(0 0 3px rgba(127, 162, 244, 0.9));
}
.gateway-viz .packet-burst {
  fill: none;
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

/* GOOD packet: flies full span, colored blue → green after AI gate */
.packet-good .packet-dot {
  animation: packet-dot-good 7s linear infinite;
}
@keyframes packet-dot-good {
  0%, 59% { fill: var(--blue); transform: scale(1); }
  60%     { fill: #0f9b63; transform: scale(1.35); }  /* AI clears */
  65%, 100% { fill: #0f9b63; transform: scale(1); }
}
.packet-good { animation-name: packet-fly-good; }
@keyframes packet-fly-good {
  0%   { transform: translate(0, 0); opacity: 0; }
  6%   { opacity: 1; }
  94%  { transform: translate(780px, 0); opacity: 1; }
  100% { transform: translate(780px, 0); opacity: 0; }
}

/* BAD at rules: killed at gate rules (~x=320) */
.packet-bad-sig .packet-dot {
  animation: packet-dot-bad 7s linear infinite;
}
@keyframes packet-dot-bad {
  0%, 40% { fill: var(--blue); opacity: 1; }
  44%     { fill: var(--red-light); }
  48%     { opacity: 0; }
  100%    { opacity: 0; }
}
.packet-bad-sig { animation-name: packet-fly-rules-kill; }
@keyframes packet-fly-rules-kill {
  0%   { transform: translate(0, 0); opacity: 0; }
  6%   { opacity: 1; }
  44%  { transform: translate(315px, 0); opacity: 1; }
  100% { transform: translate(315px, 0); opacity: 0; }
}
.packet-bad-sig .packet-burst {
  stroke: var(--red-light);
  animation: burst-ring 7s ease-out infinite;
}
@keyframes burst-ring {
  0%, 40%   { transform: scale(0.5); opacity: 0; }
  44%       { transform: scale(0.8); opacity: 1; }
  52%       { transform: scale(2.5); opacity: 0.55; }
  58%, 100% { transform: scale(4); opacity: 0; }
}

/* BAD at AI: killed at AI gate (~x=470) */
.packet-bad-ai .packet-dot {
  animation: packet-dot-bad-ai 7s linear infinite;
}
@keyframes packet-dot-bad-ai {
  0%, 54% { fill: var(--blue); opacity: 1; }
  58%     { fill: #c469ff; }  /* flicker purple at AI */
  60%     { fill: var(--red-light); }
  64%     { opacity: 0; }
  100%    { opacity: 0; }
}
.packet-bad-ai { animation-name: packet-fly-ai-kill; }
@keyframes packet-fly-ai-kill {
  0%   { transform: translate(0, 0); opacity: 0; }
  6%   { opacity: 1; }
  60%  { transform: translate(465px, 0); opacity: 1; }
  100% { transform: translate(465px, 0); opacity: 0; }
}
.packet-bad-ai .packet-burst {
  stroke: var(--red-light);
  animation: burst-ring-ai 7s ease-out infinite;
}
@keyframes burst-ring-ai {
  0%, 56%   { transform: scale(0.5); opacity: 0; }
  60%       { transform: scale(0.8); opacity: 1; }
  68%       { transform: scale(2.5); opacity: 0.5; }
  75%, 100% { transform: scale(4); opacity: 0; }
}

/* Stats ribbon */
.gateway-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gs-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(9, 8, 42, 0.55);
  border: 1px solid var(--border);
}
.gs-item .gs-num {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.gs-item .gs-label {
  font-size: 11.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gs-item.danger  .gs-num { color: var(--red); }
.gs-item.success .gs-num { color: #0f9b63; }

@media (max-width: 960px) {
  .gateway-grid { grid-template-columns: 1fr; gap: 32px; }
  .gateway-card { padding: 36px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .gateway-viz .packet,
  .gateway-viz .packet-dot,
  .gateway-viz .packet-burst,
  .gateway-viz .ai-scan,
  .gateway-viz .ai-spark,
  .gateway-viz .gate-pulse-rules,
  .gateway-viz .origin-glow,
  .gateway-bg-logs .log-line {
    animation: none !important;
  }
}

/* ---------- LEGACY globe styles (unused, kept for safety) ---------- */
.globe-view {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 60px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 20px 60px -30px rgba(28, 25, 152, 0.22);
}

.globe-view::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(58, 89, 217, 0.10), transparent 60%);
  filter: blur(70px);
  pointer-events: none;
}

.globe-view::after {
  content: "";
  position: absolute;
  inset: auto auto -40% -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(188, 4, 36, 0.06), transparent 60%);
  filter: blur(70px);
  pointer-events: none;
}

/* Subtle scrolling attack-log backdrop */
.globe-bg-logs {
  position: absolute;
  inset: 40px 30px;
  pointer-events: none;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  color: rgba(28, 25, 152, 0.5);
  opacity: 0.25;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
  z-index: 0;
}

.globe-bg-logs .log-line {
  white-space: nowrap;
  padding: 3px 0;
  letter-spacing: 0.01em;
  animation: log-scroll 26s linear infinite;
  will-change: transform;
}
.globe-bg-logs .log-line:nth-child(odd)  { animation-duration: 28s; }
.globe-bg-logs .log-line:nth-child(3n)   { animation-duration: 24s; animation-delay: -4s; }
.globe-bg-logs .log-line:nth-child(4n+1) { animation-delay: -11s; }
.globe-bg-logs .log-line:nth-child(5n)   { animation-delay: -17s; }

.globe-bg-logs .log-line .t { color: rgba(28, 25, 152, 0.55); }
.globe-bg-logs .log-line .r { color: var(--red); font-weight: 600; }
.globe-bg-logs .log-line .m { color: rgba(85, 86, 106, 0.75); font-style: italic; }

@keyframes log-scroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.globe-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.globe-copy h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.globe-copy p {
  color: var(--text-muted);
  font-size: 17px;
  margin-top: 18px;
  line-height: 1.55;
}

.globe-legend {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.globe-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
}

.globe-legend .g-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.globe-legend .g-dot.red {
  background: var(--red-light);
  box-shadow: 0 0 10px var(--red-light);
}
.globe-legend .g-dot.blue {
  background: var(--blue-light);
}
.globe-legend .g-dot.ring {
  background: transparent;
  border: 1.5px solid var(--red-light);
}

.globe-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}

.globe-viz {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(28, 25, 152, 0.14));
}

/* Graticule reference lines */
.globe-viz .globe-grat ellipse {
  fill: none;
  stroke: rgba(28, 25, 152, 0.10);
  stroke-width: 1;
}

/* Continent dots (projected onto sphere) */
.globe-viz .globe-land circle {
  /* fill + opacity are baked into each circle element */
}

/* City attack origins — pulsing red dots on the globe */
.globe-viz .city-attack {
  fill: var(--red);
  filter: drop-shadow(0 0 4px rgba(188, 4, 36, 0.6));
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: city-pulse 4.2s ease-out infinite;
}
@keyframes city-pulse {
  0%, 8%         { opacity: 0; transform: scale(0.4); }
  12%, 25%       { opacity: 1; transform: scale(1.3); }
  40%            { opacity: 0.75; transform: scale(1); }
  70%, 100%      { opacity: 0.35; transform: scale(1); }
}

/* Globe slow rotation (the dots + arcs group rotate; halo + body stay static) */
.globe-viz .globe-rotating {
  transform-box: view-box;
  transform-origin: center;
  animation: globe-spin 80s linear infinite;
}
@keyframes globe-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Attack trajectories — trace from attacker city across to target city */
.globe-viz .attack-arc {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  opacity: 0;
  animation: arc-trace 4.8s ease-in-out infinite;
  filter: drop-shadow(0 0 2px rgba(188, 4, 36, 0.45));
}
@keyframes arc-trace {
  0%, 5%     { stroke-dashoffset: 480; opacity: 0; }
  10%        { opacity: 1; }
  55%        { stroke-dashoffset: 0; opacity: 1; }
  65%        { opacity: 0.5; }
  80%, 100%  { stroke-dashoffset: -120; opacity: 0; }
}

/* Target-hit: expanding ring when arc reaches its target city */
.globe-viz .target-hit {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.6;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: target-hit 4.8s ease-out infinite;
  filter: drop-shadow(0 0 3px rgba(188, 4, 36, 0.55));
}
@keyframes target-hit {
  0%, 52%   { transform: scale(0.3); opacity: 0; stroke-width: 2; }
  56%       { transform: scale(0.6); opacity: 1; stroke-width: 2; }
  70%       { transform: scale(2.4); opacity: 0.5; stroke-width: 1; }
  82%, 100% { transform: scale(4); opacity: 0; stroke-width: 0.3; }
}

/* Elimination burst — expanding ring + flashing core */
.globe-viz .burst-ring {
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  animation: burst 4.2s ease-out infinite;
}
.globe-viz .burst-ring.burst-ring-2 {
  /* offset ring for double-pulse */
  animation: burst 4.2s ease-out infinite;
  animation-delay: inherit;
}

@keyframes burst {
  0%, 48%   { transform: scale(0.4); opacity: 0; stroke-width: 2; }
  52%       { transform: scale(0.6); opacity: 1; stroke-width: 2; }
  62%       { transform: scale(2); opacity: 0.7; stroke-width: 1.3; }
  72%, 100% { transform: scale(3.5); opacity: 0; stroke-width: 0.5; }
}

.globe-viz .burst-core {
  fill: var(--red);
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(188, 4, 36, 0.7));
  animation: burst-core 4.2s ease-out infinite;
}
@keyframes burst-core {
  0%, 48%   { opacity: 0; }
  50%, 55%  { opacity: 1; }
  65%, 100% { opacity: 0; }
}

/* Central protected-origin shield */
.globe-viz .target-shield-ring {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.25;
  opacity: 0.6;
  transform-box: fill-box;
  transform-origin: center;
  animation: shield-breathe 3.5s ease-in-out infinite;
}
.globe-viz .target-shield-ring.target-shield-ring-2 {
  stroke-width: 1;
  opacity: 0.7;
  animation-delay: -1.75s;
}
@keyframes shield-breathe {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50%      { transform: scale(1.12); opacity: 0.9; }
}

.globe-viz .target-shield-icon {
  fill: var(--blue);
  filter: drop-shadow(0 0 4px rgba(28, 25, 152, 0.35));
}

@media (prefers-reduced-motion: reduce) {
  .globe-viz .city-attack,
  .globe-viz .attack-arc,
  .globe-viz .burst-ring,
  .globe-viz .burst-core {
    animation: none !important;
    opacity: 0.6;
  }
}

@media (max-width: 860px) {
  .globe-view { padding: 32px; }
  .globe-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Comparison table ---------- */
.compare-card {
  margin-top: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px -20px rgba(28, 25, 152, 0.18);
}

.compare-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--blue) 50%, transparent),
    color-mix(in srgb, var(--blue-mid) 70%, transparent),
    color-mix(in srgb, var(--blue) 50%, transparent),
    transparent
  );
  pointer-events: none;
}

.compare-table {
  display: flex;
  flex-direction: column;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1.35fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.compare-row:first-child {
  border-top: 0;
}

.compare-row > div {
  padding: 16px 22px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.compare-row > div:first-child {
  flex-direction: column;
  gap: 2px;
  background: rgba(28, 25, 152, 0.02);
  border-right: 1px solid var(--border);
}

.compare-row > div:first-child strong {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.compare-sub {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 400;
}

/* Header row */
.compare-head > div {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  background: rgba(28, 25, 152, 0.05);
}

.compare-head .compare-us {
  color: var(--blue);
  font-weight: 700;
}

/* CyWAF (winner) column */
.compare-us {
  background: linear-gradient(
    180deg,
    rgba(58, 89, 217, 0.06),
    rgba(58, 89, 217, 0.02)
  );
  border-right: 1px solid var(--border);
  color: var(--text);
  position: relative;
}

.compare-head.compare-row .compare-us::after {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-mid), transparent);
}

.compare-them {
  color: var(--text-muted);
}

/* Check / X icons */
.compare-check,
.compare-x {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.compare-check {
  color: #0f9b63;
  filter: drop-shadow(0 0 2px rgba(15, 155, 99, 0.2));
}

.compare-check-dim {
  color: rgba(15, 155, 99, 0.45);
  filter: none;
}

.compare-x {
  color: var(--red);
  opacity: 0.72;
}

.compare-footnote {
  padding: 16px 22px 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.55;
  background: rgba(28, 25, 152, 0.025);
}

@media (max-width: 860px) {
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-row > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
  }
  .compare-row > div {
    padding: 12px 18px;
    font-size: 13.5px;
    line-height: 1.6;
  }
  .compare-us {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .compare-head {
    display: none;
  }
  .compare-row:not(.compare-head) > .compare-us::before {
    content: "CyWAF";
    font-weight: 600;
    color: var(--blue);
    display: block;
    margin-bottom: 4px;
  }
  .compare-row:not(.compare-head) > .compare-them::before {
    content: "Others";
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
  }
}

@media (max-width: 400px) {
  .compare-row > div {
    padding: 10px 16px;
    font-size: 13px;
    line-height: 1.65;
  }
  .compare-row > div:first-child {
    padding-bottom: 8px;
  }
  .compare-row:not(.compare-head) > .compare-us::before,
  .compare-row:not(.compare-head) > .compare-them::before {
    margin-bottom: 3px;
  }
}
