/* Bluwasp product page. Builds on /styles.css (tokens, nav, buttons, sections, footer).
   Severity colours are signals only: findings, chips and the radar. Never chrome or actions. */

:root {
  --sev-c: #ff5d6c;
  --sev-h: #ff9f43;
  --sev-m: #ffd166;
  --sev-l: #7fe3ff;
  --ok: #4fd1a5;
}

#radar { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; transition: none; }
.product-page .lights i { opacity: .38; }

/* ---------- nav extras ---------- */
@font-face { font-family: "Bluwasp Mark"; src: url("/fonts/poppins-600-bluwasp.woff2") format("woff2"); font-weight: 600; font-display: block; }
/* Same lockup as the Blurabit logo: caps Poppins wordmark, and the wasp as tall as the visible ring (32px box, 22/24 of it inked = 1.09em at 27px), centred */
.bw-logo { font-family: var(--mark); font-size: 27px; align-items: center; }
.bw-logo.logo { gap: .41em; }
.bw-mark { height: 1.09em; width: calc(1.09em * 60 / 62); flex: none; filter: drop-shadow(0 0 10px rgba(91,123,253,.65)); }
.bw-logo .bw-word { font-family: "Bluwasp Mark", var(--mark); font-size: 1em; }
.nav-product { transition: border-color .2s, color .2s; }
.nav-product:hover { border-color: rgba(142,162,255,.7); color: #fff; }
.nav-product { margin-left: -6px; padding: 4px 9px; border: 1px solid rgba(142,162,255,.35); border-radius: 999px; color: var(--blue-2); font-size: 11px; }
.nav-signin { font-size: 14.5px; color: var(--dim); transition: color .2s; }
.nav-signin:hover { color: var(--fg); }
@media (max-width: 1100px) { .nav-signin { display: none; } }
@media (max-width: 560px) { .nav-product { display: none; } .bw-logo { font-size: 22px; } }
@media (max-width: 380px) { .bw-logo { font-size: 19px; } }

/* ---------- hero ---------- */
.phero { position: relative; padding-top: clamp(130px, 18vh, 190px); text-align: center; }
.phero-copy { display: flex; flex-direction: column; align-items: center; }
.phero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(10,10,14,.7); color: var(--dim); font-size: 11.5px; transition: border-color .2s, color .2s; }
.phero-pill:hover { border-color: rgba(142,162,255,.55); color: var(--fg); }
.phero-pill svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.phero-pill:hover svg { transform: translateX(3px); }
.phero-pill-new { padding: 3px 8px; border-radius: 999px; background: var(--blue); color: #fff; }
.phero-title { margin-top: 28px; font-size: clamp(46px, 8vw, 124px); line-height: .96; letter-spacing: -0.05em; font-weight: 650; text-wrap: balance; }
.phero-sub { margin-top: 26px; max-width: 38em; font-size: clamp(17px, 1.5vw, 20px); color: var(--dim); text-wrap: pretty; }
.phero-ctas { justify-content: center; }
.phero-src { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; color: var(--mute); font-size: 11px; }
.phero-src b { color: var(--dim); font-weight: 500; }
.phero-src i { width: 3px; height: 3px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px var(--blue); }

/* the product stands on the radar floor and straightens as you scroll (JS sets --tilt 1 → 0) */
.phero-stage { position: relative; margin-top: clamp(56px, 8vh, 88px); perspective: 1600px; }
.tilt { --tilt: 1; position: relative; transform-origin: 50% 0; transform: rotateX(calc(var(--tilt) * 24deg)) scale(calc(1 - var(--tilt) * .06)); will-change: transform; }
.phero-win { box-shadow: 0 0 0 1px rgba(142,162,255,.12), 0 -20px 80px -30px rgba(91,123,253,.55), 0 60px 120px -40px rgba(0,0,0,.9); }
.phero-win img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.phero-win::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.65) 100%); }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 120px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(91,123,253,.16) 70%, rgba(142,162,255,.55) 100%); mix-blend-mode: screen; transform: translateY(-120px); }
@media (prefers-reduced-motion: no-preference) { .js .scanline { animation: scan 6s var(--ease) 1.4s infinite; } }
@keyframes scan { 0% { transform: translateY(-120px); opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(calc(var(--h, 760px))); opacity: 0; } }
.phero-note { margin-top: 14px; color: var(--mute); font-size: 10.5px; }

