/* ==========================================================================
   u.stin vpn — главная: секции зоны PAGE
   #features (bento с живыми мини-визуализациями) · #how (3 шага + ключ доступа)
   #faq (аккордеон) · .finale (затмение горизонта планеты)
   Hero/глобус — world.css, оплата — checkout.css.
   ========================================================================== */

/* ==========================================================================
   Возможности — bento
   ========================================================================== */
.features { position: relative; }
/* мягкий переход от секции глобуса: гасим её нижний край */
.features::before {
  content: ""; position: absolute; left: 0; right: 0; top: -120px; height: 120px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0), var(--bg) 92%);
}
.features__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(var(--cobalt-rgb), .16), transparent 70%),
    radial-gradient(40% 40% at 85% 60%, rgba(var(--azure-rgb), .07), transparent 70%);
}
.features__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--sky-rgb), .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--sky-rgb), .045) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 20%, #000, transparent 75%);
}

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.bento__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 440px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(16, 32, 70, .52) 0%, rgba(7, 14, 32, .6) 100%);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow-card);
}
/* мягкий свет под курсором */
.bento__card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--sky-rgb), .10), rgba(var(--azure-rgb), .04) 35%, transparent 62%);
  opacity: 0; transition: opacity .6s;
}
/* грань, подсвечиваемая курсором */
.bento__card::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--sky-rgb), .7), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .6s;
}
.bento__card:hover::before, .bento__card:hover::after { opacity: 1; }
.bento__text { position: relative; z-index: 2; padding: 0 30px 30px; }
.bento__num { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--sky); }
.bento__text .h3 { margin-top: 12px; }
.bento__text p { margin-top: 10px; max-width: 30em; color: var(--text-2); font-size: 15px; line-height: 1.6; text-wrap: pretty; }

.fx-speed { grid-column: span 7; }
.fx-cipher { grid-column: span 5; }
.fx-devices, .fx-wifi, .fx-chat { grid-column: span 4; min-height: 430px; }
.bento__card--wide { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: stretch; }

/* ---------- 01 Скорость ---------- */
.fx-speed__viz { position: relative; flex: 1; min-height: 270px; }
.fx-speed__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 80%, transparent 100%), linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 80%, transparent 100%), linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
  mask-composite: intersect;
}
.fx-speed__read { position: absolute; left: 30px; top: 30px; display: grid; gap: 6px; }
.fx-speed__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.fx-speed__v { display: flex; align-items: baseline; gap: 12px; }
.fx-speed__v b {
  font-family: var(--f-display); font-weight: 300; font-size: clamp(64px, 7.2vw, 116px); line-height: .95; letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 10%, #bfe1ff 55%, #5aa8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fx-speed__v small { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; color: var(--sky); }
.fx-speed__bar { position: relative; width: 220px; height: 2px; margin-top: 8px; border-radius: 2px; background: rgba(var(--sky-rgb), .12); overflow: hidden; }
.fx-speed__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--azure), var(--sky), #fff); transform: scaleX(var(--s, 0)); transform-origin: 0 50%; box-shadow: 0 0 12px var(--sky); }
.fx-speed__chips { position: absolute; left: 30px; bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 02 Шифрование ---------- */
.fx-cipher__viz { position: relative; flex: 1; min-height: 260px; }
.fx-cipher__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 45%, #000 55%, transparent 100%);
  mask-image: radial-gradient(75% 70% at 50% 45%, #000 55%, transparent 100%);
}
.fx-cipher__tag {
  position: absolute; left: 30px; top: 28px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--text-2);
  padding: 7px 12px; border-radius: var(--r-pill); background: rgba(var(--bg-rgb), .86); box-shadow: inset 0 0 0 1px var(--line-2);
}
.fx-cipher__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: dotPulse 2.2s ease-in-out infinite; }

