/* ============================================================
   OTDefend — Modern marketing design system
   Dark SOC aesthetic, matched to the product UI
   (crimson #cc1733 on near-black, Inter typeface).
   ============================================================ */

:root {
  --crimson: #cc1733;
  --crimson-2: #e24c5e;
  --crimson-soft: rgba(204, 23, 51, 0.12);
  --crimson-line: rgba(204, 23, 51, 0.38);
  --bg: #08080a;
  --bg-2: #0c0d12;
  --surface: #121218;
  --surface-2: #181820;
  --surface-3: #1f1f29;
  --navy: #0a0d18;
  --navy-2: #101830;
  --border: #23232c;
  --border-soft: #1a1a22;
  --text: #e9ebf0;
  --dim: #9aa0ad;
  --faint: #646b7a;
  --ok: #2fa56a;
  --warn: #e0a106;
  --info: #3a86ff;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  --maxw: 1200px;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 0 1px var(--crimson-line), 0 24px 60px -24px rgba(204, 23, 51, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; color: var(--dim); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Backdrops ---------- */
.bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.glow {
  position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  filter: blur(90px); opacity: .5;
}
.glow.crimson { background: radial-gradient(circle, rgba(204,23,51,.55), transparent 70%); }
.glow.navy { background: radial-gradient(circle, rgba(30,60,140,.4), transparent 70%); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,10,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.nav .brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a {
  color: var(--dim); font-size: 14.5px; font-weight: 500; padding: 8px 14px; border-radius: 9px;
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ''; display: block; height: 2px; width: 22px; margin: 4px auto 0;
  background: var(--crimson); border-radius: 2px;
}
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; background: none; border: 1px solid var(--border); border-radius: 9px; padding: 8px; cursor: pointer; }
.nav-burger svg { stroke: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1;
  padding: 13px 22px; border-radius: 11px; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--crimson-2), var(--crimson));
  color: #fff; box-shadow: 0 10px 26px -10px rgba(204,23,51,.7), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { box-shadow: 0 16px 36px -12px rgba(204,23,51,.85), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--crimson-line); background: var(--surface-3); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 15px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--crimson-2);
  background: var(--crimson-soft); border: 1px solid var(--crimson-line);
  padding: 6px 14px; border-radius: 999px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 10px var(--crimson); }
.tag { display:inline-block; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--dim); background: var(--surface-2); }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: 96px 0; }
.sec-sm { padding: 64px 0; }
.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); }
.sec-head p { font-size: 17px; }
.eyebrow { color: var(--crimson-2); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
.text-grad {
  background: linear-gradient(120deg, #fff 30%, var(--crimson-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 60px; overflow: hidden; }
.hero .glow.crimson { width: 620px; height: 620px; top: -240px; right: -160px; }
.hero .glow.navy { width: 520px; height: 520px; bottom: -300px; left: -180px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1.15fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; letter-spacing: -.03em; }
.hero .sub { font-size: 19px; color: var(--dim); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--faint); font-size: 13.5px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--crimson-line); box-shadow: var(--shadow); }
.card .ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--crimson-soft); border: 1px solid var(--crimson-line); color: var(--crimson-2);
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; }
.card p { font-size: 14.5px; margin: 0; }
.card.feature::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--crimson), transparent); transition: transform .35s ease;
}
.card.feature:hover::before { transform: scaleX(1); }

/* feature with checklist */
.checks { list-style: none; padding: 0; margin: 14px 0 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--dim); margin-bottom: 9px; }
.checks li svg { flex: none; margin-top: 3px; color: var(--ok); width: 16px; height: 16px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stat .num { font-size: 38px; font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(120deg, #fff, var(--crimson-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--faint); font-size: 13.5px; font-weight: 500; }

/* ============================================================
   PRODUCT SCREENSHOT MOCKUPS — faithful to the real console
   ============================================================ */
.shot {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  background: var(--bg); box-shadow: var(--shadow); position: relative;
}
.shot.glowing { box-shadow: var(--shadow-glow); }
.shot-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--navy); border-bottom: 1px solid var(--border); }
.shot-bar .dots { display: flex; gap: 6px; }
.shot-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.shot-bar .dots i:nth-child(1){ background:#ef5f5f; } .shot-bar .dots i:nth-child(2){ background:#e0a106; } .shot-bar .dots i:nth-child(3){ background:#2fa56a; }
.shot-bar .url { margin: 0 auto; font-family: var(--mono); font-size: 11.5px; color: var(--faint);
  background: var(--bg); border: 1px solid var(--border); border-radius: 7px; padding: 4px 16px; }
.shot-body { display: grid; grid-template-columns: 168px 1fr; min-height: 380px; background: var(--bg); }

/* mini product sidebar */
.ui-side { background: var(--navy); border-right: 1px solid var(--border); padding: 14px 10px; }
.ui-side .logo { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; font-weight: 700; font-size: 14px; color: var(--text); }
.ui-side .logo b { color: var(--crimson-2); }
.ui-nav { list-style: none; margin: 0; padding: 0; }
.ui-nav li { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; color: var(--dim); margin-bottom: 2px; }
.ui-nav li .gi { width: 15px; height: 15px; opacity: .8; }
.ui-nav li.on { background: var(--crimson-soft); color: var(--text); box-shadow: inset 2px 0 0 var(--crimson); }
.ui-nav li.on .gi { color: var(--crimson-2); opacity: 1; }

.ui-main { padding: 16px 18px; min-width: 0; }
.ui-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ui-h h4 { font-size: 15px; margin: 0; color: var(--text); }
.ui-h .who { font-size: 11px; color: var(--faint); display: flex; align-items: center; gap: 7px; }
.ui-h .who .av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--crimson-2), var(--crimson)); display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; }

