@font-face { font-family: Man; src: url(assets/Manrope-sub.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }

@font-face { font-family: Unb; src: url(assets/Unbounded-sub.woff2) format('woff2'); font-weight: 200 900; font-display: swap; }
/* ═════════ палитра: мягкий синий неон Claude Motion — спокойный для глаз ═════════ */
:root {
  --bg: #070b1d; --bg2: #0b1130; --card: rgba(24, 36, 84, .5); --card2: #1a2552;
  --text: #e2e8fa; --text2: #c4cce8; --muted: rgba(178, 192, 232, .64); --faint: rgba(170, 186, 232, .4);
  --line: rgba(140, 170, 255, .13); --line2: rgba(150, 180, 255, .24);
  --accent: #5b8cff; --accent2: #8fb6ff; --accent-soft: rgba(91, 140, 255, .14); --accent-ink: #fff;
  --ok: #6fd6a8; --ok-soft: rgba(111, 214, 168, .13); --warn: #f0c36b; --warn-soft: rgba(240, 195, 107, .13); --bad: #ff8a80; --bad-soft: rgba(255, 138, 128, .12); --info: #8fc8ff; --info-soft: rgba(143, 200, 255, .13);
  --show: #0a1130;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px rgba(2, 6, 30, .35);
  --shadow2: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 24px 70px rgba(2, 8, 40, .55);
  --serif: Unb, Man, system-ui, sans-serif;
  --grad: linear-gradient(100deg, #8fd0ff, #a9b8ff 45%, #c6a9ff 75%, #8fd0ff);
  --r: 24px; --pad: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1); --soft: cubic-bezier(.22, .8, .25, 1); --spring: cubic-bezier(.34, 1.3, .64, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { font: 500 16px/1.55 Man, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; transition: background .5s, color .5s; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
img, svg { display: block; }
::selection { background: rgba(217, 119, 87, .25); }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.serif { font-family: var(--serif); }
em.ac { font-style: italic; color: var(--accent); }

/* мягкий фон */
#bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
#bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; will-change: transform; }
#bg .g1 { width: 620px; height: 620px; right: -180px; top: -220px; background: radial-gradient(circle, rgba(217, 119, 87, .22), transparent 65%); animation: f1 30s ease-in-out infinite alternate; }
#bg .g2 { width: 560px; height: 560px; left: -220px; top: 45%; background: radial-gradient(circle, rgba(106, 155, 204, .14), transparent 65%); animation: f2 36s ease-in-out infinite alternate; }
@keyframes f1 { to { transform: translate(-140px, 120px) scale(1.1); } }
@keyframes f2 { to { transform: translate(160px, -100px) scale(1.15); } }
#glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: -1; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(217, 119, 87, .09), transparent 62%); will-change: transform; opacity: 0; transition: opacity .8s; }
#glow.on { opacity: 1; }

/* ═════════ шапка ═════════ */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 12px 0; transition: transform .6s var(--ease); }
header .hd { display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 10px; border-radius: 18px; border: 1px solid transparent; transition: background .5s, border-color .5s, box-shadow .5s; }
header.scrolled .hd, header.solid .hd { background: color-mix(in srgb, var(--bg) 82%, transparent); border-color: var(--line); box-shadow: var(--shadow); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
header.hide { transform: translateY(-120%); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .lg { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line2), 0 4px 14px rgba(31, 30, 29, .15); flex: none; }
.brand .lg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.45); }
.brand b { font: 600 21px/1 var(--serif); letter-spacing: -.02em; white-space: nowrap; }
.brand small { display: block; margin-top: 3px; font: 700 9.5px/1 Man; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
nav.menu { display: flex; gap: 2px; margin-left: auto; font-size: 15px; }
nav.menu a { padding: 8px 13px; border-radius: 10px; color: var(--text2); transition: background .3s, color .3s; }
nav.menu a:hover { background: var(--accent-soft); color: var(--text); }
.hright { display: flex; align-items: center; gap: 8px; }
.icob { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--text2); transition: background .3s, transform .5s var(--spring); }
.icob:hover { background: var(--accent-soft); }
.icob svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.me { display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 13px; border: 1px solid var(--line); background: var(--card); transition: border-color .3s, box-shadow .3s; position: relative; }
.me:hover { border-color: var(--line2); box-shadow: var(--shadow); }
.ava { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 700 13px Man; color: #fff; background: linear-gradient(140deg, #e08a6b, #c6613f); text-transform: uppercase; flex: none; }
.me b { font-size: 14px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me .dot { position: absolute; top: 3px; right: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--card); }

/* кнопки */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 13px; font: 700 15px Man; white-space: nowrap; transition: transform .45s var(--soft), background .3s, box-shadow .3s, border-color .3s, color .3s, opacity .3s; }
.btn > * { pointer-events: none; }
.btn.pri { color: var(--accent-ink); background: var(--accent); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 18px rgba(217, 119, 87, .3); }
.btn.pri:hover { background: var(--accent2); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 26px rgba(198, 97, 63, .38); }
.btn.dark { color: var(--bg); background: var(--text); }
.btn.dark:hover { opacity: .88; }
.btn.gh { background: var(--card); border: 1px solid var(--line2); color: var(--text); }
.btn.gh:hover { border-color: var(--faint); box-shadow: var(--shadow); }
.btn.sm { padding: 9px 14px; font-size: 14px; border-radius: 11px; }
.btn.xs { padding: 6px 11px; font-size: 13px; border-radius: 9px; }
.btn.bad { color: var(--bad); background: var(--bad-soft); }
.btn.okc { color: #fff; background: var(--ok); }
.btn[disabled], .btn.load { opacity: .55; pointer-events: none; }
.btn.load::after { content: ""; width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.btn .ar { transition: transform .45s var(--spring); }
.btn:hover .ar { transform: translateX(3px); }
.btn:active { transform: scale(.97) !important; }

/* ═════════ hero ═════════ */
.hero { position: relative; padding-top: 118px; padding-bottom: 50px; display: grid; grid-template-columns: 1fr 1.02fr; gap: 46px; align-items: center; min-height: 100vh; min-height: 100svh; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--text2); box-shadow: var(--shadow); }
.pill b { padding: 3px 9px; border-radius: 999px; font: 700 11px Man; letter-spacing: .04em; color: #fff; background: var(--accent); }
h1 { margin: 22px 0 18px; font: 500 clamp(44px, 6vw, 80px)/1.02 var(--serif); letter-spacing: -.035em; }
h1 .l { display: block; }
h1 .l > span { display: inline-block; opacity: 0; transform: translateY(40%); transition: transform 1.3s var(--ease), opacity 1s var(--ease); transition-delay: calc(.12s + var(--i) * .1s); }
.ready h1 .l > span { opacity: 1; transform: none; }
.lead { max-width: 500px; font-size: 18px; color: var(--muted); }
.lead b { color: var(--text); font-weight: 700; }
.cta { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.trust { display: flex; gap: 20px; margin-top: 34px; flex-wrap: wrap; }
.trust div { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.trust i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); font-style: normal; }
.trust svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.fade { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(.3s + var(--i) * .1s); }
.ready .fade { opacity: 1; transform: none; }

/* витрина с лого */
.show { position: relative; border-radius: 34px; background: radial-gradient(90% 80% at 50% 40%, #16295c, #0a1230 60%, #060a1c); padding: 4%; box-shadow: var(--shadow2), 0 0 0 1px rgba(255, 255, 255, .04) inset; overflow: hidden; opacity: 0; transform: translateY(30px) scale(.97); transition: opacity 1.2s var(--ease) .15s, transform 1.4s var(--ease) .15s; }
.ready .show { opacity: 1; transform: none; }
.show::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 45%, rgba(70, 120, 255, .28), transparent 70%), radial-gradient(50% 40% at 80% 100%, rgba(217, 119, 87, .22), transparent 70%); pointer-events: none; }
.show .cap { position: absolute; left: 22px; bottom: 18px; z-index: 6; display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243, 241, 234, .55); }
.show .cap i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.stage { position: relative; width: 100%; aspect-ratio: 1; perspective: 1400px; touch-action: pan-y; }
.scene { position: absolute; inset: 0; will-change: transform; }
.ly { position: absolute; will-change: transform; }
.ly .en { width: 100%; height: 100%; opacity: 0; transform: translate3d(var(--ex, 0), var(--ey, 40px), 0) scale(.6); transition: opacity 1.1s var(--ease), transform 1.6s var(--ease); transition-delay: var(--dl); }
.ready .ly .en { opacity: 1; transform: none; }
.ly .fl { position: relative; width: 100%; height: 100%; animation: bob var(--bt, 7s) ease-in-out var(--bd, 0s) infinite; }
@keyframes bob { 50% { transform: translateY(var(--by, -8px)) rotate(var(--br, 0deg)); } }
.ly img { width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.sheen { position: absolute; inset: 0; pointer-events: none; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; mix-blend-mode: soft-light;
  background: linear-gradient(115deg, transparent 22%, rgba(255, 220, 200, .0) 28%, rgba(255, 190, 160, .85) 38%, rgba(255, 255, 255, .95) 47%, rgba(170, 210, 255, .85) 56%, transparent 68%);
  background-size: 260% 260%; background-position: var(--sx, 50%) var(--sy, 50%); opacity: var(--so, .9); }
.ly.k-title .sheen + .sheen { mix-blend-mode: screen; opacity: .28; }
.glare { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 40%), rgba(255, 210, 190, .16), transparent 60%); }

/* бегущая строка */
.marquee { overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line); -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq { display: flex; gap: 40px; width: max-content; animation: mq 50s linear infinite; }
.marquee:hover .mq { animation-play-state: paused; }
.mq span { display: flex; align-items: center; gap: 11px; font: 500 21px var(--serif); color: var(--text2); white-space: nowrap; }
.mq span img, .mq span em { width: 32px; height: 32px; border-radius: 9px; }
.mq span em { display: grid; place-items: center; font: 800 11px Man; font-style: normal; color: #fff; background: var(--c); }
@keyframes mq { to { transform: translateX(-50%); } }

/* секции */
section { padding: 100px 0 10px; }
.sh { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.sh h2, .ph h2 { font: 500 clamp(34px, 4.4vw, 54px)/1.05 var(--serif); letter-spacing: -.03em; }
.sh p { color: var(--muted); max-width: 400px; }
.eyebrow { display: block; font: 700 12px Man; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* сегменты */
.bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.seg { position: relative; display: flex; padding: 4px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.seg::-webkit-scrollbar { display: none; }
.seg button { position: relative; z-index: 1; flex: none; padding: 8px 15px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--muted); transition: color .35s; }
.seg button.on { color: var(--text); }
.seg button small { margin-left: 5px; font-size: 11px; color: var(--ok); }
.seg button .cnt { margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; background: var(--accent); color: #fff; }
.seg .pi { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 10px; background: var(--card2); box-shadow: var(--shadow), 0 0 0 1px var(--line); transition: transform .55s var(--spring), width .55s var(--spring); }

/* карточки товаров */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 16px; perspective: 1400px; }
.card { --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg; position: relative; padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .7s var(--soft), box-shadow .5s, border-color .5s, opacity .6s var(--ease); }
.card .sp { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--mx) var(--my), var(--accent-soft), transparent 55%); opacity: 0; transition: opacity .5s; }
.card:hover { box-shadow: var(--shadow2); border-color: var(--line2); }
.card:hover .sp { opacity: 1; }
.card > *:not(.sp):not(.tag) { position: relative; }
.card .top { display: flex; align-items: center; gap: 13px; }
.ic { position: relative; flex: none; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font: 800 15px Man; color: #fff; background: var(--c); box-shadow: 0 6px 16px rgba(31, 30, 29, .18), inset 0 1px 0 rgba(255, 255, 255, .25); overflow: hidden; }
.ic.img { background: #121a33; padding: 0; }
.ic.img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); }
.card h3 { font: 600 21px/1.15 var(--serif); letter-spacing: -.015em; }
.card .plan { font-size: 13px; color: var(--muted); margin-top: 2px; }
.card .tag { position: absolute; z-index: 2; top: 16px; right: 16px; padding: 4px 10px; border-radius: 999px; font: 700 11px Man; color: var(--accent2); background: var(--accent-soft); }
.card ul { list-style: none; margin: 16px 0 18px; display: grid; gap: 8px; font-size: 14px; color: var(--text2); }
.card li { display: flex; gap: 9px; align-items: flex-start; }
.card li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font: 600 32px/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 14px; }
.price s { color: var(--faint); font-size: 15px; }
.save { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--ok); min-height: 19px; }
.card .btn { margin-top: 16px; width: 100%; }
.cards.swap .card { opacity: 0; transform: translateY(16px) scale(.98); }

/* шаги / плюсы */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step, .feat { position: relative; padding: 26px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px; font: 600 20px var(--serif); color: var(--accent2); background: var(--accent-soft); }
.step::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) calc(.3s + var(--i, 0) * .15s); }
.step.in::after { transform: scaleX(1); }
.step b, .feat b { display: block; font: 600 20px/1.25 var(--serif); margin-bottom: 7px; }
.step p, .feat p { font-size: 14.5px; color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat .fi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--accent-soft); }
.feat svg { width: 22px; height: 22px; stroke: var(--accent2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s; }
.faq details[open] { border-color: var(--line2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font: 600 18px var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 9px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23c6613f' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/15px no-repeat; transition: transform .6s var(--spring); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq details[open] .ans { grid-template-rows: 1fr; }
.faq .ans > div { overflow: hidden; }
.faq .ans p { padding: 0 22px 20px; color: var(--muted); }

.final { position: relative; margin: 100px 0 40px; padding: 64px 36px; border-radius: 34px; text-align: center; overflow: hidden; background: var(--show); color: #f3f1ea; box-shadow: var(--shadow2); }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(217, 119, 87, .35), transparent 70%); }
.final > * { position: relative; }
.final .lgo { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 26px; overflow: hidden; box-shadow: 0 16px 50px rgba(0, 0, 0, .5); animation: bob2 6s ease-in-out infinite; }
.final .lgo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes bob2 { 50% { transform: translateY(-8px) rotate(-2deg); } }
.final h2 { font: 500 clamp(34px, 5vw, 58px)/1.05 var(--serif); letter-spacing: -.03em; }
.final p { color: rgba(243, 241, 234, .7); margin: 14px auto 28px; max-width: 480px; }
footer { padding: 36px 0 50px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
footer .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .row > span { max-width: 620px; }
footer nav { display: flex; gap: 16px; }
footer nav a:hover { color: var(--text); }

/* ═════════ страницы (кабинет, вход, поддержка, админка) ═════════ */
#page { min-height: 100vh; padding: 110px 0 60px; }
.pg-in { animation: pgIn .7s var(--ease) both; }
@keyframes pgIn { from { opacity: 0; transform: translateY(18px); } }
.ph { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.ph p { color: var(--muted); margin-top: 6px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { padding: 20px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat span { font-size: 13px; color: var(--muted); }
.stat b { display: block; margin-top: 6px; font: 600 30px/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat.ac { background: var(--accent); color: #fff; border-color: transparent; }
.stat.ac span { color: rgba(255, 255, 255, .8); }

/* вход / регистрация */
.auth { width: min(440px, 100%); margin: 0 auto; }
.auth .panel { padding: 30px; }
.auth h2 { font: 500 34px/1.1 var(--serif); letter-spacing: -.02em; text-align: center; }
.auth .sub { text-align: center; color: var(--muted); margin: 8px 0 22px; }
.auth .sw { text-align: center; margin-top: 18px; color: var(--muted); font-size: 14px; }
.auth .sw a { color: var(--accent2); font-weight: 700; }
.refok { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--ok-soft); color: var(--ok); font-size: 14px; font-weight: 700; margin-bottom: 12px; animation: pgIn .6s var(--ease) both; }
.refok svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; flex: none; }

/* поля */
.fl { display: grid; gap: 12px; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; padding: 22px 16px 9px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line2); font-size: 16px; font-weight: 600; outline: none; transition: border-color .3s, box-shadow .3s, background .3s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--accent); background: var(--card2); box-shadow: 0 0 0 4px var(--accent-soft); }
.field label { position: absolute; left: 17px; top: 16px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .4s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-9px) scale(.75); color: var(--accent2); }
.field .eye { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.field .eye svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; }
.field.pw input { padding-right: 52px; }
.plain { width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line2); font-weight: 600; outline: none; transition: border-color .3s, box-shadow .3s; }
.plain:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
textarea.plain { min-height: 90px; resize: vertical; }
.err { min-height: 0; color: var(--bad); font-size: 14px; font-weight: 700; }
.err:not(:empty) { padding: 10px 14px; border-radius: 12px; background: var(--bad-soft); animation: shake .45s var(--ease); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.hint { font-size: 13px; color: var(--muted); }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text2); user-select: none; }
.check input { appearance: none; -webkit-appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--line2); position: relative; transition: background .3s; flex: none; cursor: pointer; }
.check input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .45s var(--spring); }
.check input:checked { background: var(--accent); }
.check input:checked::after { transform: translateX(18px); }

/* статусы */
.st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st.new { color: var(--warn); background: var(--warn-soft); }
.st.claimed { color: var(--info); background: var(--info-soft); }
.st.paid { color: var(--accent2); background: var(--accent-soft); }
.st.done { color: var(--ok); background: var(--ok-soft); }
.st.cancelled, .st.closed { color: var(--muted); background: var(--line); }
.st.open { color: var(--warn); background: var(--warn-soft); }
.st.answered { color: var(--ok); background: var(--ok-soft); }

/* списки */
.list { display: grid; gap: 10px; }
.it { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .4s var(--soft); animation: pgIn .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
a.it:hover, .it.click:hover { border-color: var(--line2); box-shadow: var(--shadow); transform: translateY(-1px); cursor: pointer; }
.it .grow { flex: 1; min-width: 0; }
.it .t { font-weight: 700; }
.it .s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.it .amt { font: 600 19px var(--serif); white-space: nowrap; }
.it .ic { width: 44px; height: 44px; border-radius: 12px; font-size: 13px; }
.empty { padding: 50px 20px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line2); border-radius: var(--r); }
.empty b { display: block; font: 500 22px var(--serif); color: var(--text); margin-bottom: 6px; }
.empty .btn { margin-top: 16px; }

/* заказ — раскрытый */
.ord { border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; animation: pgIn .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.ord .oh { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.ord .ob { padding: 0 18px 18px; display: grid; gap: 12px; }
.note { padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 14.5px; white-space: pre-wrap; word-break: break-word; }
.note.okc { background: var(--ok-soft); border-color: transparent; }
.note h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* реферальная ссылка */
.reflink { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line2); }
.reflink code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 14px ui-monospace, 'SF Mono', Consolas, monospace; color: var(--text2); }

/* чат поддержки */
.chat { display: grid; gap: 10px; padding: 6px 0 16px; }
.msg { max-width: 78%; padding: 12px 15px; border-radius: 18px; font-size: 15px; white-space: pre-wrap; word-break: break-word; animation: msgIn .5s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.msg.me { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg.them { justify-self: start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg small { display: block; margin-top: 4px; font-size: 11.5px; opacity: .65; }
.msg .who { display: block; font-size: 12px; font-weight: 800; color: var(--accent2); margin-bottom: 3px; }
.composer { position: sticky; bottom: 12px; display: flex; gap: 8px; align-items: flex-end; padding: 8px; border-radius: 18px; background: var(--card); border: 1px solid var(--line2); box-shadow: var(--shadow2); }
.composer textarea { flex: 1; min-height: 44px; max-height: 180px; padding: 11px 12px; resize: none; outline: none; font-weight: 600; line-height: 1.45; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 700; margin-bottom: 14px; transition: color .3s; }
.back:hover { color: var(--text); }

/* таблица админки */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tblw { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.tbl input.plain { padding: 8px 10px; width: 110px; }

/* ═════════ окно покупки ═════════ */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.on { visibility: visible; }
.modal .sc { position: absolute; inset: 0; background: rgba(31, 30, 29, .38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .45s var(--ease); }
.modal.on .sc { opacity: 1; }
.modal .box { position: relative; width: min(470px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 28px; transform-origin: 0 0; background: var(--card); border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(31, 30, 29, .3); overscroll-behavior: contain; }
.modal .inner { position: relative; padding: 26px; transition: height .5s var(--ease); }
.modal .x { position: absolute; z-index: 3; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--muted); transition: background .3s, transform .5s var(--spring), color .3s; }
.modal .x:hover { background: var(--bg2); color: var(--text); transform: rotate(90deg); }
.modal .x svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.mhead { display: flex; gap: 13px; align-items: center; padding-right: 44px; }
.mhead .eyebrow { margin: 0 0 3px; font-size: 11px; }
.mhead b { display: block; font: 600 22px/1.1 var(--serif); }
.prog { display: flex; gap: 5px; margin: 20px 0 2px; }
.prog i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; position: relative; }
.prog i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.prog i.on::after { transform: scaleX(1); }
.slides { position: relative; }
.sl { animation: slIn .55s var(--ease) both; }
.sl.out { position: absolute; left: 0; right: 0; top: 0; animation: slOut .38s var(--ease) both; pointer-events: none; }
.sl.back { animation-name: slInB; }
.sl.out.back { animation-name: slOutB; }
@keyframes slIn { from { opacity: 0; transform: translateX(34px); } }
@keyframes slOut { to { opacity: 0; transform: translateX(-34px); } }
@keyframes slInB { from { opacity: 0; transform: translateX(-34px); } }
@keyframes slOutB { to { opacity: 0; transform: translateX(34px); } }
.sl h4 { margin: 18px 0 11px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.opts { display: grid; gap: 9px; }
.opt { display: flex; align-items: center; gap: 13px; padding: 14px 15px; border-radius: 16px; text-align: left; background: var(--bg); border: 1.5px solid transparent; transition: border-color .35s, background .35s, transform .45s var(--spring), box-shadow .35s; animation: pop .55s var(--ease) both; animation-delay: calc(.06s + var(--i) * .05s); }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.opt:hover { transform: translateY(-1px); border-color: var(--line2); }
.opt .rd { flex: none; width: 21px; height: 21px; border-radius: 50%; border: 2px solid var(--faint); display: grid; place-items: center; transition: border-color .35s; }
.opt .rd::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .45s var(--spring); }
.opt.on { border-color: var(--accent); background: var(--card2); box-shadow: 0 6px 20px rgba(217, 119, 87, .14); }
.opt.on .rd { border-color: var(--accent); }
.opt.on .rd::after { transform: scale(1); }
.opt .ot { flex: 1; }
.opt .ot b { display: block; font-size: 15.5px; }
.opt .ot span { font-size: 13px; color: var(--muted); }
.opt .op { text-align: right; }
.opt .op b { display: block; font: 600 18px var(--serif); }
.opt .op small { display: inline-block; margin-top: 2px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; color: var(--ok); background: var(--ok-soft); }
.sum { margin: 16px 0; padding: 14px 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; }
.sum div { display: flex; justify-content: space-between; gap: 10px; }
.sum span { color: var(--muted); }
.sum .tt { padding-top: 9px; border-top: 1px dashed var(--line2); align-items: baseline; }
.sum .tt b { font: 600 26px var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mfoot { display: flex; gap: 8px; margin-top: 16px; }
.mfoot .btn { flex: 1; }
.mfoot .btn.gh { flex: none; padding-inline: 16px; }
.mnote { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.payto { padding: 16px; border-radius: 16px; background: var(--accent-soft); font-size: 14.5px; white-space: pre-wrap; line-height: 1.55; }
.payto .amt { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed rgba(198, 97, 63, .3); }
.payto .amt b { font: 600 28px var(--serif); }
.copy { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 9px; font-size: 12.5px; font-weight: 800; color: var(--accent2); background: var(--card2); transition: transform .4s var(--spring); }
.copy:active { transform: scale(.94); }
.mtabs { display: flex; gap: 4px; padding: 4px; border-radius: 13px; background: var(--bg2); margin: 18px 0 14px; }
.mtabs button { flex: 1; padding: 9px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--muted); transition: background .35s, color .35s, box-shadow .35s; }
.mtabs button.on { background: var(--card2); color: var(--text); box-shadow: var(--shadow); }
/* финал покупки */
.done { text-align: center; padding: 8px 0 0; }
.okc { position: relative; width: 108px; height: 108px; margin: 6px auto 16px; }
.okc svg { width: 100%; height: 100%; overflow: visible; }
.okc .c1 { fill: none; stroke: var(--line); stroke-width: 4; }
.okc .c2 { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; transform: rotate(-90deg); transform-origin: 60px 60px; }
.okc .ck { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; }
.okc.spin .c2 { stroke-dasharray: 90 250; animation: load 1s linear infinite; }
@keyframes load { to { transform: rotate(270deg); } }
.okc.yes .c2 { animation: none; transform: rotate(-90deg); stroke-dasharray: 340; stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--ease); }
.okc.yes .ck { stroke-dashoffset: 0; transition: stroke-dashoffset .55s var(--ease) .35s; }
.okc .bg { position: absolute; inset: 13px; border-radius: 50%; background: var(--accent); transform: scale(.3); opacity: 0; transition: transform .8s var(--spring) .2s, opacity .4s .2s; }
.okc.yes .bg { transform: none; opacity: 1; }
.done h3 { font: 500 28px var(--serif); letter-spacing: -.02em; }
.done p { color: var(--muted); margin: 8px auto 0; max-width: 340px; }
#confetti { position: fixed; inset: 0; z-index: 120; pointer-events: none; width: 100%; height: 100%; }

/* тост */
#toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; translate: -50% 0; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--text); color: var(--bg); font-size: 14.5px; font-weight: 700; box-shadow: var(--shadow2);
  opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--spring); }
#toast.on { opacity: 1; transform: none; }
#toast.bad { background: var(--bad); color: #fff; }

/* появление */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.rv.in { opacity: 1; transform: none; }
.card.rv.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.card.rv.in.live { transition: transform .7s var(--soft), box-shadow .5s, border-color .5s, opacity .6s var(--ease); transition-delay: 0s; }
[hidden] { display: none !important; }

/* адаптив */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; text-align: center; min-height: 0; gap: 26px; }
  .hero .lead { margin: 0 auto; } .cta, .trust { justify-content: center; }
  .show { width: min(520px, 100%); justify-self: center; order: -1; }
  .steps { grid-template-columns: 1fr 1fr; } .feats, .grid3 { grid-template-columns: 1fr; }
  nav.menu { display: none; } .hright { margin-left: auto; }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :root { --pad: 16px; }
  header { padding: 8px 0; }
  .brand small { display: none; } .brand b { font-size: 19px; } .brand .lg { width: 36px; height: 36px; }
  .hright .btn.sm { padding: 8px 12px; font-size: 13px; }
  .hright .gh-login { display: none; }
  .me b { display: none; } .me { padding: 4px; }
  .steps { grid-template-columns: 1fr; }
  .bar { flex-direction: column; } .seg { align-self: stretch; }
  .final { padding: 46px 22px; }
  .mq span { font-size: 18px; }
  .modal { padding: 0; place-items: end center; }
  .modal .box { width: 100%; max-height: 92vh; border-radius: 26px 26px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .modal .inner { padding: 22px 18px; }
  .msg { max-width: 88%; }
  #page { padding-top: 90px; }
  .panel, .auth .panel { padding: 20px; }
  .it { padding: 14px; gap: 11px; }
  .ord .oh { flex-wrap: wrap; }
}
html.touch #glow, html.touch .ly.k-tile .sheen, html.touch .ly.k-crystal .sheen, html.touch .ly.k-title .sheen + .sheen { display: none; }
html.touch .card { transform: none !important; }
html.touch #bg i { animation-duration: 60s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01s !important; } }


/* ═════════════════ v3: мягкий синий неон ═════════════════ */
#themeBtn { display: none !important; }
body { font-weight: 500; line-height: 1.6; background: var(--bg); }
#bg { background: radial-gradient(70% 55% at 75% -5%, rgba(50, 90, 230, .28), transparent 70%), radial-gradient(55% 45% at 0% 55%, rgba(80, 60, 200, .16), transparent 70%), radial-gradient(50% 40% at 90% 100%, rgba(40, 140, 220, .12), transparent 70%), var(--bg); }
#bg i { opacity: 1; filter: none; }
#bg .g1 { background: radial-gradient(circle, rgba(60, 110, 255, .2), transparent 62%); }
#bg .g2 { background: radial-gradient(circle, rgba(120, 90, 255, .14), transparent 62%); }
#stars { position: absolute; inset: -40px; will-change: transform; }
.star { position: absolute; width: var(--s, 2px); height: var(--s, 2px); border-radius: 50%; background: #cfe0ff; box-shadow: 0 0 6px rgba(140, 190, 255, .8); opacity: .12; animation: tw var(--d) var(--dl) ease-in-out infinite; }
@keyframes tw { 50% { opacity: .7; } }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(130, 160, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 160, 255, .045) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask: radial-gradient(60% 50% at 60% 20%, #000, transparent); mask: radial-gradient(60% 50% at 60% 20%, #000, transparent); }
#glow { background: radial-gradient(circle, rgba(90, 140, 255, .1), rgba(120, 100, 255, .04) 40%, transparent 65%); }

/* заголовки */
h1 { font: 800 clamp(40px, 6vw, 80px)/1 Unb; letter-spacing: -.055em; }
h1 .l > span:not(:has(em)) { background: linear-gradient(180deg, #f4f7ff 0%, #dfe7ff 45%, #9fb6ff 75%, #c9d6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
em.ac { font-style: normal; background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gr 12s linear infinite; }
@keyframes gr { to { background-position: -220% 0; } }
.sh h2, .ph h2, .final h2 { font-family: Unb; font-weight: 800; letter-spacing: -.05em; }
.brand b { font: 800 18px/1 Unb; letter-spacing: -.045em; }
.eyebrow { font: 700 11px Unb; letter-spacing: .28em; color: #8fc8ff; }
.lead { color: var(--muted); }
.pill { background: rgba(120, 160, 255, .08); box-shadow: none; color: var(--text2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pill b { background: linear-gradient(120deg, #3d6dff, #6ea8ff); font-family: Unb; font-size: 10px; letter-spacing: .1em; }

/* шапка */
header.scrolled .hd, header.solid .hd { background: rgba(9, 14, 38, .7); border-color: var(--line); box-shadow: 0 14px 40px rgba(0, 6, 30, .45); }
.brand .lg { box-shadow: 0 0 0 1px rgba(150, 190, 255, .35), 0 6px 20px rgba(60, 110, 255, .4); }
nav.menu a { color: var(--muted); }
nav.menu a:hover { background: rgba(120, 160, 255, .1); color: var(--text); }
.me { background: rgba(120, 160, 255, .07); }
.ava { background: linear-gradient(140deg, #4f7dff, #8f7dff); }

/* кнопки: пилюли, мягкий градиент, без кислотного неона */
.btn { border-radius: 999px; }
.btn.pri { background: linear-gradient(120deg, #3a67f0, #5b8cff 50%, #6aa2ff); background-size: 180% 100%; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 24px rgba(50, 100, 255, .32); text-shadow: 0 1px 6px rgba(0, 20, 80, .3); transition: transform .45s var(--soft), box-shadow .4s, background-position .7s var(--ease); }
.btn.pri:hover { background: linear-gradient(120deg, #3a67f0, #5b8cff 50%, #6aa2ff); background-size: 180% 100%; background-position: 100% 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 12px 34px rgba(60, 115, 255, .45); }
.btn.gh { background: rgba(120, 160, 255, .07); border-color: var(--line2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.gh:hover { background: rgba(120, 160, 255, .13); border-color: rgba(160, 190, 255, .4); box-shadow: none; }
.btn.ok { background: linear-gradient(120deg, #2f9f78, #47c08f); }
.btn.sm, .btn.xs { border-radius: 999px; }
.trust i { background: rgba(120, 160, 255, .1); border: 1px solid var(--line); }
.trust svg { stroke: #8fc8ff; }

/* сцена лого — без рамки, прямо в пространстве */
.show { background: none !important; padding: 0; box-shadow: none; overflow: visible; border-radius: 0; }
.show::before { display: none; }
.show .halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(50, 100, 255, .38), rgba(90, 170, 255, .08) 45%, transparent 68%); filter: blur(12px); animation: breathe 8s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .75; } }
.show .rings { position: absolute; inset: 0; pointer-events: none; }
.show .rings i { position: absolute; left: 50%; top: 53%; width: var(--w); aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; border: 1px solid rgba(130, 180, 255, .12); transform: rotateX(72deg); animation: spinR var(--t) linear infinite; }
.show .rings i::after { content: ""; position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #cfe4ff; box-shadow: 0 0 10px 2px rgba(110, 180, 255, .8); }
@keyframes spinR { to { transform: rotateX(72deg) rotate(360deg); } }
.sheen { mix-blend-mode: overlay; background: linear-gradient(115deg, transparent 20%, rgba(143, 208, 255, .7) 34%, rgba(255, 255, 255, .85) 46%, rgba(198, 169, 255, .7) 58%, transparent 72%); background-size: 260% 260%; }
.ly.k-title .sheen + .sheen { mix-blend-mode: screen; opacity: .22; }
.glare { background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 40%), rgba(150, 200, 255, .14), transparent 60%); }
.ly.k-tile { cursor: pointer; }
.ly.k-tile img { filter: drop-shadow(0 12px 18px rgba(0, 12, 60, .5)); transition: filter .4s; }
.ly.k-tile:hover img { filter: drop-shadow(0 12px 18px rgba(0, 12, 60, .5)) brightness(1.12); }
.hint2 { position: absolute; left: 50%; bottom: 0; translate: -50% 0; z-index: 7; display: flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; opacity: 0; transition: opacity 1s 2s; pointer-events: none; }
.ready .hint2 { opacity: .75; }
.hint2 i { width: 7px; height: 7px; border-radius: 50%; background: #8fc8ff; box-shadow: 0 0 10px #5b8cff; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* всплывашка у плитки */
.tip { position: absolute; z-index: 30; min-width: 210px; padding: 14px; border-radius: 18px; background: rgba(14, 22, 56, .92); border: 1px solid var(--line2); box-shadow: var(--shadow2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform-origin: var(--ox, 50%) 0; animation: tipIn .5s var(--spring) both; }
.tip.out { animation: tipOut .25s var(--ease) both; }
@keyframes tipIn { from { opacity: 0; transform: translateY(8px) scale(.9); } }
@keyframes tipOut { to { opacity: 0; transform: translateY(6px) scale(.95); } }
.tip b { display: block; font: 800 15px Unb; letter-spacing: -.03em; }
.tip span { display: block; font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.tip .btn { width: 100%; }
.tip.ext span { margin-bottom: 0; }

/* клик-рябь и искры */
.ripple { position: fixed; z-index: 90; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 1.5px solid rgba(150, 200, 255, .7); pointer-events: none; animation: rip .8s var(--ease) forwards; }
@keyframes rip { to { transform: scale(5); opacity: 0; } }

/* карточки: стекло, мягкий блик и рамка за курсором */
.card { background: linear-gradient(160deg, rgba(26, 40, 96, .55), rgba(10, 16, 46, .7)); border-color: var(--line); box-shadow: var(--shadow); }
.card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.2px; pointer-events: none; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(150, 200, 255, .8), rgba(170, 150, 255, .35) 35%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; }
.card:hover::after { opacity: 1; }
.card .sp { background: radial-gradient(400px circle at var(--mx) var(--my), rgba(90, 140, 255, .14), transparent 55%); }
.card:hover { box-shadow: 0 26px 60px rgba(5, 15, 70, .55); border-color: var(--line2); }
.card h3 { font: 800 19px/1.15 Unb; letter-spacing: -.04em; }
.card .tag { color: #dbe8ff; background: rgba(120, 170, 255, .16); border: 1px solid rgba(150, 190, 255, .25); }
.card li::before { background: linear-gradient(120deg, #8fd0ff, #a9b8ff); }
.price b { font: 800 30px/1 Unb; letter-spacing: -.05em; }
.card ul { color: var(--text2); }
.ic.img { background: #0d1636; }
.ic:not(.img) { box-shadow: 0 6px 16px rgba(0, 10, 50, .45), 0 0 0 1px rgba(160, 200, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .3); }
.card.pulse { animation: cardPulse 1.6s var(--ease); }
@keyframes cardPulse { 0% { box-shadow: 0 0 0 0 rgba(110, 160, 255, .6); } 100% { box-shadow: 0 0 0 26px rgba(110, 160, 255, 0); } }

/* сегменты */
.seg { background: rgba(120, 160, 255, .06); border-color: var(--line); border-radius: 999px; }
.seg button { border-radius: 999px; }
.seg .pi { border-radius: 999px; background: linear-gradient(120deg, #3a67f0, #5b8cff); box-shadow: 0 6px 18px rgba(50, 100, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.seg button.on { color: #fff; }
.seg button .cnt { background: rgba(255, 255, 255, .22); }

/* секции */
.step, .feat, .stat, .panel, .faq details, .it, .ord, .tblw { background: linear-gradient(160deg, rgba(24, 36, 88, .45), rgba(10, 16, 46, .55)); border-color: var(--line); }
.step::before { font-family: Unb; font-weight: 800; color: #b9d4ff; background: rgba(110, 160, 255, .14); }
.step::after { background: linear-gradient(90deg, transparent, #8fc8ff, transparent); }
.step b, .feat b { font: 800 17px/1.3 Unb; letter-spacing: -.03em; }
.feat .fi { background: linear-gradient(140deg, rgba(60, 110, 255, .35), rgba(120, 170, 255, .1)); border: 1px solid rgba(150, 190, 255, .25); }
.feat svg { stroke: #cfe0ff; }
.faq summary { font: 700 16px/1.4 Man; }
.faq summary::after { background-color: rgba(110, 160, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%238fc8ff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); border-radius: 50%; }
.marquee { background: rgba(10, 18, 50, .4); }
.mq span { font: 800 19px Unb; letter-spacing: -.03em; color: rgba(215, 225, 250, .8); }
.final { background: radial-gradient(80% 120% at 50% 0%, rgba(60, 110, 255, .4), rgba(14, 26, 80, .5) 60%), #0a1130; border: 1px solid rgba(150, 190, 255, .22); }
.final::before { background: conic-gradient(from 0deg, transparent, rgba(110, 180, 255, .12), transparent 30%, rgba(140, 120, 255, .12), transparent 60%); inset: -50%; animation: spinC 24s linear infinite; }
@keyframes spinC { to { transform: rotate(360deg); } }
.stat b { font: 800 26px/1 Unb; letter-spacing: -.04em; }
.stat.ac { background: linear-gradient(135deg, #3a67f0, #6a8cff); }
.it .amt, .ord .oh > div:last-child { font-family: Unb !important; font-weight: 800 !important; letter-spacing: -.04em; }

/* поля и окна */
.field input, .field textarea, .field select, .plain, .reflink { background: rgba(6, 10, 30, .55); border-color: var(--line2); }
.field input:focus, .field textarea:focus { background: rgba(20, 32, 80, .6); }
.note { background: rgba(6, 10, 30, .45); }
.payto { background: rgba(91, 140, 255, .12); border: 1px solid rgba(140, 180, 255, .2); }
.payto .amt b { font: 800 26px Unb; letter-spacing: -.04em; }
.copy { background: rgba(120, 160, 255, .12); color: #cfe0ff; }
.modal .sc { background: rgba(2, 5, 20, .6); }
.modal .box { background: linear-gradient(170deg, #142050, #0a1032 65%); border-color: rgba(150, 190, 255, .25); box-shadow: 0 40px 110px rgba(0, 10, 60, .6), inset 0 1px 0 rgba(255, 255, 255, .08); }
.modal .box::before { content: ""; position: absolute; left: -20%; right: -20%; top: -170px; height: 300px; background: radial-gradient(closest-side, rgba(90, 160, 255, .25), transparent); pointer-events: none; }
.mhead b { font: 800 20px/1.1 Unb; letter-spacing: -.04em; }
.mtabs { background: rgba(6, 10, 30, .5); border-radius: 999px; }
.mtabs button { border-radius: 999px; }
.mtabs button.on { background: linear-gradient(120deg, #3a67f0, #5b8cff); color: #fff; }
.opt { background: rgba(6, 10, 30, .4); }
.opt.on { background: rgba(60, 100, 230, .2); box-shadow: 0 8px 24px rgba(40, 90, 255, .2); }
.opt .op b, .sum .tt b { font-family: Unb; font-weight: 800; letter-spacing: -.04em; }
.sum { background: rgba(6, 10, 30, .4); }
.done h3 { font: 800 24px Unb; letter-spacing: -.04em; }
.okc .bg { background: radial-gradient(circle, #5b8cff, #3a67f0); }
.msg.me { background: linear-gradient(135deg, #3a67f0, #5b8cff); }
.msg.them { background: rgba(24, 36, 88, .55); }
.msg .who { color: #8fc8ff; }
.composer { background: rgba(14, 22, 56, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.st.paid { color: #a9c6ff; background: rgba(110, 160, 255, .16); }
.refok { background: var(--ok-soft); }
#toast { background: #e2e8fa; color: #0a1130; }
footer .brand b { font-size: 16px; }
.empty { border-color: var(--line2); }
.empty b { font-family: Unb; font-weight: 800; letter-spacing: -.04em; }
.auth h2 { font: 800 30px/1.1 Unb; letter-spacing: -.05em; }
html.touch .ripple { display: none; }

/* фикс: окно покупки не должно прокручиваться вбок (свечение шире окна, анимации слайдов) */
.modal .box { overflow-x: hidden; overflow-y: auto; }
.modal .box::before { left: 0; right: 0; }
.slides { overflow-x: clip; overflow-y: visible; margin: 0 -6px; padding: 0 6px; }
html, body { overflow-x: clip; }
