/* ============================================================
   XTHOR — Design System
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Backgrounds - warm dark, not blue-tinted SaaS */
  --bg:    #030b12;
  --bg-1:  #06101a;
  --bg-2:  #0a1723;
  --bg-3:  #0f1f2e;

  /* Borders — neutral, not blue-glow */
  --border:    rgba(180, 195, 210, 0.07);
  --border-md: rgba(180, 195, 210, 0.12);
  --border-lg: rgba(180, 195, 210, 0.20);

  /* Primary accent - industrial amber, not SaaS blue */
  --blue:        #c47820;
  --blue-bright: #e09535;
  --blue-dim:    #7a4c12;
  --blue-bg:     rgba(196, 120, 32, 0.08);
  --blue-glow:   rgba(196, 120, 32, 0.16);

  /* Steel — used for info-level items only */
  --steel:     #3e7a9a;
  --steel-dim: rgba(62, 122, 154, 0.08);

  /* Status - kept intentionally */
  --amber:       #e07820;
  --amber-dim:   rgba(224, 120, 32, 0.10);
  --red:         #d63535;
  --red-dim:     rgba(214, 53, 53, 0.10);
  --green:       #25a05a;
  --green-dim:   rgba(37, 160, 90, 0.10);

  /* Text — cooler white, not warm cream */
  --text:   #dce8f2;
  --text-2: #7a96ae;
  --text-3: #3e5a6e;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);

  /* Radii - less round than a typical SaaS kit */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  18px;
  --r-2xl: 24px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ── Typography ──────────────────────────────────────────── */
.t-overline {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.t-display {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.026em;
  color: var(--text);
}
.t-h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--text);
}
.t-h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--text);
}
.t-body  { font-size: 1rem; color: var(--text-2); line-height: 1.7; }
.t-small { font-size: 0.85rem; color: var(--text-2); }
.t-mono  { font-family: var(--mono); font-size: 0.8rem; }

/* ── Layout ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
/* Non-standard section spacing — intentionally off the 8px grid */
.section       { padding: 88px 0; }
.section--tight { padding: 60px 0; }

/* Section label - no pill badge, just a left indicator */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue-bright);
  flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.16s var(--ease-std);
  border: 1px solid transparent;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
/* Flat amber — no gradient, no glow */
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-lg);
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-2);
  transform: translateY(-1px);
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(3, 11, 18, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 40px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav__logo-icon { width: 30px; height: 30px; }
.nav__logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
}
.nav__logo-name { color: var(--text); }
.nav__logo-suffix {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--blue-bright);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.75;
}
.nav__links {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color 0.14s, background 0.14s;
}
.nav__links a:hover { color: var(--text); background: var(--bg-2); }
.nav__cta { flex-shrink: 0; }

/* Hero - 53/47 asymmetric split */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 116px 0 72px;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 53% 47%;  /* intentionally asymmetric */
  gap: 56px;
  align-items: center;
}
.hero__content { max-width: 560px; }

/* ── Hero brand block ────────────────────────────────────── */
.hero__brand {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 36px;
}
.hero__brand-logo {
  width: 175px;
  height: 175px;
  object-fit: contain;
  border-radius: 16px;
  flex-shrink: 0;
}
/* text wrapper — same height as logo */
.hero__brand-text {
  position: relative;
  height: 175px;
  display: flex;
  align-items: flex-end;
}
/* X - half of previous size, behind thor */
.hero__brand-x {
  font-size: 6.4rem;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: #e09535;
  position: relative;
  z-index: 1;
  align-self: flex-end;
}
/* thor — in front of X, overlapping up to halfway through 'h' */
.hero__brand-thor {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  position: relative;
  z-index: 2;
  align-self: flex-end;
  margin-left: -0.25em;    /* overlap X slightly, thor more to the right */
  margin-bottom: -0.02em;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-md);
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero__title {
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.033em;
  color: var(--text);
  margin-bottom: 22px;
}
/* Flat accent, no gradient */
.hero__title em {
  font-style: normal;
  color: var(--blue-bright);
}
.hero__sub {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 34px;
  max-width: 460px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero__trust { display: flex; align-items: center; gap: 12px; }
.hero__trust-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.hero__trust-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-sector {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-3);
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid var(--border-md);
  background: transparent;
  letter-spacing: 0.01em;
}

/* ── Dashboard Mock ──────────────────────────────────────── */
.hero__visual { position: relative; }
.dashboard-mock {
  background: var(--bg-1);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}