/* KPI row */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; }
.kpi .k { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); margin-bottom: 5px; }
.kpi .v { font-size: 21px; font-weight: 750; color: var(--text); letter-spacing: -.02em; line-height: 1; }
.kpi .v small { font-size: 11px; font-weight: 600; margin-left: 5px; }
.up { color: var(--ok); } .down { color: var(--crimson-2); }

.ui-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 13px; }
.panel .pt { font-size: 11.5px; font-weight: 600; color: var(--dim); margin-bottom: 11px; display: flex; justify-content: space-between; }
.panel .pt b { color: var(--faint); font-weight: 500; }

/* donut + legend */
.donut-row { display: flex; align-items: center; gap: 14px; }
.legend { list-style: none; margin: 0; padding: 0; font-size: 11px; }
.legend li { display: flex; align-items: center; gap: 7px; color: var(--dim); margin-bottom: 6px; }
.legend li .sw { width: 9px; height: 9px; border-radius: 2px; }
.legend li b { color: var(--text); margin-left: auto; font-variant-numeric: tabular-nums; }

/* purdue bars */
.bars { display: flex; flex-direction: column; gap: 9px; }
.bar { font-size: 10.5px; color: var(--dim); }
.bar .br { height: 8px; border-radius: 5px; background: var(--surface-3); margin-top: 4px; overflow: hidden; }
.bar .br i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--crimson), var(--crimson-2)); }

/* alerts table */
.atable { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.atable th { text-align: left; color: var(--faint); font-weight: 600; text-transform: uppercase; font-size: 9.5px; letter-spacing: .04em; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.atable td { padding: 8px; border-bottom: 1px solid var(--border-soft); color: var(--dim); }
.atable tr:last-child td { border-bottom: 0; }
.sev { font-size: 9.5px; font-weight: 700; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; letter-spacing: .03em; }
.sev.crit { background: rgba(204,23,51,.16); color: #ff6b7e; border: 1px solid rgba(204,23,51,.4); }
.sev.high { background: rgba(224,90,6,.16); color: #ffae6b; border: 1px solid rgba(224,90,6,.4); }
.sev.med { background: rgba(224,161,6,.14); color: #ffd166; border: 1px solid rgba(224,161,6,.35); }
.mono { font-family: var(--mono); color: #c7cbd4; }

/* att&ck heat grid */
.heat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: var(--surface-3); border: 1px solid var(--border-soft); }
.heat i.h1 { background: rgba(204,23,51,.25); } .heat i.h2 { background: rgba(204,23,51,.5); } .heat i.h3 { background: rgba(204,23,51,.8); border-color: var(--crimson); }

/* network map (svg sits inside .ui-main full) */
.ui-main.full { grid-column: 1 / -1; }
.netwrap { position: relative; border-radius: 11px; overflow: hidden; border: 1px solid var(--border); background:
  radial-gradient(circle at 30% 20%, rgba(204,23,51,.07), transparent 45%), var(--surface); }

/* floating mini badge over screenshots */
.shot-float {
  position: absolute; background: rgba(18,18,24,.92); backdrop-filter: blur(6px);
  border: 1px solid var(--crimson-line); border-radius: 12px; padding: 11px 14px; box-shadow: var(--shadow);
  font-size: 12.5px; display: flex; align-items: center; gap: 11px; z-index: 3;
}
.shot-float .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--crimson-soft); color: var(--crimson-2); display: grid; place-items: center; flex: none; }
.shot-float b { color: var(--text); display: block; font-size: 13px; } .shot-float span { color: var(--faint); }

/* ---------- Logo strip ---------- */
.logostrip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.logostrip img { height: 30px; width: auto; opacity: .62; filter: grayscale(1) brightness(1.6); transition: opacity .2s, filter .2s; }
.logostrip img:hover { opacity: 1; filter: none; }
.logo-chip { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; height: 84px; display: grid; place-items: center; transition: border-color .2s, transform .2s; }
.logo-chip:hover { border-color: var(--crimson-line); transform: translateY(-3px); }
.logo-chip img { max-height: 34px; max-width: 100%; width: auto; object-fit: contain; }

/* Logo strip — white cells so every vendor mark stays visible on the dark site */
.brandstrip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.brandstrip .cell { background: #fff; border: 1px solid var(--border); border-radius: 14px; height: 78px; display: grid; place-items: center; padding: 14px 20px; transition: transform .2s, border-color .2s; }
.brandstrip .cell:hover { transform: translateY(-3px); border-color: var(--crimson-line); }
.brandstrip .cell img { max-height: 30px; max-width: 140px; width: auto; object-fit: contain; }

/* Capability badge pinned to a card corner */
.card .cap { position: absolute; top: 16px; right: 16px; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--crimson-2); background: var(--crimson-soft); border: 1px solid var(--crimson-line); padding: 3px 9px; border-radius: 999px; }

/* Architecture diagram surface */
.arch { background: radial-gradient(circle at 50% 0%, rgba(204,23,51,.07), transparent 55%), var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: -1; }
.feat-list { list-style: none; padding: 0; margin: 22px 0 0; }
.feat-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border-soft); }
.feat-list li:first-child { border-top: 0; }
.feat-list li .fi { width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--crimson-soft); border: 1px solid var(--crimson-line); color: var(--crimson-2); display: grid; place-items: center; }
.feat-list li h4 { font-size: 16px; margin: 0 0 3px; }
.feat-list li p { font-size: 14px; margin: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step { position: relative; padding-top: 8px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--crimson-soft); border: 1px solid var(--crimson-line); color: var(--crimson-2); font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.step h4 { font-size: 17px; }
.step p { font-size: 14px; margin: 0; }

/* ---------- Sectors ---------- */
.sector-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); position: relative; }
.sector-card .ph { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.sector-card .ph img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .5s, opacity .3s; }
.sector-card:hover .ph img { transform: scale(1.06); opacity: 1; }
.sector-card .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,8,10,.95)); }
.sector-card .ph .pill { position: absolute; left: 16px; bottom: 16px; z-index: 2; }
.sector-card .bd { padding: 22px; }
.sector-card .bd h3 { font-size: 20px; }
.sector-card .bd p { font-size: 14px; margin: 0; }

