/* ============================================================
   ThreatBlade marketing site — emerald (#10B981) → violet (#7C3AED)
   matches product theme (mark.svg / favicon.svg gradient)
   ============================================================ */

:root {
  --bg: #0B1220;            /* matches favicon background */
  --bg-2: #0E1729;
  --surface: #111c33;
  --surface-2: #16223d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e8ecf5;
  --text-muted: #98a3b8;
  --text-dim: #6b768f;

  --emerald: #10B981;
  --violet:  #7C3AED;
  --emerald-soft: rgba(16, 185, 129, 0.12);
  --violet-soft:  rgba(124, 58, 237, 0.14);
  --grad: linear-gradient(135deg, #10B981 0%, #7C3AED 100%);
  --grad-soft: linear-gradient(135deg, rgba(16,185,129,0.15) 0%, rgba(124,58,237,0.15) 100%);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 1px 2px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.25);
  --shadow-2: 0 0 0 1px var(--line-strong), 0 30px 60px rgba(0,0,0,0.45);
  --shadow-glow: 0 8px 28px rgba(16, 185, 129, 0.30), 0 8px 28px rgba(124, 58, 237, 0.20);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

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

/* ============================ NAV ============================ */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark { width: 32px; height: 32px; }
.brand-logo { height: 36px; width: auto; display: block; }
.footer .brand-logo { height: 32px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Language toggle button — sits next to the primary CTA in nav */
.lang-switch {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 7px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.lang-switch:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: var(--emerald-soft);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 12px; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(16, 185, 129, 0.40), 0 14px 40px rgba(124, 58, 237, 0.30);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); border-color: var(--emerald); }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
  isolation: isolate;        /* prevents bg-grid / bg-glow leaking into other sections */
  contain: paint;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16,185,129,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,185,129,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 70%);
  z-index: -2;
}
.bg-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background:
    radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.25), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(124, 58, 237, 0.25), transparent 50%);
  filter: blur(50px);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text { position: relative; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.hero-title {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 580px;
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: 17px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(17, 28, 51, 0.5);
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.hero-stats strong {
  font-size: 24px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== Hero shield SVG ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.shield-svg { width: 100%; max-width: 520px; overflow: visible; }
@keyframes radarSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.radar-sweep { animation: radarSpin 8s linear infinite; transform-origin: 260px 260px; transform-box: fill-box; }
@keyframes pingExpand {
  0% { r: 100; opacity: 0.6; }
  100% { r: 200; opacity: 0; }
}
.shield-svg .ping { animation: pingExpand 3s ease-out infinite; transform-origin: center; }
.shield-svg .ping-1 { animation-delay: 0s; }
.shield-svg .ping-2 { animation-delay: 1s; }
.shield-svg .ping-3 { animation-delay: 2s; }

@keyframes vectorPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.shield-svg .vector { animation: vectorPulse 2.5s ease-in-out infinite; }
.shield-svg .v1 { animation-delay: 0s; }
.shield-svg .v2 { animation-delay: 0.6s; }
.shield-svg .v3 { animation-delay: 1.2s; }
.shield-svg .v4 { animation-delay: 1.8s; }

/* opacity-only pulse — DO NOT use transform on SVG <g>: CSS transform
   overrides the SVG transform="translate(...)" attribute and sends
   every tag to the viewBox origin. */
@keyframes tagPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.shield-svg .tag { animation: tagPulse 3s ease-in-out infinite; }
.shield-svg .tag:nth-of-type(2) { animation-delay: 1s; }
.shield-svg .tag:nth-of-type(3) { animation-delay: 2s; }

/* ============================ TRUSTBAR ============================ */
.trustbar {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.trust-label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin: 0 0 18px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ============================ SECTION ============================ */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); }
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0;
}

/* ============================ CTEM ============================ */
.ctem-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ctem-svg { width: 100%; height: auto; max-width: 560px; display: block; margin: 0 auto; }

/* dashed ring flows clockwise — gives the "continuous" feeling */
@keyframes ctemRingFlow {
  to { stroke-dashoffset: -320; }
}
.ctem-ring { animation: ctemRingFlow 12s linear infinite; }

/* Validation node glow + outward pulse */
@keyframes ctemPulse {
  0%   { stroke-opacity: 0.7; r: 56; }
  100% { stroke-opacity: 0;   r: 90; }
}
.ctem-pulse { animation: ctemPulse 2s ease-out infinite; transform-origin: center; transform-box: fill-box; }

@keyframes ctemGlow {
  0%, 100% { opacity: 0.18; }
  50%      { opacity: 0.38; }
}
.ctem-active circle:first-of-type { animation: ctemGlow 2.5s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.ctem-text h3 {
  font-size: 22px;
  margin: 0 0 14px;
  font-weight: 700;
}
.ctem-text > p {
  color: var(--text-muted);
  font-size: 15.5px;
  margin: 0 0 22px;
}
.ctem-text strong { color: var(--emerald); font-weight: 700; }
.ctem-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.ctem-list li {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--emerald);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.ctem-list li strong { color: var(--text); margin-right: 8px; }
.ctem-quote {
  padding: 20px;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}
.ctem-quote em { color: var(--text); }
.ctem-quote span { display: inline-block; margin-top: 8px; font-style: normal; color: var(--text-dim); font-size: 13px; }

/* ============================ KILL CHAIN ============================ */
.kc-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  overflow: hidden;
}
.kc-svg { width: 100%; height: auto; display: block; }
.kc-packet { filter: drop-shadow(0 0 8px var(--emerald)); }

/* Wide SVGs (kill chain + pipeline) need horizontal scroll on mobile —
   their inner content needs a minimum readable width. */
.kc-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.4) transparent;
}
.kc-scroll::-webkit-scrollbar { height: 6px; }
.kc-scroll::-webkit-scrollbar-track { background: transparent; }
.kc-scroll::-webkit-scrollbar-thumb { background: rgba(16, 185, 129, 0.4); border-radius: 3px; }
.kc-scroll > svg { min-width: 1000px; }