/* ---------- 03 Устройства ---------- */
.fx-devices__viz { position: relative; flex: 1; display: grid; align-content: center; gap: 18px; padding: 34px 26px 10px; }
.fx-devices__viz svg { width: 100%; height: auto; overflow: visible; }
.fx-devices__line { stroke: rgba(var(--sky-rgb), .55); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.fx-devices__screen { fill: url(#fxDevScreen); opacity: 0; transition: opacity 1s var(--ease-out); }
.fx-devices__ok { stroke: var(--sky); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.fx-devices__link { stroke: rgba(var(--sky-rgb), .16); stroke-width: 1; fill: none; stroke-dasharray: 2 5; }
.fx-devices__pulse { stroke: url(#fxDevGrad); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-dasharray: 46 320; stroke-dashoffset: 366; opacity: 0; }
.fx-devices__hub { fill: var(--sky); filter: drop-shadow(0 0 8px var(--sky)); opacity: 0; transition: opacity .8s 1.6s; }
.fx-devices.is-in .fx-devices__line { animation: fxDraw 1.6s var(--ease-out) forwards; animation-delay: calc(var(--i) * .22s + .3s); }
.fx-devices.is-in .fx-devices__screen { opacity: 1; transition-delay: calc(var(--i) * .22s + 1.1s); }
.fx-devices.is-in .fx-devices__ok { animation: fxDraw .8s var(--ease-out) forwards, fxBlink 6s ease-in-out infinite; animation-delay: calc(var(--i) * .3s + 1.4s), calc(var(--i) * 2s + 2.4s); }
.fx-devices.is-in .fx-devices__pulse { opacity: 1; animation: fxRun 3.2s cubic-bezier(.6, 0, .4, 1) 1.8s infinite; }
.fx-devices.is-in .fx-devices__hub { opacity: 1; }
.fx-devices__dev { transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes fxDraw { to { stroke-dashoffset: 0; } }
@keyframes fxRun { from { stroke-dashoffset: 366; } to { stroke-dashoffset: 0; } }
@keyframes fxBlink { 0%, 80%, 100% { opacity: 1; } 88% { opacity: .35; } }
.fx-devices__os { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fx-devices__os li {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--text-3);
  padding: 5px 9px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line);
  animation: osGlow 7.2s ease-in-out infinite; animation-delay: calc(var(--k, 0) * 1.2s);
}
.fx-devices__os li:nth-child(2) { --k: 1; } .fx-devices__os li:nth-child(3) { --k: 2; } .fx-devices__os li:nth-child(4) { --k: 3; }
.fx-devices__os li:nth-child(5) { --k: 4; } .fx-devices__os li:nth-child(6) { --k: 5; }
@keyframes osGlow { 0%, 22%, 100% { color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line); } 8%, 14% { color: var(--ice); box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .5), 0 0 16px -4px rgba(var(--sky-rgb), .7); } }

/* ---------- 04 Публичные Wi-Fi ---------- */
.fx-wifi__viz { position: relative; flex: 1; display: grid; place-items: center; min-height: 240px; padding-top: 18px; }
.fx-wifi__rings { position: absolute; left: 50%; top: calc(50% - 18px); width: 0; height: 0; }
.fx-wifi__rings i {
  position: absolute; left: -90px; top: -90px; width: 180px; height: 180px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .35), 0 0 30px -8px rgba(var(--sky-rgb), .4);
  opacity: 0; scale: .4; animation: ring 3.6s cubic-bezier(.2, .6, .3, 1) infinite;
}
.fx-wifi__rings i:nth-child(2) { animation-delay: 1.2s; }
.fx-wifi__rings i:nth-child(3) { animation-delay: 2.4s; }
@keyframes ring { 0% { opacity: 0; scale: .45; } 15% { opacity: 1; } 100% { opacity: 0; scale: 1.5; } }
.fx-wifi__icon { position: relative; width: 132px; height: 132px; margin-top: -18px; overflow: visible; }
.fx-wifi__shield { stroke: var(--sky); stroke-width: 1.6; stroke-linejoin: round; fill: rgba(var(--azure-rgb), .08); stroke-dasharray: 1; stroke-dashoffset: 1; }
.fx-wifi.is-in .fx-wifi__shield { animation: fxDraw 2s var(--ease-out) .4s forwards; }
.fx-wifi__arc { stroke: var(--text-4); stroke-width: 3; stroke-linecap: round; fill: none; animation: arc 2.4s ease-in-out infinite; }
.fx-wifi__arc--1 { animation-delay: 0s; } .fx-wifi__arc--2 { animation-delay: .25s; } .fx-wifi__arc--3 { animation-delay: .5s; }
@keyframes arc { 0%, 100% { stroke: rgba(var(--sky-rgb), .25); } 30%, 50% { stroke: var(--ice); } }
.fx-wifi__dot { fill: var(--ice); filter: drop-shadow(0 0 6px var(--sky)); }
.fx-wifi__place { position: absolute; left: 30px; right: 30px; top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fx-wifi__roll { position: relative; display: grid; height: 30px; overflow: hidden; padding: 0 12px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(var(--navy-rgb), .6); }
.fx-wifi__roll > span { display: flex; align-items: center; gap: 8px; height: 30px; font-size: 12.5px; font-weight: 500; color: var(--text-2); animation: roll 10s var(--ease-in-out) infinite; }
.fx-wifi__roll .i { width: 15px; height: 15px; color: var(--sky); }
@keyframes roll { 0%, 20% { translate: 0 0; } 25%, 45% { translate: 0 -100%; } 50%, 70% { translate: 0 -200%; } 75%, 95% { translate: 0 -300%; } 100% { translate: 0 -400%; } }
.fx-wifi__state { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ok); }
.fx-wifi__state i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: dotPulse 2s ease-in-out infinite; }

/* ---------- 05 Поддержка ---------- */
.fx-chat__viz { position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 12px; min-height: 250px; }
.fx-chat__head { display: flex; align-items: center; gap: 12px; }
.fx-chat__ava { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--sky); background: radial-gradient(circle at 50% 30%, rgba(var(--sky-rgb), .25), rgba(var(--sky-rgb), .05)); box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .3); }
.fx-chat__ava .i { width: 18px; height: 18px; }
.fx-chat__head b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.fx-chat__head small { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--ok); }
.fx-chat__head small i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.fx-chat__log { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%); mask-image: linear-gradient(180deg, transparent, #000 12%); }
.fx-msg {
  position: relative; max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.45;
  opacity: 0; translate: 0 14px; scale: .96; transform-origin: 0 100%;
  transition: opacity .5s var(--ease-out), translate .7s var(--ease-out), scale .7s var(--ease-out);
}
.fx-msg.is-show { opacity: 1; translate: 0 0; scale: 1; }
.fx-msg small { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; color: var(--text-3); }
.fx-msg--me { align-self: flex-end; transform-origin: 100% 100%; border-bottom-right-radius: 5px; color: #061436; background: linear-gradient(180deg, #e9f4ff, #b9dbff); }
.fx-msg--me small { color: rgba(6, 20, 54, .55); text-align: right; }
.fx-msg--them { align-self: flex-start; border-bottom-left-radius: 5px; color: var(--text); background: rgba(var(--navy-rgb), .9); box-shadow: inset 0 0 0 1px var(--line-2); }
.fx-msg--typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.fx-msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); animation: typing 1.2s ease-in-out infinite; }
.fx-msg--typing i:nth-child(2) { animation-delay: .15s; } .fx-msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; translate: 0 0; } 30% { opacity: 1; translate: 0 -3px; } }