/* ---------- Compliance chips ---------- */
.compliance { display: flex; flex-wrap: wrap; gap: 10px; }
.compliance .tag { background: var(--surface-2); }

/* ---------- Testimonials ---------- */
.quote { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.quote p { color: var(--text); font-size: 15.5px; font-style: italic; }
.quote .by { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .by .av { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-2); border: 1px solid var(--crimson-line); display: grid; place-items: center; color: var(--crimson-2); font-weight: 700; }
.quote .by b { display: block; color: #fff; font-size: 14px; } .quote .by span { color: var(--faint); font-size: 12.5px; }

/* ---------- CTA banner ---------- */
.cta { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--crimson-line);
  background: radial-gradient(120% 160% at 0% 0%, rgba(204,23,51,.18), transparent 55%), linear-gradient(180deg, var(--surface), var(--navy)); padding: 56px; text-align: center; }
.cta h2 { font-size: clamp(26px, 3.6vw, 38px); }
.cta p { font-size: 17px; max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page title ---------- */
.ptitle { padding: 70px 0 40px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border-soft); }
.ptitle .glow.crimson { width: 460px; height: 460px; top: -240px; left: 50%; transform: translateX(-50%); }
.ptitle h1 { font-size: clamp(30px, 4.4vw, 46px); position: relative; z-index: 1; }
.ptitle .crumb { color: var(--faint); font-size: 14px; position: relative; z-index: 1; }
.ptitle .crumb a:hover { color: var(--crimson-2); }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--dim); margin-bottom: 7px; }
.field label .req { color: var(--crimson-2); }
.input, .select, .textarea {
  width: 100%; font-family: var(--font); font-size: 14.5px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--crimson-line); box-shadow: 0 0 0 3px var(--crimson-soft); }
.textarea { resize: vertical; min-height: 130px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--dim); }
.check input { margin-top: 4px; accent-color: var(--crimson); }

