/* PowerGen KZ — night indigo + electric yellow (reference: Sourav Maity «Powerstation», see style-ref/STYLE.md).
   One visual world by choice: a single dark theme, so no light/dark switching. */
:root {
  color-scheme: dark;
  --bg: #0e1130;
  --bg-2: #131740;
  --panel: #181d4a;
  --panel-2: #20265c;
  --line: rgba(190, 200, 255, .12);
  --line-2: rgba(190, 200, 255, .22);
  --ink: #f4f6ff;
  --muted: #a7add9;
  --muted-2: #7d84b8;
  --accent: #ffd400;
  --accent-ink: #1a1500;
  --orange: #ff7a1a;
  --cyan: #38e1ff;
  --magenta: #ff4fd8;
  --ok: #3ddc84;
  --radius: 22px;
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body: "Manrope", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
/* clip, not hidden: a hidden box can still be scrolled by script/focus — the 3D canvas is wider than its column */
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 92px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 54px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head h2 { margin-top: 14px; }
.sec-head > p { max-width: 420px; color: var(--muted); }
.block { padding-block: clamp(64px, 9vw, 120px); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
       font: 700 15px/1 var(--body); text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .chip:focus-visible, .field:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 40px -10px rgba(255, 212, 0, .7); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa svg { width: 20px; height: 20px; fill: currentColor; }
.btn-dark { background: var(--panel-2); color: var(--ink); }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, box-shadow .3s; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 76px; }
.top.solid { background: rgba(14, 17, 48, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -.02em; }
.logo i { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(140deg, var(--accent), var(--orange)); position: relative; box-shadow: 0 0 24px rgba(255, 212, 0, .45); }
.logo i::after { content: ""; position: absolute; inset: 8px 12px; background: var(--accent-ink); clip-path: polygon(60% 0, 0 58%, 45% 58%, 30% 100%, 100% 38%, 55% 38%); }
.nav { display: flex; gap: 26px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.top .btn { min-height: 44px; padding: 0 20px; }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 420px) { .top .btn { padding: 0 14px; font-size: 14px; } .logo { font-size: 17px; } }

/* Night sky: soft planets like the reference */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sky::before, .sky::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); }
.sky::before { width: 60vmax; height: 60vmax; right: -22vmax; top: -24vmax; background: radial-gradient(circle at 40% 60%, #3a3290 0%, #241f66 45%, transparent 70%); opacity: .75; }
.sky::after { width: 46vmax; height: 46vmax; left: -20vmax; bottom: -26vmax; background: radial-gradient(circle at 60% 40%, #4a2a8a 0%, #2a1d63 45%, transparent 70%); opacity: .6; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; overflow: clip; background: radial-gradient(120% 90% at 70% 40%, #1c2160 0%, var(--bg) 60%); }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; padding-top: 110px; padding-bottom: 80px; width: 100%; }
.hero h1 em { font-style: normal; color: var(--accent); text-shadow: 0 0 40px rgba(255, 212, 0, .35); }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-icons { display: flex; gap: 14px; margin-top: 44px; }
.hero-icons span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.hero-icons svg { width: 22px; height: 22px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stage { position: relative; height: min(70vh, 640px); }
#gen3d { position: absolute; inset: -6% -10% -6% -6%; width: 116%; height: 112%; display: block; }
.stage .fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.stage .fallback img { max-height: 90%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.stage.has3d .fallback { display: none; }
.assemble-hint { position: absolute; right: 4%; bottom: 2%; font: 500 12px/1.4 var(--mono); color: var(--muted-2); text-align: right; }
.assemble-hint b { color: var(--accent); font-weight: 500; }
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-in { grid-template-columns: 1fr; padding-top: 88px; padding-bottom: 56px; }
  .stage { order: -1; height: 300px; }
  .hero-icons { margin-top: 30px; }
}

/* Stats strip */
.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 28px 24px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font: 700 clamp(26px, 3.6vw, 52px)/1 var(--mono); letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.stats b small { font-size: .45em; color: var(--accent); margin-left: 4px; }
.stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .stats > div { padding: 20px 14px; } }

/* Category tiles: dark glass cards with the machine glowing on top */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 300px; padding: 24px; border-radius: var(--radius); text-decoration: none; color: var(--ink); overflow: hidden;
       background: linear-gradient(160deg, var(--panel-2) 0%, var(--panel) 55%, var(--bg-2) 100%); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.cat::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -12%; bottom: -24%; border-radius: 50%; background: radial-gradient(circle, rgba(56, 225, 255, .22), transparent 65%); transition: opacity .4s; }
.cat:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(255, 212, 0, .35); }
.cat-top { position: relative; display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.cat h3 { font-size: 21px; }
.cat .idx { font: 500 12px/1.6 var(--mono); color: var(--muted-2); }
.cat .sub { position: relative; color: var(--muted); font-size: 14px; }
.cat .pic { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 140px; }
.cat .pic img { width: 100%; height: 100%; max-height: 170px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.cat:hover .pic img { transform: translateY(-6px) scale(1.05); }
.cat .meta { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.cat .meta b { color: var(--accent); font-weight: 600; font-size: 15px; white-space: nowrap; }
@media (max-width: 1000px) { .cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cats { gap: 10px; } .cat { min-height: 0; padding: 14px; gap: 8px; } .cat h3 { font-size: 15.5px; } .cat .idx, .cat .sub { display: none; }
  .cat .pic { min-height: 110px; } .cat .pic img { max-height: 118px; } .cat .meta { flex-direction: column; align-items: start; gap: 2px; padding-top: 8px; font-size: 12px; } .cat .meta b { font-size: 14px; } }

/* Power picker */
.picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pk { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; border-radius: 18px; text-decoration: none; color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.pk:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--accent); }
.pk b { font: 700 28px/1 var(--mono); letter-spacing: -.04em; }
.pk b small { font-size: 14px; color: var(--accent); margin-left: 4px; }
.pk span { color: var(--muted); font-size: 14px; }
.pk em { font-style: normal; font: 500 12px/1 var(--mono); color: var(--muted-2); margin-top: auto; padding-top: 6px; }
.pk .bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pk .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--accent), var(--orange)); }
.calc-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 18px; padding: 22px 26px; border-radius: 18px; background: linear-gradient(100deg, rgba(255, 212, 0, .14), rgba(56, 225, 255, .06)); box-shadow: inset 0 0 0 1px rgba(255, 212, 0, .3); }
.calc-cta p { color: var(--muted); max-width: 640px; }
.calc-cta p b { color: var(--ink); }
@media (max-width: 1000px) { .picker { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .picker { grid-template-columns: 1fr 1fr; } .pk { padding: 16px 14px; } .pk b { font-size: 22px; } }

/* Advantages (lighter band) */
.adv-band { position: relative; background: linear-gradient(180deg, var(--bg-2), #171c4d); border-block: 1px solid var(--line); overflow: hidden; }
.adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.adv > div { padding: 28px 24px; border-radius: 20px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.adv svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; box-shadow: inset 0 0 0 1.5px rgba(255, 212, 0, .4); margin-bottom: 18px; }
.adv h3 { font-size: 19px; margin-bottom: 8px; }
.adv p { color: var(--muted); font-size: 15px; }
@media (max-width: 980px) { .adv { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .adv { grid-template-columns: 1fr; } }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }
@media (max-width: 1080px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, .6); }
.card .pic { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(80% 80% at 50% 60%, #2a3170 0%, var(--panel) 75%); }
.card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55)); }
.card .pic img.photo { padding: 0; object-fit: cover; filter: none; }
.card .tag { position: absolute; z-index: 2; left: 14px; top: 14px; font: 600 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: rgba(14, 17, 48, .7); backdrop-filter: blur(6px); padding: 7px 10px; border-radius: 999px; }
.card .kw { position: absolute; z-index: 2; right: 14px; top: 14px; font: 600 13px/1 var(--mono); color: var(--accent-ink); background: var(--accent); padding: 7px 10px; border-radius: 999px; }
.card .body { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; flex: 1; }
.card h3 { font-size: 17px; line-height: 1.25; }
.card h3 a { text-decoration: none; }
.card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.card li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.card li span { color: var(--muted); }
.card li b { font-weight: 600; text-align: right; }
.price { font: 700 22px/1.1 var(--mono); letter-spacing: -.03em; color: var(--accent); margin-top: auto; }
.price.req { font: 700 17px/1.2 var(--body); color: var(--orange); }
.card .acts { display: flex; gap: 8px; }
.card .acts .btn { min-height: 44px; flex: 1; }
.card .acts .btn-wa { flex: 0 0 44px; padding: 0; }

/* Catalog */
.page-head { padding-top: 124px; padding-bottom: 28px; }
.page-head h1 { font-size: clamp(36px, 5vw, 64px); margin-top: 16px; }
.page-head p { color: var(--muted); margin-top: 12px; max-width: 640px; }
.cat-layout { display: grid; grid-template-columns: 290px 1fr; gap: 24px; align-items: start; padding-bottom: 40px; }
.filters { position: sticky; top: 96px; display: grid; gap: 20px; padding: 22px; border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.filters label, .f-title { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.f-title { letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.field { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--bg-2); color: var(--ink); font: 500 15px var(--body); box-shadow: inset 0 0 0 1px var(--line); }
textarea.field { min-height: 110px; padding: 12px 14px; resize: vertical; }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer; background: var(--bg-2); color: var(--ink); font: 600 13px var(--body); box-shadow: inset 0 0 0 1px var(--line); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.results-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.f-toggle { display: none; }
.empty { padding: 40px; border-radius: var(--radius); background: var(--panel); color: var(--muted); grid-column: 1 / -1; }
@media (max-width: 960px) { .cat-layout { grid-template-columns: 1fr; } .filters { position: static; display: none; } .filters.open { display: grid; } .f-toggle { display: inline-flex; width: 100%; } }

/* Product page */
.prod { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 4vw, 56px); padding-top: 120px; }
.gallery .main { border-radius: 28px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(80% 80% at 50% 55%, #2c3374 0%, var(--panel) 70%); box-shadow: inset 0 0 0 1px var(--line); }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; padding: 26px; }
.gallery .main img.cut { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.thumbs button { aspect-ratio: 1 / 1; border-radius: 14px; border: 0; padding: 6px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.thumbs button[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.prod h1 { font-size: clamp(30px, 3.6vw, 48px); margin-top: 14px; }
.prod .short { color: var(--muted); font-size: 18px; margin-top: 14px; }
.prod .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.prod .kpis div { padding: 14px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.prod .kpis b { display: block; font: 700 20px/1.1 var(--mono); color: var(--ink); }
.prod .kpis span { font-size: 12px; color: var(--muted); }
.prod .price { font-size: 36px; margin-top: 24px; }
.prod .note { color: var(--muted-2); font-size: 14px; margin-top: 8px; }
.prod .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.specs-tbl { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15px; }
.specs-tbl td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs-tbl td:first-child { color: var(--muted); padding-right: 16px; width: 48%; }
.desc { color: var(--muted); font-size: 17px; max-width: 820px; }
@media (max-width: 900px) { .prod { grid-template-columns: 1fr; padding-top: 96px; } .prod .kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .prod .kpis b { font-size: 16px; } }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; padding-bottom: 40px; }
.appl-group { margin-bottom: 26px; }
.appl-group h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--body); font-weight: 700; margin-bottom: 12px; }
.appls { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.appl { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; }
.appl.on { background: var(--panel-2); box-shadow: inset 0 0 0 1.5px var(--accent); }
.appl b { display: block; font-weight: 700; font-size: 15px; line-height: 1.3; }
.appl small { color: var(--muted); font-size: 13px; }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--ink); font: 700 18px/1 var(--body); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); }
.qty button:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.qty output { min-width: 26px; text-align: center; font: 600 16px var(--mono); }
.res { position: sticky; top: 96px; padding: 24px; border-radius: var(--radius); background: linear-gradient(170deg, var(--panel-2), var(--panel)); box-shadow: inset 0 0 0 1px var(--line-2); }
.res .big { font: 700 54px/1 var(--mono); letter-spacing: -.05em; color: var(--accent); margin: 10px 0 4px; }
.res .big small { font-size: 20px; margin-left: 6px; }
.res dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 18px 0; font-size: 14px; }
.res dt { color: var(--muted); }
.res dd { margin: 0; font-family: var(--mono); text-align: right; }
.res .hint { font-size: 13px; color: var(--muted-2); }
.res label.tg { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); margin-top: 12px; }
.meter { height: 10px; border-radius: 10px; background: var(--bg-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--accent), var(--orange)); transition: width .4s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } .res { position: static; order: -1; } }