/* ---------- 06 Без автосписаний ---------- */
.fx-renew .bento__text { flex: 0 0 min(40%, 440px); display: flex; flex-direction: column; justify-content: center; padding: 38px 30px 38px 36px; }
.fx-renew__pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.fx-renew__pay .chip { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; }
.fx-renew__viz { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 38px 36px 38px 10px; }
.fx-renew__months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.fx-m { position: relative; display: grid; gap: 8px; }
.fx-m span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); text-align: center; transition: color .6s; }
.fx-m i { position: relative; display: block; height: 46px; border-radius: 10px; background: rgba(var(--navy-rgb), .55); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.fx-m i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(var(--sky-rgb), .55), rgba(var(--azure-rgb), .35));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 24px rgba(var(--azure-rgb), .6);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .9s var(--ease-out);
  transition-delay: calc(var(--k) * .12s + .3s);
}
.fx-m.is-paid span { color: var(--sky); }
.fx-renew.is-in .fx-m.is-paid i::after { transform: none; }
.fx-m.is-next i { box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .45); background: repeating-linear-gradient(135deg, rgba(var(--sky-rgb), .08) 0 6px, transparent 6px 12px); }
.fx-m.is-next b {
  position: absolute; left: 50%; top: -34px; translate: -50% 6px; white-space: nowrap; opacity: 0;
  font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; color: var(--ice);
  padding: 5px 9px; border-radius: 8px; background: var(--navy-2); box-shadow: inset 0 0 0 1px var(--line-3);
  transition: opacity .6s, translate .8s var(--ease-out); transition-delay: 1.2s;
}
.fx-renew.is-in .fx-m.is-next b { opacity: 1; translate: -50% 0; }
.fx-renew__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.fx-renew__toggle { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-2); }
.fx-renew__toggle em { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.fx-renew__switch { position: relative; width: 44px; height: 26px; border-radius: 13px; background: linear-gradient(90deg, var(--azure), var(--sky)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: background .6s; }
.fx-renew__switch b { position: absolute; left: 21px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); transition: translate .8s var(--ease-spring); }
.fx-renew.is-in .fx-renew__switch { background: rgba(var(--navy-rgb), .9); box-shadow: inset 0 0 0 1px var(--line-2); transition-delay: 1.3s; }
.fx-renew.is-in .fx-renew__switch b { translate: -18px 0; background: var(--text-3); transition-delay: 1.3s; }
.fx-renew__sum { display: flex; align-items: baseline; gap: 14px; }
.fx-renew__sum span { font-size: 14px; color: var(--text-3); }
.fx-renew__sum b { font-family: var(--f-display); font-weight: 300; font-size: 40px; letter-spacing: -.05em; line-height: 1; color: var(--text); }

/* ==========================================================================
   Как подключиться
   ========================================================================== */
.how { overflow-x: clip; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.how__bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(45% 35% at 20% 45%, rgba(var(--cobalt-rgb), .18), transparent 70%),
    radial-gradient(30% 30% at 90% 80%, rgba(var(--azure-rgb), .08), transparent 70%);
}
.how__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.how__visual {
  position: sticky; top: calc(var(--header-h) + 30px);
  height: calc(100vh - var(--header-h) - 60px); min-height: 440px; max-height: 760px;
  display: grid; place-items: center;
}
.how__stage { position: relative; width: 100%; display: grid; place-items: center; padding: 40px 0; }
.how__stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 110%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--azure-rgb), .22), rgba(var(--cobalt-rgb), .08) 50%, transparent);
  transition: opacity 1s, scale 1.2s var(--ease-out);
  opacity: .7;
}
.how__orbit { position: absolute; left: 50%; top: 50%; width: 118%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; perspective: 900px; }
.how__orbit i {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .14);
  transform: rotateX(72deg) rotateZ(0deg); animation: orbit 26s linear infinite;
}
.how__orbit i::after {
  content: ""; position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: var(--ice); box-shadow: 0 0 12px 3px rgba(var(--sky-rgb), .9);
}
.how__orbit i:nth-child(2) { inset: 9%; animation-duration: 18s; animation-direction: reverse; box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .09); }
@keyframes orbit { to { transform: rotateX(72deg) rotateZ(360deg); } }
.how__card { width: min(480px, 92%); }
.how__card .card3d__body { transition: box-shadow 1s var(--ease-out); }
.card3d__status {
  position: absolute; right: 7%; top: 36%; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px; border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: clamp(8.5px, .72vw, 10.5px); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
  background: rgba(var(--bg-rgb), .45); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: color .6s, box-shadow .6s;
}
.card3d__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); transition: background .6s, box-shadow .6s; }
.how__card[data-how-state="2"] .card3d__status { color: var(--sky); box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .4); }
.how__card[data-how-state="2"] .card3d__status i { background: var(--sky); box-shadow: 0 0 10px var(--sky); }
.how__card[data-how-state="3"] .card3d__status { color: var(--ok); box-shadow: inset 0 0 0 1px rgba(var(--ok-rgb), .45), 0 0 20px -6px rgba(var(--ok-rgb), .7); }
.how__card[data-how-state="3"] .card3d__status i { background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: dotPulse 1.8s ease-in-out infinite; }
.how__card[data-how-state="3"] .card3d__body {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(var(--sky-rgb), .35),
    0 60px 110px -40px rgba(0, 0, 0, 1), 0 30px 120px -30px rgba(var(--azure-rgb), .9), 0 0 60px -10px rgba(var(--sky-rgb), .45);
}
.how__grid.is-s3 .how__stage::before { opacity: 1; scale: 1.08; }
/* «пинг» подключения на шаге 3 */
.how__stage::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(480px, 92%); aspect-ratio: 1.586; translate: -50% -50%;
  border-radius: 5.2% / 8.2%; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 1px rgba(var(--ok-rgb), .7), 0 0 30px 2px rgba(var(--ok-rgb), .25);
}
.how__grid.is-s3 .how__stage::after { animation: connectPing 2.2s var(--ease-out) .2s 2; }
@keyframes connectPing { 0% { opacity: .9; scale: 1; } 100% { opacity: 0; scale: 1.28; } }
.how__card .card3d__key { transition: color .6s, text-shadow .6s; }
.how__card[data-how-state="1"] .card3d__key { color: var(--text-3); text-shadow: none; }