/* ---------- Contact info ---------- */
.cinfo { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.cinfo .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--crimson-soft); border: 1px solid var(--crimson-line); color: var(--crimson-2); display: grid; place-items: center; }
.cinfo h4 { font-size: 16px; margin: 0 0 3px; } .cinfo p { margin: 0; font-size: 14px; }
.cinfo a { color: var(--crimson-2); }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--border-soft); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 15.5px; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--crimson-2); font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; font-size: 14.5px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 64px 0 30px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer .brand img { height: 28px; margin-bottom: 16px; }
.footer .brand p { font-size: 14px; max-width: 280px; }
.foot-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--dim); font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: var(--crimson-2); }
.foot-bottom { border-top: 1px solid var(--border-soft); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--faint); font-size: 13px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--dim); transition: all .2s; }
.foot-social a:hover { border-color: var(--crimson-line); color: var(--crimson-2); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Utilities ---------- */
.mt0{margin-top:0}.mb0{margin-bottom:0}.tc{text-align:center}.mxa{margin:0 auto}
.muted{color:var(--faint)}.small{font-size:13.5px}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-grid, .split, .g-4 { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .g-3, .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .brandstrip { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero .glow.navy { display: none; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: inline-flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px; gap: 2px; }
  .nav.open .nav-links a { padding: 12px 14px; }
  .sec { padding: 64px 0; }
  .g-2, .g-3, .row2, .stats, .steps { grid-template-columns: 1fr; }
  .brandstrip { grid-template-columns: repeat(2, 1fr); }
  .shot-body { grid-template-columns: 1fr; }
  .ui-side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .cta { padding: 36px 22px; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LIGHT THEME  (opt-in via <html data-theme="light">)
   The page chrome flips to light; the navbar, footer and the
   product-screenshot mockups stay dark as brand anchors.
   ============================================================ */
html[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #f2f4f8;
  --surface-3: #e7eaf1;
  --navy: #eef2f7;
  --navy-2: #e4ebf4;
  --border: #e2e6ee;
  --border-soft: #edf0f4;
  --text: #14161c;
  --dim: #49515f;
  --faint: #6e7682;
  --crimson-soft: rgba(204, 23, 51, 0.07);
  --crimson-line: rgba(204, 23, 51, 0.28);
  --shadow: 0 18px 44px -22px rgba(20, 30, 60, 0.22);
}

/* Keep the navbar and footer on the dark palette (brand anchors). */
html[data-theme="light"] .nav,
html[data-theme="light"] .footer {
  --bg: #08080a; --bg-2: #0c0d12;
  --surface: #121218; --surface-2: #181820; --surface-3: #1f1f29;
  --navy: #0a0d18; --navy-2: #101830;
  --border: #23232c; --border-soft: #1a1a22;
  --text: #e9ebf0; --dim: #9aa0ad; --faint: #646b7a;
  --crimson-soft: rgba(204, 23, 51, 0.12); --crimson-line: rgba(204, 23, 51, 0.38);
}

/* Fixes for elements that hardcoded white / dark-only contrast. */
html[data-theme="light"] .text-grad { background: linear-gradient(120deg, var(--crimson) 8%, var(--crimson-2)); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .stat .num { background: linear-gradient(120deg, var(--text) 25%, var(--crimson)); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .quote .by b { color: var(--text); }
html[data-theme="light"] .faq summary { color: var(--text); }
html[data-theme="light"] .mono { color: var(--dim); }
html[data-theme="light"] .bg-grid { background-image:
  linear-gradient(rgba(18,28,54,.05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(18,28,54,.05) 1px, transparent 1px); }
html[data-theme="light"] .glow { opacity: .2; }
html[data-theme="light"] .logostrip img { filter: grayscale(1) brightness(.5); opacity: .7; }

/* Light theme: hardcoded mockup + chart colors adapt to the light palette
   (applies to product screenshots AND in-page charts like the donuts). */
html[data-theme="light"] .shot-float { background: var(--surface); }
html[data-theme="light"] [style*="color:#fff"] { color: var(--text) !important; }
html[data-theme="light"] svg [fill="#fff"] { fill: var(--text); }
html[data-theme="light"] svg [fill="#c7cbd4"] { fill: var(--dim); }
html[data-theme="light"] svg [fill="#101830"],
html[data-theme="light"] svg [fill="#16203f"],
html[data-theme="light"] svg [fill="#1a0c10"] { fill: var(--surface-2); }
html[data-theme="light"] svg [fill="#ff6b7e"],
html[data-theme="light"] svg [fill="#ff8a9a"] { fill: var(--crimson); }
html[data-theme="light"] svg [stroke="#1f1f29"] { stroke: var(--surface-3); }
html[data-theme="light"] svg [stroke="#26262c"] { stroke: var(--border); }
html[data-theme="light"] .sev.crit { color: #c1132e; }
html[data-theme="light"] .sev.high { color: #b15309; }
html[data-theme="light"] .sev.med  { color: #8a6a08; }

/* Theme toggle button (lives in the dark navbar). */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: none;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface-2); color: var(--dim); cursor: pointer;
  transition: color .18s, border-color .18s, background .18s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--crimson-line); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-moon { display: none; }
html[data-theme="light"] .theme-toggle .i-sun { display: none; }
html[data-theme="light"] .theme-toggle .i-moon { display: inline; }