/* Lead form */
.lead-box { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; border-radius: 32px; padding: clamp(24px, 4vw, 56px); background: linear-gradient(150deg, #262d6e 0%, var(--panel) 60%); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; overflow: hidden; }
.lead-box::after { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 212, 0, .2), transparent 65%); pointer-events: none; }
.lead-box h2 { margin: 14px 0 16px; }
.lead-box p { color: var(--muted); margin-bottom: 10px; }
#lead-form { display: grid; gap: 14px; position: relative; z-index: 1; }
#lead-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.err { color: #ff8a80; font-size: 14px; }
.done { display: grid; gap: 14px; position: relative; z-index: 1; }
.done pre { white-space: pre-wrap; margin: 0; padding: 14px; border-radius: 12px; background: var(--bg-2); font: 14px/1.5 var(--mono); color: var(--muted); }
@media (max-width: 860px) { .lead-box { grid-template-columns: 1fr; } }

/* Footer, WhatsApp */
footer.site { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 30px; padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)); color: var(--muted-2); font-size: 14px; border-top: 1px solid var(--line); }
.wa-float { position: fixed; z-index: 60; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); }
.wa-float::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .5); animation: wa 2.4s ease-out infinite; }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
@keyframes wa { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.js .rail .rv { opacity: 1; transform: none; }  /* horizontal rail on phones: off-screen cards never intersect vertically */