.kc-summary {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.kc-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}
.kc-stat strong {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.kc-stat .kc-num-ok   { color: #10B981; }
.kc-stat .kc-num-miss { color: #ef4444; }
.kc-stat span {
  font-size: 13px;
  color: var(--text-muted);
}

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

.card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.35);
  background: var(--surface-2);
}
.card h3 { font-size: 18px; margin: 0 0 10px; font-weight: 700; }
.card p { color: var(--text-muted); margin: 0; font-size: 14.5px; }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad-soft);
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.card-icon svg { width: 24px; height: 24px; }

/* ============================ MODULES ============================ */
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mod {
  position: relative;
  padding: 22px 22px 50px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 200ms ease, transform 200ms ease;
}
.mod:hover { border-color: rgba(16, 185, 129, 0.4); transform: translateY(-2px); }
.mod .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.mod h4 { margin: 4px 0 6px; font-size: 16px; font-weight: 700; }
.mod p { color: var(--text-muted); font-size: 13.5px; margin: 0; }
.mod .count {
  position: absolute;
  bottom: 16px;
  left: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================ PIPE ============================ */
.pipe-svg { width: 100%; height: auto; max-width: 1100px; margin: 0 auto; display: block; min-width: 900px; }

/* ============================ INTEGRATIONS ============================ */
.int {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 200ms ease;
}
.int:hover { border-color: rgba(124, 58, 237, 0.35); }
.int h5 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.int ul { display: flex; flex-direction: column; gap: 6px; }
.int li {
  font-size: 13.5px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  padding-left: 14px;
  position: relative;
}
.int li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

/* ============================ DIFFERENTIATORS ============================ */
.diff {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: border-color 200ms ease;
}
.diff:hover { border-color: rgba(16, 185, 129, 0.35); }
.diff-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
}
.diff h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.diff p { color: var(--text-muted); margin: 0; font-size: 14.5px; }