.dmock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.018);
}
.dmock-dot { width: 9px; height: 9px; border-radius: 50%; }
.dmock-dot--r { background: #c03535; }
.dmock-dot--a { background: #b07020; }
.dmock-dot--g { background: #208050; }
.dmock-url {
  flex: 1;
  background: var(--bg-2);
  border-radius: 4px;
  padding: 3px 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-3);
  margin: 0 6px;
}
.dmock-body { padding: 18px; display: flex; flex-direction: column; gap: 13px; }
.dmock-risk {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.dmock-risk-ring { width: 50px; height: 50px; flex-shrink: 0; }
.dmock-risk-info { flex: 1; }
.dmock-risk-label { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.09em; font-weight: 500; }
.dmock-risk-score { font-size: 1.5rem; font-weight: 800; color: var(--amber); line-height: 1.1; }
.dmock-risk-mode {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-dim);
  padding: 3px 8px;
  border-radius: 3px;
  align-self: flex-start;
  letter-spacing: 0.05em;
  font-family: var(--mono);
}
.dmock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.dmock-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 9px 11px;
  text-align: center;
}
.dmock-stat-num { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.dmock-stat-lbl { font-size: 0.6rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.dmock-alerts-title { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.09em; font-weight: 600; margin-bottom: 5px; }
.dmock-alert {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid var(--border);
  margin-bottom: 5px;
  font-size: 0.7rem;
}
.dmock-alert-sev { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dmock-alert-sev--c { background: var(--red); }
.dmock-alert-sev--h { background: var(--amber); }
.dmock-alert-text { flex: 1; color: var(--text-2); line-height: 1.3; }
.dmock-alert-proto {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-3);
  background: var(--bg-3);
  padding: 2px 5px;
  border-radius: 3px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.dmock-proto-title { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.09em; font-weight: 600; margin-bottom: 7px; }
.dmock-proto-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.dmock-proto-name { font-size: 0.65rem; color: var(--text-2); width: 66px; flex-shrink: 0; font-family: var(--mono); }
.dmock-proto-track { flex: 1; height: 4px; background: var(--bg-3); border-radius: 2px; overflow: hidden; }
.dmock-proto-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--blue);
  animation: bar-fill 1.4s var(--ease) forwards;
  transform-origin: left;
}
@keyframes bar-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dmock-proto-val { font-size: 0.62rem; color: var(--text-3); font-family: var(--mono); width: 28px; text-align: right; }

/* Stats Section - unequal-width cells */
.stats-section {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
}
/* 5 columns, not equal — first two wider */
.stats-grid {
  display: grid;
  grid-template-columns: 26% 24% 28% 22%;
}
.stat-item {
  padding: 34px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.stat-item:last-child { border-right: none; }
.stat-item.visible { opacity: 1; transform: none; }
.stat-item.visible:nth-child(2) { transition-delay: 0.08s; }
.stat-item.visible:nth-child(3) { transition-delay: 0.16s; }
.stat-item.visible:nth-child(4) { transition-delay: 0.24s; }
.stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text);
  line-height: 1;
}
.stat-num span { color: var(--blue-bright); }
.stat-label { font-size: 0.8rem; color: var(--text-2); font-weight: 500; margin-top: 2px; }
.stat-sub { font-size: 0.7rem; color: var(--text-3); }

/* Problem Section - asymmetric 3-col (featured first) */
.problem-grid {
  display: grid;
  grid-template-columns: 38% 31% 31%;   /* intentionally unequal */
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 52px;
}
.problem-card {
  background: var(--bg-1);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.problem-card:first-child { padding: 40px 32px; }  /* featured card */
.problem-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.problem-icon--amber { background: var(--amber-dim); color: var(--amber); }
.problem-icon--red   { background: var(--red-dim); color: var(--red); }
.problem-icon--blue  { background: var(--blue-bg); color: var(--blue-bright); }
.problem-card h3 { font-size: 0.97rem; font-weight: 600; color: var(--text); line-height: 1.35; }
.problem-card p  { font-size: 0.845rem; color: var(--text-2); line-height: 1.65; }

/* ── How It Works ────────────────────────────────────────── */
.pipeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 52px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pipe-step {
  flex: 1;
  padding: 28px 22px;
  background: var(--bg-1);
  border-right: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pipe-step:last-child { border-right: none; }
.pipe-step::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 0.9rem;
  z-index: 2;
  background: var(--bg-1);
  padding: 2px 0;
}
.pipe-step:last-child::after { display: none; }
.pipe-num {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: var(--mono);
}
.pipe-title { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.pipe-sub { font-size: 0.76rem; color: var(--text-2); line-height: 1.55; }
.pipe-tag {
  display: inline-flex;
  margin-top: auto;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  font-family: var(--mono);
  background: var(--blue-bg);
  color: var(--blue-bright);
  border: 1px solid rgba(196,120,32,0.2);
  align-self: flex-start;
  letter-spacing: 0.04em;
}
.pipe-tag--amber { background: var(--amber-dim); color: var(--amber); border-color: rgba(224,120,32,0.2); }
.pipe-tag--green { background: var(--green-dim); color: var(--green); border-color: rgba(37,160,90,0.2); }

/* ── Capabilities — 4-col grid ───────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 52px;
}
.cap-card {
  padding: 26px 22px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
  opacity: 0;
  transform: translateY(18px);
}
.cap-card.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
              border-color 0.18s, background 0.18s;
}
.cap-card:hover {
  border-color: var(--border-md);
  background: var(--bg-2);
  transform: translateY(-2px);
}
.cap-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-bg);
  color: var(--blue-bright);
  border: 1px solid rgba(196,120,32,0.14);
}
.cap-card h3 { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.cap-card p  { font-size: 0.8rem; color: var(--text-2); line-height: 1.6; }

/* ── Detection Section ───────────────────────────────────── */
.detection-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}
.detection-list { display: flex; flex-direction: column; gap: 7px; }
.det-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: border-color 0.14s, background 0.14s;
}
.det-item:hover { border-color: var(--border); background: var(--bg-1); }
.det-sev {
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.det-sev--c { background: var(--red); }
.det-sev--h { background: var(--amber); }
.det-sev--m { background: var(--steel); }
.det-text { flex: 1; font-size: 0.83rem; color: var(--text-2); line-height: 1.4; }
.det-mitre {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-3);
  padding: 2px 6px;
  background: var(--bg-2);
  border-radius: 3px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  margin-top: 1px;
}
/* Alert feed */
.alert-feed {
  background: var(--bg-1);
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.alert-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.alert-feed-title { font-size: 0.72rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.09em; }
.feed-live { display: flex; align-items: center; gap: 6px; font-size: 0.68rem; color: var(--green); font-weight: 700; letter-spacing: 0.06em; }
.feed-live-dot { width: 5px; height: 5px; background: var(--green); border-radius: 50%; animation: pulse-dot 1.8s ease-in-out infinite; }
.feed-scroll { height: 336px; overflow: hidden; position: relative; }
.feed-items { display: flex; flex-direction: column; }
.feed-item {
  display: flex;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.76rem;
  align-items: flex-start;
  transition: background 0.15s;
}
.feed-item:hover { background: var(--bg-2); }
.feed-item-time { color: var(--text-3); font-family: var(--mono); flex-shrink: 0; font-size: 0.68rem; }
.feed-item-sev {
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 1px;
}
.feed-item-sev--c { background: var(--red-dim); color: var(--red); border: 1px solid rgba(214,53,53,0.2); }
.feed-item-sev--h { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(224,120,32,0.2); }
.feed-item-sev--m { background: var(--steel-dim); color: var(--steel); border: 1px solid rgba(62,122,154,0.2); }
.feed-item-msg { flex: 1; color: var(--text-2); line-height: 1.45; }
.feed-item-proto {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-3);
  background: var(--bg-3);
  padding: 2px 5px;
  border-radius: 3px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

/* CTA Section - no radial gradient */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border);
}
/* Subtle grid texture instead of gradient */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg, var(--border) 0px, var(--border) 1px,
    transparent 1px, transparent 56px
  ), repeating-linear-gradient(
    90deg, var(--border) 0px, var(--border) 1px,
    transparent 1px, transparent 56px
  );
  opacity: 0.4;
  pointer-events: none;
}
.cta-section .container { position: relative; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { font-size: 1rem; color: var(--text-2); max-width: 500px; margin: 0 auto 40px; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  background: var(--bg-1);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.88rem; color: var(--text-2); }
.footer-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 4px;
  opacity: 0.8;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 0.8rem; color: var(--text-3); transition: color 0.13s; }
.footer-links a:hover { color: var(--text-2); }
.footer-legal { font-size: 0.73rem; color: var(--text-3); }

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.58s var(--ease), transform 0.58s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Section heading block ───────────────────────────────── */
.section-head { max-width: 580px; }
.section-head p { margin-top: 14px; font-size: 0.975rem; color: var(--text-2); line-height: 1.72; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__content { max-width: 100%; }
  .hero__visual { max-width: 540px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .detection-inner { grid-template-columns: 1fr; gap: 36px; }
  .pipe-step::after { display: none; }
  .pipeline { flex-direction: column; }
  .pipe-step { border-right: none; border-bottom: 1px solid var(--border); }
  .pipe-step:last-child { border-bottom: none; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .problem-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .cap-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
}