/* floating findings */
.chip { position: absolute; z-index: 2; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: center; padding: 11px 14px; min-width: 230px; text-align: left; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(12,13,19,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.9); font-size: 13.5px; }
.chip b { font-weight: 600; letter-spacing: -0.01em; }
.chip-meta { grid-column: 2; color: var(--mute); font-family: var(--mono); font-size: 11px; }
.chip-meta em { font-style: normal; color: var(--sev-c); }
.chip-a { left: -3%; top: 14%; }
.chip-b { right: -4%; top: 30%; }
.chip-c { left: 2%; top: 64%; }
.chip-d { right: 1%; top: 74%; }
.sev { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 500; }
.sev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.sev-c { color: var(--sev-c); background: rgba(255,93,108,.12); }
.sev-h { color: var(--sev-h); background: rgba(255,159,67,.12); }
.sev-m { color: var(--sev-m); background: rgba(255,209,102,.1); }
.ok-dot { width: 18px; height: 18px; border-radius: 50%; background: rgba(79,209,165,.15); position: relative; }
.ok-dot::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .js .chip { opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .7s var(--ease), transform .8s var(--ease); }
  .js .chip.in { opacity: 1; transform: none; }
  .js .chip.in { animation: bob 7s ease-in-out infinite; }
  .js .chip-b.in { animation-delay: -2s; } .js .chip-c.in { animation-delay: -4s; } .js .chip-d.in { animation-delay: -5.5s; }
}
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 1000px) { .chip-c, .chip-d { display: none; } .chip-a { left: 2%; top: -6%; } .chip-b { right: 2%; top: 40%; } }
@media (max-width: 640px) { .chip { min-width: 0; padding: 8px 10px; font-size: 12px; } .chip-meta { display: none; } .chip-b { display: none; } .chip-a { top: -10%; left: 50%; translate: -50% 0; } }