.how__steps { position: relative; padding: 6vh 0 4vh 0; }
.how__track { position: absolute; left: 11px; top: 8vh; bottom: 18vh; width: 1px; background: var(--line-2); }
.how__track i {
  position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky), var(--azure));
  transform: scaleY(var(--hp, 0)); transform-origin: 50% 0; box-shadow: 0 0 12px rgba(var(--sky-rgb), .8);
}
.how__track i::after {
  content: ""; position: absolute; left: -3px; bottom: -4px; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 14px 3px var(--sky);
}
.how__list { display: grid; }
.how__step {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 26px; align-items: start;
  min-height: 34vh; padding: 0 0 40px 56px;
  opacity: .32; transition: opacity .8s var(--ease-out);
}
.how__step:last-child { min-height: 0; padding-bottom: 56px; }
.how__step.is-on { opacity: 1; }
.how__dot {
  position: absolute; left: 5px; top: 20px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-3), 0 0 0 6px var(--bg-2);
  transition: background .6s, box-shadow .6s;
}
.how__step.is-on .how__dot { background: var(--sky); box-shadow: inset 0 0 0 1px var(--sky), 0 0 0 6px var(--bg-2), 0 0 18px 4px rgba(var(--sky-rgb), .6); }
.how__num {
  width: 1.5em;
  font-family: var(--f-display); font-weight: 300; font-size: clamp(44px, 4.4vw, 68px); line-height: .9; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(var(--sky-rgb), .45);
  transition: -webkit-text-stroke-color .8s, color .8s;
}
.how__step.is-on .how__num { color: transparent; -webkit-text-stroke-color: rgba(var(--sky-rgb), .9); }
.how__step .h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 400; margin-top: 6px; }
.how__step p { margin-top: 12px; color: var(--text-2); font-size: 16px; max-width: 26em; text-wrap: pretty; }
.how__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding-left: 56px; margin-top: 10px; }
.how__note { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }

/* ==========================================================================
   Вопросы
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 28px); display: grid; justify-items: start; gap: 22px; }
.faq__side .lead { max-width: 22em; }
.faq__side .btn { margin-top: 8px; }
.faq__list { display: grid; gap: 10px; }
.faq__item {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(14, 28, 62, .42), rgba(8, 16, 36, .42));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .6s var(--ease-out), background-color .6s;
}
.faq__item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--sky-rgb), .08), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.faq__item:hover::before { opacity: 1; }
.faq__item:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.faq__item.is-open {
  box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .28), inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 60px -34px rgba(var(--azure-rgb), .6);
}
.faq__item.is-open::after {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--sky), transparent); box-shadow: 0 0 12px var(--sky);
}
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 24px 24px 28px; text-align: left;
  font-size: clamp(16px, 1.25vw, 18px); font-weight: 600; letter-spacing: -.01em; line-height: 1.4; color: var(--text);
}
.faq__icon {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: background .5s, box-shadow .5s, rotate .7s var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; border-radius: 2px;
  background: var(--text); transition: rotate .7s var(--ease-out), background .5s;
}
.faq__icon::after { rotate: 90deg; }
.faq__item:hover .faq__icon { box-shadow: inset 0 0 0 1px var(--line-3); }
.faq__item.is-open .faq__icon { rotate: 180deg; background: var(--ice); box-shadow: 0 0 20px -2px rgba(var(--sky-rgb), .7); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: var(--bg); }
.faq__item.is-open .faq__icon::after { rotate: 0deg; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__inner { min-height: 0; overflow: hidden; }
.faq__inner p {
  padding: 0 72px 26px 28px; color: var(--text-2); font-size: 15.5px; line-height: 1.7; max-width: 44em;
  opacity: 0; translate: 0 -10px; transition: opacity .5s, translate .8s var(--ease-out);
}
.faq__item.is-open .faq__inner p { opacity: 1; translate: 0 0; transition-delay: .12s; }
.faq__inner a { color: var(--sky); text-decoration: underline; text-decoration-color: rgba(var(--sky-rgb), .35); text-underline-offset: 3px; transition: text-decoration-color .3s; }
.faq__inner a:hover { text-decoration-color: var(--sky); }

/* ==========================================================================
   Финал — горизонт планеты
   ========================================================================== */
