:root {
  --bg: #0b0a08;
  --card: #16130f;
  --card2: #1d1914;
  --line: rgba(255, 236, 200, 0.09);
  --ink: #f4ece0;
  --muted: #b3a998;
  --faint: #7d7466;
  --gold: #d9a848;
  --gold2: #f1d79b;
  --ok: #7fc98b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 Manrope, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold2); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.gold {
  background: linear-gradient(100deg, #fbe8bd, #d9a848 55%, #a8732a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.label { font: 600 12px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

header.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 10, 8, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.logo svg { width: 24px; height: 24px; margin-right: 10px; }
nav.links { display: flex; gap: 22px; margin-left: auto; }
nav.links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
nav.links a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: linear-gradient(100deg, #f6dfa8, #d9a848 60%, #b07a2c); color: #1a1408; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: rgba(217, 168, 72, .45); color: var(--gold2); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

.hero { position: relative; padding: 88px 0 40px; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% 0 auto; height: 620px; background: radial-gradient(ellipse at 50% 20%, rgba(217, 168, 72, .16), transparent 62%); pointer-events: none; }
.hero h1 { position: relative; margin: 18px auto 0; max-width: 860px; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -.03em; }
.hero p.sub { position: relative; margin: 22px auto 0; max-width: 680px; color: var(--muted); font-size: 18.5px; }
.hero .cta { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero .note { position: relative; margin-top: 14px; color: var(--faint); font-size: 13.5px; }
.shot { position: relative; margin: 56px auto 0; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 120px rgba(217, 168, 72, .12), 0 10px 40px rgba(0, 0, 0, .6); }

section { padding: 72px 0; }
section h2 { margin: 12px 0 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.025em; line-height: 1.1; }
section p.lead { margin: 14px 0 0; color: var(--muted); max-width: 640px; font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.step .n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; border: 1px solid rgba(217, 168, 72, .4); color: var(--gold2); font-weight: 700; font-size: 14px; }
.step h3 { margin: 14px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; margin-top: 64px; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .text { order: 2; }
.feature h3 { margin: 10px 0 0; font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); }
.feature li { position: relative; padding-left: 24px; margin: 8px 0; }
.feature li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.feature .pic { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; }
.plan.best { border-color: rgba(217, 168, 72, .6); background: linear-gradient(180deg, rgba(217, 168, 72, .09), var(--card) 40%); }
.plan .tag { position: absolute; top: -12px; left: 22px; background: var(--gold); color: #1a1408; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { margin-top: 14px; font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--faint); }
.plan .credits { color: var(--gold2); font-weight: 700; margin-top: 4px; }
.plan ul { margin: 18px 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; flex: 1; }
.plan li { padding-left: 22px; position: relative; margin: 7px 0; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.plan .btn { justify-content: center; }
.extra { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.extra div { flex: 1 1 300px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; color: var(--muted); font-size: 14.5px; }
.extra b { color: var(--ink); }

.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; }
.faq summary::after { content: '+'; float: right; color: var(--gold); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 12px 0 0; color: var(--muted); }

.download { text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(217, 168, 72, .14), transparent 70%); border-top: 1px solid var(--line); }
.download .os { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.download .os .btn[aria-disabled='true'] { opacity: .45; pointer-events: none; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--faint); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .req { flex-basis: 100%; }

.doc { max-width: 820px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: 34px; letter-spacing: -.02em; line-height: 1.15; }
.doc h2 { font-size: 20px; margin-top: 34px; }
.doc p, .doc li { color: var(--muted); }
.fill { color: var(--gold2); background: rgba(217, 168, 72, .12); padding: 0 4px; border-radius: 4px; }

@media (max-width: 900px) {
  nav.links { display: none; }
  .steps, .plans { grid-template-columns: 1fr 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 24px; }
  .feature.flip .text { order: 0; }
}
@media (max-width: 560px) {
  .steps, .plans { grid-template-columns: 1fr; }
  header.top .btn { display: none; }
  .hero { padding-top: 56px; }
  section { padding: 52px 0; }
}

/* ── v2: по мотивам примера ───────────────────────── */
.hero2 { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero2::before { content: ''; position: absolute; inset: -30% -10% auto; height: 760px; background: radial-gradient(ellipse at 70% 20%, rgba(217, 168, 72, .17), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero2 h1 { margin: 18px 0 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.03em; }
.hero2 .sub { margin: 20px 0 0; color: var(--muted); font-size: 18px; max-width: 540px; }
.hero2 .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero2 .note { margin-top: 14px; color: var(--faint); font-size: 13.5px; }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font-size: 12.5px; font-weight: 700; color: var(--gold2); border: 1px solid rgba(217, 168, 72, .35); background: rgba(217, 168, 72, .07); border-radius: 99px; padding: 4px 11px; }

.mock { position: relative; }
.mock-win { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: #0e0c0a; box-shadow: 0 30px 100px rgba(217, 168, 72, .13), 0 12px 40px rgba(0, 0, 0, .6); }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a332a; }
.mock-bar span { margin-left: 8px; }
.pipe-card { position: absolute; left: -28px; bottom: -34px; width: min(420px, 90%); background: rgba(22, 19, 15, .96); border: 1px solid rgba(217, 168, 72, .4); border-radius: 14px; padding: 14px 16px; box-shadow: 0 16px 50px rgba(0, 0, 0, .6); backdrop-filter: blur(8px); }
.pipe-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.pipe-top span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pipe-top b { color: var(--gold2); font-family: 'JetBrains Mono', monospace; }
.pipe-track { height: 6px; border-radius: 99px; background: #2a241c; margin: 10px 0; overflow: hidden; }
.pipe-fill { height: 100%; width: 0; background: linear-gradient(90deg, #f6dfa8, #d9a848); border-radius: inherit; animation: pipe 7s linear infinite; }
@keyframes pipe { 0% { width: 0 } 86% { width: 100% } 100% { width: 100% } }
.pipe-steps { display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; font-size: 11.5px; color: var(--faint); }
.pipe-steps li { animation: lit 7s linear infinite; }
.pipe-steps li:nth-child(1) { animation-delay: 0s } .pipe-steps li:nth-child(2) { animation-delay: 1s } .pipe-steps li:nth-child(3) { animation-delay: 2s }
.pipe-steps li:nth-child(4) { animation-delay: 3s } .pipe-steps li:nth-child(5) { animation-delay: 4s } .pipe-steps li:nth-child(6) { animation-delay: 5s }
@keyframes lit { 0%, 10% { color: var(--gold2) } 14%, 100% { color: var(--faint) } }

.strip { border-block: 1px solid var(--line); background: #100e0b; padding: 18px 0; overflow-x: auto; }
.strip .wrap { display: flex; gap: 14px; align-items: center; justify-content: center; white-space: nowrap; font-weight: 700; font-size: 15px; color: var(--muted); }
.strip em { color: var(--faint); font-style: normal; }

.stats-sec { padding: 56px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats div { text-align: center; padding: 22px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.stats b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--gold2); font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 14px; }

.reality { padding-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips span { border: 1px solid var(--line); background: var(--card2); border-radius: 99px; padding: 10px 18px; font-weight: 600; color: var(--ink); }

.steps.three { grid-template-columns: repeat(3, 1fr); }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.tool { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.tool.big { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: center; background: linear-gradient(120deg, rgba(217, 168, 72, .08), var(--card) 50%); border-color: rgba(217, 168, 72, .3); }
.tool.big img { border-radius: 12px; border: 1px solid var(--line); }
.tool.big h3 { font-size: 26px; line-height: 1.15; }
.tool .num { font: 600 13px/1 'JetBrains Mono', monospace; color: var(--gold); }
.tool h3 { margin: 12px 0 8px; font-size: 19px; }
.tool p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tool-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: t 7; }
.tool-list li { counter-increment: t; display: grid; grid-template-columns: 34px 1fr; padding: 16px 0; border-top: 1px solid var(--line); }
.tool-list li::before { content: counter(t, decimal-leading-zero); grid-row: span 2; font: 600 13px/1.6 'JetBrains Mono', monospace; color: var(--gold); }
.tool-list b { font-size: 15.5px; }
.tool-list span { color: var(--muted); font-size: 14px; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tabs button { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; cursor: pointer; }
.tabs button.on { color: #1a1408; background: var(--gold); border-color: var(--gold); }
#screens .shot { margin-top: 22px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.compare .col { border-radius: 18px; padding: 26px; border: 1px solid var(--line); background: var(--card); }
.compare .good { border-color: rgba(217, 168, 72, .45); background: linear-gradient(180deg, rgba(217, 168, 72, .09), var(--card) 60%); }
.compare h3 { margin: 0 0 14px; font-size: 20px; }
.compare ul { margin: 0; padding: 0; list-style: none; }
.compare li { padding: 9px 0 9px 26px; position: relative; color: var(--muted); border-top: 1px solid var(--line); }
.compare .bad li::before { content: '✕'; position: absolute; left: 2px; color: #c96f5f; }
.compare .good li::before { content: '✓'; position: absolute; left: 2px; color: var(--ok); font-weight: 700; }
.compare li:last-child { color: var(--ink); font-weight: 700; }

.ask { margin: 56px auto 0; max-width: 520px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.ask h3 { margin: 0; font-size: 20px; }
.ask p { margin: 6px 0 16px; color: var(--muted); }

.float-cta { display: none; }

@media (max-width: 900px) {
  .hero-grid, .tool.big, .compare { grid-template-columns: 1fr; }
  .pipe-card { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tools { grid-template-columns: 1fr; }
  .tool-list { grid-template-columns: 1fr; }
  .steps.three { grid-template-columns: 1fr; }
  .strip .wrap { justify-content: flex-start; }
  .float-cta { display: block; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 20; text-align: center; padding: 14px; border-radius: 14px; font-weight: 800; color: #1a1408; text-decoration: none; background: linear-gradient(100deg, #f6dfa8, #d9a848 60%, #b07a2c); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
  footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .pipe-fill { animation: none; width: 100%; }
  .pipe-steps li { animation: none; color: var(--gold2); }
}

.phone { position: relative; justify-self: center; width: min(360px, 100%); aspect-ratio: 9 / 16; border-radius: 34px; padding: 8px; background: linear-gradient(160deg, #3a2f1c, #0d0b08 40%, #2a2216); box-shadow: 0 40px 120px rgba(217, 168, 72, .22), 0 12px 40px rgba(0, 0, 0, .7); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; display: block; background: #000; }
.phone .sound { position: absolute; right: 20px; bottom: 20px; font: 600 13px Manrope, sans-serif; color: #f6f1e7; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 8px 12px; cursor: pointer; backdrop-filter: blur(6px); }

/* ── 3D-сцена первого экрана ─────────────────────────────── */
#hero3d { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
#hero3d.on { opacity: 1; }
#hero3d canvas { width: 100% !important; height: 100% !important; display: block; }
.hero2 { padding: 64px 0 72px; }
.hero2 .hero-grid { z-index: 1; grid-template-columns: 1.15fr .85fr; gap: 64px; }
.hero2 .phone { width: min(320px, 100%); }
/* Мягкое золотое свечение за телефоном — один фокус справа */
.hero2 .phone::before { content: ''; position: absolute; inset: -18% -40%; z-index: -1; background: radial-gradient(closest-side, rgba(217,168,72,.22), transparent 70%); pointer-events: none; }

/* ── 3D-кристалл над «Скачать» ───────────────────────────── */
#gem3d { width: 220px; height: 220px; margin: -24px auto 4px; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
#gem3d.on { opacity: 1; }
#gem3d canvas { width: 100% !important; height: 100% !important; display: block; }

/* ── 3D-наклон карточек и экрана ─────────────────────────── */
.tilt { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; will-change: transform; }
.tilt.hover { box-shadow: 0 30px 80px rgba(217,168,72,.16), 0 10px 30px rgba(0,0,0,.5); }
.shot { perspective: 1600px; }
.shot img { transform-origin: 50% 0; transition: transform .1s linear; border-radius: 16px; }

/* ── Язык ─────────────────────────────────────────────── */
.lang-old { height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 12px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .12em; cursor: pointer; }
.lang:hover { color: var(--ink); border-color: rgba(217,168,72,.5); }
@media (max-width: 900px) {
  .hero2 { padding: 40px 0 48px; }
  .hero2 .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero2 .phone { width: min(280px, 78%); }
  .hero2 .cta .btn { flex: 1 1 auto; text-align: center; }
}
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .tilt, .shot img { transition: none; transform: none !important; } }
@media (max-width: 900px) { header.top .lang { margin-left: auto; } }
button.btn-ghost, .btn-ghost { background: transparent; }
.hero2 h1, .hero2 .sub { text-shadow: 0 2px 24px rgba(11,10,8,.85); }

/* ── Доступность и иконки (правила UI/UX Pro Max: SVG вместо эмодзи, видимый фокус) ── */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; border-radius: 10px; }
button, summary, .tabs button { cursor: pointer; }
.step .n.ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone .sound { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; }
.phone .sound svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone .sound svg path:first-child { fill: currentColor; }
.phone .sound .w { display: none; }
.phone .sound.on .w { display: inline; }
.phone .sound.on .x { display: none; }
/* Шапка на ноутбуках 900–1180 px: без переносов, лишние пункты прячутся */
header.top .links a, header.top .btn { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 901px) {
  header.top .links a[href="#screens"], header.top .links a[href="#faq"] { display: none; }
}

/* ═════════ v3 (12.11): правки Кости ═════════ */
/* Фон: медленные золотые пятна + тонкая сетка, под всем содержимым */
html { background: var(--bg); }
body { background: transparent; position: relative; }
body::before, body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body::before {
  background:
    radial-gradient(40vmax 30vmax at 12% 18%, rgba(217,168,72,.10), transparent 70%),
    radial-gradient(36vmax 28vmax at 88% 30%, rgba(176,122,44,.09), transparent 70%),
    radial-gradient(44vmax 32vmax at 50% 95%, rgba(217,168,72,.08), transparent 70%);
  animation: aurora 28s ease-in-out infinite alternate;
}
body::after {
  background-image: linear-gradient(rgba(255,236,200,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,236,200,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 85%);
}
@keyframes aurora { 0% { transform: translate3d(0,0,0) scale(1) } 50% { transform: translate3d(-3%,2%,0) scale(1.08) } 100% { transform: translate3d(3%,-2%,0) scale(1.04) } }
.hero2, .strip, .download { background-color: transparent; }
.strip { background: rgba(16,14,11,.7); backdrop-filter: blur(6px); }

/* Подписи разделов — шрифтом логотипа, крупнее, с золотым кристаллом */
.label { display: inline-flex; align-items: center; gap: 9px; font: 800 14px/1 Manrope, 'Segoe UI', system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase;
  background: linear-gradient(100deg, #fbe8bd, #d9a848 60%, #b07a2c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.label::before { content: ''; width: 13px; height: 13px; flex: none; background: linear-gradient(140deg, #f6dfa8, #b07a2c); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10l4 6-9 12L3 9z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10l4 6-9 12L3 9z'/%3E%3C/svg%3E") center/contain no-repeat; }
.download .label { justify-content: center; }
.tool .num, .tool-list li::before, .pipe-top b { font-family: Manrope, sans-serif; font-weight: 800; }

/* Кнопки: золото без белого края (фон тянется под рамку), блик по наведению, мягкое свечение */
.btn { position: relative; overflow: hidden; border-radius: 14px; transition: transform .2s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease; isolation: isolate; }
.btn-primary { border: 0; background: linear-gradient(100deg, #f8e3ae 0%, #e2b45a 45%, #c48e36 75%, #a8732a 100%); background-origin: border-box;
  box-shadow: inset 0 1px 0 rgba(255,250,235,.55), inset 0 -2px 0 rgba(110,70,20,.35), 0 8px 26px rgba(217,168,72,.28); color: #1d1608; }
.btn-primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,250,235,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn-primary:hover { filter: none; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,250,235,.6), inset 0 -2px 0 rgba(110,70,20,.35), 0 12px 34px rgba(217,168,72,.4); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border: 1px solid transparent; color: var(--gold2);
  background: linear-gradient(rgba(22,19,15,.85), rgba(22,19,15,.85)) padding-box, linear-gradient(120deg, rgba(246,223,168,.7), rgba(217,168,72,.25) 50%, rgba(176,122,44,.6)) border-box; }
button.btn-ghost, .btn-ghost { background: linear-gradient(rgba(22,19,15,.85), rgba(22,19,15,.85)) padding-box, linear-gradient(120deg, rgba(246,223,168,.7), rgba(217,168,72,.25) 50%, rgba(176,122,44,.6)) border-box; }
.btn-ghost:hover { transform: translateY(-1px); color: #fff3d6; box-shadow: 0 8px 24px rgba(217,168,72,.15); }
.btn:active { transform: translateY(0) scale(.98); }

/* RU / EN — переключатель в стиле золотой кнопки */
.lang-toggle { display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; border: 1px solid transparent;
  background: linear-gradient(rgba(22,19,15,.9), rgba(22,19,15,.9)) padding-box, linear-gradient(120deg, rgba(246,223,168,.6), rgba(176,122,44,.35)) border-box; }
.lang-toggle button { font: 800 12.5px/1 Manrope, sans-serif; letter-spacing: .06em; color: var(--muted); background: transparent; border: 0; border-radius: 9px; padding: 9px 11px; cursor: pointer; transition: color .2s, background .25s, box-shadow .25s; }
.lang-toggle button.on { color: #1d1608; background: linear-gradient(100deg, #f8e3ae, #e2b45a 50%, #b88232); box-shadow: inset 0 1px 0 rgba(255,250,235,.55), 0 4px 12px rgba(217,168,72,.25); }
.lang-toggle button:not(.on):hover { color: var(--ink); }
@media (max-width: 900px) { header.top .lang-toggle { margin-left: auto; } }
body.lang-fade main, body.lang-fade header .links { opacity: .25; transition: opacity .15s; }
main, header .links { transition: opacity .25s; }

/* «Заработок» в меню — выделен золотом */
nav.links a.nav-hot { font-weight: 800; background: linear-gradient(100deg, #fbe8bd, #d9a848 60%, #b07a2c); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; }
nav.links a.nav-hot::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #f6dfa8, #b07a2c); opacity: .8; }

/* Сетка каналов */
.reality-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.net { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; justify-self: center; }
.net-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-lines path { stroke: rgba(217,168,72,.45); stroke-width: 1.4; fill: none; stroke-dasharray: 5 7; }
.net.go .net-lines path { animation: dash 2.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24 } }
.net .hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 2px;
  background: radial-gradient(circle at 35% 30%, #2a2318, #120f0b 70%); border: 1px solid rgba(217,168,72,.55); box-shadow: 0 0 0 10px rgba(217,168,72,.06), 0 0 60px rgba(217,168,72,.25); color: #e2b45a; }
.net .hub svg { width: 30px; height: 30px; }
.net .hub b { font-size: 14px; color: var(--ink); }
.net .ch { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%,-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 14px; border-radius: 12px; background: rgba(29,25,20,.92); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.net .ch i { width: 9px; height: 9px; border-radius: 3px; }
.net.go .ch { animation: bob 6s ease-in-out var(--d) infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%,-50%) } 50% { transform: translate(-50%,calc(-50% - 7px)) } }

/* Три шага: линия заполняется, шаги загораются по очереди */
.flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.flow-line { position: absolute; left: 16.6%; right: 16.6%; top: 44px; height: 2px; background: var(--line); z-index: 0; }
.flow-line span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f6dfa8, #d9a848, #b07a2c); box-shadow: 0 0 12px rgba(217,168,72,.6); transition: width 2.4s cubic-bezier(.5,0,.2,1) .3s; }
.flow.go .flow-line span { width: 100%; }
.flow .step { position: relative; z-index: 1; text-align: left; transition: border-color .5s, box-shadow .5s; }
.flow .step .n { width: 44px; height: 44px; border-radius: 12px; background: #16130f; }
.flow .step .n.ic svg { width: 21px; height: 21px; }
.flow .step .k { margin-top: 14px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.flow .step h3 { margin-top: 4px; }
.flow.go .step { border-color: rgba(217,168,72,.35); box-shadow: 0 0 0 1px rgba(217,168,72,.08), 0 20px 50px rgba(217,168,72,.07); }
.flow.go .step:nth-child(2) { transition-delay: .3s } .flow.go .step:nth-child(3) { transition-delay: 1.3s } .flow.go .step:nth-child(4) { transition-delay: 2.3s }
.flow .mini { margin-top: 16px; height: 34px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; background: #0f0d0a; border: 1px solid var(--line); font-size: 13px; overflow: hidden; }
.flow .typing { font-family: 'JetBrains Mono', monospace; color: var(--gold2); white-space: nowrap; overflow: hidden; width: 0; border-right: 2px solid var(--gold); }
.flow.go .typing { animation: type 1.6s steps(22) .4s forwards, caret .8s step-end infinite; }
@keyframes type { to { width: 22ch } } @keyframes caret { 50% { border-color: transparent } }
.flow .bar { flex: 1; height: 6px; border-radius: 6px; background: #241f18; overflow: hidden; }
.flow .bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f6dfa8, #d9a848); }
.flow.go .bar span { animation: fill 2.6s ease-in-out 1.3s infinite; }
@keyframes fill { 0% { width: 0 } 70%, 100% { width: 100% } }
.flow .done { color: var(--ok); font-weight: 800; opacity: 0; transform: translateY(6px); transition: all .5s 2.6s; }
.flow .done::before { content: '✓ '; }
.flow.go .done { opacity: 1; transform: none; }

/* Для кого */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.who-card { position: relative; padding: 26px; border-radius: 18px; background: linear-gradient(180deg, rgba(29,25,20,.9), rgba(22,19,15,.9)); border: 1px solid var(--line); overflow: hidden; }
.who-card::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 220px; height: 220px; background: radial-gradient(closest-side, rgba(217,168,72,.16), transparent); pointer-events: none; }
.who-card.hot { border-color: rgba(217,168,72,.5); }
.who-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #1d1608; background: linear-gradient(140deg, #f8e3ae, #d9a848 55%, #a8732a); box-shadow: inset 0 1px 0 rgba(255,250,235,.55), 0 8px 20px rgba(217,168,72,.25); }
.who-ic svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.who-card h3 { margin: 18px 0 6px; font-size: 20px; }
.who-card p { margin: 0; color: var(--muted); font-size: 15px; }
.who-stat { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.who-stat b { color: var(--gold2); }

/* Одно окно со всеми инструментами */
.appwin { margin-top: 30px; border-radius: 20px; border: 1px solid rgba(217,168,72,.3); background: #0e0c09; overflow: hidden; box-shadow: 0 40px 120px rgba(217,168,72,.12), 0 12px 40px rgba(0,0,0,.6); }
.aw-top { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #13110d; }
.aw-top i { width: 11px; height: 11px; border-radius: 50%; background: #e5484d; } .aw-top i:nth-child(2) { background: #f5a524 } .aw-top i:nth-child(3) { background: #30a46c }
.aw-top span { margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.aw-body { display: grid; grid-template-columns: 220px 1fr; }
.aw-side { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-right: 1px solid var(--line); background: #110f0c; }
.aw-side button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); font: 700 14.5px/1.2 Manrope, sans-serif; text-align: left; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.aw-side button svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aw-side button:hover { color: var(--ink); background: rgba(255,236,200,.04); }
.aw-side button.on { color: var(--gold2); background: rgba(217,168,72,.1); border-color: rgba(217,168,72,.35); }
.aw-stage { position: relative; aspect-ratio: 1080 / 1013; max-height: 720px; overflow: hidden; background: #0b0a08; }
.aw-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transform: scale(1.025) translateY(8px); filter: blur(6px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1), filter .7s ease; }
.aw-stage img.on { opacity: 1; transform: none; filter: none; }
.aw-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(11,10,8,.82); backdrop-filter: blur(10px); border: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.aw-cap b { color: var(--gold2); font-size: 16px; } .aw-cap span { color: var(--muted); font-size: 14.5px; }
.aw-cap.in { animation: capin .6s ease both; } @keyframes capin { from { opacity: 0; transform: translateY(10px) } }
.aw-prog { position: absolute; left: 0; right: 0; top: 0; height: 2px; } .aw-prog span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f6dfa8, #b07a2c); }

/* Появление при прокрутке */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease var(--rv, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--rv, 0ms); }
.rv.shown { opacity: 1; transform: none; }
.tilt.rv.shown { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, opacity .7s ease; }

/* Кристалл: крупнее, крутится пальцем */
#gem3d { width: 300px; height: 300px; margin: -30px auto 0; pointer-events: auto; cursor: grab; }
#gem3d.grab { cursor: grabbing; }
.gem-hint { margin: -6px 0 18px; font-size: 12.5px; color: var(--faint); }

@media (max-width: 900px) {
  .reality-grid { grid-template-columns: 1fr; gap: 28px; }
  .net { max-width: 360px; }
  .flow { grid-template-columns: 1fr; }
  .flow-line { left: 43px; right: auto; top: 44px; bottom: 44px; width: 2px; height: auto; }
  .flow-line span { width: 100% !important; height: 0; transition: height 2.4s cubic-bezier(.5,0,.2,1) .3s; }
  .flow.go .flow-line span { height: 100%; }
  .who-grid { grid-template-columns: 1fr; }
  .aw-body { grid-template-columns: 1fr; }
  .aw-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; scrollbar-width: none; }
  .aw-side::-webkit-scrollbar { display: none; }
  .aw-side button { width: auto; flex: none; white-space: nowrap; padding: 10px 12px; }
  .aw-stage { aspect-ratio: 1080 / 1013; }
  .aw-cap { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; } .aw-cap span { font-size: 13px; }
  .net .ch { font-size: 12px; padding: 7px 10px; }
  #gem3d { width: 260px; height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; } .rv { opacity: 1; transform: none; }
  .flow-line span { width: 100%; } .flow .typing { width: auto; border: 0; } .flow .done { opacity: 1; transform: none; }
}
.label.sub { margin-top: 40px; }
@media (max-width: 1320px) and (min-width: 901px) { header.top .links a[href="#faq"] { display: none; } nav.links { gap: 18px; } }
@media (max-width: 1100px) and (min-width: 901px) { header.top .links a[href="account.html"] { display: none; } }
.aw-stage { aspect-ratio: auto; height: min(700px, 62vw); max-height: none; background: radial-gradient(60% 60% at 50% 40%, rgba(217,168,72,.08), transparent 70%), #0a0907; }
.aw-stage img { object-fit: contain; object-position: center; padding: 18px 18px 84px; }
@media (max-width: 900px) { .aw-stage { height: auto; aspect-ratio: 1080 / 1150; } .aw-stage img { padding: 8px 8px 74px; } }

/* Двуязычные документы (политика, оферта) */
.doc-lang { font-weight: 700; margin-bottom: 28px; }
.doc-lang a { color: var(--gold2); text-decoration: none; }
.doc-sep { border: 0; border-top: 1px solid rgba(255, 255, 255, .12); margin: 64px 0 48px; }
.doc section { scroll-margin-top: 80px; }
.doc a { overflow-wrap: anywhere; }

/* Описание программы для проверки Google: видно без входа и без JS */
footer .about-app { display: block; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
footer .about-app h2 { font-size: 16px; color: var(--ink); margin: 0 0 8px; }
footer .about-app p { max-width: 860px; margin: 0 0 8px; line-height: 1.6; color: var(--muted); }
footer .about-app a { color: var(--gold2); text-decoration: underline; }
