/* =========================================================
   QBYTE — продающий лендинг. Тёмная премиальная тема + фиолетовый акцент бренда.
   ========================================================= */

/* ---------- шрифты (самохостинг, кириллица + казахские буквы) */
@font-face { font-family: 'Unbounded Variable'; font-style: normal; font-display: swap; font-weight: 200 900; src: url(/fonts/unbounded/unbounded-cyrillic-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded Variable'; font-style: normal; font-display: swap; font-weight: 200 900; src: url(/fonts/unbounded/unbounded-cyrillic-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Unbounded Variable'; font-style: normal; font-display: swap; font-weight: 200 900; src: url(/fonts/unbounded/unbounded-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded Variable'; font-style: normal; font-display: swap; font-weight: 200 900; src: url(/fonts/unbounded/unbounded-latin-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope Variable'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope/manrope-cyrillic-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope Variable'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope/manrope-cyrillic-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Manrope Variable'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope/manrope-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope Variable'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope/manrope-latin-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- токены */
:root {
  --bg: #07060b;
  --bg-2: #0d0b14;
  --card: #13111c;
  --card-2: #1a1726;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f3fa;
  --muted: #a7a3b9;
  --dim: #6f6b85;
  --v1: #7c3aed;
  --v2: #a855f7;
  --v3: #e040fb;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #a855f7 45%, #e040fb 100%);
  --grad-text: linear-gradient(100deg, #c4b5fd 0%, #e9d5ff 35%, #f0abfc 70%, #c084fc 100%);
  --paper: #f5f4f9;
  --paper-2: #ffffff;
  --ink: #15131d;
  --ink-2: #5d5970;
  --wa: #25d366;
  --ok: #34d399;
  --r1: 12px;
  --r2: 20px;
  --r3: 32px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --font-d: 'Unbounded Variable', 'Segoe UI', system-ui, sans-serif;
  --font-b: 'Manrope Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-b); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--v2); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(168, 85, 247, 0.45); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- типографика */
.h-hero, .h2, .h3 { font-family: var(--font-d); font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.h-hero { font-size: clamp(32px, 4.1vw, 58px); line-height: 1.06; }
.h2 { font-size: clamp(28px, 3.7vw, 52px); line-height: 1.08; }
.h3 { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -0.01em; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); margin: 0; max-width: 60ch; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: #d8c9ff; margin: 0 0 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 12px var(--v2); }
.muted { color: var(--muted); }
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(32px, 5vw, 64px); max-width: 860px; }
.sec-head.center { margin-inline: auto; text-align: center; align-items: center; }

/* ---------- кнопки */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 22px;
  border-radius: 14px; border: 1px solid transparent; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent; will-change: transform;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lg { --h: 58px; padding: 0 28px; font-size: 17px; border-radius: 16px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 34px -12px rgba(168, 85, 247, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover { box-shadow: 0 18px 44px -12px rgba(224, 64, 251, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-wa { background: var(--wa); color: #05290f; }
.btn-wa:hover { box-shadow: 0 14px 34px -14px rgba(37, 211, 102, 0.8); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- верхняя строка и шапка */
.topbar { background: linear-gradient(90deg, #1b1230, #2a1640 50%, #1b1230); font-size: 13.5px; font-weight: 600; color: #e6dcff; text-align: center; padding: 8px var(--gutter); }
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center;
  background: rgba(7, 6, 11, 0.55); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s, height 0.3s var(--ease);
}
.header.scrolled { background: rgba(7, 6, 11, 0.82); border-bottom-color: var(--line); --header-h: 60px; }
.header-in { display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-d); font-weight: 700; letter-spacing: 0.14em; font-size: 17px; }
.q-mark { width: 24px; height: 24px; border-radius: 6px; background: var(--grad); position: relative; flex: none; box-shadow: 0 0 18px rgba(168, 85, 247, 0.55); }
.q-mark::after { content: ''; position: absolute; inset: 5px; border-radius: 2px; background: var(--bg); }
.q-mark::before { content: ''; position: absolute; width: 6px; height: 6px; right: -1px; bottom: -1px; background: #e040fb; border-radius: 1px; z-index: 1; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 700; color: var(--muted); padding: 8px 12px; border-radius: 10px; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { text-decoration: none; font-weight: 800; font-size: 15px; white-space: nowrap; }
.header .btn { --h: 42px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); cursor: pointer; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.3s var(--ease), background 0.2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- секции */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section--light .lead, .section--light .muted { color: var(--ink-2); }
.section--light .eyebrow { color: var(--v1); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }

/* ---------- HERO */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.orb.o1 { width: 620px; height: 620px; right: -120px; top: -80px; background: radial-gradient(circle, #7c3aed, transparent 65%); }
.orb.o2 { width: 520px; height: 520px; right: 22%; top: 30%; background: radial-gradient(circle, #c026d3, transparent 65%); opacity: 0.32; }
.grid-lines {
  position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead { margin-top: 20px; }
.price-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 30px 0 24px; }
.price-now { font-family: var(--font-d); font-weight: 700; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -0.02em; line-height: 1; }
.price-old { color: var(--dim); font-size: 18px; font-weight: 700; }
.price-save { background: rgba(224, 64, 251, 0.16); color: #f0abfc; border-radius: 99px; padding: 3px 10px; font-weight: 800; font-size: 14px; }
.price-month { width: 100%; color: var(--muted); font-size: 15.5px; }
.price-month b { color: var(--text); }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ok); }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }
.stock.wait { color: #fbbf24; }
.stock.wait::before { box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.18); }
.stock.off { color: #f87171; }
.stock.off::before { box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.18); }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; font-weight: 700; color: #d9d4ea; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--v2); }

.hero-visual { position: relative; }
.hero-glow { position: absolute; inset: 0 6% 30% 6%; background: radial-gradient(closest-side, rgba(168, 85, 247, 0.65), rgba(224, 64, 251, 0.18) 55%, transparent); filter: blur(30px); z-index: 0; }
.hero-photo { position: relative; z-index: 1; }
.hero-photo img { width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6)); }
.hero-screen-off { position: absolute; left: 12.15%; top: 0.6%; width: 76.1%; height: 45.1%; background: #050407; border-radius: 2px; opacity: 0; pointer-events: none; }
.js .hero-screen-off { opacity: 1; }
.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: 14px; font-weight: 800;
  background: rgba(23, 20, 34, 0.72); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8); white-space: nowrap;
}
.chip i { width: 8px; height: 8px; border-radius: 2px; background: var(--grad); }
.chip.c1 { left: -2%; top: 10%; }
.chip.c2 { right: -1%; top: 30%; }
.chip.c3 { left: 6%; top: 52%; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; width: 26px; height: 42px; border-radius: 99px; border: 2px solid var(--line-2); opacity: 0.7; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--text); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- бегущая строка */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; gap: 0; animation: marquee 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-d); font-weight: 500; font-size: clamp(15px, 1.4vw, 20px); white-space: nowrap; color: #e3ddf3; }
.ticker-item::after { content: ''; width: 9px; height: 9px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 10px var(--v2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- было / стало */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-card { border-radius: var(--r3); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); background: var(--card); position: relative; overflow: hidden; }
.vs-card h3 { margin-bottom: 22px; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.vs-card li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.vs-card li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.vs-old { color: var(--muted); }
.vs-old li svg { color: #6f6b85; }
.vs-old .vs-tag { background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.vs-new { background: linear-gradient(160deg, #1f1533, #13111c 60%); border-color: rgba(168, 85, 247, 0.35); box-shadow: 0 30px 80px -40px rgba(168, 85, 247, 0.6); }
.vs-new li svg { color: var(--v2); }
.vs-tag { display: inline-block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; padding: 6px 12px; border-radius: 99px; margin-bottom: 18px; background: rgba(168, 85, 247, 0.18); color: #e9d5ff; }

/* ---------- что в коробке */
.box-grid { display: grid; grid-template-columns: 1fr 1.45fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.box-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 22px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; position: relative; }
.box-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; margin-bottom: 6px; }
.box-item h3 { font-size: 18px; margin: 0; font-family: var(--font-d); font-weight: 600; letter-spacing: -0.01em; }
.box-item p { margin: 0; color: var(--muted); font-size: 15px; }
.box-main { grid-column: 2; grid-row: 1 / 3; justify-content: flex-end; background: radial-gradient(80% 60% at 50% 35%, rgba(168, 85, 247, 0.28), transparent 70%), var(--card); border-color: rgba(168, 85, 247, 0.3); }
.box-main img { aspect-ratio: auto; max-height: 420px; margin: 0 auto 12px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); }
.box-win { justify-content: center; }
.win-badge { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, #2563eb, #7c3aed); box-shadow: 0 16px 30px -12px rgba(124, 58, 237, 0.8); margin-bottom: 8px; }
.win-badge svg { width: 36px; height: 36px; color: #fff; }

/* ---------- "станок" моноблока: фото подставки + CSS-панель с живым экраном */
.rig { --head: 0; position: relative; width: 100%; aspect-ratio: 804 / 801; container-type: inline-size; }
.rig.has-head { --head: 280; aspect-ratio: 804 / 1081; }
.rig-stand { position: absolute; left: 0; width: 100%; height: auto; top: calc(100cqw / 804 * (var(--head) + 471)); z-index: 1; }
.rig-neck {
  position: absolute; z-index: 0; left: calc(100cqw / 804 * 383); width: calc(100cqw / 804 * 38);
  top: calc(100cqw / 804 * (var(--head) + 200)); height: calc(100cqw / 804 * 300);
  background: linear-gradient(90deg, #0b0b0d, #2a2a2e 45%, #111114); border-radius: 3px;
}
.rig-panel {
  position: absolute; z-index: 2; left: calc(100cqw / 804 * 4); width: calc(100cqw / 804 * 796); top: calc(100cqw / 804 * var(--head));
  height: calc(100cqw / 804 * 471); border-radius: calc(100cqw / 804 * 5); background: #09090b; transform-origin: 50% 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 120px -30px rgba(168, 85, 247, 0.55);
  will-change: transform;
}
.rig-screen {
  position: absolute; left: calc(100cqw / 804 * 3); right: calc(100cqw / 804 * 3); top: calc(100cqw / 804 * 3);
  bottom: calc(100cqw / 804 * 28); overflow: hidden; background: #0b0a10; border-radius: 2px;
}
.rig-chin { position: absolute; left: 0; right: 0; bottom: 0; height: calc(100cqw / 804 * 27); background: linear-gradient(#1a1a1d, #0f0f11); border-radius: 0 0 calc(100cqw / 804 * 5) calc(100cqw / 804 * 5); display: grid; place-items: center; }
.rig-logo { width: calc(100cqw / 804 * 14); height: calc(100cqw / 804 * 14); border-radius: 2px; border: calc(100cqw / 804 * 2.5) solid #c084fc; box-shadow: 0 0 8px rgba(192, 132, 252, 0.6); }
.rig.no-stand { aspect-ratio: 796 / 471; }
.rig.no-stand .rig-panel { left: 0; top: 0; width: 100%; height: 100%; }

.layer { position: absolute; inset: 0; transition: opacity 0.6s var(--ease); }
.layer.is-hidden { opacity: 0; }
.layer-portrait { inset: auto; width: 55.7%; height: 179.5%; left: 22.15%; top: -39.75%; transform: rotate(-90deg); opacity: 0; }

/* ---------- макеты экранов (1em = 1% ширины экрана) */
.scr { position: absolute; inset: 0; container-type: inline-size; overflow: hidden; color: #e9e6f5; font-family: var(--font-b); }
.scr > .scr-in { position: absolute; inset: 0; font-size: 1cqw; }
.scr.portrait > .scr-in { font-size: 1.7955cqw; }
.wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(42em 30em at 72% 38%, rgba(168, 85, 247, 0.95), transparent 62%),
    radial-gradient(36em 28em at 34% 70%, rgba(59, 130, 246, 0.8), transparent 60%),
    radial-gradient(30em 22em at 58% 78%, rgba(224, 64, 251, 0.75), transparent 60%),
    radial-gradient(26em 20em at 20% 22%, rgba(45, 212, 191, 0.35), transparent 60%),
    #0a0814;
}
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 4.2em; background: rgba(18, 16, 28, 0.78); backdrop-filter: blur(1em); display: flex; justify-content: center; align-items: center; gap: 1.1em; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.taskbar i { width: 2.4em; height: 2.4em; border-radius: 0.6em; background: rgba(255, 255, 255, 0.14); }
.taskbar i:nth-child(1) { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.taskbar i:nth-child(2) { background: linear-gradient(135deg, #34d399, #059669); }
.taskbar i:nth-child(3) { background: linear-gradient(135deg, #fbbf24, #f97316); }
.taskbar i:nth-child(4) { background: linear-gradient(135deg, #c084fc, #7c3aed); }
.taskbar .clock { position: absolute; right: 1.5em; width: 5em; height: 0.9em; border-radius: 0.3em; background: rgba(255, 255, 255, 0.35); }

.win { position: absolute; background: #16141f; border-radius: 0.8em; overflow: hidden; box-shadow: 0 1.5em 4em rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.07); display: flex; flex-direction: column; }
.win.full { inset: 0; border-radius: 0; border: 0; }
.win-bar { height: 3em; flex: none; display: flex; align-items: center; gap: 0.9em; padding: 0 1.2em; background: #1d1a29; font-size: 1.15em; color: #cfc9e4; }
.win-ico { width: 1.6em; height: 1.6em; border-radius: 0.35em; background: #22c55e; flex: none; }
.win-ico.code { background: #3b82f6; }
.win-ico.web { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.win-ico.doc { background: #2563eb; }
.win-ico.vid { background: #8b5cf6; }
.win-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.win-ctl { margin-left: auto; display: flex; gap: 1.6em; }
.win-ctl i { width: 1em; height: 1em; border: 0.15em solid #8e88a6; border-radius: 0.15em; }
.win-ctl i:first-child { border-width: 0 0 0.15em; border-radius: 0; height: 0.6em; }

/* таблица */
.xl-tools { display: flex; gap: 0.8em; padding: 0.9em 1.2em; background: #191626; flex: none; }
.xl-tools i { height: 1.6em; border-radius: 0.4em; background: rgba(255, 255, 255, 0.1); }
.xl-grid { flex: 1; display: flex; flex-direction: column; overflow: hidden; font-size: 0.95em; }
.xl-row { display: grid; grid-template-columns: 3.2em repeat(var(--cols), 1fr); height: 2.45em; flex: none; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.xl-row span { border-right: 1px solid rgba(255, 255, 255, 0.05); display: flex; align-items: center; padding: 0 0.6em; color: #8f89a8; font-size: 0.9em; }
.xl-row.head { background: #1b1828; font-weight: 700; }
.xl-row.head span { justify-content: center; }
.xl-row .rn { justify-content: center; background: #1b1828; }
.xl-row i { display: block; height: 0.8em; border-radius: 0.3em; background: rgba(233, 230, 245, 0.32); }
.xl-row i.txt { background: rgba(233, 230, 245, 0.55); }
.xl-row i.hl { background: #a855f7; }
.xl-row:nth-child(4) span:not(.rn) { background: rgba(168, 85, 247, 0.12); }
.xl-chart { position: absolute; right: 2em; bottom: 2em; width: 28em; height: 15em; background: #1d1a2a; border-radius: 0.8em; border: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: flex-end; gap: 1em; padding: 1.6em; box-shadow: 0 1.2em 3em rgba(0, 0, 0, 0.5); }
.xl-chart i { flex: 1; border-radius: 0.3em 0.3em 0 0; background: linear-gradient(#e040fb, #7c3aed); }

/* код */
.code-wrap { flex: 1; display: flex; min-height: 0; }
.code-side { width: 16em; flex: none; background: #13111b; padding: 1.2em; display: flex; flex-direction: column; gap: 0.9em; border-right: 1px solid rgba(255, 255, 255, 0.05); }
.code-side i { height: 0.8em; border-radius: 0.3em; background: rgba(255, 255, 255, 0.16); }
.code-side i.on { background: rgba(168, 85, 247, 0.6); }
.code-main { flex: 1; padding: 1em 0; overflow: hidden; }
.cl { display: flex; align-items: center; height: 2.05em; gap: 0.8em; }
.cl .ln { width: 3.6em; text-align: right; color: #575171; font-size: 0.95em; flex: none; font-variant-numeric: tabular-nums; }
.cl i { height: 0.85em; border-radius: 0.3em; flex: none; }
.cl i.k { background: #c084fc; }
.cl i.f { background: #60a5fa; }
.cl i.s { background: #34d399; }
.cl i.t { background: rgba(233, 230, 245, 0.45); }
.cl i.c { background: rgba(233, 230, 245, 0.18); }
.cl i.n { background: #fbbf24; }

/* браузер и документ */
.split { position: absolute; inset: 0 0 4.2em; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8em; padding: 0.8em; }
.split .win { position: relative; }
.web-url { margin: 0.8em 1.2em; height: 2em; border-radius: 99em; background: #24212f; flex: none; }
.web-hero { margin: 0 1.2em; height: 11em; border-radius: 0.8em; background: linear-gradient(120deg, #7c3aed, #e040fb 60%, #f59e0b); flex: none; }
.web-lines { padding: 1.2em; display: flex; flex-direction: column; gap: 0.8em; }
.web-lines i { height: 0.8em; border-radius: 0.3em; background: rgba(255, 255, 255, 0.18); }
.web-lines i.h { height: 1.4em; background: rgba(255, 255, 255, 0.5); width: 70%; }
.web-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8em; padding: 0 1.2em; }
.web-cards i { aspect-ratio: 4 / 3; border-radius: 0.6em; background: rgba(255, 255, 255, 0.08); }
.doc-page { margin: 1.5em auto; width: 62%; background: #f5f4f9; border-radius: 0.4em; padding: 3.5em 4em; display: flex; flex-direction: column; gap: 0.9em; box-shadow: 0 1em 3em rgba(0, 0, 0, 0.4); }
.scr.portrait .doc-page { width: 84%; }
.doc-page i { height: 0.75em; border-radius: 0.2em; background: #c9c5d8; }
.doc-page i.h { height: 1.6em; width: 55%; background: #2b2640; margin-bottom: 0.8em; }
.doc-page i.sp { height: 0; margin-top: 0.6em; }

/* видеозвонок, кино, лента */
.call-grid { position: absolute; inset: 0 0 6em; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8em; padding: 0.8em; }
.scr.portrait .call-grid { grid-template-columns: 1fr; }
.tile { border-radius: 0.8em; position: relative; display: grid; place-items: center; overflow: hidden; }
.tile b { width: 9em; height: 9em; border-radius: 50%; display: grid; place-items: center; font-size: 3.6em; width: 2.5em; height: 2.5em; color: #fff; font-weight: 800; background: rgba(255, 255, 255, 0.18); }
.tile span { position: absolute; left: 1em; bottom: 1em; height: 1.6em; width: 9em; border-radius: 0.5em; background: rgba(0, 0, 0, 0.45); }
.tile.t1 { background: linear-gradient(135deg, #4c1d95, #7c3aed); }
.tile.t2 { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.tile.t3 { background: linear-gradient(135deg, #9d174d, #e040fb); }
.tile.t4 { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.call-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6em; display: flex; justify-content: center; align-items: center; gap: 1.4em; background: #121019; }
.call-bar i { width: 3.4em; height: 3.4em; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.call-bar i.end { background: #ef4444; width: 5em; border-radius: 99em; }
.movie { position: absolute; inset: 0; background:
  radial-gradient(60em 18em at 50% 100%, #1e1b4b, transparent 70%),
  linear-gradient(170deg, transparent 52%, #241a3d 52.2%, #241a3d 60%, transparent 60.2%),
  linear-gradient(190deg, transparent 58%, #3b1d5e 58.2%, #120d24 100%),
  radial-gradient(10em 10em at 72% 26%, #fde68a, #f59e0b 40%, transparent 70%),
  linear-gradient(#7c3aed, #e040fb 55%, #fb923c); }
.player { position: absolute; left: 2em; right: 2em; bottom: 2em; height: 3em; display: flex; align-items: center; gap: 1.4em; }
.player i { width: 2.2em; height: 2.2em; border-radius: 50%; background: rgba(255, 255, 255, 0.85); flex: none; }
.player b { flex: 1; height: 0.5em; border-radius: 99em; background: rgba(255, 255, 255, 0.3); position: relative; overflow: hidden; }
.player b::after { content: ''; position: absolute; inset: 0 62% 0 0; background: #fff; }
.feed { position: absolute; inset: 0; padding: 0 22em; display: flex; flex-direction: column; gap: 1.4em; animation: feed 7s linear infinite; }
.scr.portrait .feed { padding: 0 4em; }
.feed i { flex: none; height: 15em; border-radius: 1em; background: #1c1928; border: 1px solid rgba(255, 255, 255, 0.06); position: relative; overflow: hidden; }
.feed i::before { content: ''; position: absolute; left: 1.4em; top: 1.4em; width: 3em; height: 3em; border-radius: 50%; background: var(--grad); }
.feed i::after { content: ''; position: absolute; left: 1.4em; right: 1.4em; bottom: 1.4em; height: 7em; border-radius: 0.7em; background: linear-gradient(120deg, rgba(124, 58, 237, 0.6), rgba(224, 64, 251, 0.35)); }
.feed i:nth-child(even)::after { background: linear-gradient(120deg, rgba(59, 130, 246, 0.6), rgba(45, 212, 191, 0.35)); }
@keyframes feed { to { transform: translateY(-50%); } }
.hz-badge { position: absolute; right: 2em; top: 2em; padding: 0.8em 1.4em; border-radius: 0.8em; background: rgba(0, 0, 0, 0.55); font-family: var(--font-d); font-weight: 700; font-size: 2.4em; color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); }

/* 2K против Full HD */
.fhd-frame { position: absolute; left: 0; top: 0; width: 75%; height: 75%; border: 0.3em dashed rgba(255, 255, 255, 0.85); background: rgba(7, 6, 11, 0.35); display: flex; align-items: flex-end; padding: 1.4em; }
.fhd-frame b, .k2-label { font-family: var(--font-d); font-weight: 600; font-size: 2.3em; line-height: 1.1; color: #fff; text-shadow: 0 0.1em 0.6em rgba(0, 0, 0, 0.6); }
.fhd-frame b small, .k2-label small { display: block; font-family: var(--font-b); font-weight: 700; font-size: 0.55em; opacity: 0.85; }
.k2-label { position: absolute; right: 2em; bottom: 5.6em; text-align: right; }
.k2-label em { font-style: normal; color: #f0abfc; }

/* ---------- экран: липкий станок + шаги */
.screen-sec .screen-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.screen-sticky { position: sticky; top: calc(var(--header-h) + 5vh); }
.screen-steps { display: flex; flex-direction: column; gap: 0; }
.sstep { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; opacity: 0.35; transition: opacity 0.5s var(--ease); }
.sstep.is-active { opacity: 1; }
.sstep .num { font-family: var(--font-d); font-weight: 600; font-size: 14px; color: var(--v2); letter-spacing: 0.1em; }
.sstep p { margin: 0; color: var(--muted); font-size: 17.5px; max-width: 46ch; }
.sstep .big { font-family: var(--font-d); font-weight: 700; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; }

/* ---------- Pivot */
.pivot-sec { height: 320vh; position: relative; }
.pivot-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.pivot-pin::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 50% at 70% 55%, rgba(124, 58, 237, 0.28), transparent 70%); pointer-events: none; }
.pivot-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(20px, 4vw, 64px); align-items: center; padding-top: var(--header-h); }
.pivot-copy { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 2; }
.pivot-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 8px; }
.pivot-stats div { display: flex; flex-direction: column; }
.pivot-stats b { font-family: var(--font-d); font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.02em; line-height: 1.1; }
.pivot-stats span { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.pivot-rig { width: min(100%, 60vh, 580px); margin-inline: auto; }
.pivot-progress { height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; max-width: 320px; }
.pivot-progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad); }
.pivot-toggle { display: none; }
.reduced .pivot-toggle { display: inline-flex; }

/* ---------- производительность */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r3); overflow: hidden; }
.stat { background: var(--bg); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 6px; }
.stat b { font-family: var(--font-d); font-weight: 700; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.stat b small { font-size: 0.45em; font-weight: 600; letter-spacing: 0; margin-left: 4px; color: var(--muted); }
.stat span { color: var(--muted); font-weight: 600; }
.can { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 20px; }
.can-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: clamp(22px, 3vw, 34px); }
.can-card h3 { font-size: 18px; margin: 0 0 16px; font-family: var(--font-d); font-weight: 600; }
.can-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.can-card li { display: flex; gap: 10px; font-weight: 600; }
.can-card li svg { width: 22px; height: 22px; flex: none; color: var(--ok); margin-top: 1px; }
.can-card.no li svg { color: #f87171; }
.can-card.no p { color: var(--muted); margin: 14px 0 0; font-size: 15px; }

/* ---------- связь */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.3s, transform 0.4s var(--ease); }
.feat:hover { border-color: rgba(168, 85, 247, 0.45); }
.feat-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(168, 85, 247, 0.14); color: #d8b4fe; }
.feat-ico svg { width: 26px; height: 26px; }
.feat b { font-family: var(--font-d); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- сценарии */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab { border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--muted); border-radius: 99px; padding: 10px 18px; font-weight: 800; font-size: 15px; cursor: pointer; transition: all 0.25s var(--ease); }
.tab:hover { color: var(--text); }
.tab[aria-selected='true'] { background: var(--text); color: var(--bg); border-color: var(--text); }
.use-panel { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.use-panel[hidden] { display: none; }
.use-copy { display: flex; flex-direction: column; gap: 16px; }
.use-copy ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.use-copy li { display: flex; gap: 10px; font-weight: 600; }
.use-copy li svg { width: 22px; height: 22px; color: var(--v2); flex: none; margin-top: 1px; }
.use-shot { position: relative; padding: 18px; border-radius: var(--r3); background: radial-gradient(70% 70% at 50% 50%, rgba(168, 85, 247, 0.25), transparent 75%); }

/* ---------- сравнение */
.compare-wrap { overflow-x: auto; border-radius: var(--r2); border: 1px solid #e3e0ec; background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15.5px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid #ece9f3; vertical-align: top; }
.compare thead th { font-family: var(--font-d); font-weight: 600; font-size: 15px; background: #faf9fd; }
.compare thead th.us { background: var(--ink); color: #fff; }
.compare td.us { background: #f6f0ff; font-weight: 800; color: #3b1d7a; }
.compare tbody th { font-weight: 700; color: var(--ink-2); width: 18%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }

/* ---------- сделано в Казахстане */
.made { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.made-photo { position: relative; }
.made-photo img { width: min(100%, 560px); margin-inline: auto; }
img.on-white { background: #fff; border-radius: var(--r2); object-fit: contain; box-shadow: 0 40px 80px -40px rgba(168, 85, 247, 0.55); }
.box-item img.on-white { border-radius: 14px; padding: 6px; }
.made-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 14px; }
.made-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.made-list li svg { width: 24px; height: 24px; flex: none; color: var(--v2); margin-top: 1px; }
.made-list b { display: block; }
.made-list span { color: var(--muted); font-size: 15px; }

/* ---------- галерея */
.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; scrollbar-width: thin; scrollbar-color: #3a3550 transparent; }
.gallery-wrap { margin-inline: calc(var(--gutter) * -1); }
.gallery button { flex: none; width: clamp(240px, 30vw, 380px); aspect-ratio: 1; border: 0; padding: 0; border-radius: var(--r2); background: #fff; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; transition: transform 0.4s var(--ease); }
.gallery button:hover { transform: translateY(-4px); }
.gallery img { width: 100%; height: 100%; object-fit: contain; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(4, 3, 8, 0.86); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; background: #fff; border-radius: var(--r2); }
.lb-close, .lb-nav { position: fixed; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(20, 18, 30, 0.85); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 18px; right: 18px; }
.lb-nav.prev { left: 18px; top: 50%; }
.lb-nav.next { right: 18px; top: 50%; }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }

/* ---------- цена */
.price-card { display: grid; grid-template-columns: 0.95fr 1.05fr; border-radius: var(--r3); overflow: hidden; border: 1px solid rgba(168, 85, 247, 0.3); background: linear-gradient(160deg, #1b1430, #110f19 65%); box-shadow: 0 50px 120px -60px rgba(168, 85, 247, 0.7); }
.price-left { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; position: relative; }
.price-left img { width: min(100%, 440px); margin: 10px auto 0; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.hl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-chips span { border: 1px solid var(--line-2); border-radius: 99px; padding: 6px 12px; font-size: 13.5px; font-weight: 700; color: #ddd6f3; }
.hl-chips b { color: #fff; margin-right: 4px; }
.price-right { padding: clamp(24px, 4vw, 48px); background: rgba(255, 255, 255, 0.03); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.price-right .price-now { font-size: clamp(36px, 4vw, 56px); }
.months { display: flex; flex-wrap: wrap; gap: 8px; }
.months label { cursor: pointer; }
.months input { position: absolute; opacity: 0; pointer-events: none; }
.months span { display: inline-block; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line-2); font-weight: 800; font-size: 15px; transition: all 0.2s; }
.months input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.months input:focus-visible + span { outline: 2px solid var(--v2); outline-offset: 2px; }
.monthly-out { font-size: 18px; }
.monthly-out b { font-family: var(--font-d); font-size: 26px; font-weight: 700; }
.small { font-size: 13.5px; color: var(--dim); margin: 0; }
.pay-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pay-list li { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; font-size: 14px; font-weight: 700; }
.info-rows { display: grid; gap: 12px; }
.info-rows div { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.info-rows svg { width: 22px; height: 22px; flex: none; color: var(--v2); margin-top: 1px; }

/* ---------- характеристики */
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.spec-group { background: var(--paper-2); border: 1px solid #e6e3ef; border-radius: var(--r2); padding: 24px 26px; }
.spec-group h3 { font-family: var(--font-d); font-weight: 600; font-size: 17px; margin: 0 0 12px; }
.spec-group dl { margin: 0; display: grid; }
.spec-group dl div { display: grid; grid-template-columns: minmax(130px, 0.9fr) 1.1fr; gap: 16px; padding: 10px 0; border-top: 1px solid #f0edf6; }
.spec-group dl div:first-child { border-top: 0; }
.spec-group dt { color: var(--ink-2); font-weight: 600; }
.spec-group dd { margin: 0; font-weight: 700; }

/* ---------- бизнес и формы */
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.biz-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.biz-list li { display: flex; gap: 12px; font-weight: 600; }
.biz-list svg { width: 24px; height: 24px; flex: none; color: var(--v2); }
.form-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r3); padding: clamp(22px, 3vw, 36px); box-shadow: 0 40px 100px -50px rgba(124, 58, 237, 0.55); }
.form-card h3 { margin-bottom: 6px; }
.lead-form { display: grid; gap: 14px; margin-top: 18px; }
.fld { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: #d8d3ea; }
.fld input, .fld select, .fld textarea {
  font: inherit; font-weight: 600; font-size: 16px; color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2);
  border-radius: 14px; padding: 14px 16px; width: 100%; transition: border-color 0.2s, background 0.2s;
}
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #a7a3b9 50%), linear-gradient(135deg, #a7a3b9 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.fld select option { background: #16141f; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--v2); background: rgba(168, 85, 247, 0.08); }
.fld input::placeholder { color: var(--dim); }
.fld.err input { border-color: #f87171; }
.fld .err-text { color: #fca5a5; font-size: 13px; font-weight: 600; display: none; }
.fld.err .err-text { display: block; }
.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-row label { cursor: pointer; }
.radio-row input { position: absolute; opacity: 0; }
.radio-row span { display: inline-flex; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); font-weight: 700; font-size: 14.5px; }
.radio-row input:checked + span { border-color: var(--v2); background: rgba(168, 85, 247, 0.16); color: #fff; }
.radio-row input:focus-visible + span { outline: 2px solid var(--v2); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 12.5px; color: var(--dim); margin: 0; }
.consent a { color: var(--muted); }
.form-error { color: #fca5a5; font-weight: 700; font-size: 14px; margin: 0; }
.form-done { display: none; text-align: center; padding: 20px 0 6px; }
.form-done .ok-ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(52, 211, 153, 0.15); color: var(--ok); }
.form-done .ok-ico svg { width: 32px; height: 32px; }
.form-done p { color: var(--muted); }
.is-sent .lead-form { display: none; }
.is-sent .form-done { display: block; }

/* светлые секции: формы */
.section--light .form-card { background: #fff; border-color: #e6e3ef; box-shadow: 0 30px 80px -40px rgba(60, 30, 120, 0.25); }
.section--light .fld { color: var(--ink); }
.section--light .fld input, .section--light .fld select, .section--light .fld textarea { color: var(--ink); background: #f8f7fc; border-color: #e1ddec; }
.section--light .fld select option { background: #fff; }
.section--light .radio-row span { border-color: #e1ddec; }
.section--light .radio-row input:checked + span { color: var(--v1); background: #f3ecff; }
.section--light .consent, .section--light .small { color: #8a86a0; }
.section--light .biz-list svg { color: var(--v1); }

/* ---------- шаги покупки */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: st; position: relative; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 26px; position: relative; }
.step::before { counter-increment: st; content: '0' counter(st); font-family: var(--font-d); font-weight: 700; font-size: 15px; color: var(--v2); display: block; margin-bottom: 18px; }
.step b { display: block; font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.steps-line { position: absolute; left: 26px; right: 26px; top: 42px; height: 1px; background: linear-gradient(90deg, var(--v1), var(--v3)); transform-origin: left; z-index: 0; opacity: 0.5; }
.deliv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.deliv div { border-radius: var(--r2); padding: 24px; background: linear-gradient(160deg, #1a1626, #12101a); border: 1px solid var(--line); }
.deliv b { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 8px; }
.deliv svg { width: 22px; height: 22px; color: var(--v2); }
.deliv p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- каталог */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: border-color 0.3s, transform 0.4s var(--ease); }
.pcard:hover { border-color: rgba(168, 85, 247, 0.45); transform: translateY(-4px); }
.pcard-img { background: #fff; aspect-ratio: 1; position: relative; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; }
.pcard-badge { position: absolute; left: 12px; top: 12px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 800; padding: 5px 10px; border-radius: 99px; }
.pcard-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-body b { font-size: 17px; line-height: 1.3; }
.pcard-body p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.pcard-price { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.pcard-price strong { font-family: var(--font-d); font-size: 22px; font-weight: 700; }
.pcard-price s { color: var(--dim); font-weight: 700; font-size: 14px; }

/* ---------- FAQ */
.faq { display: grid; gap: 10px; max-width: 900px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid #e6e3ef; border-radius: 18px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-weight: 800; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: #f1ebfd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 22px; color: var(--ink-2); }
.faq .ans p { margin: 0; }

/* ---------- финальный CTA */
.final { position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ''; position: absolute; inset: auto -10% -40% -10%; height: 90%; background: radial-gradient(50% 60% at 50% 100%, rgba(168, 85, 247, 0.55), transparent 70%); z-index: -1; }
.final-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.final-grid img { width: min(100%, 560px); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6)); }
.final .price-box { margin: 22px 0 0; }

/* ---------- подвал */
.footer { border-top: 1px solid var(--line); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); background: #050408; color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer h4 { color: var(--text); font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }

/* ---------- мобильная нижняя панель */
.mbar { display: none; }

/* ---------- модальное окно заказа */
.dialog { border: 0; padding: 0; background: transparent; color: var(--text); width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); }
.dialog::backdrop { background: rgba(4, 3, 8, 0.78); backdrop-filter: blur(6px); }
.dialog .form-card { position: relative; max-height: calc(100dvh - 24px); overflow: auto; }
.dialog-close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); cursor: pointer; display: grid; place-items: center; }
.dialog-close svg { width: 18px; height: 18px; }
.dialog[open] .form-card { animation: pop 0.45s var(--ease); }
@keyframes pop { from { transform: translateY(24px) scale(0.97); opacity: 0; } }
.dlg-product { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); margin-top: 14px; }
.dlg-product img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 10px; }
.dlg-product b { display: block; font-size: 15px; line-height: 1.3; }
.dlg-product span { font-family: var(--font-d); font-weight: 700; }

/* ---------- страница товара */
.crumbs { font-size: 14px; color: var(--dim); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.pp { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.pp-gallery { display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 16px); }
.pp-main { background: #fff; border-radius: var(--r2); aspect-ratio: 1; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; }
.pp-main img { width: 100%; height: 100%; object-fit: contain; }
.pp-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.pp-thumbs button { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #fff; border: 2px solid transparent; padding: 0; cursor: pointer; }
.pp-thumbs button[aria-current='true'] { border-color: var(--v2); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pp-info { display: flex; flex-direction: column; gap: 18px; }
.pp-info .h2 { font-size: clamp(26px, 3vw, 40px); }
.kit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.kit-list li { display: flex; gap: 10px; font-weight: 600; }
.kit-list svg { width: 20px; height: 20px; color: var(--v2); flex: none; margin-top: 2px; }
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 3vw, 36px); }
.prose { max-width: 760px; color: var(--muted); }
.prose h2 { color: var(--text); font-size: 20px; margin-top: 32px; }

/* ---------- подсветка карточек за курсором */
.feat, .box-item, .step, .can-card { background-image: radial-gradient(320px circle at var(--mx, -400px) var(--my, -400px), rgba(168, 85, 247, 0.13), transparent 65%); }
.box-main { background-image: radial-gradient(320px circle at var(--mx, -400px) var(--my, -400px), rgba(168, 85, 247, 0.13), transparent 65%), radial-gradient(80% 60% at 50% 35%, rgba(168, 85, 247, 0.28), transparent 70%); }

/* ---------- появления (JS добавляет анимацию) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js .is-in[data-reveal], .reduced [data-reveal], .reveal-all [data-reveal] { opacity: 1 !important; transform: none !important; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-all .hero-screen-off { opacity: 0 !important; }
.reveal-all [data-piece] { opacity: 1 !important; }
.h-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.h-split .wi { display: inline-block; will-change: transform; }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header-phone { display: none; }
  .header-cta { margin-left: auto; }
  .burger { display: grid; }
  .nav-open .nav {
    display: flex; position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; background: rgba(9, 8, 14, 0.97);
    padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
  }
  .nav-open .nav a { font-size: 17px; padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps-line { display: none; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  /* мобильный первый экран: заголовок → компактное фото → цена и кнопки */
  .hero { padding-top: 18px; }
  .hero-in { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; margin-bottom: 10px; font-size: 11.5px; align-self: flex-start; }
  .hero-copy .h-hero { order: 2; }
  .hero-visual { order: 3; width: min(78%, 460px); margin: 14px auto 0; }
  .hero-copy .price-box { order: 4; margin: 16px 0 16px; }
  .hero-copy .cta-row { order: 5; }
  .hero-copy .lead { order: 6; margin-top: 18px; font-size: 15.5px; }
  .hero-copy .trust { order: 7; margin-top: 16px; }
  .chip { font-size: 12.5px; padding: 8px 11px; }
  .chip.c1 { left: 0; top: 4%; }
  .chip.c2 { right: 0; top: 24%; }
  .chip.c3 { left: 2%; top: 46%; }
  .scroll-cue { display: none; }
  .vs { grid-template-columns: 1fr; }
  .box-grid { grid-template-columns: 1fr 1fr; }
  .box-main { grid-column: 1 / -1; grid-row: auto; }
  .screen-sec .screen-grid { grid-template-columns: 1fr; }
  .screen-sticky { top: calc(var(--header-h) + 8px); z-index: 3; background: linear-gradient(var(--bg) 82%, transparent); padding-bottom: 18px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .screen-sticky .rig { width: min(100%, 460px); margin-inline: auto; }
  .sstep { min-height: 46vh; }
  .pivot-sec { height: 300vh; }
  .pivot-grid { grid-template-columns: 1fr; gap: 8px; }
  .pivot-copy { gap: 10px; }
  .pivot-copy .lead { font-size: 15.5px; }
  .pivot-stats { gap: 20px; }
  .pivot-rig { width: min(78%, 40vh, 380px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .can { grid-template-columns: 1fr; }
  .use-panel { grid-template-columns: 1fr; }
  .use-shot { order: -1; padding: 10px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .tab { flex: none; }
  .made { grid-template-columns: 1fr; }
  .price-card { grid-template-columns: 1fr; }
  .price-right { border-left: 0; border-top: 1px solid var(--line); }
  .specs-grid { grid-template-columns: 1fr; }
  .biz { grid-template-columns: 1fr; }
  .deliv { grid-template-columns: 1fr; }
  .final-grid { grid-template-columns: 1fr; }
  .final-grid img { order: -1; width: min(80%, 420px); margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .pp { grid-template-columns: 1fr; }
  .pp-gallery { position: static; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(9, 8, 14, 0.92); border-top: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateY(110%); transition: transform 0.4s var(--ease);
  }
  .mbar.show { transform: none; }
  .mbar .btn { --h: 48px; padding: 0 10px; font-size: 14.5px; border-radius: 12px; }
}

@media (max-width: 560px) {
  .topbar { display: none; }
  .h-hero { font-size: clamp(28px, 8.4vw, 36px); }
  .header .btn-wa { display: none; }
  .price-box { margin: 24px 0 20px; }
  .cta-row .btn { flex: 1 1 100%; }
  .trust { gap: 8px 16px; font-size: 13.5px; }
  .box-grid { grid-template-columns: 1fr; }
  .box-item img { aspect-ratio: 16 / 10; }
  .feat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; }
  .spec-group { padding: 18px; }
  .spec-group dl div { grid-template-columns: 1fr; gap: 2px; }
  .faq summary { font-size: 16px; padding: 18px 56px 18px 18px; }
  .faq .ans { padding: 0 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
}