.finale {
  --hz: clamp(190px, 30vh, 320px); /* высота горизонта планеты над низом секции */
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(760px, 108vh); display: grid; align-items: start;
  padding: clamp(120px, 16vh, 200px) 0 calc(var(--hz) + 90px); text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #030816 55%, #06102a 100%);
}
.finale__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.finale__stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, .8), transparent 60%),
    radial-gradient(1px 1px at 28% 62%, rgba(255, 255, 255, .5), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 30%, rgba(var(--ice-rgb), .9), transparent 60%),
    radial-gradient(1px 1px at 63% 12%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(1px 1px at 78% 44%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 22%, rgba(var(--sky-rgb), .9), transparent 60%),
    radial-gradient(1px 1px at 6% 48%, rgba(255, 255, 255, .5), transparent 60%),
    radial-gradient(1px 1px at 52% 52%, rgba(255, 255, 255, .4), transparent 60%);
  background-size: 420px 380px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent 78%);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent 78%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }
.finale__planet {
  --pw: max(1700px, 170vw);
  position: absolute; left: 50%; top: calc(100% - var(--hz)); width: var(--pw); aspect-ratio: 1; margin-left: calc(var(--pw) / -2);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, #0f2656 0%, #071333 9%, #030817 24%, #02040a 42%);
  box-shadow:
    inset 0 2px 1px rgba(var(--ice-rgb), .95),
    inset 0 18px 40px -16px rgba(var(--sky-rgb), .75),
    inset 0 60px 140px -60px rgba(var(--azure-rgb), .6),
    0 -2px 18px 0 rgba(var(--sky-rgb), .55),
    0 -30px 120px -10px rgba(var(--azure-rgb), .55),
    0 -80px 260px -20px rgba(var(--cobalt-rgb), .5);
  will-change: transform;
}
.finale__atmo {
  position: absolute; inset: -1.2%; border-radius: 50%;
  background: radial-gradient(closest-side, transparent 96.9%, rgba(var(--sky-rgb), .14) 97.9%, rgba(var(--sky-rgb), .36) 98.9%, rgba(var(--sky-rgb), .1) 99.6%, transparent 100%);
}
.finale__flare {
  position: absolute; left: 50%; top: calc(100% - var(--hz)); width: min(1400px, 110vw); height: 2px; translate: -50% -50%;
  background: linear-gradient(90deg, transparent, rgba(var(--sky-rgb), .5) 25%, #fff 50%, rgba(var(--sky-rgb), .5) 75%, transparent);
  box-shadow: 0 0 24px 4px rgba(var(--sky-rgb), .45);
  will-change: transform, opacity;
}
.finale__flare i {
  position: absolute; left: 50%; top: 50%; width: 420px; height: 160px; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(var(--sky-rgb), .45) 30%, rgba(var(--azure-rgb), .12) 60%, transparent);
  opacity: .9;
}
.finale__inner { position: relative; display: grid; justify-items: center; gap: 26px; }
.finale__title {
  font-family: var(--f-display); font-weight: 300; font-size: clamp(42px, 7.4vw, 124px); line-height: 1.02; letter-spacing: -.055em;
  max-width: 11em; text-wrap: balance;
}
.finale__inner .lead { max-width: 30em; }
.finale__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 12px; }
.finale__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.finale__meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 6px var(--sky); }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1100px) {
  .fx-speed, .fx-cipher { grid-column: span 6; }
  .fx-devices, .fx-wifi { grid-column: span 6; }
  .fx-chat { grid-column: span 12; min-height: 380px; }
  .fx-chat .fx-chat__viz { max-width: 560px; }
}
@media (max-width: 960px) {
  .how__grid { grid-template-columns: minmax(0, 1fr); }
  .how__visual { position: relative; top: 0; height: auto; min-height: 0; }
  .how__stage { padding: 20px 0 10px; }
  .how__steps { padding-top: 0; }
  .how__step { min-height: 0; padding-bottom: 44px; }
  .how__track { top: 14px; bottom: 120px; }
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__side { position: relative; top: 0; }
  .bento__card--wide { flex-direction: column; }
  .fx-renew .bento__text { flex: none; padding: 30px 30px 6px; }
  .fx-renew__viz { padding: 44px 30px 30px; }
}
@media (max-width: 720px) {
  .bento { gap: 14px; }
  .bento__card, .fx-speed, .fx-cipher, .fx-devices, .fx-wifi, .fx-chat { grid-column: 1 / -1; min-height: 0; }
  .fx-speed__viz { min-height: 250px; }
  .fx-speed__read { left: 22px; top: 22px; }
  .fx-speed__chips { left: 22px; bottom: 16px; }
  .fx-speed__bar { width: 170px; }
  .fx-cipher__viz { min-height: 230px; }
  .fx-cipher__tag { left: 22px; top: 20px; }
  .fx-wifi__place { left: 22px; right: 22px; top: 20px; }
  .fx-wifi__viz { min-height: 250px; }
  .fx-chat__viz { min-height: 270px; padding: 22px 22px 10px; }
  .bento__text { padding: 0 22px 24px; }
  .fx-renew .bento__text { padding: 24px 22px 0; }
  .fx-renew__viz { padding: 48px 22px 24px; }
  .fx-renew__months { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 14px; }
  .fx-m:nth-child(n+7) { display: none; }
  .fx-renew__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .how__step { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding-left: 44px; }
  .how__num { font-size: 40px; }
  .how__cta { padding-left: 44px; }
  .how__cta .btn { width: 100%; }
  .faq__q { padding: 20px 18px 20px 20px; gap: 14px; }
  .faq__inner p { padding: 0 20px 22px; }
  .finale { --hz: 150px; min-height: 0; padding-top: 110px; }
  .finale__planet { --pw: 1200px; }
  .finale__cta { width: 100%; }
  .finale__cta .btn { flex: 1 1 100%; }
  .finale__meta { flex-direction: column; gap: 8px; }
  .finale__meta i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-devices__line, .fx-devices__ok, .fx-wifi__shield { stroke-dashoffset: 0 !important; }
  .fx-devices__screen, .fx-devices__hub { opacity: 1 !important; }
  .fx-m.is-paid i::after { transform: none !important; }
  .fx-msg { opacity: 1; translate: none; scale: none; }
  .how__step { opacity: 1; }
}
