/* puls. — wersja niebieska. Ta sama treść i animacje co zielona, inna paleta i spokojniejsza typografia. */
:root {
  --pine: #0A1F3F; --pine-2: #10294F; --pine-3: #17386A; --pine-line: rgba(255,255,255,.1);
  --ink: #0B1A33; --text: #2A3A55; --muted: #55647D;
  --cream: #F4F7FB; --sand: #E6EDF6; --paper: #FFFFFF; --line: #DCE4EF; --line-2: #C5D1E2;
  --lime: #38BDF8; --lime-2: #BAE6FD; --lime-mark: #D6EEFF;
  --teal: #1554D9; --teal-2: #2A7BF0;
  --coral: #FF6A50; --coral-d: #C5362A; --coral-soft: #FFE6E0;
  --ok: #117A4D; --ok-2: #1FA766; --ok-soft: #DCF2E3;
  --warn: #8A5600;
  --on-dark: #EEF3FA; --on-dark-muted: #A7B6CF;
  --display: 'Segoe UI Variable Display', 'Segoe UI', 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Segoe UI Variable Text', 'SF Pro Text', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --mono: 'Cascadia Mono', 'SF Mono', Consolas, Menlo, monospace;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--cream); overflow-x: hidden; padding-bottom: 70px; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .hero :focus-visible { outline-color: var(--lime); }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 26px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 14.5px; }
.btn-lg { min-height: 60px; padding: 16px 32px; font-size: 18px; }
.btn-lime { background: var(--lime); color: var(--pine); box-shadow: 0 10px 26px -12px rgba(56,189,248,.7); }
.btn-lime:hover { background: #7DD3FC; }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-3); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ---------- nawigacja ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background .3s, box-shadow .3s; color: #fff; }
.nav.solid { background: rgba(10,31,63,.94); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -20px rgba(0,0,0,.5); }
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.logo { display: inline-flex; text-decoration: none; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #DDE8E3; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--pine); background: var(--lime); }

/* ---------- typografia i sekcje ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
.sec { padding: 120px 0; position: relative; }
.sand { background: var(--sand); }
.dark { background: var(--pine); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; 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: 48px 48px; }
.sec-head { margin-bottom: 56px; max-width: 900px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .sec-lead { margin: 20px auto 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--lime); box-shadow: 0 0 0 3px rgba(56,189,248,.25); }
.dark .kicker { color: var(--lime); }
.h2 { font-family: var(--display); font-weight: 700;  font-size: clamp(38px, 5vw, 68px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.dark .h2 { color: #fff; }
.hl { background: linear-gradient(transparent 58%, var(--lime-mark) 58%, var(--lime-mark) 92%, transparent 92%); padding: 0 .08em; }
.dark .hl, .hero .hl, .cta-h .hl { background: none; color: var(--lime); padding: 0; }
.h3 { font-family: var(--display); font-weight: 700;  font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; color: var(--ink); }
.sec-lead { margin-top: 20px; font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); max-width: 42em; }
.dark .sec-lead { color: var(--on-dark-muted); }
.ck { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-2); color: #fff; font-size: 11px; font-weight: 800; flex: none; }

/* =================================================================== HERO: tarcza */
.hero { background: var(--pine); color: var(--on-dark); padding: 130px 0 90px; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(40% 50% at 50% 72%, rgba(56,189,248,.16), transparent 70%),
  linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px; }
.hero-top { text-align: center; max-width: 980px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-bottom: 24px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(56,189,248,.6); } 70% { box-shadow: 0 0 0 10px rgba(56,189,248,0); } 100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); } }
.hero-h { font-family: var(--display); font-weight: 700;  font-size: clamp(50px, 7.4vw, 108px); line-height: .95; letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
.hero-lead { margin: 26px auto 0; font-size: clamp(17px, 1.4vw, 20px); color: var(--on-dark-muted); max-width: 40em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-top .hero-cta { justify-content: center; }

/* arena */
.arena { position: relative; margin-top: 64px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--pine-line); height: 560px; overflow: hidden; }
.hud { position: absolute; z-index: 5; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 22px 26px; }
.hud-l { display: grid; gap: 10px; }
.hud-site { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; color: #fff; }
.hud-ic { display: inline-flex; }
.hud-mode { justify-self: start; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-d); transition: background .4s, color .4s; }
.hud-mode.on { background: var(--lime); color: var(--pine); }
.hp { width: min(420px, 48%); }
.hp-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--on-dark-muted); margin-bottom: 8px; }
.hp-top b { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hp-top b em { font-style: normal; }
.hp-bar { position: relative; height: 18px; border-radius: 9px; background: rgba(255,255,255,.08); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.hp-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 72%; border-radius: 9px; background: linear-gradient(90deg, var(--teal-2), var(--lime)); transition: width .5s var(--ease), background .4s; }
.hp-bar i.low { background: linear-gradient(90deg, #E2463B, var(--coral)); }
.hp-bar i.mid { background: linear-gradient(90deg, #E39A23, #F5C443); }
.hp-ticks { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), rgba(10,31,63,.55) calc(10% - 2px) 10%); }
.hp-note { margin-top: 8px; font-size: 13.5px; color: var(--on-dark-muted); text-align: right; min-height: 1.4em; }
.field { position: absolute; inset: 0; }
.ring { position: absolute; left: 50%; top: 54%; border-radius: 50%; transform: translate(-50%, -50%); border: 2px dashed rgba(56,189,248,.25); }
.ring.ar1 { width: 300px; height: 300px; animation: spinc 40s linear infinite; }
.ring.ar2 { width: 220px; height: 220px; border-style: solid; border-color: rgba(56,189,248,.12); background: radial-gradient(circle, rgba(56,189,248,.12), transparent 70%); transition: box-shadow .3s, border-color .3s; }
.arena.strong .ring.ar2 { border-color: rgba(56,189,248,.55); box-shadow: 0 0 60px rgba(56,189,248,.25); }
@keyframes spinc { to { transform: translate(-50%, -50%) rotate(360deg); } }
.shield { position: absolute; left: 50%; top: 54%; width: 150px; height: 172px; transform: translate(-50%, -50%); z-index: 3; transition: filter .3s; }
.shield svg { width: 100%; height: 100%; overflow: visible; }
.sh-body { fill: var(--pine-3); stroke: var(--lime); stroke-width: 4; stroke-linejoin: round; transition: stroke .3s, fill .3s; }
.sh-in { fill: rgba(56,189,248,.12); stroke: rgba(56,189,248,.35); stroke-width: 2; }
.sh-ecg { fill: none; stroke: var(--lime); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.shield.hit { animation: shake .35s; }
.shield.hit .sh-body { stroke: var(--coral); fill: #4A2620; }
.shield.heal .sh-body { stroke: #fff; }
.shield.weak .sh-body { stroke: var(--coral); }
.shield.weak .sh-ecg { stroke: var(--coral); }
@keyframes shake { 20% { transform: translate(calc(-50% - 6px), -50%); } 40% { transform: translate(calc(-50% + 6px), -50%); } 60% { transform: translate(calc(-50% - 4px), -50%); } 80% { transform: translate(calc(-50% + 3px), -50%); } }
.zap { position: absolute; left: 50%; top: 54%; width: 220px; height: 220px; margin: -110px; border-radius: 50%; border: 4px solid var(--lime); opacity: 0; pointer-events: none; }
.zap.on { animation: zap .5s ease-out; }
@keyframes zap { from { opacity: .9; transform: scale(.9); } to { opacity: 0; transform: scale(1.25); } }
.foe, .buff { position: absolute; z-index: 4; left: 0; top: 0; will-change: transform; }
.foe { width: 44px; height: 44px; margin: -22px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(255,106,80,.18), 0 10px 20px -8px rgba(0,0,0,.5); }
.foe svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.foe.bot { border-radius: 12px; }
.foe .fl { position: absolute; top: 48px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 700; color: #FFC2B6; }
.foe.pop { animation: pop .4s forwards; }
@keyframes pop { to { opacity: 0; transform: var(--tf) scale(1.8); } }
.buff { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; margin: -20px 0 0 -70px; border-radius: 999px; background: var(--lime); color: var(--pine); font-size: 13.5px; font-weight: 800; white-space: nowrap; box-shadow: 0 12px 24px -10px rgba(56,189,248,.6); }
.buff svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--pine); fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.buff.in { animation: absorb .35s forwards; }
@keyframes absorb { to { opacity: 0; transform: var(--tf) scale(.3); } }
.float { position: absolute; z-index: 6; left: 50%; top: 40%; transform: translateX(-50%); font-family: var(--display); font-weight: 700; font-size: 22px; white-space: nowrap; pointer-events: none; animation: floatUp 1.3s ease-out forwards; }
.float.minus { color: var(--coral); } .float.plus { color: var(--lime); }
.float small { display: block; font-family: var(--body); font-size: 12.5px; font-weight: 600; text-align: center; color: var(--on-dark-muted); }
@keyframes floatUp { from { opacity: 0; transform: translate(-50%, 10px); } 15% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -60px); } }
.legend { position: absolute; z-index: 5; left: 26px; bottom: 22px; display: grid; gap: 8px; font-size: 13.5px; color: var(--on-dark-muted); }
.legend span { display: flex; gap: 10px; align-items: center; }
.legend i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.lg-bad { background: var(--coral); } .lg-good { background: var(--lime); }
.log { position: absolute; z-index: 5; right: 26px; bottom: 64px; width: 290px; display: grid; gap: 6px; }
.log li { display: grid; grid-template-columns: 46px 1fr; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 13px; color: var(--on-dark); animation: logIn .4s var(--ease) both; }
.log li b { font-family: var(--display); font-size: 16px; font-weight: 700; text-align: center; }
.log li.m b { color: var(--coral); } .log li.p b { color: var(--lime); }
@keyframes logIn { from { opacity: 0; transform: translateY(8px); } }
.replay { position: absolute; z-index: 5; right: 26px; bottom: 22px; background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; }
.replay:hover { border-color: var(--lime); color: var(--lime); }

/* =================================================================== CO ROBIMY: wiersze */
.rows { border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line-2); }
.row-n { font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; color: var(--teal); align-self: start; }
.row-txt h3 { font-family: var(--display); font-weight: 700;  font-size: clamp(28px, 2.8vw, 38px); line-height: 1.05; color: var(--ink); margin-bottom: 12px; }
.row-txt p { color: var(--muted); max-width: 32em; }
.row-tag { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--pine); color: var(--lime); }
.row-il { height: 190px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); position: relative; display: flex; align-items: center; justify-content: center; padding: 0 26px; overflow: hidden; }
[data-live] .row-il *, [data-live] .hv *, .phone * { animation-play-state: paused !important; }
[data-live].is-live .row-il *, [data-live].is-live .hv *, .phone.is-live * { animation-play-state: running !important; }
/* test jak klient */
.il-path { justify-content: space-between; background: var(--pine); border-color: var(--pine); }
.ip-node { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; }
.ip-node svg { width: 58px; height: 58px; padding: 15px; border-radius: 16px; background: var(--pine-3); fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ip-node b { font-size: 13px; font-weight: 700; color: #fff; }
.ip-end svg { animation: endPop 6s infinite; }
@keyframes endPop { 0%, 78% { background: var(--pine-3); stroke: var(--lime); } 84%, 100% { background: var(--lime); stroke: var(--pine); } }
.ip-line { flex: 1; height: 0; border-top: 2px dashed rgba(56,189,248,.35); margin: 0 4px 28px; }
.ip-cart { position: absolute; z-index: 2; left: 26px; top: 50px; width: 40px; height: 30px; animation: cart 6s cubic-bezier(.6, 0, .3, 1) infinite; }
.ip-cart svg { width: 40px; height: 30px; padding: 4px 9px; border-radius: 8px; background: var(--lime); fill: none; stroke: var(--pine); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes cart { 0% { left: 4%; opacity: 0; } 6% { opacity: 1; } 20%, 26% { left: 30%; } 44%, 50% { left: 57%; } 72%, 78% { left: calc(100% - 66px); opacity: 1; } 84%, 100% { left: calc(100% - 66px); opacity: 0; } }
/* aktualizacje */
.il-update { flex-direction: column; align-items: stretch; justify-content: center; gap: 12px; }
.iu-ruler { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--ink); padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.iu-ruler b { color: var(--teal); font-family: var(--mono); font-weight: 500; }
.iu-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.iu-blocks i { font-style: normal; font-size: 12.5px; font-weight: 700; text-align: center; padding: 16px 4px; border-radius: 10px; background: #fff; color: var(--muted); border: 1.5px dashed var(--line-2); animation: fillb 6s infinite; }
.iu-blocks .k2 { animation-delay: .7s; } .iu-blocks .k3 { animation-delay: 1.4s; }
@keyframes fillb { 0%, 10% { background: #fff; color: var(--muted); border-style: dashed; } 18%, 85% { background: var(--pine); color: var(--lime); border-color: var(--pine); border-style: solid; } 100% { background: #fff; color: var(--muted); } }
.iu-done { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ok); opacity: 0; animation: doneIn 6s infinite; }
.iu-done span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-2); color: #fff; font-size: 11px; }
@keyframes doneIn { 0%, 38% { opacity: 0; transform: translateY(6px); } 46%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* kopie */
.il-backup { justify-content: space-between; }
.ib-end { display: grid; justify-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--ink); position: relative; z-index: 1; }
.ib-end svg { width: 58px; height: 58px; padding: 15px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line-2); fill: none; stroke: var(--ink); stroke-width: 2; }
.ib-end.vault svg { background: var(--pine); border-color: var(--pine); stroke: var(--lime); }
.ib-road { flex: 1; height: 2px; margin: 0 8px 28px; border-top: 2px dashed var(--line-2); position: relative; }
.ib-box { position: absolute; top: -18px; left: 0; width: 34px; height: 34px; animation: box 4s cubic-bezier(.6, 0, .3, 1) infinite; }
.ib-box svg { width: 34px; height: 34px; padding: 6px; border-radius: 9px; background: var(--lime); fill: none; stroke: var(--pine); stroke-width: 2.2; }
@keyframes box { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 80% { left: calc(100% - 34px); opacity: 1; } 90%, 100% { left: calc(100% - 34px); opacity: 0; } }
/* ochrona */
.il-guard { background: var(--pine); border-color: var(--pine); }
.ig-ring { position: absolute; width: 130px; height: 130px; border-radius: 50%; border: 2px dashed rgba(56,189,248,.5); animation: spin 18s linear infinite; }
.ig-ring.r2 { width: 92px; height: 92px; border: 2px solid rgba(56,189,248,.2); background: rgba(56,189,248,.06); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.ig-core { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 16px; background: var(--lime); display: grid; place-items: center; }
.ig-core svg { width: 28px; height: 28px; fill: none; stroke: var(--pine); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ig-bot { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--coral); animation: botL 2.6s ease-in infinite; left: 6%; top: 46%; }
.ig-bot.b2 { animation-name: botR; left: auto; right: 6%; top: 30%; animation-delay: .9s; }
.ig-bot.b3 { animation-name: botT; top: 0; left: 48%; animation-delay: 1.7s; }
@keyframes botL { 0% { transform: none; opacity: 0; } 15% { opacity: 1; } 55% { transform: translateX(150px); opacity: 1; } 75% { transform: translateX(110px) translateY(-18px); opacity: 0; } 100% { opacity: 0; } }
@keyframes botR { 0% { transform: none; opacity: 0; } 15% { opacity: 1; } 55% { transform: translateX(-150px) translateY(22px); opacity: 1; } 75% { transform: translateX(-112px) translateY(36px); opacity: 0; } 100% { opacity: 0; } }
@keyframes botT { 0% { transform: none; opacity: 0; } 15% { opacity: 1; } 55% { transform: translateY(42px); opacity: 1; } 75% { transform: translateY(12px) translateX(20px); opacity: 0; } 100% { opacity: 0; } }

/* =================================================================== ZAGROŻENIA */
.threat-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 46px; }
.threat { padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.22); background: transparent; color: var(--on-dark); font-weight: 700; font-size: 15px; transition: background .25s, color .25s, border-color .25s; }
.threat:hover { border-color: var(--coral); color: #FFC2B6; }
.threat.is-on { background: var(--coral); border-color: var(--coral); color: #2A0B05; }
.threat-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.threat-cards { display: grid; gap: 18px; }
.tcard { display: none; background: var(--paper); color: var(--text); border-radius: 22px; padding: 28px 30px; border-left: 8px solid var(--coral); animation: cardIn .45s var(--ease); }
.tcard.is-on { display: block; }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } }
.tcard b { display: block; font-family: var(--display); font-weight: 700;  font-size: 32px; line-height: 1.05; color: var(--ink); }
.tcard p { margin-top: 8px; color: var(--muted); }
.tcard dl { margin: 18px 0 0; display: grid; grid-template-columns: 96px 1fr; gap: 10px 16px; }
.tcard dt { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.tcard dd { margin: 0; color: var(--text); }
.t-bad { color: var(--coral-d); } .t-ok { color: var(--ok); }
.term { background: #071630; border: 1px solid var(--pine-line); border-radius: 16px; overflow: hidden; font-family: var(--mono); font-size: 12.5px; }
.term-top { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--pine-line); color: var(--on-dark-muted); }
.term-top b { color: var(--lime); font-weight: 500; } .term-top em { font-style: normal; color: #fff; }
.term-log { height: 140px; overflow: hidden; padding: 10px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); }
.term-log li { flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #8EA0BD; animation: logIn .35s both; }
.term-log .lx { color: #FF9A86; } .term-log .lb { color: var(--lime); }
.radar { position: relative; aspect-ratio: 1; width: min(100%, 480px); margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,80,.12), rgba(10,31,63,0) 70%); }
.radar-ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(56,189,248,.25); }
.r1 { inset: 0; border-style: solid; } .r2 { inset: 17%; } .r3 { inset: 34%; }
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(56,189,248,.12); }
.radar::before { left: 50%; top: 0; bottom: 0; width: 1px; } .radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(56,189,248,.35), rgba(56,189,248,0) 18%, transparent); animation: spin 6s linear infinite; }
.radar-core { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 18px; background: var(--pine-3); border: 2px solid var(--lime); display: grid; place-items: center; z-index: 2; }
.blip { position: absolute; left: var(--x); top: var(--y); width: 16px; height: 16px; margin: -8px; border-radius: 50%; border: 0; padding: 0; background: var(--coral); z-index: 3; animation: blip 6s infinite; animation-delay: calc(var(--a) * 6s); }
.blip span { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); font-size: 12px; font-weight: 700; white-space: nowrap; padding: 3px 9px; border-radius: 6px; background: rgba(255,255,255,.1); color: #fff; }
.blip.hot { background: #fff; box-shadow: 0 0 0 6px rgba(255,106,80,.5); }
.blip.hot span { background: var(--coral); color: #2A0B05; }
@keyframes blip { 0% { transform: scale(1.8); box-shadow: 0 0 0 0 rgba(255,106,80,.7); } 22% { transform: scale(1); box-shadow: 0 0 0 16px rgba(255,106,80,0); } 100% { transform: scale(1); } }

/* =================================================================== PRZESTÓJ (układ bez zmian, nowe kolory) */
.story { background: var(--sand); }
.story .sec-head.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: end; max-width: none; }
.story .v { color: var(--teal); }
.story-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; }
.story-steps { padding: 10vh 0 20vh; }
.story-steps .st { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s; }
.story-steps .st.on { opacity: 1; }
.story-steps time { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.story-steps h3 { font-family: var(--display); font-weight: 700;  font-size: clamp(30px, 3.2vw, 46px); line-height: 1.02; margin: 10px 0 14px; color: var(--ink); }
.story-steps p { color: var(--muted); font-size: 18px; max-width: 30em; }
.stage { position: sticky; top: 14vh; display: grid; gap: 14px; }
.sw { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(10,31,63,.5); position: relative; transition: box-shadow .6s, border-color .6s; }
.sw-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--cream); border-bottom: 1px solid var(--line); }
.sw-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.sw-url { margin-left: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); background: #fff; padding: 4px 12px; border-radius: 999px; }
.sw-body { padding: 22px; display: grid; gap: 16px; }
.sw-prod { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; }
.sw-prod b { display: block; font-family: var(--display); font-size: 21px; color: var(--ink); }
.sw-prod span { color: var(--muted); font-size: 15px; }
.sw-img { height: 84px; border-radius: 14px; background: radial-gradient(60% 70% at 50% 60%, #E9C9A4, #C79B70 60%, #A77B52); }
.sw-pay { display: grid; gap: 10px; }
.sw-paybtn { display: block; text-align: center; padding: 14px; border-radius: 999px; background: var(--pine); color: #fff; font-weight: 700; transition: background .4s; }
.sw-err { display: block; border-radius: 12px; background: var(--coral-soft); color: var(--coral-d); font-weight: 650; font-size: 14.5px; border: 1px solid #F6BBAE; max-height: 0; opacity: 0; padding: 0 14px; overflow: hidden; transition: all .5s var(--ease); }
.sw-reviews { display: grid; gap: 8px; }
.rv { border-radius: 12px; background: #FFF6E5; border: 1px solid #F3D9A6; font-size: 14px; opacity: 0; transform: translateY(12px); transition: all .5s var(--ease); max-height: 0; overflow: hidden; padding: 0 12px; }
.rv b { color: var(--warn); margin-right: 6px; letter-spacing: 1px; }
.sw-cursor { position: absolute; width: 22px; height: 22px; right: 30%; top: 62%; opacity: 0; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 2l13 7-6 1.5L7.5 17z' fill='%230B1A33' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E"); }
.spark { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px 8px; }
.spark-h { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.spark svg { width: 100%; height: 70px; overflow: visible; }
.spark .base { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: opacity .4s; }
.spark .area { fill: rgba(42,123,240,.14); }
.spark .flat { fill: none; stroke: var(--coral); stroke-width: 3; stroke-dasharray: 400; stroke-dashoffset: 400; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 1.4s var(--ease); }
.spark .cut { stroke: var(--coral); stroke-width: 1.5; stroke-dasharray: 3 3; opacity: 0; transition: opacity .4s; vector-effect: non-scaling-stroke; }
.meters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.meter { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; transition: border-color .4s, background .4s; }
.meter span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.meter b { font-family: var(--display); font-size: 32px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.meter small { font-size: 12px; color: var(--muted); }
.status-strip { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-weight: 700; transition: all .4s; }
.ss-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.stage:not([data-step="0"]) .sw { border-color: #F6BBAE; box-shadow: 0 40px 80px -50px rgba(197,54,42,.55); }
.stage:not([data-step="0"]) .sw-paybtn { background: #A9B5C8; }
.stage:not([data-step="0"]) .sw-err { max-height: 80px; opacity: 1; padding: 12px 14px; }
.stage[data-step="2"] .sw-cursor { opacity: 1; animation: tryPay 1.6s infinite; }
@keyframes tryPay { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-20px, -18px); } 50% { transform: translate(-20px, -18px) scale(.85); } }
.stage[data-step="4"] .rv, .stage[data-step="5"] .rv { opacity: 1; transform: none; max-height: 80px; padding: 10px 12px; }
.stage[data-step="4"] .rv:nth-child(2), .stage[data-step="5"] .rv:nth-child(2) { transition-delay: .3s; }
.stage:not([data-step="0"]) .status-strip { background: var(--coral-soft); color: var(--coral-d); }
.stage:not([data-step="0"]) .meter.bad { border-color: #F6BBAE; background: #FFF7F5; }
.stage:not([data-step="0"]) .meter.bad b { color: var(--coral-d); }
.stage:not([data-step="0"]) .spark .flat { stroke-dashoffset: 0; }
.stage:not([data-step="0"]) .spark .cut { opacity: 1; }
.stage:not([data-step="0"]) .spark .tail { opacity: 0; }
.hack-head { margin: 120px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.hack-head p { color: var(--muted); font-size: 18px; }
.hack-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hack { background: var(--paper); border-radius: 20px; padding: 14px 14px 20px; border: 1px solid var(--line); }
.hack h4 { font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--ink); margin: 16px 4px 6px; }
.hack p { font-size: 15px; color: var(--muted); margin: 0 4px; }
.hv { height: 150px; border-radius: 14px; background: var(--cream); position: relative; overflow: hidden; }
.hv-redirect { display: grid; grid-template-rows: auto 1fr; }
.hv-url { margin: 12px; height: 28px; border-radius: 999px; background: #fff; position: relative; overflow: hidden; font-family: var(--mono); font-size: 12px; }
.hv-url span { position: absolute; left: 12px; top: 6px; white-space: nowrap; animation: swapA 5s infinite; }
.hv-url .u2 { color: var(--coral-d); animation-name: swapB; }
@keyframes swapA { 0%, 45% { transform: none; opacity: 1; } 55%, 95% { transform: translateY(-24px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes swapB { 0%, 45% { transform: translateY(24px); opacity: 0; } 55%, 95% { transform: none; opacity: 1; } 100% { transform: translateY(24px); opacity: 0; } }
.hv-page { margin: 0 12px 12px; border-radius: 10px; background: #fff; display: grid; gap: 6px; padding: 12px; animation: pageFlip 5s infinite; }
.hv-page i { height: 8px; border-radius: 4px; background: var(--line); }
.hv-page i:first-child { width: 60%; }
@keyframes pageFlip { 0%, 45% { background: #fff; } 55%, 95% { background: #FFE9A8; } 100% { background: #fff; } }
.hv-red { position: absolute; inset: 0; background: #B3192C; color: #fff; display: grid; place-content: center; text-align: center; gap: 4px; padding: 12px; animation: redIn 5s infinite; }
.hv-red b { font-size: 28px; line-height: 1; } .hv-red span { font-weight: 700; font-size: 14px; } .hv-red small { font-size: 11.5px; opacity: .85; }
@keyframes redIn { 0%, 20% { clip-path: circle(0% at 50% 50%); } 40%, 92% { clip-path: circle(80% at 50% 50%); } 100% { clip-path: circle(0% at 50% 50%); } }
.hv-leak { display: grid; align-content: center; gap: 6px; padding: 14px; font-family: var(--mono); font-size: 12.5px; }
.hv-leak span { background: #fff; padding: 4px 10px; border-radius: 6px; width: max-content; animation: leak 4.5s infinite; animation-delay: calc(var(--n, 0) * .3s); }
.hv-leak span:nth-child(2) { --n: 1; } .hv-leak span:nth-child(3) { --n: 2; } .hv-leak span:nth-child(4) { --n: 3; } .hv-leak span:nth-child(5) { --n: 4; }
@keyframes leak { 0%, 25% { transform: none; opacity: 1; filter: none; } 60%, 100% { transform: translateX(160px) rotate(6deg); opacity: 0; filter: blur(3px); } }
.hv-mail { position: absolute; top: 14px; left: 50%; width: 40px; height: 32px; transform: translateX(-50%); animation: drop 4s infinite; }
.hv-mail svg { width: 40px; height: 32px; padding: 6px 8px; background: #fff; border-radius: 8px; fill: none; stroke: var(--teal); stroke-width: 2; }
@keyframes drop { 0%, 15% { top: 14px; transform: translateX(-50%); opacity: 1; } 55%, 85% { top: 74px; transform: translateX(30px) rotate(10deg) scale(.8); opacity: 1; } 100% { top: 74px; opacity: 0; } }
.hv-box { position: absolute; bottom: 14px; left: 14px; right: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; font-weight: 650; }
.hv-box span { padding: 10px; border-radius: 10px; background: #fff; text-align: center; color: var(--ink); }
.hv-box .sp { background: var(--coral-soft); color: var(--coral-d); }
.story .kicker { color: var(--teal); }
.story .h2 .v { background: linear-gradient(transparent 58%, var(--lime-mark) 58%, var(--lime-mark) 92%, transparent 92%); color: var(--ink); }

/* =================================================================== KALKULATOR (pionowo, wynik na środku) */
.calc-box { display: grid; justify-items: center; text-align: center; gap: 36px; }
.calc-head { max-width: 800px; }
.calc-out { width: min(760px, 100%); background: var(--pine); color: var(--on-dark); border-radius: 30px; padding: 40px 44px; position: relative; overflow: hidden; }
.calc-out::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,80,.35), transparent 70%); }
.co-k { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #FFB3A3; }
.co-v { font-family: var(--display); font-weight: 700; line-height: 1; margin: 10px 0 20px; color: #fff; }
.co-v b { font-size: clamp(64px, 9vw, 120px); font-variant-numeric: tabular-nums; }
.co-v span { font-size: 34px; color: #FFB3A3; }
.co-bar { height: 12px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.co-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #FFB067, var(--coral)); transition: width .8s var(--ease); }
.co-list { margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; position: relative; z-index: 1; }
.co-list div { background: rgba(255,255,255,.06); border-radius: 14px; padding: 12px 16px; }
.co-list dt { color: var(--on-dark-muted); font-size: 14px; }
.co-list dd { margin: 4px 0 0; font-family: var(--display); font-size: 26px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.co-list div:last-child dd { color: var(--lime); }
.calc { width: min(1000px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.calc label { display: grid; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.calc label > span { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; color: var(--ink); font-size: 15px; }
.calc output { font-family: var(--mono); color: var(--teal); }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--teal) var(--p, 30%), var(--sand) var(--p, 30%)); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); border: 5px solid var(--pine); cursor: grab; }
.calc input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--lime); border: 5px solid var(--pine); }
.co-note { max-width: 46em; color: var(--muted); font-size: 14.5px; }

/* =================================================================== REAKCJA: rozmowa w pionie */
.react-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.react-side { position: sticky; top: 110px; }
.chat { position: relative; display: grid; gap: 18px; padding-left: 34px; }
.chat::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: rgba(56,189,248,.2); }
.chat::after { content: ""; position: absolute; left: 9px; top: 8px; width: 2px; height: 0; background: var(--lime); transition: height 5.4s linear; }
.chat.go::after { height: calc(100% - 16px); }
.chat li { position: relative; display: grid; gap: 6px; opacity: 0; transform: translateX(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--n) * .9s + .2s); }
.chat.go li { opacity: 1; transform: none; }
.chat li::before { content: ""; position: absolute; left: -31px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--pine); border: 3px solid var(--lime); }
.chat time { font-family: var(--mono); font-size: 13px; color: var(--lime); }
.msg { max-width: 460px; padding: 14px 18px; border-radius: 18px 18px 18px 4px; font-size: 16px; line-height: 1.45; background: rgba(255,255,255,.08); color: #fff; }
.msg small { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 4px; }
.msg.bad { background: var(--coral-soft); color: var(--coral-d); }
.msg.bad small { color: #9C4A3E; }
.msg.care { background: var(--lime); color: var(--pine); }
.msg.care small { color: #0B4A75; }
.msg.ok { background: var(--ok-soft); color: var(--ok); }
.msg.ok small { color: #3D6B52; }
.chat li.you { justify-items: end; }
.chat li.you::before { display: none; }
.msg.you { background: #fff; color: var(--ink); border-radius: 18px 18px 4px 18px; }
.vs { margin-top: 40px; display: grid; gap: 16px; }
.vs-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: baseline; }
.vs-row span { font-weight: 700; color: #fff; }
.vs-row b { font-family: var(--display); font-size: 32px; font-weight: 700; color: #fff; }
.vs-row .vs-bar { grid-column: 1 / -1; }
.vs-row small { grid-column: 1 / -1; color: var(--on-dark-muted); font-size: 13.5px; }
.vs-bar { height: 12px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.vs-bar i { display: block; height: 100%; width: 0; border-radius: 6px; transition: width 2.8s cubic-bezier(.45, 0, .2, 1); }
.vs-bar.bad i { background: linear-gradient(90deg, #FFB067, var(--coral)); }
.vs-bar.ok i { background: var(--lime); }
.vs.in .vs-bar.bad i { width: 100%; }
.vs.in .vs-bar.ok i { width: 1.2%; min-width: 8px; transition-duration: 1s; }
.vs-note { font-size: 13.5px; color: var(--on-dark-muted); }

/* =================================================================== OFERTA */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pillar { border-radius: 28px; padding: 36px; position: relative; overflow: hidden; }
.p-flow { background: var(--pine); color: var(--on-dark); }
.p-sec { background: var(--lime); color: var(--pine); }
.p-k { font-family: var(--mono); font-size: 13px; opacity: .7; }
.pillar h3 { font-family: var(--display); font-weight: 700;  font-size: clamp(44px, 5vw, 72px); line-height: .95; margin: 6px 0 12px; }
.p-flow h3 { color: var(--lime); } .p-sec h3 { color: var(--pine); }
.p-lead { font-size: 17.5px; max-width: 30em; }
.p-flow .p-lead { color: var(--on-dark-muted); }
.pillar ul { margin-top: 22px; display: grid; gap: 10px; }
.pillar li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; }
.pillar li::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-weight: 900; font-size: 15px; margin-top: 2px; }
.p-flow li::before { background: var(--lime); color: var(--pine); }
.p-sec li::before { background: var(--pine); color: var(--lime); }
.answers { margin-top: 26px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.answers a { text-decoration: none; padding: 5px 12px; border-radius: 999px; font-weight: 700; }
.p-flow .answers a { background: rgba(255,106,80,.18); color: #FFB3A3; }
.p-sec .answers a { background: var(--pine); color: var(--lime); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: grid; gap: 12px; align-content: start; position: relative; }
.plan-hot { border: 2px solid var(--pine); }
.plan-badge { position: absolute; top: -14px; left: 26px; background: var(--coral); color: #2A0B05; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan-for { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); }
.plan h3 { font-family: var(--display); font-weight: 700;  font-size: 36px; color: var(--ink); line-height: 1; }
.plan > p { color: var(--muted); }
.plan dl { margin: 6px 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.plan dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: #fff; font-size: 15px; }
.plan dt { color: var(--muted); } .plan dd { margin: 0; font-weight: 650; color: var(--ink); text-align: right; }
.price { font-size: 15px; color: var(--muted); }
.plan .btn { justify-self: start; }

/* =================================================================== PANEL */
.panel-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.phone { width: 340px; max-width: 100%; justify-self: center; border-radius: 40px; padding: 18px; background: #fff; border: 9px solid var(--pine); box-shadow: 0 50px 90px -40px rgba(10,31,63,.6); display: grid; gap: 12px; position: relative; }
.ph-top { display: flex; align-items: center; gap: 10px; padding: 6px 6px 4px; font-weight: 800; color: var(--ink); }
.ph-ok { display: flex; gap: 12px; align-items: center; background: var(--ok-soft); border-radius: 16px; padding: 14px; }
.ph-ok b { display: block; color: var(--ink); } .ph-ok small { color: var(--muted); }
.ph-q { background: #FFF5E2; border-radius: 18px; padding: 16px; display: grid; gap: 8px; position: relative; animation: qIn 8s infinite; }
@keyframes qIn { 0%, 8% { opacity: 0; transform: translateY(16px) scale(.97); } 14%, 100% { opacity: 1; transform: none; } }
.ph-q small { color: var(--warn); font-weight: 800; font-size: 12px; }
.ph-q b { font-size: 15px; line-height: 1.35; color: var(--ink); }
.ph-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.ph-btns span { text-align: center; padding: 10px 6px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.ph-yes { background: var(--pine); color: var(--lime); animation: yes 8s infinite; }
.ph-no { background: #fff; color: var(--coral-d); border: 1px solid #F6BBAE; }
@keyframes yes { 0%, 46% { transform: none; } 49% { transform: scale(.92); } 52%, 100% { transform: none; } }
.ph-thanks { position: absolute; inset: 0; border-radius: 18px; background: var(--ok-soft); color: var(--ok); display: flex; gap: 10px; align-items: center; justify-content: center; font-weight: 800; opacity: 0; animation: thanks 8s infinite; }
@keyframes thanks { 0%, 52% { opacity: 0; } 58%, 94% { opacity: 1; } 100% { opacity: 0; } }
.ph-list { display: grid; gap: 6px; font-size: 13px; color: var(--muted); padding: 4px 6px; font-family: var(--mono); }
.ph-cursor { position: absolute; width: 22px; height: 22px; left: 80%; top: 92%; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 2l13 7-6 1.5L7.5 17z' fill='%230B1A33' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E"); animation: phCur 8s var(--ease) infinite; }
@keyframes phCur { 0%, 20% { left: 80%; top: 92%; } 44%, 50% { left: 24%; top: 64%; } 70%, 100% { left: 80%; top: 92%; } }

/* =================================================================== FAQ, CTA, STOPKA */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--pine); color: var(--lime); font-size: 22px; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 50px 22px 0; }
.cta-sec { padding: 150px 0; }
.cta-in { display: grid; justify-items: center; text-align: center; gap: 24px; }
.cta-hp { width: min(520px, 100%); display: grid; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--lime); text-transform: uppercase; letter-spacing: .08em; }
.cta-hp .hp-bar i { width: 0; transition: width 2.4s var(--ease); background: linear-gradient(90deg, var(--teal-2), var(--lime)); }
.cta-in.go .cta-hp .hp-bar i { width: 100%; }
.cta-h { font-family: var(--display); font-weight: 700;  font-size: clamp(44px, 6.4vw, 92px); line-height: .96; color: #fff; max-width: 15ch; }
.cta-in .sec-lead { margin-top: 0; }
.foot { background: var(--pine); color: var(--on-dark-muted); padding: 34px 0; font-size: 14px; border-top: 1px solid var(--pine-line); }
.foot-in { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* ---------- pasek prezentacji ---------- */
.pres { position: fixed; z-index: 60; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(11,26,51,.94); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); font-size: 14px; }
.pres-l { padding: 0 10px 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #9FB0C8; }
.pres a { color: #E3EAF5; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; }
.pres a:hover { background: rgba(255,255,255,.1); }
.pres a[aria-current="page"] { background: var(--lime); color: var(--pine); }
.pres-sep { width: 1px; align-self: stretch; margin: 6px 4px; background: rgba(255,255,255,.2); }

/* ---------- okno kontaktu ---------- */
.modal { border: 0; padding: 0; border-radius: 26px; width: min(560px, calc(100vw - 24px)); background: var(--paper); color: var(--text); box-shadow: 0 60px 120px -30px rgba(10,31,63,.6); }
.modal::backdrop { background: rgba(10,31,63,.55); backdrop-filter: blur(4px); }
.modal[open] { animation: popm .35s var(--ease); }
@keyframes popm { from { transform: translateY(16px) scale(.98); opacity: 0; } }
.ct-head { display: flex; justify-content: space-between; align-items: center; padding: 26px 28px 6px; }
.ct-head h2, .ct-done h2 { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--ink); outline: none; }
.ct-x { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-size: 22px; line-height: 1; }
.ct-body { padding: 12px 28px; display: grid; gap: 14px; }
.ct-body label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ink); }
.ct-body input:not([type=radio]) { min-height: 48px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 10px 14px; font: inherit; font-size: 16px; background: #fff; }
.ct-body input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(42,123,240,.18); }
.ct-body fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.ct-body legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.ct-body .r { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 999px; font-weight: 600; cursor: pointer; background: #fff; }
.ct-body .r:has(input:checked) { border-color: var(--pine); background: var(--lime-2); }
.ct-err { color: var(--coral-d); font-weight: 700; font-size: 14.5px; }
.ct-note { font-size: 13.5px; color: var(--muted); }
.ct-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 28px 28px; }
.ct-done { padding: 40px 32px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.ct-done .big { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; background: var(--lime); color: var(--pine); }
.ct-done p { color: var(--muted); max-width: 36ch; }

/* =================================================================== SZEROKOŚCI */
.threat-grid > *, .panel-grid > *, .faq-grid > *, .story-grid > *, .hack-grid > *, .react-grid > *, .row > * { min-width: 0; }
@media (max-width: 1100px) {
  .wrap { padding: 0 28px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .row { grid-template-columns: 70px minmax(0, 1fr); gap: 20px 28px; }
  .row-il { grid-column: 2; }
  .threat-grid, .panel-grid, .faq-grid, .react-grid, .hack-head, .story .sec-head.split { grid-template-columns: 1fr; gap: 32px; }
  .react-side { position: static; }
  .story-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hack-grid { grid-template-columns: 1fr 1fr; }
  .meters { grid-template-columns: 1fr 1fr; }
  .log { width: 240px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .sec { padding: 84px 0; }
  .sec-head { margin-bottom: 36px; }
  .nav-in { min-height: 64px; }
  .nav .btn { min-height: 40px; padding: 8px 14px; font-size: 13.5px; }
  .hero { padding: 100px 0 60px; }
  .hero-h { font-size: clamp(44px, 13vw, 60px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .arena { height: 680px; margin-top: 40px; border-radius: 22px; }
  .float { font-size: 18px; }
  .float small { font-size: 11px; }
  .hud { flex-direction: column; padding: 16px; gap: 12px; }
  .hp { width: 100%; }
  .hp-top b { font-size: 32px; }
  .hp-note { text-align: left; }
  .ring.ar1 { width: 220px; height: 220px; } .ring.ar2 { width: 160px; height: 160px; }
  .shield { width: 110px; height: 126px; top: 60%; }
  .ring, .zap { top: 60%; }
  .zap { width: 160px; height: 160px; margin: -80px; }
  .log { display: none; }
  .legend { left: 16px; right: 16px; bottom: 54px; font-size: 12.5px; }
  .replay { left: 16px; right: auto; bottom: 14px; }
  .buff { font-size: 12px; margin-left: -56px; }
  .row { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .row-n { font-size: 40px; }
  .row-il { grid-column: auto; height: 170px; padding: 0 14px; }
  .ip-node svg { width: 46px; height: 46px; padding: 11px; }
  .ip-node b { font-size: 11px; }
  .ip-cart { top: 44px; left: 14px; }
  .threat-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px 30px; padding: 0 18px 6px; }
  .threat { flex: none; }
  .tcard { padding: 22px; }
  .tcard dl { grid-template-columns: 1fr; gap: 4px; }
  .tcard dd { margin-bottom: 8px; }
  .story-grid { grid-template-columns: 1fr; }
  .stage-wrap { order: -1; position: sticky; top: 64px; z-index: 5; margin: 0 -18px; padding: 10px 18px; background: linear-gradient(var(--sand) 86%, rgba(230,237,246,0)); }
  .stage { position: static; gap: 8px; }
  .sw-prod, .spark, .sw-reviews .rv:nth-child(2) { display: none; }
  .sw-bar { padding: 8px 12px; }
  .sw-body { padding: 12px; gap: 10px; }
  .sw-paybtn { padding: 10px; }
  .meters { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .meter { padding: 8px; border-radius: 10px; }
  .meter span { font-size: 10.5px; } .meter small { display: none; }
  .meter b { font-size: 20px; }
  .status-strip { padding: 8px 12px; font-size: 14px; }
  .story-steps { padding: 4vh 0 10vh; }
  .story-steps .st { min-height: 70vh; justify-content: flex-end; padding-bottom: 8vh; }
  .story-steps p { font-size: 16px; }
  .hack-head { margin-top: 80px; }
  .hack-grid { grid-template-columns: 1fr; }
  .calc-out { padding: 28px 22px; border-radius: 24px; }
  .co-list { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .pillars, .plans { grid-template-columns: 1fr; }
  .pillar { padding: 26px; }
  .cta-sec { padding: 110px 0; }
  .pres { bottom: 8px; padding: 4px; }
  .pres-l { display: none; }
  .pres a { padding: 8px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================================================================== NIEBIESKA: poważniejsze nagłówki */
.h2, .h3, .hero-h, .cta-h, .row-txt h3, .tcard b, .story-steps h3, .pillar h3, .plan h3, .faq summary { font-weight: 650; letter-spacing: -0.025em; }
.hero-h { font-size: clamp(42px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -0.035em; }
.h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.08; }
.hl, .story .h2 .v { background: none; color: var(--teal); padding: 0; }
.dark .hl, .hero .hl, .cta-h .hl { color: var(--lime); }
.kicker { font-family: var(--body); font-weight: 700; letter-spacing: .12em; font-size: 12.5px; }
.kicker::before { width: 22px; height: 2px; border-radius: 0; box-shadow: none; }
.row-n { font-weight: 600; color: var(--teal); }
.btn { border-radius: 10px; }
.pres, .pres a { border-radius: 12px; }

/* =================================================================== NIEBIESKA: nagłówek tekst + scena obok */
.hero.hero-split { padding: 112px 0 64px; min-height: 100vh; display: flex; align-items: center; }
.hs-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 52px; align-items: center; }
.hs-copy .eyebrow { margin-bottom: 20px; }
.hs-copy .hero-lead { margin: 22px 0 0; max-width: 34em; }
.hs-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14.5px; color: var(--on-dark-muted); }
.hs-proof li { display: flex; gap: 8px; align-items: center; }
.hs-proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

.guard { position: relative; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--pine-line); padding: 18px 20px 16px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); }
.g-hud { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.g-site { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13.5px; color: #fff; }
.g-site i { display: inline-flex; }
.g-mode { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-d); transition: background .4s, color .4s; }
.g-mode.on { background: var(--lime); color: var(--pine); }
.g-hp { margin: 14px 0 12px; }
.g-hp .hp-top b { font-size: 30px; }
.g-scene { position: relative; height: 400px; display: grid; grid-template-columns: 30% 16% 54%; align-items: stretch; border-radius: 18px; background: rgba(0,0,0,.18); overflow: hidden; }
.g-att { display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; background: linear-gradient(90deg, rgba(255,106,80,.14), transparent); }
.g-att span { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #FFB3A3; }
.g-att small { font-size: 12.5px; color: var(--on-dark-muted); }
.g-wall { position: relative; display: grid; place-items: center; }
.g-wall svg { width: 74px; height: 92%; overflow: visible; }
.w-band { fill: rgba(56,189,248,.14); stroke: var(--lime); stroke-width: 3; transition: stroke .3s, fill .3s, opacity .3s; }
.w-core { fill: var(--pine-3); stroke: var(--lime); stroke-width: 2.5; }
.w-ecg { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.w-glow { fill: none; stroke: var(--lime); stroke-width: 10; opacity: .12; }
.g-wall.weak .w-band { stroke: var(--coral); stroke-dasharray: 10 8; fill: rgba(255,106,80,.08); }
.g-wall.weak .w-ecg, .g-wall.weak .w-core { stroke: var(--coral); }
.g-wall.hit svg { animation: wshake .35s; }
.g-wall.heal .w-band { stroke: #fff; fill: rgba(56,189,248,.3); }
@keyframes wshake { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.g-assets { display: grid; align-content: center; gap: 8px; padding: 12px 14px 12px 6px; }
.asset { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); transition: background .3s, border-color .3s, transform .3s; }
.as-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(56,189,248,.14); }
.as-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.as-t b { display: block; font-size: 14px; color: #fff; line-height: 1.2; }
.as-t small { display: block; font-size: 12px; color: var(--on-dark-muted); line-height: 1.3; }
.as-st { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: rgba(34,197,94,.18); color: #86EFAC; white-space: nowrap; }
.asset.hit { background: rgba(255,106,80,.16); border-color: rgba(255,106,80,.6); animation: ahit .4s; }
.asset.hit .as-st { background: var(--coral); color: #2A0B05; }
.asset.hit .as-ic { background: rgba(255,106,80,.2); }
.asset.hit .as-ic svg { stroke: #FFB3A3; }
.asset.fixed .as-st { background: var(--lime); color: var(--pine); }
@keyframes ahit { 30% { transform: translateX(6px); } 60% { transform: translateX(-4px); } }
.g-ent { position: absolute; left: 0; top: 0; z-index: 3; will-change: transform; pointer-events: none; }
.g-foe { width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; box-shadow: 0 0 0 5px rgba(255,106,80,.18); }
.g-foe.bot { border-radius: 9px; }
.g-foe svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.g-foe.through { box-shadow: 0 0 0 5px rgba(255,106,80,.35), 0 0 18px rgba(255,106,80,.7); }
.g-buff { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; margin: -15px 0 0 -16px; border-radius: 999px; background: var(--lime); color: var(--pine); font-size: 12px; font-weight: 800; white-space: nowrap; }
.g-buff svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--pine); fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.g-ent.gone { animation: entGone .35s forwards; }
@keyframes entGone { to { opacity: 0; transform: var(--tf) scale(1.6); } }
.g-zap { position: absolute; z-index: 4; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 3px solid var(--lime); opacity: 0; pointer-events: none; left: 0; top: 0; }
.g-zap.on { animation: zap .45s ease-out; }
.g-float { position: absolute; z-index: 5; transform: translate(-50%, -100%); font-weight: 800; font-size: 12.5px; white-space: nowrap; padding: 3px 9px; border-radius: 8px; pointer-events: none; animation: gfloat 1.3s ease-out forwards; }
.g-float.minus { background: var(--coral); color: #2A0B05; } .g-float.plus { background: var(--lime); color: var(--pine); } .g-float.block { background: rgba(255,255,255,.92); color: var(--pine); }
@keyframes gfloat { from { opacity: 0; margin-top: 6px; } 15% { opacity: 1; } to { opacity: 0; margin-top: -34px; } }
.g-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; margin-top: 12px; font-size: 13px; color: var(--on-dark-muted); }
.g-foot .lgs { display: flex; gap: 16px; flex-wrap: wrap; }
.g-foot .lgs span { display: inline-flex; gap: 8px; align-items: center; }
.g-foot i { width: 11px; height: 11px; border-radius: 50%; }
.g-last { flex-basis: 100%; min-height: 1.5em; color: #fff; font-size: 13.5px; }
.g-last b.m { color: var(--coral); } .g-last b.p { color: var(--lime); }
.guard .replay { position: static; }

@media (max-width: 1100px) {
  .hero.hero-split { min-height: auto; }
  .hs-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .guard { padding: 14px; border-radius: 20px; }
  .g-scene { height: 540px; grid-template-columns: 1fr; grid-template-rows: 20% 12% 68%; }
  .g-att { justify-content: flex-start; background: linear-gradient(180deg, rgba(255,106,80,.14), transparent); }
  .g-wall svg { width: 92%; height: 56px; }
  .g-assets { padding: 6px 10px 10px; gap: 6px; }
  .asset { padding: 7px 10px; grid-template-columns: 30px 1fr auto; }
  .as-ic { width: 30px; height: 30px; }
  .as-st { font-size: 10.5px; }
}

/* ściana tarczy zbudowana z elementów HTML, żeby działała w poziomie i w pionie */
.g-wall .w-band { position: absolute; inset: 10px 20px; border-radius: 999px; border: 3px solid var(--lime); background: linear-gradient(180deg, rgba(56,189,248,.18), rgba(56,189,248,.06)); box-shadow: 0 0 40px rgba(56,189,248,.25), inset 0 0 30px rgba(56,189,248,.15); transition: border-color .3s, background .3s, box-shadow .3s; }
.g-wall .w-core { position: relative; z-index: 1; width: 66px; height: 76px; }
.g-wall .w-core svg { width: 100%; height: 100%; }
.g-wall .sh-body { fill: var(--pine-3); stroke: var(--lime); stroke-width: 5; stroke-linejoin: round; }
.g-wall .sh-ecg { fill: none; stroke: var(--lime); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.g-wall.weak .w-band { border-color: var(--coral); border-style: dashed; background: rgba(255,106,80,.06); box-shadow: none; }
.g-wall.weak .sh-body, .g-wall.weak .sh-ecg { stroke: var(--coral); }
.g-wall.hit .w-band { animation: wshake .35s; border-color: var(--coral); }
.g-wall.heal .w-band { border-color: #fff; background: rgba(56,189,248,.32); }
@media (max-width: 640px) { .g-wall .w-band { inset: 12px 10px; } .g-wall .w-core { width: 46px; height: 54px; } }
