/* Nuwa — sitio web 2026 */
@font-face { font-family: "Jost"; src: url("../fonts/jost-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-700.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --brand: #0077ff;
  --brand-600: #0062d6;
  --brand-50: #eaf3ff;
  --violet: #6c63ff;
  --ink: #0b1220;
  --ink-2: #1c2638;
  --text: #2a3446;
  --muted: #5b6678;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --night: #060b18;
  --night-2: #0c1428;
  --night-line: rgba(255,255,255,.09);
  --night-text: #c6d0e2;
  --crit: #e5384b;
  --high: #f2842d;
  --mid: #f5b83d;
  --low: #22b07d;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11,18,32,.05), 0 12px 32px -12px rgba(11,18,32,.18);
  --max: 1200px;
  --head: "Jost", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section { padding: 110px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin: 0 auto; }
.grad { background: linear-gradient(92deg, #4da3ff 0%, #8b7dff 60%, #c58bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font-weight: 600; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; font-family: var(--body); }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 28px -10px rgba(0,119,255,.8); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.18); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6,11,24,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--night-line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #cfd8e8; font-size: .93rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .login { color: #cfd8e8; font-size: .93rem; font-weight: 500; padding: 10px 12px; }
.nav-cta .login:hover { color: #fff; }
.nav-cta .btn { padding: 10px 16px; font-size: .9rem; }
.only-m { display: none; }
.burger { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.burger svg { width: 26px; height: 26px; }

/* Hero */
.hero { position: relative; background: var(--night); color: var(--night-text); padding: 150px 0 90px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 900px; background:
  radial-gradient(600px 380px at 18% 30%, rgba(0,119,255,.32), transparent 70%),
  radial-gradient(520px 360px at 85% 20%, rgba(108,99,255,.30), transparent 70%); z-index: -1; }
.hero-grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: #aab6cb; font-size: 1.2rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--night-line); font-size: .85rem; color: #d7def0; margin-bottom: 26px; }
.hero-badge b { background: var(--brand); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .03em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 40px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; font-size: .88rem; color: #8d9ab2; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: #4da3ff; }

/* Hero screening card */
.scan-card { background: linear-gradient(180deg, rgba(20,30,54,.9), rgba(12,20,40,.92)); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 22px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,119,255,.08) inset; position: relative; }
.scan-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: .95rem; color: #fff; }
.scan-top svg { width: 18px; height: 18px; color: #7d8aa3; }
.scan-query { flex: 1; min-height: 1.4em; }
.scan-query::after { content: "▍"; color: var(--brand); animation: blink 1s steps(1) infinite; margin-left: 1px; }
.scan-top .chip { font-size: .72rem; padding: 3px 8px; border-radius: 6px; background: rgba(0,119,255,.18); color: #8cc2ff; }
@keyframes blink { 50% { opacity: 0; } }
.scan-progress { height: 3px; background: rgba(255,255,255,.07); border-radius: 3px; margin: 16px 0 6px; overflow: hidden; }
.scan-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--violet)); transition: width .4s; }
.scan-status { font-size: .8rem; color: #8090ab; height: 1.4em; }
.scan-body { display: grid; grid-template-columns: 150px 1fr; gap: 20px; margin-top: 16px; align-items: center; }
.gauge { position: relative; text-align: center; }
.gauge svg { width: 150px; height: 96px; }
.gauge-val { margin-top: -4px; line-height: 1; font-family: var(--head); color: #fff; font-size: 1.9rem; font-weight: 700; }
.gauge-val small { font-size: 1rem; color: #7d8aa3; }
.gauge-label { font-size: .72rem; letter-spacing: .14em; font-weight: 700; color: var(--crit); margin-top: 4px; opacity: 0; transition: opacity .4s; }
.scan-ent h4 { color: #fff; font-size: 1.35rem; margin-bottom: 4px; }
.scan-ent p { font-size: .82rem; color: #8090ab; margin: 0 0 12px; }
.scan-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scan-stat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 10px; }
.scan-stat b { display: block; font-family: var(--head); font-size: 1.4rem; color: #fff; font-weight: 600; line-height: 1.1; }
.scan-stat span { font-size: .7rem; color: #8090ab; line-height: 1.25; display: block; }
.scan-findings { margin-top: 16px; display: grid; gap: 8px; }
.finding { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); font-size: .8rem; color: #c3cde0; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.finding.show { opacity: 1; transform: none; }
.finding .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex: none; }
.finding small { display: block; color: #7d8aa3; font-size: .72rem; }
.scan-float { position: absolute; right: -18px; bottom: -22px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .82rem; display: flex; gap: 10px; align-items: center; opacity: 0; transform: translateY(8px); transition: all .5s; }
.scan-float.show { opacity: 1; transform: none; }
.scan-float b { font-family: var(--head); font-size: 1rem; display: block; }
.scan-float .ic { width: 34px; height: 34px; border-radius: 10px; background: #ffe9ec; color: var(--crit); display: grid; place-items: center; }
.scan-float .ic svg { width: 18px; height: 18px; }

/* Metrics strip */
.metrics { background: var(--night); border-top: 1px solid var(--night-line); padding: 44px 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric b { display: block; font-family: var(--head); font-size: clamp(2rem, 3.4vw, 2.8rem); color: #fff; font-weight: 600; line-height: 1; }
.metric span { color: #8d9ab2; font-size: .92rem; }

/* Problem */
.convergence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.conv-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; position: relative; overflow: hidden; }
.conv-card .num { font-family: var(--head); font-size: 3rem; font-weight: 700; color: var(--ink); line-height: 1; }
.conv-card .tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; }
.conv-card p { color: var(--muted); font-size: .95rem; margin: 10px 0 0; }
.conv-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.conv-card.l::after { background: var(--brand); } .conv-card.l .tag { background: var(--brand-50); color: var(--brand-600); }
.conv-card.p::after { background: var(--violet); } .conv-card.p .tag { background: #efedff; color: #5249e0; }
.conv-card.m::after { background: var(--crit); } .conv-card.m .tag { background: #ffecee; color: #c42537; }
.conv-note { margin-top: 28px; display: flex; gap: 14px; align-items: center; padding: 18px 22px; border-radius: 14px; background: var(--bg-soft); color: var(--ink-2); font-size: .98rem; }
.conv-note svg { width: 22px; height: 22px; color: var(--brand); flex: none; }

/* Link analysis demo */
.demo { background: var(--night); color: var(--night-text); position: relative; overflow: hidden; }
.demo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 70% 0%, rgba(108,99,255,.18), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(0,119,255,.16), transparent 70%); pointer-events: none; }
.demo h2 { color: #fff; }
.demo .lead { color: #9fabc2; }
.demo .eyebrow { color: #6fb3ff; }
.demo-shell { position: relative; display: grid; grid-template-columns: 290px 1fr; border: 1px solid var(--night-line); border-radius: 22px; background: rgba(12,20,40,.75); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); }
.demo-side { border-right: 1px solid var(--night-line); padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.demo-subject { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--night-line); }
.demo-subject .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--violet), var(--brand)); flex: none; }
.demo-subject b { color: #fff; display: block; font-size: .95rem; line-height: 1.25; }
.demo-subject small { color: #8090ab; font-size: .76rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.step { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 11px 12px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.step:hover { background: rgba(255,255,255,.04); }
.step.active { background: rgba(0,119,255,.12); border-color: rgba(0,119,255,.35); }
.step .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; border: 1px solid rgba(255,255,255,.18); color: #b9c4d8; }
.step.active .n, .step.done .n { background: var(--brand); border-color: var(--brand); color: #fff; }
.step b { display: block; color: #fff; font-size: .9rem; font-weight: 600; }
.step span { font-size: .78rem; color: #8090ab; line-height: 1.35; display: block; }
.demo-controls { display: flex; gap: 8px; }
.demo-controls .btn { padding: 10px 14px; font-size: .85rem; flex: 1; justify-content: center; }
.demo-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.demo-kpis div { padding: 10px; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid var(--night-line); }
.demo-kpis b { display: block; font-family: var(--head); color: #fff; font-size: 1.35rem; line-height: 1.1; }
.demo-kpis span { font-size: .68rem; color: #8090ab; line-height: 1.2; display: block; }
.demo-stage { position: relative; min-height: 640px; }
.demo-stage svg.graph { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.demo-stage svg.graph:active { cursor: grabbing; }
.demo-toolbar { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 10px; pointer-events: none; z-index: 2; }
.demo-toolbar > * { pointer-events: auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: .76rem; color: #b9c4d8; background: rgba(6,11,24,.75); border: 1px solid var(--night-line); backdrop-filter: blur(8px); }
.legend { display: flex; gap: 12px; flex-wrap: wrap; }
.legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.demo-caption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; pointer-events: none; z-index: 2; }
.demo-narr { max-width: 520px; padding: 14px 16px; border-radius: 14px; background: rgba(6,11,24,.8); border: 1px solid var(--night-line); backdrop-filter: blur(8px); color: #e2e8f5; font-size: .9rem; line-height: 1.5; transition: opacity .3s; }
.demo-narr b { color: #fff; }
.demo-disclaimer { font-size: .7rem; color: #6f7c95; max-width: 260px; text-align: right; }
.node-panel { position: absolute; top: 60px; right: 14px; width: 300px; padding: 18px; border-radius: 16px; background: rgba(10,17,34,.95); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); z-index: 3; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: all .25s; }
.node-panel.show { opacity: 1; transform: none; pointer-events: auto; }
.node-panel h4 { color: #fff; font-size: 1.05rem; margin: 0 26px 6px 0; }
.node-panel .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tagx { font-size: .68rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.08); color: #c3cde0; }
.tagx.crit { background: rgba(229,56,75,.18); color: #ff8592; }
.tagx.high { background: rgba(242,132,45,.18); color: #ffb276; }
.tagx.mid { background: rgba(245,184,61,.18); color: #ffd47a; }
.tagx.low { background: rgba(34,176,125,.18); color: #6fe0b4; }
.tagx.media { background: rgba(168,85,247,.2); color: #d4a8ff; }
.node-panel p { font-size: .82rem; color: #aab6cb; margin: 0 0 10px; }
.node-panel .close { position: absolute; top: 12px; right: 12px; background: none; border: 0; color: #8090ab; cursor: pointer; font-size: 1.2rem; line-height: 1; }
.node-panel .rel { font-size: .78rem; color: #8090ab; }
.node-panel .rel b { color: #dfe6f3; font-weight: 600; }

.g-link { fill: none; stroke-width: 1.4; stroke-opacity: .55; transition: stroke-opacity .3s; }
.g-node { cursor: pointer; }
.g-node circle.ring { fill: #0e1830; stroke-width: 2.5; }
.g-node text.ini { fill: #fff; font: 600 12px var(--head); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.g-node text.lbl { fill: #c9d3e6; font: 500 10.5px var(--body); text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: #0a1122; stroke-width: 3px; }
.g-node.root text.lbl { font-size: 12px; fill: #fff; font-weight: 600; }
.g-node.dim, .g-link.dim { opacity: .14; }
.g-node .halo { fill: none; stroke-width: 2; opacity: 0; }
.g-node.pulse .halo { animation: halo 1.8s ease-out infinite; }
@keyframes halo { 0% { opacity: .9; r: 20; } 100% { opacity: 0; r: 44; } }

/* Platform features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 18px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Showcase */
.showcase { background: var(--bg-soft); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink-2); cursor: pointer; font-family: var(--body); }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.browser { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -40px rgba(11,18,32,.35), 0 0 0 1px rgba(11,18,32,.06); max-width: 1080px; margin: 0 auto; }
.browser-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #f1f4f9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d8dee8; }
.browser-bar span { margin-left: 14px; font-size: .78rem; color: var(--muted); background: #fff; padding: 4px 14px; border-radius: 7px; border: 1px solid var(--line); }
.browser img { width: 100%; height: auto; }
.shot { display: none; } .shot.active { display: block; animation: fade .4s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.shot-caption { text-align: center; color: var(--muted); max-width: 680px; margin: 22px auto 0; font-size: .98rem; }

/* Report */
.report { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.report-visual { position: relative; height: 480px; }
.paper { position: absolute; width: 330px; aspect-ratio: 8.5/11; border-radius: 10px; background: #fff; box-shadow: 0 30px 60px -20px rgba(11,18,32,.35), 0 0 0 1px rgba(11,18,32,.06); padding: 26px; overflow: hidden; }
.paper.back { transform: rotate(-7deg); left: 20px; top: 30px; opacity: .7; }
.paper.front { transform: rotate(3deg); left: 120px; top: 10px; }
.paper .ph { height: 10px; border-radius: 4px; background: #e9eef5; margin-bottom: 9px; }
.paper .hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.paper .hdr img { height: 14px; width: auto; }
.paper .hdr small { font-size: .6rem; color: var(--muted); }
.paper .risk { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 10px; background: #fff4f5; border: 1px solid #ffd6db; margin-bottom: 16px; }
.paper .risk b { font-family: var(--head); font-size: 1.6rem; color: var(--crit); line-height: 1; }
.paper .risk span { font-size: .62rem; color: #8a2633; font-weight: 600; letter-spacing: .06em; }
.paper .ttl { font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.paper .cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 14px 0; }
.paper .cols div { background: var(--bg-soft); border-radius: 8px; padding: 8px; font-size: .58rem; color: var(--muted); }
.paper .cols b { display: block; font-family: var(--head); font-size: 1rem; color: var(--ink); }
.qr { position: absolute; right: 26px; bottom: 26px; width: 48px; height: 48px; background:
  conic-gradient(from 90deg at 30% 30%, var(--ink) 25%, transparent 0) 0 0/12px 12px; border-radius: 4px; opacity: .8; }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 1px; }

/* Video */
.video-wrap { position: relative; max-width: 1000px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(11,18,32,.5); background: #000; }
.video-wrap video { width: 100%; aspect-ratio: 16/9; }

/* Use cases */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case { padding: 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.case b { display: block; font-family: var(--head); color: var(--ink); font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.case span { font-size: .88rem; color: var(--muted); line-height: 1.5; display: block; }
.case .k { font-size: .7rem; font-weight: 700; letter-spacing: .1em; color: var(--brand); margin-bottom: 10px; display: block; }

/* Sources */
.sources { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 960px; margin: 0 auto; }
.sources span { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); font-weight: 500; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-family: var(--head); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

/* CTA / Contact */
.cta { background: var(--night); color: var(--night-text); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 20% 0%, rgba(0,119,255,.25), transparent 70%), radial-gradient(500px 400px at 100% 100%, rgba(108,99,255,.22), transparent 70%); }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cta h2 { color: #fff; }
.cta .lead { color: #9fabc2; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; color: #dfe6f3; }
.contact-list .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--night-line); display: grid; place-items: center; color: #6fb3ff; flex: none; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list a { color: #dfe6f3; }
.contact-list small { display: block; color: #8090ab; font-size: .78rem; }
.form { background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.form h3 { margin-bottom: 4px; }
.form > p { color: var(--muted); font-size: .92rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin: 12px 0 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: .95rem; color: var(--ink); background: #fbfcfe; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid rgba(0,119,255,.35); border-color: var(--brand); }
.form textarea { min-height: 96px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; margin-top: 18px; }
.form .fine { font-size: .74rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* Footer */
.footer { background: #04070f; color: #7d8aa3; padding: 56px 0 36px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer img { height: 20px; width: auto; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: .9rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #9aa6bd; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

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

/* Responsive */
@media (max-width: 1080px) {
  .hero-inner, .report, .cta-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .demo-shell { grid-template-columns: 1fr; }
  .demo-side { border-right: 0; border-bottom: 1px solid var(--night-line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .demo-kpis { margin-top: 0; }
  .report-visual { height: 460px; max-width: 520px; }
}
@media (max-width: 1100px) {
  .nav-links, .nav-cta .login { display: none; }
  .burger { display: block; }
  .nav.open { background: rgba(6,11,24,.97); }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(6,11,24,.97); padding: 12px 24px 24px; gap: 4px; border-bottom: 1px solid var(--night-line); }
  .nav.open .nav-links a { display: block; padding: 10px 0; font-size: 1.05rem; }
  .nav.open .only-m { display: block; }
}
@media (max-width: 860px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .convergence { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 120px 0 64px; }
  .nav-cta .btn { display: none; }
  .features, .cases, .steps { grid-template-columns: 1fr; }
  .scan-body { grid-template-columns: 1fr; justify-items: start; }
  .scan-float { right: 8px; bottom: -26px; }
  .demo-stage { min-height: 0; display: flex; flex-direction: column; }
  .demo-caption { order: 2; }
  .demo-stage svg.graph { position: relative; display: block; height: 460px; }
  .node-panel { left: 14px; right: 14px; width: auto; }
  .demo-caption { position: static; flex-direction: column; align-items: stretch; padding: 0 14px 16px; }
  .demo-disclaimer { text-align: left; max-width: none; }
  .legend { display: none; }
  .form .row { grid-template-columns: 1fr; }
  .report-visual { height: 400px; }
  .paper { width: 250px; padding: 18px; }
  .paper.front { left: 70px; }
  .paper.back { left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
