/* ============================================================
   Penthos.ai — RAIDER showcase
   Design system + landing page styles
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #0B0B12;
  --bg-2:      #0E0E17;
  --elev:      #14141F;
  --surface:   #181826;
  --surface-2: #1E1E2E;
  --border:    rgba(255,255,255,.08);
  --border-2:  rgba(255,255,255,.14);

  /* text */
  --text:      #ECECF3;
  --text-2:    #B7B7C6;
  --text-dim:  #82828F;

  /* brand */
  --primary:        #6E63F2;
  --primary-bright: #8B82FF;
  --primary-deep:   #4E43C8;

  /* semantic (mirrors the RAIDER verdict palette) */
  --vuln:     #F0636B;
  --vuln-bg:  rgba(240,99,107,.12);
  --defended: #34D399;
  --def-bg:   rgba(52,211,153,.12);
  --review:   #F5A623;
  --rev-bg:   rgba(245,166,35,.12);
  --neutral:  #8A8A99;

  --accent:   #38E0C8;

  --radius:   16px;
  --radius-sm: 10px;
  --maxw:     1180px;
  --ease:     cubic-bezier(.22,.61,.36,1);

  --shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  --glow-primary: 0 0 0 1px rgba(110,99,242,.4), 0 20px 50px -12px rgba(110,99,242,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
code, .mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; }
::selection { background: rgba(110,99,242,.4); color: #fff; }

/* ---------- shared layout ---------- */
section { position: relative; }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; padding: 0 24px; }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .16em;
  color: var(--primary-bright); margin-bottom: 16px;
  padding: 5px 12px; border: 1px solid rgba(110,99,242,.3); border-radius: 100px;
  background: rgba(110,99,242,.08);
}
.section__head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.section__logo { height: clamp(68px, 8.5vw, 104px); width: auto; display: block; margin: 0 auto 22px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
.lead { color: var(--text-2); font-size: clamp(16px, 1.6vw, 19px); margin-top: 18px; }
.grad-text {
  background: linear-gradient(100deg, var(--primary-bright) 10%, var(--accent) 120%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer; transition: all .22s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--primary {
  background: linear-gradient(180deg, var(--primary-bright), var(--primary));
  color: #fff; box-shadow: 0 8px 24px -8px rgba(110,99,242,.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(110,99,242,.85); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--border-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,11,18,.72); backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand__logo { height: 50px; width: auto; display: block; filter: drop-shadow(0 3px 10px rgba(0,0,0,.45)); }
.footer__brand .brand__logo { height: 46px; }
.brand__mark { display: inline-flex; filter: drop-shadow(0 4px 12px rgba(110,99,242,.5)); }
.brand__dot { color: var(--primary-bright); }
.nav__links { display: flex; gap: 28px; margin-left: 18px; flex: 1; }
.nav__links a { color: var(--text-2); font-size: 15.5px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 150px 24px 60px; overflow: hidden; }
.hero__glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(110,99,242,.34), transparent 60%);
  filter: blur(20px);
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}

/* Penthos statue — landing page hero background, pinned top-left */
.hero__statue {
  position: absolute; top: 0; left: 0; z-index: 1;
  height: min(88vh, 760px); width: auto;
  pointer-events: none; user-select: none;
  opacity: .55;
  filter: brightness(1.1) drop-shadow(0 0 48px rgba(110,99,242,.14));
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  animation: statue-in 1.4s var(--ease) both;
}
@keyframes statue-in { from { opacity: 0; transform: translateX(-14px); } }
@media (max-width: 1180px) { .hero__statue { opacity: .45; height: min(70vh, 560px); } }
@media (max-width: 860px)  { .hero__statue { opacity: .42; height: min(58vh, 460px); } }
@media (prefers-reduced-motion: reduce) { .hero__statue { animation: none; } }

.hero__inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.eyebrow__chip {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: #fff;
  background: linear-gradient(180deg, var(--primary-bright), var(--primary)); padding: 5px 11px; border-radius: 6px;
}
.eyebrow__label { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.hero__title { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
.hero__sub { margin-top: 24px; font-size: clamp(16px, 1.7vw, 19px); color: var(--text-2); max-width: 540px; }
.hero__sub strong { color: var(--text); }
.hero__sub em { color: var(--primary-bright); font-style: normal; }
.hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__meta { margin-top: 26px; font-size: 13px; color: var(--text-dim); display: flex; align-items: center; gap: 9px; }
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--defended); box-shadow: 0 0 0 4px rgba(52,211,153,.18); }

/* terminal */
.hero__copy { min-width: 0; }
.hero__visual { perspective: 1400px; min-width: 0; }
.terminal {
  max-width: 100%;
  background: linear-gradient(180deg, #14141F, #101019);
  border: 1px solid var(--border-2); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); transform: rotateY(-7deg) rotateX(3deg);
  transition: transform .5s var(--ease);
}
.hero__visual:hover .terminal { transform: rotateY(-2deg) rotateX(1deg); }
.terminal__bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #FF5F57; } .dot--y { background: #FEBC2E; } .dot--g { background: #28C840; }
.terminal__title { margin-left: 10px; font-size: 12.5px; color: var(--text-dim); font-family: 'JetBrains Mono', monospace; }
.terminal__body { padding: 20px 18px; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.85; }
.ln { white-space: nowrap; overflow: hidden; }
.ln--spacer { line-height: .6; }
.c-dim { color: var(--text-dim); } .c-violet { color: var(--primary-bright); }
.c-green { color: var(--defended); } .c-amber { color: var(--review); } .c-str { color: var(--accent); }
.verdict-line { margin-top: 2px; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 3px 9px; border-radius: 5px; }
.pill--vuln { background: var(--vuln-bg); color: var(--vuln); border: 1px solid rgba(240,99,107,.4); }

/* stat strip */
.statstrip {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 72px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 26px 30px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
}
.stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; align-items: center; text-align: center; }
.stat__num { font-size: 30px; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(180deg,#fff,#c9c9da); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__lbl { font-size: 12.5px; color: var(--text-dim); }
.stat__sep { width: 1px; align-self: stretch; background: var(--border); }

/* ============================================================
   FRAMEWORKS
   ============================================================ */
.frameworks { max-width: var(--maxw); margin: 90px auto 0; padding: 0 24px; text-align: center; }
.frameworks__label { font-size: 12.5px; letter-spacing: .12em; color: var(--text-dim); text-transform: uppercase; margin-bottom: 22px; }
.frameworks__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.fw-badge {
  font-size: 14px; font-weight: 600; color: var(--text-2);
  padding: 9px 18px; border: 1px solid var(--border); border-radius: 100px;
  background: rgba(255,255,255,.02); transition: all .2s;
}
.fw-badge:hover { color: var(--text); border-color: var(--border-2); }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { max-width: var(--maxw); margin: 0 auto; padding: 120px 24px 0; overflow: hidden; }

/* Artemis statue — #product section background, pinned top-right */
.problem__statue {
  position: absolute; top: 0; right: 0; z-index: 1;
  height: min(74vh, 640px); width: auto;
  pointer-events: none; user-select: none;
  opacity: .42;
  filter: brightness(1.06) drop-shadow(0 0 48px rgba(110,99,242,.13));
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  animation: statue-in 1.4s var(--ease) both;
}
.problem .section__head, .problem .problem__grid { position: relative; z-index: 2; }
@media (max-width: 1180px) { .problem__statue { opacity: .36; height: min(60vh, 480px); } }
@media (max-width: 860px)  { .problem__statue { opacity: .34; height: min(48vh, 380px); } }

.problem__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 8px; }
.pcard {
  padding: 30px 26px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: transform .3s var(--ease), border-color .3s;
}
.pcard:hover { transform: translateY(-4px); border-color: var(--border-2); }
.pcard__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.pcard__icon--red { background: var(--vuln-bg); color: var(--vuln); }
.pcard__icon--amber { background: var(--rev-bg); color: var(--review); }
.pcard__icon--violet { background: rgba(110,99,242,.14); color: var(--primary-bright); }
.pcard h3 { font-size: 19px; font-weight: 650; margin-bottom: 10px; letter-spacing: -.01em; }
.pcard p { color: var(--text-2); font-size: 15px; }
.pcard strong, .pcard em { color: var(--text); font-style: normal; }

/* ============================================================
   HOW / PIPELINE
   ============================================================ */
.how { max-width: var(--maxw); margin: 0 auto; padding: 130px 24px 0; }
.pipeline {
  display: flex; align-items: stretch; justify-content: center; gap: 6px; flex-wrap: wrap;
  padding: 44px 28px 56px; border: 1px solid var(--border); border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(110,99,242,.10), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  position: relative;
}
.pnode {
  flex: 1; min-width: 150px; max-width: 200px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 22px 14px; border-radius: 14px; border: 1px solid var(--border-2); text-align: center;
  background: var(--surface-2); position: relative;
}
.pnode__tag { font-size: 11.5px; color: var(--text-dim); }
.pnode__name { font-size: 17px; font-weight: 700; }
.pnode__sub { font-size: 12px; font-weight: 500; opacity: .85; }
.pnode--attacker { border-color: rgba(110,99,242,.5); box-shadow: inset 0 0 30px rgba(110,99,242,.1); }
.pnode--attacker .pnode__name { color: var(--primary-bright); }
.pnode--target { border-color: rgba(52,211,153,.45); box-shadow: inset 0 0 30px rgba(52,211,153,.08); }
.pnode--target .pnode__name { color: var(--defended); }
.pnode--judge { border-color: rgba(245,166,35,.45); box-shadow: inset 0 0 30px rgba(245,166,35,.08); }
.pnode--judge .pnode__name { color: var(--review); }
.pnode--verdict { border-color: rgba(240,99,107,.45); box-shadow: inset 0 0 30px rgba(240,99,107,.08); }
.pnode--verdict .pnode__name { color: var(--vuln); }
.parrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 56px; color: var(--text-dim); }
.parrow span { font-size: 10.5px; }
.parrow svg { width: 40px; height: 12px; }
.parrow svg path { stroke: var(--text-dim); stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pipeline__loop { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 24px; }
.pipeline__loop svg { width: min(60%, 520px); height: 30px; opacity: .5; }
.pipeline__loop svg path { stroke: var(--primary); stroke-width: 1.2; fill: none; stroke-dasharray: 4 4; }
.pipeline__loop span { font-size: 11.5px; color: var(--text-dim); }

.how__strategies { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.strat { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.strat h4 { font-size: 18px; font-weight: 650; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.strat p { color: var(--text-2); font-size: 15px; }
.strat__badge { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; color: var(--primary-bright); background: rgba(110,99,242,.14); border: 1px solid rgba(110,99,242,.35); padding: 4px 9px; border-radius: 6px; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { max-width: var(--maxw); margin: 0 auto; padding: 130px 24px 0; }
.fgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.fcard {
  padding: 28px 26px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s;
}
.fcard::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(110,99,242,.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s;
}
.fcard:hover { transform: translateY(-4px); border-color: transparent; }
.fcard:hover::before { opacity: 1; }
.fcard__ic { font-size: 26px; margin-bottom: 16px; }
.fcard h3 { font-size: 18px; font-weight: 650; margin-bottom: 9px; letter-spacing: -.01em; }
/* stretched link: whole card clicks through to the title's href; inner links stay clickable */
.fcard__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fcard .inline { position: relative; z-index: 2; }
.fcard p { color: var(--text-2); font-size: 14.5px; }
.fcard code { font-size: 13px; color: var(--accent); background: rgba(56,224,200,.1); padding: 1px 6px; border-radius: 5px; }

/* ============================================================
   VERDICTS
   ============================================================ */
.verdicts { max-width: var(--maxw); margin: 0 auto; padding: 130px 24px 0; }
.vgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.vchip { padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; position: relative; }
.vchip__name { font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.vchip__desc { font-size: 14px; color: var(--text-2); }
.vchip::before { content: ""; position: absolute; top: 22px; right: 22px; width: 10px; height: 10px; border-radius: 50%; }
.vchip--vuln { background: var(--vuln-bg); border-color: rgba(240,99,107,.3); }
.vchip--vuln .vchip__name { color: var(--vuln); } .vchip--vuln::before { background: var(--vuln); box-shadow: 0 0 0 4px rgba(240,99,107,.18); }
.vchip--defended { background: var(--def-bg); border-color: rgba(52,211,153,.3); }
.vchip--defended .vchip__name { color: var(--defended); } .vchip--defended::before { background: var(--defended); box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.vchip--review { background: var(--rev-bg); border-color: rgba(245,166,35,.3); }
.vchip--review .vchip__name { color: var(--review); } .vchip--review::before { background: var(--review); box-shadow: 0 0 0 4px rgba(245,166,35,.18); }
.vchip--error { background: rgba(138,138,153,.08); border-color: var(--border-2); }
.vchip--error .vchip__name { color: var(--neutral); } .vchip--error::before { background: var(--neutral); box-shadow: 0 0 0 4px rgba(138,138,153,.18); }

/* ============================================================
   EVIDENCE
   ============================================================ */
.evidence { max-width: var(--maxw); margin: 0 auto; padding: 130px 24px 0; }
.evidence__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.evidence__copy .kicker { margin-bottom: 18px; }
.evidence__copy h2 { font-size: clamp(26px,3.4vw,40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
.ev-list { list-style: none; margin: 26px 0 30px; display: flex; flex-direction: column; gap: 16px; }
.ev-list li { display: flex; gap: 13px; color: var(--text-2); font-size: 15.5px; }
.ev-list strong { color: var(--text); }
.ev-tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--def-bg); color: var(--defended); display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 2px; }

/* report card */
.report-card { border: 1px solid var(--border-2); border-radius: 18px; background: linear-gradient(180deg, var(--surface-2), var(--bg-2)); padding: 26px; box-shadow: var(--shadow); }
.report-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.report-card__title { font-weight: 650; font-size: 16px; }
.report-card__id { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim); }
.gauge { display: flex; align-items: center; gap: 26px; margin-bottom: 24px; }
.gauge__ring {
  width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; position: relative;
  background: conic-gradient(var(--review) calc(var(--pct)*1%), rgba(255,255,255,.07) 0);
}
.gauge__ring::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--bg-2); }
.gauge__val { position: relative; z-index: 1; font-size: 34px; font-weight: 800; line-height: 1; }
.gauge__unit { position: relative; z-index: 1; font-size: 11px; color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase; }
.gauge__legend p { font-size: 13.5px; color: var(--text-2); display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.lg { width: 9px; height: 9px; border-radius: 2px; }
.lg--vuln { background: var(--vuln); } .lg--def { background: var(--defended); } .lg--rev { background: var(--review); }
.report-rows { display: flex; flex-direction: column; gap: 13px; }
.rrow { display: grid; grid-template-columns: 130px 1fr 56px; align-items: center; gap: 12px; font-size: 13px; color: var(--text-2); }
.bar { height: 7px; border-radius: 100px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--primary), var(--vuln)); }
.rrow__pct { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim); text-align: right; }

/* ============================================================
   USE CASES
   ============================================================ */
.usecases { max-width: var(--maxw); margin: 0 auto; padding: 130px 24px 0; }
.ucgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.uc { padding: 26px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.02); transition: border-color .3s, transform .3s; }
.uc:hover { border-color: var(--border-2); transform: translateY(-3px); }
.uc h4 { font-size: 16px; font-weight: 650; margin-bottom: 8px; }
.uc p { font-size: 14px; color: var(--text-2); }

/* ============================================================
   CTA
   ============================================================ */
.cta { max-width: var(--maxw); margin: 130px auto 0; padding: 0 24px; position: relative; }
.cta__inner {
  position: relative; overflow: hidden; text-align: center;
  padding: 70px 32px; border-radius: 28px; border: 1px solid var(--border-2);
  background:
    radial-gradient(ellipse at 50% -10%, rgba(110,99,242,.28), transparent 55%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
}
.cta__inner h2 { font-size: clamp(28px,4vw,46px); font-weight: 750; letter-spacing: -.025em; line-height: 1.08; max-width: 760px; margin: 14px auto 0; }
.cta__inner .lead { max-width: 600px; margin: 18px auto 0; }
.demo-form { max-width: 620px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 12px; }
.demo-form__row { display: flex; gap: 12px; }
.demo-form input {
  flex: 1; min-width: 0; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-family: inherit;
  background: rgba(255,255,255,.04); border: 1px solid var(--border-2); color: var(--text); transition: border-color .2s, background .2s;
}
.demo-form input::placeholder { color: var(--text-dim); }
.demo-form input:focus { outline: none; border-color: var(--primary); background: rgba(110,99,242,.06); }
.demo-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-family: inherit;
  background: rgba(255,255,255,.04); border: 1px solid var(--border-2); color: var(--text);
  transition: border-color .2s, background .2s; resize: vertical; min-height: 108px; line-height: 1.55;
}
.demo-form textarea::placeholder { color: var(--text-dim); }
.demo-form textarea:focus { outline: none; border-color: var(--primary); background: rgba(110,99,242,.06); }
.demo-form .btn { flex-shrink: 0; }
.demo-form__note { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.demo-form__note.is-success { color: var(--defended); }
.demo-form__note.is-error { color: var(--vuln); }
.cta__docs { margin-top: 34px; font-size: 14.5px; color: var(--text-dim); }
.cta__docs a { color: var(--primary-bright); font-weight: 500; transition: color .2s; }
.cta__docs a:hover { color: var(--text); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 840px; margin: 130px auto 0; padding: 0 24px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.qa { border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(255,255,255,.02); overflow: hidden; transition: border-color .2s; }
.qa[open] { border-color: var(--border-2); }
.qa summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--primary-bright); transition: transform .25s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 24px 22px; color: var(--text-2); font-size: 15px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { margin-top: 130px; border-top: 1px solid var(--border); background: var(--bg-2); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 40px; display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; }
.footer__tag { color: var(--text-dim); font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.footer__col h5 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-2); font-size: 14.5px; margin-bottom: 11px; transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__bar { max-width: var(--maxw); margin: 0 auto; padding: 22px 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--text-dim); }
.footer__legal { color: var(--primary-bright); opacity: .8; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .terminal { transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { order: 2; max-width: 520px; }
  .terminal { transform: none; }
  .problem__grid, .fgrid { grid-template-columns: 1fr 1fr; }
  .vgrid { grid-template-columns: 1fr 1fr; }
  .ucgrid { grid-template-columns: 1fr 1fr; }
  .evidence__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; padding: 10px 24px 20px;
    background: rgba(11,11,18,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
  }
  .nav.open .nav__links a { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .nav.open .nav__cta { display: flex; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 24px 22px; margin-top: 1px; background: rgba(11,11,18,.97); transform: translateY(calc(5 * 47px)); }
  .statstrip { gap: 22px 12px; }
  .stat { flex: 1 1 40%; }
  .stat__sep { display: none; }
  .hero__title { font-size: 40px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 120px; }
  .hero__title { font-size: clamp(30px, 8.5vw, 40px); }
  .terminal__body { font-size: 11.5px; padding: 16px 14px; line-height: 1.7; }
  .problem__grid, .fgrid, .vgrid, .ucgrid, .how__strategies { grid-template-columns: 1fr; }
  .demo-form__row { flex-direction: column; }
  .pipeline { padding: 32px 16px 50px; }
  .parrow { width: 100%; transform: rotate(90deg); min-width: 0; margin: 2px 0; }
  .pnode { max-width: none; width: 100%; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bar { flex-direction: column; }
}