/* ---------- numbers ---------- */
.pstats { margin-top: clamp(80px, 12vw, 140px); }
.pstats dl { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.pstats dl > div { padding: 28px 26px 30px; }
.pstats dl > div + div { border-left: 1px solid var(--line); }
.pstats dt { color: var(--blue-2); font-size: 11px; }
.pstats dd { margin: 10px 0 0; font-size: clamp(28px, 2.8vw, 38px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.pstats p { margin-top: 10px; color: var(--dim); font-size: 15px; }
@media (max-width: 900px) { .pstats dl { grid-template-columns: 1fr 1fr; } .pstats dl > div:nth-child(3) { border-left: 0; } .pstats dl > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .pstats dl { grid-template-columns: 1fr; } .pstats dl > div + div { border-left: 0; border-top: 1px solid var(--line); } .pstats dl > div { padding: 22px 4px; } }

/* ---------- how ---------- */
.psteps { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: s; border-top: 1px solid var(--line); }
.psteps li { position: relative; padding: 34px 32px 0 0; }
.psteps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.psteps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--blue); box-shadow: 0 0 14px var(--blue); }
.psteps li + li::before { left: 32px; }
.pstep-n { color: var(--blue-2); font-size: 12px; }
.psteps h3 { margin-top: 16px; font-size: 24px; letter-spacing: -0.025em; font-weight: 600; line-height: 1.2; }
.psteps p { margin-top: 10px; color: var(--dim); font-size: 16px; max-width: 34ch; }
@media (max-width: 860px) { .psteps { grid-template-columns: 1fr; } .psteps li, .psteps li + li { padding: 28px 0 30px; border-left: 0; } .psteps li + li { border-top: 1px solid var(--line); } .psteps li + li::before { left: 0; } }

/* ---------- features ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pgrid li { padding: 30px 28px 32px; }
.pico { width: 28px; height: 28px; margin-bottom: 22px; fill: none; stroke: var(--blue-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pgrid h3 { margin-top: 8px; font-size: 22px; letter-spacing: -0.02em; font-weight: 600; line-height: 1.2; }
.pgrid p:not(.mono) { margin-top: 10px; color: var(--dim); font-size: 15.5px; }
.pgrid-hot { border-color: rgba(142,162,255,.4); background: linear-gradient(160deg, rgba(91,123,253,.2), rgba(16,16,22,.9) 60%); }
@media (max-width: 1000px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pgrid { grid-template-columns: 1fr; } }

/* ---------- pentest ---------- */
.ppen-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.ppen-list { margin-top: 28px; display: grid; gap: 12px; }
.ppen-list li { position: relative; padding-left: 30px; color: var(--fg); font-size: 16px; }
.ppen-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(142,162,255,.5); background: rgba(91,123,253,.12); }
.ppen-list li::after { content: ""; position: absolute; left: 7px; top: calc(.3em + 4px); width: 4px; height: 8px; border: solid var(--blue-2); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.ppen .hero-ctas { margin-top: 32px; }
.ppen-panel { border: 1px solid var(--line-2); border-radius: 20px; background: rgba(10,11,16,.9); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(91,123,253,.45); }
.ppen-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 11.5px; }
.ppen-tag { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--mute); font-size: 10px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(79,209,165,.6); }
@media (prefers-reduced-motion: no-preference) { .pulse-dot { animation: pulse 2s infinite; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(79,209,165,0); } 100% { box-shadow: 0 0 0 0 rgba(79,209,165,0); } }
.ppen-time { position: relative; padding: 26px 24px 10px 54px; }
.ppen-time::before { content: ""; position: absolute; left: 31px; top: 34px; bottom: 44px; width: 1px; background: linear-gradient(var(--blue), rgba(91,123,253,.15)); }
.ppen-time li { position: relative; padding-bottom: 24px; }
.ppen-time li::before { content: ""; position: absolute; left: -28px; top: 5px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--blue); background: var(--bg); }
.ppen-time li.done::before { background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.ppen-time li.now::before { border-color: var(--ok); background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.ppen-time .mono { color: var(--mute); font-size: 10.5px; }
.ppen-time b { display: block; margin-top: 3px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.ppen-time p { margin-top: 4px; color: var(--dim); font-size: 14.5px; }
.ppen-time p .sev { margin-right: 4px; }
@media (max-width: 900px) { .ppen-grid { grid-template-columns: 1fr; } }

/* ---------- plans ---------- */
.pplans-head { margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pplans-head .sec-sub { margin-inline: auto; }
.bill { margin-top: 30px; display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(10,10,14,.7); }
.bill button { height: 38px; padding: 0 16px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--dim); transition: background-color .2s, color .2s; }
.bill button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.bill em { font-style: normal; margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: rgba(79,209,165,.15); color: var(--ok); font-size: 11.5px; }
.bill button[aria-pressed="true"] em { background: rgba(255,255,255,.18); color: #fff; }
.ptiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.tier-hot { border-color: rgba(142,162,255,.55); background: linear-gradient(180deg, rgba(91,123,253,.18), rgba(16,16,22,.92) 45%); box-shadow: var(--glow); }
.tier-badge { position: absolute; top: -11px; left: 28px; padding: 3px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10.5px; }
.tier-k { color: var(--blue-2); font-size: 12px; }
.tier-price { margin-top: 16px; display: flex; align-items: baseline; gap: 2px; font-size: 52px; font-weight: 650; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.tier-price .cur { font-size: .5em; font-weight: 550; color: var(--dim); align-self: flex-start; margin-top: .25em; }
.tier-price .from { font-size: 14px; font-weight: 450; letter-spacing: 0; color: var(--mute); margin-right: 6px; align-self: center; }
.tier-price small { margin-left: 6px; font-size: 15px; font-weight: 450; letter-spacing: 0; color: var(--mute); }
.tier-bill { margin-top: 10px; color: var(--mute); font-size: 10.5px; min-height: 1.6em; }
.tier-pitch { margin-top: 18px; color: var(--dim); font-size: 15.5px; min-height: 3.2em; }
.tier-cta { margin-top: 22px; justify-content: center; width: 100%; }
.tier-list { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.tier-list li { position: relative; padding-left: 26px; font-size: 15px; }
.tier-list li::before { content: ""; position: absolute; left: 3px; top: .38em; width: 5px; height: 10px; border: solid var(--blue-2); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.paddon { margin-top: 16px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; padding: 26px 28px; border: 1px dashed rgba(142,162,255,.35); border-radius: var(--r); background: rgba(91,123,253,.05); }
.paddon-t { margin-top: 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.paddon-b { margin-top: 6px; color: var(--dim); font-size: 15px; max-width: 60ch; }
.paddon-price { margin-top: 0; font-size: 40px; }
.price-swap { transition: opacity .2s; }
@media (max-width: 980px) { .ptiers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .paddon { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 18px; } .tier-pitch { min-height: 0; } }

/* ---------- faq ---------- */
.pfaq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pfaq-list { border-top: 1px solid var(--line); }
.pfaq-list details { border-bottom: 1px solid var(--line); }
.pfaq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 550; letter-spacing: -0.01em; }
.pfaq-list summary::-webkit-details-marker { display: none; }
.pfaq-list summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px; border: solid var(--blue-2); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transition: transform .25s var(--ease); }
.pfaq-list details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.pfaq-list details p { padding-bottom: 22px; color: var(--dim); font-size: 16px; max-width: 62ch; }
@media (max-width: 860px) { .pfaq-grid { grid-template-columns: 1fr; } }

.pcta-end { min-height: 80svh; }
