/* bibiVPN — лендинг. Монохром бренда + мятный акцент «защищено» */
@font-face { font-family: "Bender"; src: url("../fonts/Bender-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Stolzl"; src: url("../fonts/StolzlDisplay-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Stolzl"; src: url("../fonts/StolzlDisplay-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Stolzl"; src: url("../fonts/StolzlDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #050507;
  --bg-2: #0b0c10;
  --card: #0f1015;
  --card-hi: #15161d;
  --line: rgba(255, 255, 255, .08);
  --line-hi: rgba(255, 255, 255, .16);
  --text: #f4f5f7;
  --muted: rgba(244, 245, 247, .62);
  --dim: rgba(244, 245, 247, .4);
  --mint: #3ef0a0;
  --mint-glow: rgba(62, 240, 160, .35);
  --display: "Bender", "Stolzl", system-ui, sans-serif;
  --font: "Stolzl", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.45, 0, .55, 1);
  --hh: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 10px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: .01em; }
p { margin: 0; }
::selection { background: var(--mint); color: #000; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 8px 14px; border-radius: 8px; background: var(--mint); color: #000; }
.skip:focus { left: 8px; }
.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer, .header { position: relative; z-index: 1; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 22px;
  border-radius: 14px; font-weight: 500; line-height: 1.15; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .4s var(--ease), background .25s, border-color .25s, box-shadow .3s, color .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { padding: 10px 16px; font-size: 15px; border-radius: 12px; }
.btn-xl { padding: 16px 26px; font-size: 18px; border-radius: 18px; min-height: 64px; }
.btn-primary { background: #fff; color: #050507; box-shadow: 0 10px 40px -12px rgba(255, 255, 255, .45); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(62, 240, 160, .45) 50%, transparent 70%);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(255, 255, 255, .55); }
.btn-primary:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn-ghost { border: 1px solid var(--line-hi); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--text); }
.hero-dl-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .08); }
.hero-connect .btn-two small { opacity: .55; }
.hero-dl-ic svg { width: 20px; height: 20px; }
.btn-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #050507; color: #fff; }
.btn-ic svg { width: 20px; height: 20px; }
.btn-two { display: grid; text-align: left; }
.btn-two b { font-weight: 700; }
.btn-two small { font-size: 13px; opacity: .6; font-weight: 500; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.link svg { width: 18px; height: 18px; }
.link:hover { color: var(--text); border-color: currentColor; }

/* ---------- Шапка ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--hh); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(5, 5, 7, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.header-in { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; color: #fff; }
.logo-mark .face { width: 100%; height: 100%; }
.logo-word { font: 400 28px/1 var(--font); letter-spacing: -.02em; }
.nav { display: flex; gap: 26px; margin-left: 12px; font-size: 15px; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang, .signin { font-size: 14px; color: var(--muted); transition: color .2s; }
.lang { padding: 6px 10px; border: 1px solid var(--line-hi); border-radius: 9px; font-family: var(--display); font-weight: 700; }
.lang:hover, .signin:hover { color: var(--text); }

/* ---------- Мобильное меню ---------- */
.burger { display: none; position: relative; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-hi); }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }
.mnav {
  position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding: calc(var(--hh) + 18px) 22px max(24px, env(safe-area-inset-bottom)); overflow: auto;
  background: radial-gradient(circle at 100% 0%, rgba(62, 240, 160, .16), transparent 55%), #050507;
  clip-path: circle(0 at calc(100% - 36px) 34px); transition: clip-path .7s var(--ease);
}
.mnav[hidden] { display: flex; visibility: hidden; }
.mnav.is-open { clip-path: circle(150% at calc(100% - 36px) 34px); visibility: visible; }
.mnav-links { display: grid; }
.mnav-links a { padding: 10px 0; font: 700 clamp(30px, 9vw, 40px)/1.1 var(--display); text-transform: uppercase; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-24px); transition: opacity .4s, transform .6s var(--ease); }
.mnav.is-open .mnav-links a { opacity: 1; transform: none; }
.mnav-links a:nth-child(2) { transition-delay: .06s; } .mnav-links a:nth-child(3) { transition-delay: .12s; } .mnav-links a:nth-child(4) { transition-delay: .18s; }
.mnav-links a:active { color: var(--mint); }
.mnav-cap { margin-top: 8px; font: 700 13px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.mnav-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; opacity: 0; transform: translateY(16px); transition: opacity .4s .25s, transform .6s .25s var(--ease); }
.mnav.is-open .mnav-stores { opacity: 1; transform: none; }
.mnav-stores .store { padding: 12px; }
.mnav-foot { display: flex; align-items: center; gap: 16px; margin-top: 6px; opacity: 0; transition: opacity .4s .35s; }
.mnav.is-open .mnav-foot { opacity: 1; }
.mnav-face { position: absolute; right: -24px; bottom: -30px; width: 170px; color: var(--mint); opacity: .9; transform: translateY(60%) rotate(-14deg); transition: transform .8s .3s var(--ease); pointer-events: none; }
.mnav.is-open .mnav-face { transform: rotate(-14deg); }
.mnav-face .face-glasses, .mnav-face .face-bridge { transform: none; opacity: 1; }
.mnav-face .face-eyes { opacity: 0; }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Лицо bibi ---------- */
.face { overflow: visible; }
.face-glasses, .face-bridge { transform: translateY(-11px); opacity: 0; transition: transform .6s cubic-bezier(.3, 1.5, .5, 1), opacity .3s; }
.face-eyes { transition: opacity .2s .3s; }
.face-eyes circle { transform-box: fill-box; transform-origin: center; animation: blink 4.6s infinite; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
/* «В очках» — защищено (лого, кнопка после подключения, финал) */
.logo .face-glasses, .logo .face-bridge, .is-on .face-glasses, .is-on .face-bridge, .final-face .face-glasses, .final-face .face-bridge, .sticky-face .face-glasses, .sticky-face .face-bridge, .ps-icon .face-glasses, .ps-icon .face-bridge { transform: none; opacity: 1; }
.logo .face-eyes, .is-on .face-eyes, .final-face .face-eyes, .sticky-face .face-eyes, .ps-icon .face-eyes { opacity: 0; transition-delay: 0s; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; padding: calc(var(--hh) + 30px) 0 50px; display: flex; align-items: center; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 600px at 72% 45%, rgba(62, 240, 160, .07), transparent 60%), radial-gradient(600px 500px at 10% 80%, rgba(255, 255, 255, .04), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 30px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(62, 240, 160, .35); background: rgba(62, 240, 160, .07); color: var(--mint); font-size: 14px; font-weight: 500; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 var(--mint-glow); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(62, 240, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 240, 160, 0); } }
.hero-title { margin-top: 0; font-size: clamp(44px, 5.6vw, 84px); line-height: .92; text-transform: uppercase; }
.ht-line { display: block; overflow: hidden; padding-bottom: .04em; }
.ht-line > span { display: inline-block; }
.ht-line > span { animation: rise 1s calc(.1s + var(--i) * .09s) var(--ease) both; }
@keyframes rise { from { transform: translateY(105%); } }
.ht-line:last-child .scramble { color: var(--mint); text-shadow: 0 0 40px rgba(62, 240, 160, .35); }
.hero-lead { margin-top: 22px; max-width: 520px; color: var(--muted); font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta.center { justify-content: center; }
.hero-stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-copy > :not(.hero-title) { animation: fade-up .8s .3s var(--ease) both; }

/* Магазины */
.store { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-hi); background: rgba(255, 255, 255, .03); border-radius: 14px; transition: border-color .25s, background .25s, transform .4s var(--ease); }
.store:hover { border-color: var(--text); background: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.store-ic { display: grid; place-items: center; flex: none; }
.store-ic svg { width: 22px; height: 22px; }
.store-txt { display: grid; line-height: 1.15; }
.store-txt b { font-weight: 500; }
.store-txt small { color: var(--dim); font-size: 12.5px; }
.store-mini { padding: 8px 12px 8px 10px; }
.store-mini .store-txt b { font-size: 13.5px; }
.store-mini .store-txt small { font-size: 11.5px; }
.store.is-soon { opacity: .45; }
.store.is-current { border-color: var(--mint); background: rgba(62, 240, 160, .08); }

/* Сцена: глобус, кнопка, статус */
.hero-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: center; touch-action: pan-y; cursor: grab; }
.hero-stage:active { cursor: grabbing; }
.globe { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .globe { opacity: 0; transform: scale(.9); }
.is-ready .globe { opacity: 1; transform: none; transition: opacity 1.4s .2s, transform 1.6s .2s var(--ease); }
.power {
  position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; z-index: 3; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.power-core {
  position: relative; z-index: 2; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #23242c, #0b0c10 70%); border: 1px solid var(--line-hi);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .1); color: #fff;
  transition: transform .5s var(--ease), box-shadow .5s, border-color .5s, color .5s;
}
.power-core .face { width: 58%; }
.power:hover .power-core { transform: scale(1.05); }
.power:active .power-core { transform: scale(.95); }
.power.is-on .power-core { color: #050507; background: radial-gradient(circle at 35% 30%, #8dffd0, var(--mint) 60%); border-color: transparent; box-shadow: 0 0 0 10px rgba(62, 240, 160, .12), 0 0 80px var(--mint-glow); }
.power.is-busy .power-core { animation: throb .7s var(--ease-io) infinite alternate; }
@keyframes throb { to { transform: scale(1.07); box-shadow: 0 0 0 14px rgba(62, 240, 160, .15), 0 0 60px var(--mint-glow); } }
.power-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); animation: ring 2.8s var(--ease) infinite; }
.power-rings i:nth-child(2) { animation-delay: .9s; }
.power-rings i:nth-child(3) { animation-delay: 1.8s; }
.power.is-on .power-rings i { border-color: var(--mint); }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.3); opacity: 0; } }
.status {
  position: absolute; left: 0; top: 0; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px; background: rgba(11, 12, 16, .75); border: 1px solid var(--line-hi);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; white-space: nowrap;
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 10px #ff5a5a; transition: background .4s, box-shadow .4s; }
.status.is-on .status-dot { background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.status.is-on b { color: var(--mint); }
.status-ip { color: var(--dim); }
.status-ip code { font-family: ui-monospace, Menlo, monospace; color: var(--muted); }
.demo-hint { position: absolute; left: 0; right: 0; bottom: 14%; z-index: 4; text-align: center; font-size: 15px; color: var(--muted); }
.demo-hint.is-done { color: var(--mint); }
.drag-hint { display: none; }

/* Подписи стран на глобусе — позиции ставит JS */
.globe-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.gl {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 6px; border-radius: 999px;
  background: rgba(11, 12, 16, .82); border: 1px solid rgba(62, 240, 160, .35); font-size: 12.5px; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translate(0, -50%) scale(.6); transform-origin: left center; transition: opacity .35s, transform .45s cubic-bezier(.3, 1.6, .5, 1), border-color .3s;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.gl img { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; }
.gl.is-shown { opacity: 1; transform: translate(0, -50%) scale(1); }
.gl.is-left { transform-origin: right center; transform: translate(-100%, -50%) scale(.6); }
.gl.is-left.is-shown { transform: translate(-100%, -50%) scale(1); }
.gl.is-target { border-color: var(--mint); box-shadow: 0 0 20px var(--mint-glow); color: var(--mint); }
.gl:not(.is-target) { border-color: rgba(255, 255, 255, .14); color: var(--muted); }

/* Пузырь bibi у кнопки */
.bubble {
  position: absolute; left: calc(50% + 84px); top: 50%; z-index: 5; max-width: 210px; padding: 10px 14px; border-radius: 14px;
  background: #fff; color: #050507; font-size: 14px; font-weight: 500; line-height: 1.3;
  transform: translateY(-50%); box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .7); transition: opacity .3s, transform .4s var(--ease);
}
.bubble::after { content: ""; position: absolute; left: -5px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.bubble.is-swap { opacity: 0; transform: translate(-8px, -50%); }
.js .bubble { opacity: 0; }
.is-ready .bubble { opacity: 1; transition-delay: 1.2s; }
.is-ready .bubble.is-swap { opacity: 0; transition-delay: 0s; }

/* Выбор страны */
.locs { position: absolute; left: 0; right: 0; bottom: -6px; z-index: 4; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.locs::-webkit-scrollbar { display: none; }
.locs-count { flex: none; align-self: center; padding: 0 6px 0 4px; font: 700 13px var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }
.loc { flex: none; }
.loc { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 8px; border-radius: 999px; border: 1px solid var(--line-hi); background: rgba(11, 12, 16, .7); font-size: 13.5px; color: var(--muted); transition: border-color .25s, color .25s, background .25s, transform .4s var(--ease); }
.loc img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; }
.loc:hover { color: var(--text); transform: translateY(-2px); }
.loc.is-active { border-color: var(--mint); color: var(--text); background: rgba(62, 240, 160, .1); }

/* QR в hero — только для компьютеров */
.hero-qr { display: none; align-items: center; gap: 14px; margin-top: 18px; padding: 10px 16px 10px 10px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); width: max-content; font-size: 14px; color: var(--muted); }
.hero-qr img { width: 64px; height: 64px; padding: 5px; border-radius: 10px; background: #fff; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) { .hero-qr { display: flex; } }

/* Лицо bibi: живые глаза и эмоции (класс на .face-wrap или на кнопке) */
.face-eyes { transition: transform .15s; }
.power.is-hover .face-smile { d: path("M10.2 25.5C13 27.2 17 28.4 18.2 28.4C19.4 28.4 23.5 27.2 26.1 25.5"); }
.power.is-tickle .power-core { animation: tickle .5s var(--ease); }
@keyframes tickle { 20% { transform: rotate(-10deg) scale(1.08); } 45% { transform: rotate(8deg); } 70% { transform: rotate(-4deg); } }

/* ---------- Бегущая строка доверия ---------- */
.trust { position: relative; z-index: 1; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.trust-group { display: flex; }
.trust span { display: inline-flex; align-items: center; gap: 10px; padding: 18px 26px; white-space: nowrap; font-size: 15px; color: var(--muted); }
.trust svg { width: 18px; height: 18px; color: var(--mint); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Общие для секций ---------- */
section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 700 14px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.badge::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.h2 { font-size: clamp(36px, 5.6vw, 72px); text-transform: uppercase; }
.lead { margin-top: 16px; max-width: 640px; color: var(--muted); font-size: 18px; }
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Как начать: телефон ---------- */
.steps-grid { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: center; }
.step-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; }
.step { position: relative; display: flex; gap: 20px; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: border-color .4s, background .4s; }
.step::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--mint); transform: scaleX(0); transform-origin: left; }
.step.is-active { border-color: rgba(62, 240, 160, .45); background: var(--card-hi); }
.step.is-active::after { animation: step-fill var(--dur, 2.8s) linear forwards; }
@keyframes step-fill { to { transform: scaleX(1); } }
.step-n { font: 700 34px/1 var(--display); color: var(--dim); transition: color .4s; }
.step.is-active .step-n { color: var(--mint); }
.step h3 { font-size: 22px; text-transform: uppercase; }
.step p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.phone {
  position: relative; width: 300px; height: 610px; justify-self: center; border-radius: 48px; padding: 12px;
  background: linear-gradient(145deg, #2a2b33, #0d0e12); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 0 120px rgba(62, 240, 160, .08);
}
.phone-notch { position: absolute; left: 50%; top: 22px; z-index: 3; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; }
.phone-screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: radial-gradient(circle at 50% 30%, #14161c, #050507 70%); }
.ps { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 58px 18px 18px; opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .5s, transform .6s var(--ease); font-size: 13px; }
.ps.is-on { opacity: 1; transform: none; }
/* ---------- Телефон: интерфейс приложения bibi (вёрстка по экранам приложения) ---------- */
.phone-screen { background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 22px 22px, #0a0b0e; }
.ap-scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 58px 18px 18px; opacity: 0; transition: opacity .45s, transform .5s var(--ease); transform: translateX(24px); }
.ap-scene.is-on { opacity: 1; transform: none; }
.ap-h { align-self: flex-start; font: 700 21px var(--font); }
.ap-h + small { align-self: flex-start; margin-top: -6px; color: var(--dim); font-size: 12px; }
.ap-logo { display: inline-flex; align-items: center; gap: 6px; }
.ap-logo .face { width: 24px; height: 24px; }
.ap-logo b { font: 400 21px var(--font); }
.ap-logo .face-glasses, .ap-logo .face-bridge { transform: none; opacity: 1; }
.ap-logo .face-eyes { opacity: 0; }
.ap-logo.big .face { width: 40px; height: 40px; }
.ap-logo.big b { font-size: 34px; }
.ap-orb { display: grid; place-items: center; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, #16171d 55%, transparent 56%), radial-gradient(circle, transparent 60%, rgba(255,255,255,.05) 61%, transparent 75%); }
.ap-card { width: 100%; display: grid; gap: 8px; padding: 16px; border-radius: 20px; background: #15161c; border: 1px solid var(--line); }
.ap-card b { font-size: 20px; }
.ap-card small { margin-top: -6px; color: var(--dim); }
.ap-input { min-height: 40px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-hi); background: #0e0f13; color: var(--text); font-size: 14px; }
.ap-input.is-typing::after { content: "|"; color: var(--mint); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ap-btn { display: grid; place-items: center; height: 42px; border-radius: 13px; background: rgba(255,255,255,.12); color: var(--dim); font-weight: 700; transition: background .3s, color .3s, transform .2s; }
.ap-btn.white, .ap-login.is-ready .ap-btn { background: #fff; color: #050507; }
.ap-btn.is-press { transform: scale(.95); }
.ap-boxes { display: flex; gap: 6px; width: 100%; margin-top: 8px; }
.ap-boxes i { flex: 1; height: 42px; border-radius: 10px; border: 1px solid var(--line-hi); background: rgba(255,255,255,.04); display: grid; place-items: center; font: 700 18px var(--font); font-style: normal; color: var(--text); transition: border-color .2s; }
.ap-boxes i.is-filled { border-color: var(--mint); }
.ap-code { justify-content: flex-start; padding-top: 70px; }
.ap-pad { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 10px 14px; border-radius: 22px 22px 0 0; background: #1b1c22; }
.ap-pad span { display: grid; place-items: center; height: 34px; border-radius: 9px; background: #2a2b33; font-size: 16px; transition: background .15s, transform .15s; }
.ap-pad span.blank { background: none; }
.ap-pad span.is-hit { background: #4a4c57; transform: scale(.94); }
.ap-locs { justify-content: flex-start; gap: 7px; padding-top: 56px; padding-bottom: 64px; }
.ap-auto { width: 100%; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-weight: 500; }
.ap-grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.ap-loc { display: grid; justify-items: center; gap: 1px; padding: 6px 3px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); text-align: center; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.ap-loc img { width: 18px; height: 13px; border-radius: 2px; margin-bottom: 1px; }
.ap-loc b { font-size: 9.5px; font-weight: 500; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ap-loc small { color: var(--dim); font-size: 8px; }
.ap-locs.is-picked .ap-loc.is-pick { border-color: var(--line-hi); background: rgba(255,255,255,.1); transform: scale(1.06); }
.ap-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 8px 6px 12px; border-top: 1px solid var(--line); background: #0c0d11; }
.ap-tabs span { display: grid; justify-items: center; gap: 3px; font-size: 9.5px; color: var(--dim); }
.ap-tabs span.on { color: var(--text); }
.ap-ti { width: 26px; height: 18px; border-radius: 9px; }
.ap-tabs span.on .ap-ti { background: rgba(255,255,255,.12); }
.ap-ti::before { content: ""; display: block; width: 10px; height: 10px; margin: 4px auto 0; border: 1.5px solid currentColor; border-radius: 3px; }
.ap-ti-1::before { border-radius: 50%; }
.ap-ti-3::before { border-radius: 50%; border-style: dotted; }
.ap-top { position: absolute; top: 44px; left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; }
.ap-top .ap-logo .face { width: 20px; height: 20px; }
.ap-top .ap-logo b { font-size: 17px; }
.ap-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-hi); background: rgba(255,255,255,.04); font-size: 10.5px; }
.ap-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.ap-pill em { font-style: normal; }
.ap-pill.big { margin-top: 10px; font-size: 13px; padding: 7px 14px; }
.ap-plus { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-hi); font-size: 16px; }
.ap-main { padding-bottom: 70px; gap: 8px; }
.ap-power { position: relative; display: grid; place-items: center; width: 150px; height: 150px; margin: 14px 0 6px; border-radius: 50%; background: radial-gradient(circle, #1a1b21 58%, transparent 59%), radial-gradient(circle, transparent 64%, rgba(255,255,255,.04) 65%, transparent 80%); transition: box-shadow .5s; }
.ap-arc { position: absolute; inset: 0; transform: rotate(-90deg); }
.ap-arc circle { fill: none; stroke: transparent; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--off, 100); transition: stroke .3s; }
.ap-pw { color: var(--text); margin-top: -12px; }
.ap-pw svg { width: 40px; height: 40px; }
.ap-pct { display: none; font: 700 30px var(--font); color: #f5a623; margin-top: -10px; }
.ap-pl { position: absolute; bottom: 42px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ap-state { font: 700 19px var(--display); text-transform: uppercase; letter-spacing: .03em; }
.ap-sub { color: var(--dim); font-size: 11px; margin-top: -6px; text-align: center; }
.ap-timer { display: none; font-family: ui-monospace, Menlo, monospace; font-size: 14px; color: var(--muted); }
.ap-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-hi); background: rgba(255,255,255,.04); font-size: 11px; }
.ap-chip img { width: 18px; height: 13px; border-radius: 2px; }
.ap-speed { display: none; width: 100%; grid-template-columns: 1fr 1fr; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 9.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.ap-speed b { display: block; margin-top: 2px; font: 700 15px var(--font); color: var(--text); letter-spacing: 0; text-transform: none; }
.l-ing, .l-on { display: none; }
.ap-main.is-ing .l-off, .ap-main.is-prot .l-off, .ap-main.is-prot .l-ing { display: none; }
.ap-main.is-ing .l-ing, .ap-main.is-prot .l-on { display: inline; }
.ap-main.is-ing .ap-arc circle { stroke: #f5a623; }
.ap-main.is-ing .ap-pw { display: none; }
.ap-main.is-ing .ap-pct { display: block; }
.ap-main.is-ing .ap-state { color: #f5a623; }
.ap-main.is-prot .ap-arc circle { stroke: var(--mint); }
.ap-main.is-prot .ap-power { box-shadow: 0 0 60px -10px var(--mint-glow); }
.ap-main.is-prot .ap-pw { color: var(--mint); }
.ap-main.is-prot .ap-state { color: var(--mint); }
.ap-main.is-prot .ap-timer { display: block; }
.ap-main.is-prot .ap-speed { display: grid; }
.ap-main.is-prot .ap-chip { display: none; }
.ap-bar { position: absolute; top: 44px; left: 14px; right: 14px; text-align: center; color: var(--muted); }
.ap-bar b { color: var(--text); }
.ps-2 { justify-content: flex-start; padding-top: 80px; gap: 10px; }
.ap-plans { width: 100%; display: grid; gap: 7px; }
.ap-plan { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: border-color .4s, background .4s, transform .4s var(--ease); }
.ap-plan > span { display: grid; gap: 1px; }
.ap-plan b { font-size: 12.5px; font-weight: 500; }
.ap-plan small { color: var(--dim); font-size: 10px; }
.ap-pr { text-align: right; }
.ap-pr b { font: 700 14px var(--font); }
.ap-pr small { color: var(--mint); }
.ps-2.is-picked .ap-plan.is-pick { border-color: #fff; background: rgba(255,255,255,.08); transform: scale(1.03); }
.ap-note { color: var(--dim); font-size: 10.5px; }
.ps-2 .ap-btn { width: 100%; }
.ap-sheet { width: 100%; display: grid; gap: 12px; }
.ps-sbp { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.06); }
.ps-sbp img { height: 26px; width: auto; border-radius: 4px; }
.ps-banks { width: 100%; display: grid; gap: 7px; }
.ps-banks small { color: var(--dim); }
.ps-bank { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 13.5px; transition: border-color .4s, background .4s, transform .4s var(--ease); }
.ps-bank i { width: 22px; height: 22px; border-radius: 7px; background: hsl(var(--h) 70% 45%); }
.ps-3.is-picked .ps-bank.is-pick { border-color: var(--mint); background: rgba(62, 240, 160, .12); transform: scale(1.03); }
.ps-paid { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; background: radial-gradient(circle at 50% 40%, rgba(62, 240, 160, .18), transparent 70%), #0a0b0e; opacity: 0; transform: scale(1.06); transition: opacity .5s, transform .6s var(--ease); }
.ps-3.is-paid .ps-paid { opacity: 1; transform: none; }
.ps-check { display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: var(--mint); color: #050507; box-shadow: 0 0 0 14px rgba(62, 240, 160, .12), 0 0 60px var(--mint-glow); }
.ps-check svg { width: 46px; height: 46px; }
.ps-paid b { font: 700 26px var(--display); }
.ps-paid small { color: var(--mint); font-size: 14px; }

/* Логотипы банков — на белых плашках, чтобы тёмные знаки читались на тёмном фоне */
.step-banks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.bank-chip { display: inline-grid; place-items: center; height: 30px; padding: 0 10px; border-radius: 9px; background: #fff; }
.bank-chip img { height: 16px; width: auto; display: block; }
.ps-bank { padding: 7px 8px; }
.ps-bank .bank-chip { height: 28px; }

/* Помощник bibi */
.buddy { position: fixed; left: 22px; bottom: 22px; z-index: 55; display: flex; align-items: flex-end; gap: 10px; pointer-events: none; }
.buddy-face {
  pointer-events: auto; width: 62px; height: 62px; padding: 11px; border-radius: 50%; color: #050507; background: radial-gradient(circle at 35% 30%, #8dffd0, var(--mint) 65%);
  box-shadow: 0 12px 40px -6px var(--mint-glow); transform: translateY(calc(100% + 140px)); transition: transform .7s cubic-bezier(.3, 1.5, .5, 1);
}
.buddy-face .face { width: 100%; height: 100%; }
.buddy-face .face-glasses, .buddy-face .face-bridge { transform: none; opacity: 1; }
.buddy-face .face-eyes { opacity: 0; }
.buddy.is-on .buddy-face { transform: none; animation: bob 3.2s 1s var(--ease-io) infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-4deg); } }
.buddy-bubble {
  position: relative; max-width: 280px; padding: 11px 34px 11px 14px; border-radius: 16px 16px 16px 4px; background: #fff; color: #050507; font-size: 14px; font-weight: 500; line-height: 1.35;
  opacity: 0; transform: translateY(10px) scale(.92); transform-origin: left bottom; transition: opacity .3s, transform .45s cubic-bezier(.3, 1.5, .5, 1); pointer-events: none;
}
.buddy.is-talking .buddy-bubble { opacity: 1; transform: none; pointer-events: auto; }
.buddy-x { position: absolute; right: 6px; top: 4px; width: 24px; height: 24px; font-size: 18px; color: #888; }
.buddy.is-hidden { display: none; }

/* ---------- Оплата на странице ---------- */
.pay {
  width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 22px 24px 18px; border: 1px solid var(--line-hi); border-radius: 26px;
  background: #0c0d11; color: var(--text); overflow-y: auto; overscroll-behavior: contain;
}
.pay::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pay[open] { animation: pay-in .5s var(--ease); }
@keyframes pay-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.pay-head { display: flex; align-items: center; gap: 12px; }
.pay-face { width: 42px; height: 42px; padding: 7px; border-radius: 12px; background: var(--mint); color: #050507; flex: none; }
.pay-face .face { width: 100%; height: 100%; }
.pay-face .face-glasses, .pay-face .face-bridge { transform: none; opacity: 1; }
.pay-face .face-eyes { opacity: 0; }
.pay.is-happy .pay-face { animation: tickle .6s var(--ease); }
.pay-head h2 { flex: 1; font-size: 24px; text-transform: uppercase; }
.pay-x { width: 38px; height: 38px; border-radius: 12px; font-size: 24px; color: var(--muted); }
.pay-x:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.pay-dots { list-style: none; display: flex; gap: 6px; margin: 16px 0 18px; padding: 0; }
.pay-dots li { flex: 1; height: 3px; border-radius: 2px; background: var(--line-hi); transition: background .4s; }
.pay-dots li.is-on { background: var(--mint); }
.pay-step { display: grid; gap: 12px; }
.pay-step[hidden] { display: none; }
.pay-step:not([hidden]) { animation: fade-up .45s var(--ease); }
.pay-label { font: 700 15px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pay-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pay-plan input { position: absolute; opacity: 0; pointer-events: none; }
.pay-plan span { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-hi); cursor: pointer; transition: border-color .2s, background .2s; }
.pay-plan b { font-weight: 500; font-size: 15px; }
.pay-plan i { font: 700 20px var(--display); font-style: normal; }
.pay-plan input:checked + span { border-color: var(--mint); background: rgba(62, 240, 160, .09); }
.pay-plan input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }
.pay-field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.pay-field input { padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line-hi); background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; font-size: 17px; transition: border-color .2s, box-shadow .2s; }
.pay-field input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(62, 240, 160, .14); }
.pay-hint { color: var(--dim); font-size: 13.5px; line-height: 1.45; }
.pay-err { min-height: 0; color: #ff7a7a; font-size: 14px; }
.pay-err:empty { display: none; }
.pay-go { width: 100%; margin-top: 4px; }
.pay-back { justify-self: center; font-size: 14px; }
.pay-devices { display: grid; gap: 8px; }
.pd { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line-hi); cursor: pointer; transition: border-color .2s, background .2s; }
.pd input { position: absolute; opacity: 0; }
.pd:has(input:checked) { border-color: var(--mint); background: rgba(62, 240, 160, .09); }
.pd-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .06); flex: none; }
.pd-ic svg { width: 22px; height: 22px; }
.pd-txt { display: grid; gap: 2px; font-size: 13.5px; color: var(--dim); }
.pd-txt b { color: var(--text); font-size: 15.5px; font-weight: 500; }
.pay-sum { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px; padding: 14px 16px; border-radius: 16px; background: rgba(62, 240, 160, .07); border: 1px solid rgba(62, 240, 160, .25); }
.pay-sum b { font: 700 30px var(--display); color: var(--mint); }
.pay-sum small { grid-column: 1 / -1; color: var(--muted); font-size: 13.5px; }
.pay-methods { display: grid; gap: 8px; }
.pm { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-hi); background: rgba(255, 255, 255, .03); text-align: left; transition: border-color .2s, background .2s, transform .3s var(--ease); }
.pm:hover:not(:disabled) { border-color: var(--text); transform: translateY(-1px); }
.pm:disabled { opacity: .5; cursor: wait; }
.pm img { height: 26px; width: auto; border-radius: 5px; flex: none; }
.pm > span:not(.pm-card) { flex: 1; display: grid; gap: 1px; }
.pm b { font-size: 16px; }
.pm small { color: var(--dim); font-size: 12.5px; }
.pm > svg { width: 18px; height: 18px; color: var(--dim); }
.pm-sbp { border-color: rgba(62, 240, 160, .45); background: rgba(62, 240, 160, .07); }
.pm-card { width: 38px; height: 26px; border-radius: 5px; flex: none; background: linear-gradient(135deg, #3a3d4a, #1c1d24); box-shadow: inset 0 -6px 0 rgba(255, 255, 255, .08); }
.pay-secure { color: var(--dim); font-size: 12.5px; line-height: 1.45; }
.pay-wait { justify-items: center; padding: 30px 0; color: var(--muted); text-align: center; }
.pay-reopen { margin-top: 14px; font-size: 15px; }
.pay-spin { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--line-hi); border-top-color: var(--mint); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-share { font-size: 14px; }
.pay-bot { margin-top: 14px; justify-content: center; width: 100%; font-size: 14px; }
html.pay-open { overflow: hidden; }

/* ---------- Преимущества (бенто) ---------- */
.feat-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat { position: relative; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: border-color .3s, transform .5s var(--ease); }
.feat::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(62, 240, 160, .12), transparent 45%); }
.feat:hover { border-color: rgba(62, 240, 160, .35); }
.feat:hover::before { opacity: 1; }
.feat-art { height: 84px; margin-bottom: 18px; color: var(--mint); }
.feat-art svg { height: 100%; width: auto; }
.feat h3 { font-size: 26px; text-transform: uppercase; }
.feat p { margin-top: 10px; color: var(--muted); font-size: 16px; }
/* Мини-анимации — запускаются, когда карточка видна */
.speed-arc { stroke-dasharray: 100; stroke-dashoffset: 100; }
.speed-needle { transform-origin: 60px 62px; transform: rotate(-80deg); }
.feat.is-in .speed-arc { animation: arc 1.6s .2s var(--ease) forwards; }
.feat.is-in .speed-needle { animation: needle 1.6s .2s var(--ease) forwards, jitter 2.4s 1.8s var(--ease-io) infinite; }
@keyframes arc { to { stroke-dashoffset: 12; } }
@keyframes needle { to { transform: rotate(62deg); } }
@keyframes jitter { 50% { transform: rotate(55deg); } }
.wave { stroke-dasharray: 8 6; animation: wave 1.2s linear infinite; opacity: .5; }
@keyframes wave { to { stroke-dashoffset: -28; } }
.bars rect { transform-box: fill-box; transform-origin: bottom; animation: bar 1.8s calc(var(--i) * .15s) var(--ease-io) infinite alternate; }
@keyframes bar { from { transform: scaleY(.55); } }
.shackle { transform-origin: 70px 30px; animation: lock 2.6s var(--ease) infinite; }
@keyframes lock { 0%, 30% { transform: translateY(-7px) rotate(0); } 50%, 100% { transform: none; } }
.bits text { animation: bits 2.6s steps(2) infinite; }
@keyframes bits { 50% { opacity: .15; } }
.strike { stroke-dasharray: 100; stroke-dashoffset: 100; }
.feat.is-in .strike { animation: strike .8s .5s var(--ease) forwards; }
@keyframes strike { to { stroke-dashoffset: 0; } }
.pupil { animation: look 3s var(--ease-io) infinite; }
@keyframes look { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.knob { animation: knob 2.4s var(--ease) infinite; }
@keyframes knob { 0%, 35% { transform: none; } 50%, 85% { transform: translateX(26px); } }

/* ---------- Устройства ---------- */
.platforms { position: relative; }
.plat-perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.plat-perks span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(62, 240, 160, .28); background: rgba(62, 240, 160, .07); color: var(--text); font-size: 14px; }
.plat-perks svg { width: 15px; height: 15px; color: var(--mint); }
.plat-grid { position: relative; margin-top: 36px; display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: stretch; padding: 22px; border-radius: 30px; border: 1px solid var(--line-hi); background: radial-gradient(70% 90% at 15% 0%, rgba(62, 240, 160, .13), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgba(62, 240, 160, .07), transparent 60%), rgba(255, 255, 255, .015); box-shadow: 0 40px 120px -60px var(--mint-glow); }
.plat-grid::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask: radial-gradient(80% 70% at 30% 20%, #000, transparent); mask: radial-gradient(80% 70% at 30% 20%, #000, transparent); }
.plat-stores { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.store-big { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 196px; padding: 20px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); }
.store-big::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 0% 0%, rgba(62, 240, 160, .22), transparent 55%); opacity: 0; transition: opacity .4s; }
.store-big:hover { border-color: rgba(62, 240, 160, .6); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); transform: translateY(-4px); box-shadow: 0 24px 60px -30px var(--mint-glow); }
.store-big:hover::before { opacity: 1; }
.store-big .store-ic { position: relative; width: 52px; height: 52px; border-radius: 15px; background: #fff; color: #050507; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .35); }
.store-big .store-ic svg { width: 26px; height: 26px; }
.store-big .store-txt { gap: 4px; }
.store-big .store-txt b { font-size: 20px; }
.store-big .store-txt small { font-size: 13.5px; }
.store-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 14px; font-weight: 600; transition: background .3s, color .3s, gap .3s; }
.store-go svg { width: 16px; height: 16px; }
.store-big:hover .store-go { background: var(--mint); color: #050507; gap: 12px; }
.store-big.is-current { order: -1; border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint), 0 24px 70px -24px var(--mint-glow); background: linear-gradient(180deg, rgba(62, 240, 160, .14), rgba(62, 240, 160, .03)); }
.store-big.is-current .store-ic { background: var(--mint); box-shadow: 0 10px 34px -8px var(--mint-glow); }
.store-big.is-current .store-go { background: var(--mint); color: #050507; }
.store-big.is-current::after { content: attr(data-yours); position: absolute; top: 16px; right: 16px; padding: 5px 11px; border-radius: 999px; background: var(--mint); color: #050507; font-size: 12px; font-weight: 700; }
/* Ещё недоступные версии: замок, без клика */
.store.is-locked { opacity: 1; cursor: not-allowed; border-style: dashed; border-color: rgba(255, 255, 255, .14); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0 10px, transparent 10px 20px); }
.store.is-locked:hover { transform: none; box-shadow: none; border-color: rgba(255, 255, 255, .22); }
.store.is-locked::before { display: none; }
.store.is-locked .store-ic { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .45); box-shadow: none; }
.store.is-locked .store-txt b { color: rgba(255, 255, 255, .6); }
.store-lock { position: absolute; right: -7px; bottom: -7px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #1b1c22; border: 1px solid rgba(255, 255, 255, .18); color: #f5c451; }
.store-big .store-lock svg { width: 12px; height: 12px; }
.store-go.is-lock { background: rgba(245, 196, 81, .1); color: #f5c451; text-transform: lowercase; }
.store-go.is-lock svg { width: 13px; height: 13px; }
.store.is-locked:hover .store-lock { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: rotate(-14deg); } 40%, 80% { transform: rotate(14deg); } }
.plat-help { grid-column: 1 / -1; margin-top: 6px; font-size: 15px; }
.qr-card { position: relative; display: grid; align-content: center; justify-items: center; gap: 18px; padding: 28px; border-radius: 22px; border: 1px solid var(--line-hi); background: var(--card); text-align: center; }
.qr-card img { width: 180px; height: 180px; padding: 10px; border-radius: 16px; background: #fff; }
.qr-card h3 { font-size: 22px; text-transform: uppercase; }
.qr-card p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ---------- Тарифы ---------- */
.live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(62, 240, 160, .1); font: 500 12px var(--font); letter-spacing: 0; text-transform: none; }
.live::before { display: none; }
.live[hidden] { display: none; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: ping 1.8s infinite; }
.plans { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 24px; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--card); transition: transform .5s var(--ease), border-color .3s, box-shadow .3s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-hi); }
.plan.is-best { border-color: var(--mint); background: linear-gradient(180deg, rgba(62, 240, 160, .09), var(--card) 60%); box-shadow: 0 30px 80px -30px var(--mint-glow); }
.plan-flag { position: absolute; top: -12px; left: 22px; padding: 5px 12px; border-radius: 999px; background: var(--mint); color: #050507; font-size: 12.5px; font-weight: 700; }
.plan-flag.is-alt { background: #fff; }
.plan-term { font: 700 22px var(--display); text-transform: uppercase; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.plan-price b { font: 700 44px/1 var(--display); }
.plan-price s { color: var(--dim); font-size: 16px; }
.plan-month { color: var(--muted); font-size: 15px; }
.plan-save { align-self: flex-start; margin-top: 4px; padding: 3px 9px; border-radius: 8px; background: rgba(62, 240, 160, .12); color: var(--mint); font-size: 13px; font-weight: 700; }
.plan-save.is-empty { visibility: hidden; }
.plan-cta { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.plan-cta svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.plan:hover .plan-cta svg { transform: translateX(4px); }
.plan.is-best .plan-cta { color: var(--mint); }
.plans-foot { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; }
.notes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; color: var(--muted); font-size: 15px; }
.notes li { display: inline-flex; align-items: center; gap: 8px; }
.notes svg { width: 17px; height: 17px; color: var(--mint); }
.paylogos { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 14px; }
.paylogos img { height: 22px; width: auto; border-radius: 4px; }

/* ---------- Инструкции ---------- */
.tabs { position: relative; display: inline-flex; gap: 4px; margin-top: 34px; padding: 5px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); }
.tab { position: relative; z-index: 1; padding: 11px 24px; border-radius: 12px; font-weight: 500; color: var(--muted); transition: color .3s; }
.tab.is-active { color: #050507; }
.tab-ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 12px; background: #fff; transition: left .5s var(--ease), width .5s var(--ease); }
.guide-panel { margin-top: 26px; }
.guide-panel.is-active { animation: fade-up .6s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
.guide-time { color: var(--dim); font-size: 14px; }
.guide-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-step { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.gs-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(62, 240, 160, .12); color: var(--mint); font: 700 18px var(--display); }
.gs-text h3 { font-size: 20px; text-transform: uppercase; }
.gs-text p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.mini-phone { border-radius: 18px; border: 1px solid var(--line-hi); background: #08090c; overflow: hidden; font-size: 13.5px; }
.mp-bar { padding: 9px 14px; background: rgba(255, 255, 255, .05); color: var(--dim); font-size: 12.5px; text-align: center; }
.mp-body { display: grid; gap: 10px; padding: 14px; }
.mp-row { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.mp-btn { justify-self: center; padding: 8px 22px; border-radius: 999px; background: #2f6bff; color: #fff; font-weight: 700; }
.mp-btn.is-go { background: var(--mint); color: #050507; animation: go 1.6s var(--ease-io) infinite; }
@keyframes go { 50% { box-shadow: 0 0 0 8px rgba(62, 240, 160, .15); } }
.guide-cta { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.help { margin-top: 26px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.help .link { color: var(--mint); }

/* ---------- iPhone: моушен смены региона App Store (по экранам iOS) ---------- */
.ios-grid { display: grid; grid-template-columns: 1fr 330px; gap: 50px; align-items: center; margin-top: 14px; }
.ios-title { font-size: 24px; text-transform: uppercase; margin-bottom: 16px; }
.ios-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ios-step { position: relative; display: flex; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); cursor: pointer; overflow: hidden; transition: border-color .3s, background .3s; }
.ios-step::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--mint); transform: scaleX(0); transform-origin: left; }
.ios-step.is-active { border-color: rgba(62, 240, 160, .45); background: var(--card-hi); }
.ios-step.is-active::after { animation: step-fill var(--dur, 3s) linear forwards; }
.ios-step b { display: block; font-weight: 700; }
.ios-step p { margin-top: 3px; color: var(--muted); font-size: 14.5px; }
.ios-share, .ios-replay { font-size: 14px; }
.as-phone { width: 300px; height: 620px; }
.as-screen { background: #000; font-family: -apple-system, "SF Pro Text", var(--font); color: #f2f2f7; overflow: hidden; }
.as-sb { position: absolute; top: 0; left: 0; right: 0; z-index: 8; display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 14px 26px 0 30px; font-size: 12px; }
.as-sb span { display: flex; gap: 4px; align-items: center; }
.as-sb i { display: block; background: #f2f2f7; border-radius: 2px; }
.as-sb .sig { width: 14px; height: 8px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.as-sb .wifi { width: 12px; height: 9px; border-radius: 12px 12px 2px 2px; }
.as-sb .bat { width: 20px; height: 9px; border-radius: 3px; }
.as { position: absolute; inset: 0; padding: 50px 10px 12px; display: flex; flex-direction: column; gap: 9px; opacity: 0; transform: translateX(28px); transition: opacity .45s, transform .6s var(--ease); font-size: 11.5px; }
.as.is-on { opacity: 1; transform: none; }
.as-sheet-bg { top: 40px; padding-top: 12px; border-radius: 16px 16px 0 0; background: #171719; overflow: hidden; }
.as-vp { flex: 1; min-height: 0; overflow: hidden; margin: 0 -10px; padding: 0 10px; }
.s-pay .as-head b { font-size: 12.5px; }
.as-head { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; min-height: 30px; }
.as-head b { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600; }
.as-hr { justify-self: end; }
.as-ring { width: 14px; height: 14px; border-radius: 50%; border: 2px dotted #c36bff; }
.as-x, .as-back, .as-ok { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #2c2c2e; color: #e5e5ea; font-size: 12px; }
.as-back { font-size: 18px; }
.as-ok { background: #0a84ff; color: #fff; font-weight: 700; font-size: 14px; }
.as-ava { display: inline-block; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #ff9f6e, #c36bff); flex: none; }
.as-big { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 2px; }
.as-big b { font-size: 24px; font-weight: 800; }
.as-big .as-ava { width: 30px; height: 30px; }
.as-card { position: relative; height: 112px; border-radius: 16px; background: linear-gradient(135deg, #e6762d, #d9502e); }
.as-card.big { height: 250px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 14px; background: linear-gradient(165deg, #6a3dff, #ff4f9a); }
.as-card small { position: absolute; left: 12px; top: 12px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.25); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.as-card b { font-size: 17px; line-height: 1.15; }
.as-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 8px 4px 14px; background: rgba(28,28,30,.92); border-top: 1px solid #2c2c2e; }
.as-tabs span { display: grid; justify-items: center; gap: 2px; font-size: 8.5px; color: #8e8e93; }
.as-tabs span.on { color: #0a84ff; }
.as-tabs i { width: 16px; height: 14px; border-radius: 4px; background: currentColor; opacity: .85; }
.as-group { border-radius: 11px; background: #2c2c2e; overflow: hidden; flex: none; }
.as-row { position: relative; display: flex; align-items: center; gap: 9px; min-height: 34px; padding: 7px 11px; border-bottom: 1px solid #3a3a3c; transition: background .25s; }
.as-row:last-child { border-bottom: 0; }
.as-row > span:first-child { flex: 1; }
.as-row em { font-style: normal; color: #8e8e93; max-width: 112px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-row.blue span { color: #0a84ff; }
.as-row.two span small { display: block; color: #8e8e93; font-size: 9.5px; }
.as-chev { font-style: normal; color: #636366; font-size: 15px; }
.as-me { min-height: 50px; }
.as-row.as-me > span.as-ava { flex: 0 0 28px; width: 28px; height: 28px; }
.as-me span:nth-child(2) { flex: 1; display: grid; }
.as-me small { color: #8e8e93; font-size: 9.5px; }
.as-gc { display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; background: #48484a; font-size: 10px; }
.as-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.as-pair span { padding: 9px 4px; border-radius: 14px; background: #2c2c2e; color: #0a84ff; text-align: center; font-size: 9.5px; line-height: 1.5; }
.as-toggle { width: 34px; height: 20px; border-radius: 10px; background: #30d158; position: relative; }
.as-toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.as-cap { color: #8e8e93; font-size: 10.5px; padding: 3px 6px 0; }
.as-list { display: grid; gap: 6px; padding-right: 14px; transition: opacity .3s; }
.as-letter { color: #8e8e93; font-size: 10.5px; padding-left: 4px; }
.as-index { position: absolute; right: 2px; top: 60px; display: grid; gap: 1px; font-size: 7px; color: #0a84ff; text-align: center; font-style: normal; }
.as-index i { font-style: normal; }
.as-results { display: none; }
.s-region.is-typing .as-list, .s-region.is-typing .as-index { display: none; }
.s-region.is-typing .as-results { display: grid; gap: 6px; }
.as-kz { opacity: 0; transition: opacity .3s; }
.s-region.has-result .as-kz { opacity: 1; }
.as-search { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 10px; background: #2c2c2e; color: #8e8e93; flex: none; }
.as-search em { font-style: normal; color: #f2f2f7; }
.as-search em.is-typing::after { content: "|"; color: #0a84ff; animation: caret 1s steps(1) infinite; }
.as-search.bottom { position: absolute; left: 10px; right: 10px; bottom: 16px; transition: bottom .45s var(--ease); }
.s-region.is-typing .as-search.bottom { bottom: 166px; }
.as-kb { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 5px; padding: 8px 4px 14px; background: #2b2b2e; transform: translateY(100%); transition: transform .45s var(--ease); }
.s-region.is-typing .as-kb { transform: none; }
.as-kb div { display: flex; justify-content: center; gap: 3px; }
.as-kb i { display: grid; place-items: center; width: 21px; height: 28px; border-radius: 5px; background: #6b6b70; font-style: normal; font-size: 11px; transition: background .12s; }
.as-kb i.w { width: 40px; background: #4a4a4f; }
.as-kb i.sp { width: 130px; }
.as-kb i.go { background: #0a84ff; }
.as-kb i.hit { background: #a1a1a6; }
.as-doc { display: grid; gap: 8px; padding: 10px 6px 0; }
.as-doc > b { font-size: 16px; line-height: 1.2; }
.as-doc .lead { color: #8e8e93; font-size: 12.5px; line-height: 1.35; margin-top: -4px; }
.as-doc .blue { color: #0a84ff; }
.as-doc .em { font-weight: 600; margin-top: 4px; }
.as-doc ul { margin: 0; padding-left: 16px; display: grid; gap: 8px; color: #e5e5ea; font-size: 10.5px; line-height: 1.35; }
.as-doc ul b { font-size: 10.5px; }
.as-lines { display: grid; gap: 6px; }
.as-lines i { height: 7px; border-radius: 4px; background: #2c2c2e; }
.as-lines i:nth-child(3n) { width: 70%; }
.as-btns { margin-top: auto; display: grid; gap: 8px; padding: 0 4px 6px; }
.as-btn { display: grid; place-items: center; height: 38px; border-radius: 19px; background: #2c2c2e; color: #f2f2f7; font-weight: 600; transition: transform .2s; }
.as-btn.blue { background: #0a84ff; color: #fff; }
.as-btn.ghost { background: none; border: 1px solid #3a3a3c; }
.as-alert { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .35s; pointer-events: none; }
.s-terms.is-alert .as-alert { opacity: 1; }
.as-alert > div { width: 82%; border-radius: 14px; background: #2c2c2e; text-align: center; overflow: hidden; transform: scale(1.1); transition: transform .35s var(--ease); }
.s-terms.is-alert .as-alert > div { transform: none; }
.as-alert b { display: block; padding: 14px 12px 4px; font-size: 13px; }
.as-alert p { padding: 0 14px 12px; color: #e5e5ea; font-size: 11px; }
.as-al-btns { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #48484a; }
.as-al-btns i { padding: 10px; font-style: normal; color: #0a84ff; }
.as-al-btns i + i { border-left: 1px solid #48484a; font-weight: 700; }
.as-scroll { display: flex; flex-direction: column; gap: 8px; transition: transform .8s var(--ease); }
.as-none .as-tick { color: #0a84ff; font-weight: 700; opacity: 0; transition: opacity .2s; }
.s-pay.is-none .as-tick { opacity: 1; }
.as-field { display: flex; align-items: center; min-height: 34px; padding: 6px 11px; border-bottom: 1px solid #3a3a3c; transition: background .25s; }
.as-field:last-child { border-bottom: 0; }
.as-field > span { width: 82px; flex: none; }
.as-field em { font-style: normal; color: #f2f2f7; }
.as-field em:empty::before { content: attr(data-ph); color: #636366; }
.as-field.dim { color: #636366; }
.as-field.dim em { color: #636366; }
.as-field.as-reg em::after { content: " ⇕"; color: #636366; }
.as-picker { position: absolute; right: 10px; top: 150px; z-index: 6; display: grid; width: 150px; padding: 6px 0; border-radius: 12px; background: #3a3a3c; box-shadow: 0 20px 40px rgba(0,0,0,.6); font-size: 11px; opacity: 0; transform: scale(.9); transform-origin: top right; transition: opacity .25s, transform .3s var(--ease); pointer-events: none; }
.s-pay.is-pick .as-picker { opacity: 1; transform: none; }
.as-picker i { padding: 5px 14px; font-style: normal; }
.as-picker i.alm.hl { background: #0a84ff; border-radius: 6px; margin: 0 4px; }
.as-country .v-new { display: none; }
.as-country.is-new em { color: var(--mint); }
.as-country.is-new { background: rgba(62, 240, 160, .12); }
.as-app { display: flex; align-items: center; gap: 10px; padding: 8px 2px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); }
.s-find.has-result .as-app, .s-find.has-result .as-shots { opacity: 1; transform: none; }
.as-icon { width: 52px; height: 52px; padding: 10px; border-radius: 12px; background: #fff; color: #050507; flex: none; }
.as-icon .face { width: 100%; height: 100%; }
.as-icon .face-glasses, .as-icon .face-bridge { transform: none; opacity: 1; }
.as-icon .face-eyes { opacity: 0; }
.as-app > span:nth-child(2) { flex: 1; display: grid; }
.as-app small { color: #8e8e93; }
.as-get { display: grid; place-items: center; min-width: 74px; height: 28px; border-radius: 999px; background: #2c2c2e; color: #0a84ff; font-weight: 700; }
.as-get em { font-style: normal; }
.as-get .spin, .as-get .o { display: none; }
.s-find.is-loading .as-get .g { display: none; }
.s-find.is-loading .as-get { min-width: 28px; background: none; }
.s-find.is-loading .as-get .spin { display: block; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #2c2c2e; border-top-color: #0a84ff; animation: spin .8s linear infinite; }
.s-find.is-done .as-get .g, .s-find.is-done .as-get .spin { display: none; }
.s-find.is-done .as-get .o { display: inline; }
.as-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; opacity: 0; transform: translateY(10px); transition: opacity .5s .1s, transform .5s .1s var(--ease); }
.as-shots img { width: 100%; height: auto; border-radius: 9px; border: 1px solid #2c2c2e; }
.s-find { padding-top: 56px; }
/* Палец и подсказка */
.as-tapdot { position: absolute; left: 0; top: 0; z-index: 9; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(255, 255, 255, .35); border: 2px solid rgba(255, 255, 255, .9); opacity: 0; pointer-events: none; }
.as-tapdot.is-tap { animation: tapdot .7s var(--ease); }
@keyframes tapdot { 0% { opacity: 0; transform: scale(1.6); } 30% { opacity: 1; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.15); } }
.as-tip {
  position: absolute; left: 0; top: 0; z-index: 10; max-width: 200px; padding: 7px 11px; border-radius: 10px; background: var(--mint); color: #050507;
  font: 700 11.5px/1.25 var(--font); white-space: nowrap; box-shadow: 0 10px 30px -8px rgba(0,0,0,.8); pointer-events: none;
  opacity: 0; transform: translate(-50%, calc(-100% - 22px)) scale(.9); transition: opacity .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.as-tip::after { content: ""; position: absolute; left: calc(50% + var(--ax, 0px)); bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: var(--mint); transform: rotate(45deg); border-radius: 2px; }
.as-tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 22px)) scale(1); }
.as-tip.below { transform: translate(-50%, 24px) scale(.9); }
.as-tip.below.is-on { transform: translate(-50%, 24px) scale(1); }
.as-tip.below::after { top: -5px; bottom: auto; }
.as .is-focus { box-shadow: inset 0 0 0 2px var(--mint); }
.as .is-pressed { background: #48484a !important; }
.as-btn.is-pressed { transform: scale(.96); }
@media (max-width: 860px) {
  .ios-grid { grid-template-columns: 1fr; gap: 24px; }
  .as-phone { order: -1; justify-self: center; width: 280px; height: 580px; }
  .as-card.big { height: 210px; }
}

/* ---------- Android/Windows: скачать напрямую ---------- */
.direct {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 22px; margin-top: 22px; padding: 22px 24px; border-radius: 22px;
  border: 1px solid rgba(62, 240, 160, .4); background: radial-gradient(500px 200px at 0% 0%, rgba(62, 240, 160, .12), transparent 70%), var(--card); overflow: hidden;
}
.direct-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--mint); color: #050507; }
.direct-ic svg { width: 32px; height: 32px; }
.direct-txt h3 { font-size: 24px; text-transform: uppercase; }
.direct-txt p { margin-top: 6px; color: var(--muted); max-width: 560px; }
.direct-txt small { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--dim); font-size: 12.5px; }
.direct-btns { display: grid; justify-items: center; gap: 10px; }
.direct-btns .link { font-size: 14px; }
.direct-btns .link svg { width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.qa { border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: border-color .3s; }
.qa[open] { border-color: rgba(62, 240, 160, .4); }
.qa summary { list-style: none; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; font-weight: 500; font-size: 17.5px; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 22px; height: 22px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--mint); transition: transform .4s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa-body { overflow: hidden; }
.qa-body p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- Финал ---------- */
.final { text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(circle, rgba(62, 240, 160, .12), transparent 60%); pointer-events: none; }
.final-in { position: relative; display: grid; justify-items: center; gap: 4px; }
.final .pill { margin-bottom: 18px; }
.final-face { width: 120px; color: var(--mint); margin-bottom: 22px; filter: drop-shadow(0 0 30px var(--mint-glow)); animation: float 4s var(--ease-io) infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-3deg); } }
.final .lead { margin: 18px auto 0; }
.final .hero-cta { margin-bottom: 18px; }

/* ---------- Подвал ---------- */
.footer { padding: 50px 0 120px; border-top: 1px solid var(--line); }
.footer-in { display: grid; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a, .footer-support a { color: var(--muted); transition: color .2s; }
.footer-links a:hover, .footer-support a:hover { color: var(--text); }
.footer-support { color: var(--dim); font-size: 15px; }
.footer-company { color: var(--dim); font-size: 13px; }

/* ---------- Липкая кнопка (телефоны) ---------- */
.sticky {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60; display: none; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 20px; border-radius: 18px; background: #fff; color: #050507; font-weight: 700; font-size: 16px; box-shadow: 0 16px 50px -10px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .2);
  transform: translateY(calc(100% + 30px)); transition: transform .6s var(--ease);
}
.sticky.is-visible { transform: none; }
.sticky svg { width: 20px; height: 20px; }
.sticky-face { width: 28px; height: 28px; }
.sticky-face .face { width: 100%; height: 100%; }

.toast { position: fixed; left: 50%; top: 84px; z-index: 80; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--text); color: var(--bg); font-weight: 500; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), opacity .4s; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .nav, .signin { display: none; }
  .burger { display: block; }
  .header-actions .lang { display: none; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-grid { grid-template-columns: 1fr; }
  .qr-card { display: none; }
}
@media (max-width: 860px) {
  /* Первый экран телефона = высота экрана: текст и кнопки — сколько нужно, глобус — всё остальное */
  .hero { height: 100svh; min-height: 520px; padding: calc(var(--hh) + 4px) 0 max(18px, calc(env(safe-area-inset-bottom) + 8px)); align-items: stretch; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; height: 100%; }
  /* Первый экран телефона: глобус по высоте экрана, чтобы обе кнопки были видны сразу */
  .hero-stage { order: -1; flex: 1 1 auto; max-width: 440px; width: 100%; aspect-ratio: auto; height: auto; min-height: 190px; margin: -4px auto 6px; }
  .hero-lead { display: none; }
  .power { width: 112px; height: 112px; margin: -56px 0 0 -56px; }
  .hero-copy { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6px 0 4px; }
  .hero-title { margin-top: 0; font-size: clamp(38px, 11vw, 60px); }
  .hero-cta { width: 100%; }
  .hero-lead { font-size: 16.5px; margin-top: 14px; }
  .hero-cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .btn-ghost { justify-content: center; }
  .hero-stores { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 26px; }
  /* Телефон сверху, под ним шаги: активный раскрыт, остальные — заголовками */
  .steps .phone { order: -1; width: 236px; height: 480px; border-radius: 40px; padding: 10px; }
  .steps .phone-screen { border-radius: 31px; }
  .steps .phone-notch { top: 18px; width: 80px; height: 24px; margin-left: -40px; }
  .steps-grid > div:first-child { display: contents; }
  .steps .badge, .steps .h2 { order: -2; }
  .steps .h2 { margin-bottom: 4px; }
  .step-list { margin-top: 0; gap: 8px; }
  .step { padding: 14px 16px; gap: 14px; }
  .step p { max-height: 0; opacity: 0; margin: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
  .step.is-active p { max-height: 80px; opacity: 1; margin-top: 6px; }
  .step h3 { font-size: 18px; }
  .step-n { font-size: 26px; }
  .ps { padding: 60px 20px 30px; gap: 12px; }
  .ap-power { width: 128px; height: 128px; }
  .guide-steps { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 26px; }
  /* iPhone-инструкция: раскрыт только активный шаг */
  .ios-step { padding: 12px 14px; }
  .ios-step p { max-height: 0; opacity: 0; margin: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
  .ios-step.is-active p { max-height: 90px; opacity: 1; margin-top: 4px; }
  .ios-title { font-size: 20px; }
  .direct { grid-template-columns: auto 1fr; padding: 18px; }
  .direct-btns { grid-column: 1 / -1; justify-items: stretch; }
  .direct-btns .btn { width: 100%; }
  .direct-txt h3 { font-size: 20px; }
  .sticky { display: flex; }
  .demo-hint { bottom: 13%; font-size: 14px; }
  .bubble { left: 50%; top: calc(50% - 66px); max-width: 250px; font-size: 13px; text-align: center; transform: translate(-50%, -100%); }
  .bubble::after { left: 50%; top: auto; bottom: -5px; margin: 0 0 0 -6px; }
  .bubble.is-swap { transform: translate(-50%, -90%); }
  .demo-hint { display: none; }
  .locs { bottom: 4px; gap: 6px; margin: 0 -16px; padding: 4px 16px; }
  .loc { padding: 6px 11px 6px 7px; font-size: 12.5px; }
  .gl { font-size: 11.5px; }
  /* На узком экране у невыбранных стран — только флажок */
  .gl:not(.is-target) { gap: 0; padding: 3px; font-size: 0; }
  .gl:not(.is-target) img { width: 16px; height: 12px; }
  .buddy { left: auto; right: 14px; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 74px); flex-direction: row-reverse; }
  .buddy-face { width: 52px; height: 52px; padding: 9px; }
  .buddy-bubble { border-radius: 16px 16px 4px 16px; max-width: 230px; font-size: 13.5px; }
  /* Оплата — шторка снизу */
  .pay { width: 100%; max-width: none; margin: auto 0 0; border-radius: 26px 26px 0 0; padding-bottom: max(18px, env(safe-area-inset-bottom)); max-height: 92dvh; }
  .pay[open] { animation: sheet-in .5s var(--ease); }
  @keyframes sheet-in { from { transform: translateY(100%); } }
  .drag-hint { display: none; }
}
/* Низкие экраны телефонов (iPhone SE и т.п.): ещё компактнее, кнопки — в первом экране */
@media (max-width: 860px) and (max-height: 720px) {
  .hero-title { font-size: clamp(32px, 9.4vw, 44px); margin-top: 6px; }
  .pill { padding: 6px 12px; font-size: 13px; }
  .hero-cta { margin-top: 14px; gap: 8px; }
  .btn-xl { min-height: 56px; padding: 12px 20px; }
  .bubble { display: none; }
}
/* Совсем низкие экраны (iPhone SE в Safari): статус не перекрывает кнопку-лицо */
@media (max-width: 860px) and (max-height: 600px) {
  .status { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header .btn-sm { padding: 9px 13px; }
  .logo-word { font-size: 24px; }
  /* Преимущества — карусель со свайпом */
  .feat-grid { display: flex; gap: 12px; margin: 34px -16px 0; padding: 4px 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
  .feat-grid::-webkit-scrollbar { display: none; }
  .feat { flex: 0 0 82%; scroll-snap-align: start; }
  .js .feat.reveal { opacity: 1; transform: none; }
  .plans { grid-template-columns: 1fr; gap: 10px; }
  .plan { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "term price" "month save" "cta cta"; align-items: center; gap: 2px 12px; padding: 18px 18px 16px; }
  .plan:hover { transform: none; }
  .plan-term { grid-area: term; font-size: 19px; }
  .plan-price { grid-area: price; margin: 0; justify-self: end; flex-direction: column; align-items: flex-end; gap: 0; }
  .plan-price b { font-size: 30px; }
  .plan-price s { font-size: 13px; }
  .plan-month { grid-area: month; font-size: 14px; }
  .plan-save { grid-area: save; justify-self: end; margin: 0; }
  .plan-cta { grid-area: cta; padding-top: 10px; }
  .plan-flag { top: -10px; left: 16px; font-size: 11.5px; }
  .phone { width: 250px; height: 500px; }
  .plat-grid { padding: 12px; border-radius: 24px; margin-top: 28px; }
  .plat-stores { grid-template-columns: 1fr 1fr; gap: 10px; }
  .store-big { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 0; padding: 16px; gap: 14px; }
  .store-big .store-ic { width: 46px; height: 46px; border-radius: 13px; }
  .store-big .store-txt b { font-size: 17px; }
  .store-big .store-txt small { font-size: 12.5px; }
  .store-big:not(.is-locked) .store-go { margin: 0 0 0 auto; width: 42px; height: 42px; padding: 0; justify-content: center; font-size: 0; gap: 0; flex: none; }
  .store-big:not(.is-locked) .store-go svg { width: 18px; height: 18px; }
  .store-big.is-current { padding-top: 34px; }
  .store-big.is-current::after { top: 10px; left: 78px; right: auto; font-size: 11px; padding: 3px 9px; }
  .store-big.is-locked { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 10px; }
  .store-big.is-locked .store-go { margin: 0; padding: 5px 10px; font-size: 12px; }
  .store-big.is-locked .store-txt small { font-size: 11.5px; }
  .plat-perks { gap: 6px; margin-top: 16px; }
  .plat-perks span { font-size: 12.5px; padding: 6px 10px; gap: 5px; }
  .plat-perks svg { width: 13px; height: 13px; }
  .tabs { display: flex; }
  .tab { flex: 1; padding: 11px 8px; }
  .status { left: 50%; top: auto; bottom: 46px; transform: translateX(-50%); font-size: 13px; padding: 7px 13px; }
  .status-ip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