/* ============================ PRICING ============================ */
.plans { align-items: stretch; }
.plan {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}
.plan h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.plan-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.plan ul { display: flex; flex-direction: column; gap: 10px; margin: 0 0 28px; flex-grow: 1; }
.plan li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
}
.plan li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  background: var(--emerald-soft);
  border-radius: 4px;
  color: var(--emerald);
  font-size: 11px;
  font-weight: 700;
}
.plan-featured {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, var(--surface) 50%);
  box-shadow: var(--shadow-2);
}
.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  white-space: nowrap;
}

/* ============================ CTA ============================ */
.cta-section {
  position: relative;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, rgba(16, 185, 129, 0.08), transparent 60%),
    radial-gradient(ellipse 600px 400px at 80% 100%, rgba(124, 58, 237, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 60px;
  align-items: center;
}
.cta-grid h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 16px; }
.cta-grid > div > p { color: var(--text-muted); font-size: 16px; }
.cta-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  font-size: 14.5px;
}
.cta-list li {
  padding-left: 32px;
  min-height: 22px;
}
.cta-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%2310B981' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='6,11.5 9.5,15 16,8'/></svg>") center / 16px 16px no-repeat,
    var(--emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.45);
}
.cta-list li::after { content: none; } /* removed — single ::before now contains both circle and check */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  font-size: 14px;
  transition: border-color 160ms ease, background 160ms ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--emerald);
  background: var(--surface-2);
}
.contact-form textarea { resize: vertical; }
/* Honeypot — must NEVER be visible. Use multiple guards because some
   browsers / extensions may unhide a single property. */
.contact-form .hp,
.contact-form .hp * {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* reCAPTCHA v3 — invisible. We add a small notice below the form
   per Google's branding requirement and let the floating badge sit
   in the bottom-right by default. */
.recaptcha-notice {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
  text-align: center;
}
.recaptcha-notice a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
}
.recaptcha-notice a:hover { color: var(--emerald); }
.form-msg {
  margin: 0;
  font-size: 13px;
  min-height: 18px;
}
.form-msg.ok    { color: var(--emerald); }
.form-msg.err   { color: #f87171; }

/* ============================ FOOTER ============================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
}
.footer h6 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer ul a { color: var(--text-muted); font-size: 14px; }
.footer ul a:hover { color: var(--text); }
.muted { color: var(--text-muted); margin: 8px 0 0; font-size: 14px; }
.muted.small { font-size: 12.5px; color: var(--text-dim); margin-top: 14px; }

/* ============================ COOKIE BANNER ============================ */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  animation: cookieFadeIn 360ms ease-out;
}
.cookie-banner[hidden] { display: none; }
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 22px;
  background: rgba(14, 23, 41, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(16, 185, 129, 0.15);
  backdrop-filter: blur(12px);
  max-width: 640px;
  width: 100%;
}
.cookie-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.cookie-text strong { color: var(--text); font-size: 14px; font-weight: 700; }
.cookie-text span { color: var(--text-muted); font-size: 13px; }
.cookie-ctas { flex-shrink: 0; }
.cookie-ctas .btn { padding: 8px 18px; font-size: 13px; }
@media (max-width: 560px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 18px; }
  .cookie-ctas .btn { width: 100%; }
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .ctem-wrap { grid-template-columns: 1fr; gap: 36px; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); width: 100%; }
  .hero-ctas { justify-content: center; }
  .shield-svg { max-width: 420px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 18px 24px; background: var(--bg-2); border-bottom: 1px solid var(--line); gap: 14px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: flex; }
  .nav-cta .btn { display: none; }
  .nav-cta .lang-switch { display: inline-flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 32px; }
  .kc-summary { grid-template-columns: repeat(2, 1fr); }
  .kc-wrap { padding: 20px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 28px; }
  .container { padding: 0 16px; }
  .contact-form { padding: 22px; }
  .cta-grid h2 { font-size: 26px; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 26px; }
}
@media (max-width: 420px) {
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .btn-lg { padding: 12px 20px; font-size: 14px; }
  .trust-row { gap: 18px; font-size: 12px; }
  .ctem-list li { padding: 12px 14px; font-size: 13.5px; }
  .ctem-quote { padding: 16px; font-size: 13px; }
}
