/* SkyDay — тёмная тема */
:root {
  --bg: #050913;
  --bg-2: #08101f;
  --panel: #0b1427;
  --panel-2: #101b33;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  --line: rgba(150, 175, 230, 0.12);
  --line-2: rgba(150, 175, 230, 0.2);
  --ink: #f2f5ff;
  --ink-2: #a7b2cc;
  --muted: #6c7896;
  --accent: #3b7bff;
  --accent-2: #7fb0ff;
  --mint: #1ee08f;
  --ok: #2bd48a;
  --ok-soft: rgba(43, 212, 138, 0.12);
  --bad: #ff5d6c;
  --bad-soft: rgba(255, 93, 108, 0.12);
  --warn: #ffb648;
  --warn-soft: rgba(255, 182, 72, 0.12);
  --violet: #8f7bff;
  --radius: 28px;
  --radius-lg: 36px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; font-family: var(--font); font-size: 16px; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(59, 123, 255, 0.35); }
.wrap { width: min(1320px, 100% - 64px); margin-inline: auto; }
.wrap-wide { width: min(1600px, 100% - 120px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── Логотип ───────── */
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); }
.logo img { width: 44px; height: auto; filter: drop-shadow(0 6px 18px rgba(31, 120, 255, 0.45)); }
.logo small { display: block; font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); margin-top: 2px; }

/* ───────── Кнопки ───────── */
.btn {
  --h: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.3s, color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, .icon-btn:focus-visible, .pill input:focus-visible + span, a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(100deg, #4c8bff 0%, #7aa8ff 60%, #a5b8ff 100%);
  color: #061026;
  box-shadow: 0 16px 40px -16px rgba(76, 139, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  translate: -120% 0;
  transition: translate 0.9s var(--ease);
  z-index: -1;
}
.btn-primary:hover::after { translate: 120% 0; }
.btn-primary:hover { box-shadow: 0 22px 50px -16px rgba(76, 139, 255, 1), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-light { background: #fff; color: #050913; box-shadow: 0 12px 30px -14px rgba(255, 255, 255, 0.4); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { --h: 46px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn .arrow { display: inline-grid; place-items: center; transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: 0.55; pointer-events: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }

.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.05); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: transform 0.5s var(--ease), background 0.3s; }
.icon-btn:hover { transform: scale(1.06); background: rgba(255, 255, 255, 0.1); }

.play { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink); }
.play-i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); transition: transform 0.5s var(--ease), background 0.3s; }
.play:hover .play-i { transform: scale(1.08); background: rgba(255, 255, 255, 0.08); }

/* ───────── Навигация ───────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; padding: 18px 0; transition: padding 0.5s var(--ease); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 8px 0 4px; border-radius: 999px; transition: background 0.5s, box-shadow 0.5s, padding 0.5s var(--ease); }
.nav.scrolled { padding: 10px 0; }
.nav.scrolled .nav-in { padding: 0 8px 0 18px; background: rgba(8, 14, 30, 0.72); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: inset 0 0 0 1px var(--line); }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a { padding: 10px 18px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 15px; transition: color 0.3s, background 0.3s; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 6px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink); transition: background 0.3s; }
.nav-login:hover { background: rgba(255, 255, 255, 0.07); }
.nav-login .ava { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; }
.nav-login.in .ava { background: linear-gradient(135deg, #1f5bff, #1ee08f); box-shadow: none; color: #fff; }
.menu-btn { display: none; }
.mobile-menu { position: fixed; inset: 86px 12px auto; z-index: 59; display: grid; gap: 4px; padding: 14px; border-radius: 28px; background: rgba(10, 17, 34, 0.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -20px #000; opacity: 0; translate: 0 -10px; pointer-events: none; transition: opacity 0.4s var(--ease), translate 0.4s var(--ease); }
.mobile-menu.open { opacity: 1; translate: 0 0; pointer-events: auto; }
.mobile-menu a { padding: 14px 18px; border-radius: 18px; font-weight: 700; font-size: 18px; }
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.06); }
.mobile-menu .btn { margin-top: 8px; }

/* ───────── Шейдер-фон ───────── */
.space { position: relative; isolation: isolate; overflow: hidden; background: #02050e url("/assets/img/space-bg.webp") center / cover no-repeat; }
.space > canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s ease; }
.space > canvas.ready { opacity: 1; }

/* ───────── Hero ───────── */
.hero { min-height: max(100svh, 720px); display: flex; flex-direction: column; padding: 100px 0 0; }
.hero-in { flex: 1; display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: 28px; align-items: center; padding-bottom: 36px; }
.badge-live { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px 0 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.badge-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(43, 212, 138, 0.18), 0 0 14px var(--ok); animation: pulse 2.4s ease-in-out infinite; }
.badge-live b { color: var(--muted); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(43, 212, 138, 0.05), 0 0 18px var(--ok); } }
h1 { font-family: var(--display); font-size: clamp(40px, min(4.6vw, 8.4vh), 86px); line-height: 1.06; letter-spacing: -0.012em; font-weight: 600; margin: 22px 0 22px; }
.grad { background: linear-gradient(95deg, #3d7bff 0%, #6aa2ff 45%, #9fc2ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 540px; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 40px; }
.hero-stats div { padding: 0 36px; border-left: 1px solid var(--line-2); }
.hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-stats b { display: block; font-family: var(--display); font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -0.03em; }
.hero-stats span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--muted); font-weight: 600; }

.rise { animation: rise 1.2s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 100ms); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(8px); } }

/* 3D-сцена с дашбордом */
.scene { position: relative; aspect-ratio: 1.48; perspective: 2200px; animation: rise 1.5s var(--ease) both 0.25s; container-type: inline-size; }
.dash, .dash-ghost, .fcard, .ops { --tz: 0px; --rz: -2.5deg; position: absolute; transform-style: preserve-3d; transition: transform 1s var(--ease); transform: rotateY(calc(-14deg + var(--mx, 0) * 5deg)) rotateX(calc(5deg - var(--my, 0) * 4deg)) rotateZ(var(--rz)) translateZ(var(--tz)); }
.dash-ghost { --tz: -90px; inset: 2% -7% 24% 24%; border-radius: 28px; background: linear-gradient(160deg, rgba(40, 70, 140, 0.35), rgba(10, 18, 40, 0.2)); box-shadow: inset 0 0 0 1px rgba(150, 175, 230, 0.14); }
.dash { inset: 6% -1% 21% 14%; display: grid; grid-template-columns: 26% 1fr; border-radius: 26px; background: linear-gradient(160deg, rgba(22, 34, 66, 0.92), rgba(8, 14, 30, 0.94)); box-shadow: inset 0 0 0 1px rgba(150, 175, 230, 0.18), 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(59, 123, 255, 0.6); overflow: hidden; font-size: 12px; }
.dash::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.09), transparent 35%); pointer-events: none; }
.dash-side { padding: 20px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.dash-logo { display: flex; align-items: center; gap: 8px; margin: 0 0 18px 6px; font-family: var(--display); font-weight: 600; font-size: 14px; }
.dash-logo img { width: 24px; }
.dash-side span { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; color: var(--ink-2); font-weight: 600; }
.dash-side span svg { flex: none; opacity: 0.8; }
.dash-side span.on { color: #fff; background: linear-gradient(90deg, rgba(59, 123, 255, 0.55), rgba(59, 123, 255, 0.12)); box-shadow: inset 0 0 0 1px rgba(127, 176, 255, 0.35); }
.dash-main { display: flex; flex-direction: column; min-width: 0; }
.dash-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.dash-search { flex: 1; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.dash-top .bell { position: relative; color: var(--ink-2); }
.dash-top .bell::after { content: ""; position: absolute; top: 0; right: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--bad); }
.dash-top .ava { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1a2a52; font-weight: 800; font-size: 11px; }
.dash-body { flex: 1; display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; padding: 4px 18px 18px; }
.dash-bal small, .dash-inc small { color: var(--ink-2); font-weight: 600; }
.dash-bal strong { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 6px; font-family: var(--display); font-size: clamp(14px, 2.9cqw, 26px); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.dash-bal strong em, .dash-inc em { font-family: var(--font); font-style: normal; font-size: 12px; font-weight: 800; color: var(--ok); }
.dash-line { width: 100%; height: auto; margin-top: 10px; overflow: visible; filter: drop-shadow(0 0 8px rgba(59, 123, 255, 0.8)); }
.ranges { display: flex; gap: 6px; margin-top: 8px; }
.ranges span { padding: 5px 10px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 11px; }
.ranges span.on { background: rgba(255, 255, 255, 0.1); color: #fff; }
.dash-inc { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.dash-inc strong { display: block; margin: 8px 0 4px; font-family: var(--display); font-size: clamp(13px, 2.4cqw, 22px); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.dash-inc .bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; margin-top: auto; padding-top: 12px; }
.dash-inc .bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #6aa2ff, #1f4fd6); box-shadow: 0 0 12px rgba(59, 123, 255, 0.5); }

.fcard { --tz: 80px; --rz: 11deg; left: 0; top: 47%; width: 36%; aspect-ratio: 1.58; padding: 18px 20px; border-radius: 22px; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(130% 120% at 0% 0%, rgba(90, 130, 230, 0.45), transparent 55%), linear-gradient(150deg, #1d2a4d, #0b1224 70%); box-shadow: inset 0 0 0 1px rgba(150, 175, 230, 0.28), 0 40px 80px -30px rgba(0, 0, 0, 0.9); font-size: 13px; animation: bob 7s ease-in-out infinite alternate; }
.mc { position: relative; display: block; width: 46px; height: 28px; }
.mc i { position: absolute; top: 0; width: 28px; height: 28px; border-radius: 50%; }
.mc i:first-child { left: 0; background: #eb001b; }
.mc i:last-child { right: 0; background: #f79e1b; mix-blend-mode: screen; opacity: 0.95; }
.fcard .row { display: flex; justify-content: space-between; align-items: center; }
.fcard .chip { width: 38px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, #d9dde6, #8b93a6); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.fcard .num { font-family: var(--mono); letter-spacing: 0.08em; color: var(--ink-2); }
.fcard small { color: var(--muted); font-weight: 600; }
.fcard strong { display: block; font-family: var(--display); font-size: clamp(13px, 2.5cqw, 22px); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.fcard .go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(59, 123, 255, 0.35); box-shadow: inset 0 0 0 1px rgba(127, 176, 255, 0.4); }
.fcard img { width: 26px; }
@keyframes bob { to { translate: 0 -12px; } }

.ops { --tz: 60px; --rz: 1.5deg; right: -4%; top: 58%; width: 42%; padding: 16px 18px; border-radius: 22px; background: linear-gradient(160deg, rgba(24, 37, 72, 0.95), rgba(10, 17, 36, 0.96)); box-shadow: inset 0 0 0 1px rgba(150, 175, 230, 0.2), 0 40px 80px -30px rgba(0, 0, 0, 0.9); font-size: 12px; animation: bob 8s ease-in-out infinite alternate-reverse; }
.ops-h { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 800; font-size: 13px; }
.ops-h a { color: var(--accent-2); font-weight: 700; }
.ops p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 0; border-top: 1px solid var(--line); }
.ops p:first-of-type { border-top: 0; }
.ops .ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; font-weight: 800; }
.ops .ic.b { background: #2c5fd9; } .ops .ic.v { background: #6a4fd8; } .ops .ic.g { background: #17a673; }
.ops .t { flex: 1; min-width: 0; }
.ops { font-size: clamp(10px, 1.35cqw, 12px); }
.ops .t b { display: block; font-size: clamp(11px, 1.45cqw, 13px); white-space: nowrap; }
.dash { font-size: clamp(10px, 1.35cqw, 12px); }
.ops .t small, .ops .v small { color: var(--muted); font-size: 11px; }
.ops .v { text-align: right; font-weight: 800; white-space: nowrap; }
.ops .v.plus { color: var(--ok); }
.ops .v small { display: block; font-weight: 600; }

.hero-foot { display: flex; align-items: center; gap: 28px; padding: 18px 0 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); font-weight: 600; }
.scroll-hint { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.mouse { position: relative; width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }
.mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(8px); opacity: 0; } 61% { transform: none; opacity: 0; } }
.nets { flex: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 0; }
.nets span { display: inline-flex; align-items: center; gap: 9px; padding: 0 30px; border-left: 1px solid var(--line); font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: #7f8aa6; transition: color 0.3s; }
.nets span:hover { color: #c9d3ea; }
.nets span:first-child { border-left: 0; }
.nets svg { flex: none; }

/* выпадающее меню «Продукты» */
.dd { position: relative; }
.dd > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font-weight: 600; font-size: 15px; cursor: pointer; }
.dd > button:hover, .dd:focus-within > button { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.dd > button svg { transition: transform 0.4s var(--ease); }
.dd:hover > button svg, .dd:focus-within > button svg { transform: rotate(180deg); }
.dd-menu { position: absolute; left: 0; top: calc(100% + 10px); display: grid; gap: 2px; min-width: 260px; padding: 8px; border-radius: 22px; background: rgba(10, 17, 34, 0.96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -20px #000; opacity: 0; translate: 0 -6px; pointer-events: none; transition: opacity 0.35s var(--ease), translate 0.35s var(--ease); }
.dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; translate: 0 0; pointer-events: auto; }
.dd-menu a { display: grid; gap: 2px; padding: 12px 14px !important; border-radius: 16px !important; }
.dd-menu a b { color: var(--ink); font-size: 14px; }
.dd-menu a small { color: var(--muted); font-size: 12px; font-weight: 600; }
.hero-sign { white-space: nowrap; }

/* ───────── Секции ───────── */
section { position: relative; padding: 130px 0; scroll-margin-top: 80px; }
.sec-head { max-width: 760px; margin-bottom: 60px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
h2 { font-family: var(--display); font-size: clamp(30px, 3.8vw, 54px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; margin: 20px 0 18px; text-wrap: balance; }
.sub { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; color: var(--ink-2); margin: 0; text-wrap: pretty; }
.glow-line { height: 1px; background: linear-gradient(90deg, transparent, rgba(127, 176, 255, 0.4), transparent); }

.reveal-wait { opacity: 0; transform: translateY(32px); }
.reveal { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }

.card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease), opacity 1.1s var(--ease);
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px circle at var(--px, 50%) var(--py, 0%), rgba(90, 140, 255, 0.12), transparent 60%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.card:hover::after { opacity: 1; }
.card h3 { margin: 0 0 12px; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.025em; }
.card p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 26px; border-radius: 50%; color: var(--accent-2); background: radial-gradient(circle at 30% 30%, rgba(59, 123, 255, 0.35), rgba(59, 123, 255, 0.08)); box-shadow: inset 0 0 0 1px rgba(127, 176, 255, 0.25); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.b-wide { grid-column: span 4; display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; }
.b-2, .b-3 { grid-column: span 2; }
.term { padding: 14px; border-radius: 20px; background: rgba(0, 0, 0, 0.25); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.term-row { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; padding: 8px 10px; border-radius: 10px; font-weight: 600; }
.term-row.h { color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.term-row:not(.h):hover { background: rgba(255, 255, 255, 0.04); }
.term-row .g { color: var(--ok); } .term-row .r { color: var(--bad); }
.balance { margin-top: 26px; padding: 18px; border-radius: 20px; background: rgba(0, 0, 0, 0.25); box-shadow: inset 0 0 0 1px var(--line); }
.balance small { color: var(--muted); font-weight: 700; font-size: 12px; }
.balance strong { display: block; margin: 6px 0 14px; font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; height: 64px; }
.bars i { flex: 1; max-width: 16px; border-radius: 999px; background: linear-gradient(180deg, #7fb0ff, #2a5fe0); box-shadow: 0 0 14px rgba(59, 123, 255, 0.4); }
.mini-space { height: 150px; margin: -14px -14px 26px; border-radius: 20px; }
.mini-space .label { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; background: rgba(5, 9, 19, 0.6); box-shadow: inset 0 0 0 1px var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Процесс */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 30px; }
.step-n { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.step-n b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-family: var(--display); font-size: 16px; color: #fff; background: linear-gradient(135deg, #2a5fe0, #4c8bff); box-shadow: 0 0 30px -6px rgba(59, 123, 255, 0.8); }
.step h3 { font-size: 19px; }
.step p { font-size: 15px; }

/* Тарифы */
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 52px; }
.pricing-head .sec-head { margin-bottom: 0; }
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background 0.4s var(--ease), color 0.3s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: #fff; color: #050913; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { display: flex; flex-direction: column; padding: 36px; }
.plan.popular { background: radial-gradient(120% 70% at 50% 0%, rgba(59, 123, 255, 0.28), transparent 60%), var(--glass); box-shadow: inset 0 0 0 1px rgba(127, 176, 255, 0.45), 0 40px 90px -40px rgba(59, 123, 255, 0.7); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-badge { padding: 7px 12px; border-radius: 999px; background: linear-gradient(100deg, #4c8bff, #a5b8ff); color: #061026; font-size: 12px; font-weight: 800; }
.plan .tagline { margin: 12px 0 30px; min-height: 3.2em; }
.price { font-family: var(--display); font-size: clamp(32px, 3vw, 44px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price-note { margin-top: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.plan ul { list-style: none; padding: 26px 0 0; margin: 26px 0 34px; display: grid; gap: 14px; flex: 1; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); line-height: 1.45; font-size: 15px; }
.plan li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(59, 123, 255, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%237fb0ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plans-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); }
.skeleton { min-height: 540px; background: linear-gradient(100deg, rgba(255, 255, 255, 0.02) 30%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.02) 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* Оплата */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pay-card { padding: 38px; }
.brand { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.brand-mark { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; font-weight: 800; font-size: 15px; color: #fff; }
.brand-mark.rp { background: linear-gradient(135deg, #1ee08f, #1f5bff); }
.brand-mark.st { background: linear-gradient(135deg, #8f7bff, #4f5bff); }
.brand-mark.logo { padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7); }
.brand-mark.logo img { width: 100%; height: 100%; object-fit: contain; }
.method .brand-mark.logo { padding: 4px; border-radius: 13px; }
.brand small { display: block; color: var(--muted); font-weight: 700; font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.brand b { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.secure { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 30px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; }
.secure svg { flex: none; color: var(--ok); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq details { padding: 0 30px; border-radius: 26px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.5s var(--ease), opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(127, 176, 255, 0.35); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; list-style: none; cursor: pointer; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.plus-i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform 0.6s var(--ease), background 0.3s; }
.plus-i::before, .plus-i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px; background: var(--ink); translate: -50% -50%; }
.plus-i::after { rotate: 90deg; }
.faq details[open] .plus-i { transform: rotate(135deg); background: var(--accent); box-shadow: none; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.6s var(--ease), content-visibility 0.6s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq p { margin: 0 0 26px; color: var(--ink-2); line-height: 1.7; max-width: 740px; }

/* Портфолио */
.pf-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 20px; }
.pf-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 34px; align-items: center; padding: 26px; }
.pf-preview { display: block; border-radius: 20px; overflow: hidden; background: #0b0f17; box-shadow: inset 0 0 0 1px #1d2331, 0 30px 60px -30px #000; font-family: var(--mono); font-size: 12px; transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease); }
.pf-preview:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: inset 0 0 0 1px #2ee6c5, 0 40px 80px -30px rgba(46, 230, 197, 0.35); }
.pf-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #1d2331; color: #9aa3b5; }
.pf-bar b { display: flex; align-items: center; gap: 8px; color: #e9edf5; font-family: var(--font); font-size: 14px; }
.pf-bar b i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #2ee6c5, #2b7bff); color: #04120f; font-style: normal; font-size: 12px; }
.pf-body { display: grid; grid-template-columns: 1fr 120px; }
.pf-chart { width: 100%; height: 210px; padding: 16px 0; }
.pf-book { padding: 12px; border-left: 1px solid #1d2331; display: grid; align-content: center; gap: 3px; }
.pf-book p { display: flex; justify-content: space-between; gap: 6px; margin: 0; font-size: 11px; }
.pf-book .a span:first-child { color: #f0475a; }
.pf-book .b span:first-child { color: #16c784; }
.pf-book span:last-child { color: #5f6a80; }
.pf-book .mid { justify-content: center; padding: 4px 0; color: #16c784; font-size: 13px; font-weight: 600; }
.pf-bar .up { color: #16c784; }
.pf-info h3 { font-size: clamp(20px, 1.8vw, 26px); margin: 16px 0 12px; }
.pf-info .hero-cta { margin-top: 26px; }
.pf-next { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 36px; background: radial-gradient(120% 80% at 100% 0%, rgba(59, 123, 255, 0.18), transparent 60%), var(--glass); }
.pf-plus { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 28px; font-weight: 300; color: var(--accent-2); }
.pf-next p { margin-bottom: 24px; }

/* Услуги */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { padding: 26px; }
.svc h3 { font-size: 17px; margin-bottom: 10px; }
.svc p { font-size: 14px; }

/* CTA */
.cta { padding: 40px 0 120px; }
.cta-box { display: grid; place-items: center; min-height: 500px; padding: 60px 24px; border-radius: 44px; box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.cta-box h2 { font-size: clamp(30px, 4vw, 58px); max-width: 900px; margin: 18px auto; }
.cta-box .sub { max-width: 560px; margin-inline: auto; }
.cta-box .hero-cta { justify-content: center; }

/* Футер */
footer { padding: 54px 0 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 26px; flex-wrap: wrap; font-weight: 600; }
.foot nav a:hover { color: var(--ink); }

/* ───────── Модалка оформления ───────── */
.modal { width: min(640px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 34px; background: linear-gradient(180deg, #0f1a33, #0a1226); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 140px -30px #000; overflow: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgba(3, 6, 14, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal[open] { animation: pop 0.6s var(--ease); }
.modal[open]::backdrop { animation: fade 0.4s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(0.96); } }
@keyframes fade { from { opacity: 0; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 30px 30px 6px; }
.modal-head h2 { font-size: 24px; margin: 0; }
.modal-body { display: grid; gap: 20px; padding: 18px 30px 30px; }
.field-label { display: block; margin: 0 0 9px 4px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input { width: 100%; height: 54px; padding: 0 22px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 0 0 1px var(--line-2); font: inherit; font-size: 16px; color: var(--ink); transition: box-shadow 0.4s var(--ease), background 0.3s; }
.input::placeholder { color: #5d6985; }
.input:hover { background: rgba(255, 255, 255, 0.065); }
.input:focus { outline: none; background: rgba(59, 123, 255, 0.08); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 5px rgba(59, 123, 255, 0.15); }
textarea.input { height: 100px; padding: 15px 22px; border-radius: 24px; resize: vertical; line-height: 1.5; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; font-size: 15px; cursor: pointer; transition: background 0.3s, color 0.3s; }
.pill span:hover { background: rgba(255, 255, 255, 0.08); }
.pill input:checked + span { background: #fff; color: #050913; box-shadow: none; }
.methods { display: grid; gap: 10px; }
.method { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: box-shadow 0.4s var(--ease), background 0.3s; }
.method:hover { background: rgba(255, 255, 255, 0.03); }
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method:has(input:checked) { background: rgba(59, 123, 255, 0.1); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 5px rgba(59, 123, 255, 0.1); }
.method:has(input:focus-visible) { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.method .brand-mark { width: 46px; height: 46px; font-size: 12px; }
.m-text { flex: 1; min-width: 0; }
.m-title { display: block; font-weight: 800; }
.m-sub { display: block; color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 2px; }
.m-price { font-weight: 800; white-space: nowrap; }
.radio { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); }
.radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-2); scale: 0; transition: scale 0.4s var(--ease); }
.method:has(input:checked) .radio { box-shadow: inset 0 0 0 2px var(--accent-2); }
.method:has(input:checked) .radio::after { scale: 1; }
.total { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); font-weight: 700; }
.total b { font-family: var(--display); font-size: 20px; font-weight: 600; }
.form-error { margin: 0; padding: 12px 18px; border-radius: 18px; background: var(--bad-soft); color: #ff8b96; font-weight: 600; font-size: 14px; }
.form-error:empty { display: none; }
.form-ok { margin: 0; padding: 12px 18px; border-radius: 18px; background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: 14px; }
.fine { margin: 0; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.5; }
.fine a, .link { color: var(--accent-2); font-weight: 700; }
.account-note { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 18px; background: rgba(59, 123, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(127, 176, 255, 0.2); font-size: 14px; color: var(--ink-2); }

/* ───────── Статус / демо-оплата / вход ───────── */
.status-page { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.status-card { width: min(520px, 100%); padding: 44px 36px 36px; border-radius: 36px; text-align: center; background: linear-gradient(180deg, rgba(20, 31, 60, 0.82), rgba(9, 15, 32, 0.88)); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 120px -40px #000; animation: pop 0.8s var(--ease); }
.status-card .logo { display: flex; justify-content: center; margin-bottom: 28px; }
.status-icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; color: #fff; }
.status-icon.ok { background: var(--ok); box-shadow: 0 0 50px -6px rgba(43, 212, 138, 0.8); }
.status-icon.wait { background: var(--accent); box-shadow: 0 0 50px -6px rgba(59, 123, 255, 0.9); }
.status-icon.bad { background: var(--bad); box-shadow: 0 0 50px -6px rgba(255, 93, 108, 0.7); }
.status-icon .spinner { width: 34px; height: 34px; border-width: 3px; }
.status-card h1 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 12px; line-height: 1.15; }
.status-card .sub { font-size: 16px; }
.receipt { display: grid; gap: 2px; margin: 26px 0; padding: 8px; border-radius: 24px; background: rgba(0, 0, 0, 0.25); box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.receipt p { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 10px 14px; font-size: 14px; }
.receipt p span { color: var(--muted); font-weight: 600; }
.receipt p b { text-align: right; }
.status-actions { display: grid; gap: 10px; }
.demo-badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: 13px; font-weight: 800; margin-bottom: 18px; }

/* ───────── Оплата картой на сайте ───────── */
.pay-shell { width: min(980px, 100%); }
.pay-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 0 6px; }
.secure-pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(43, 212, 138, 0.1); box-shadow: inset 0 0 0 1px rgba(43, 212, 138, 0.28); color: var(--ok); font-size: 13px; font-weight: 700; }
.pay-box { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, rgba(20, 31, 60, 0.84), rgba(9, 15, 32, 0.92)); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 120px -40px #000; animation: pop 0.8s var(--ease); }
.pay-sum { display: flex; flex-direction: column; padding: 38px 34px; border-right: 1px solid var(--line); background: radial-gradient(120% 90% at 0% 0%, rgba(59, 123, 255, 0.22), transparent 60%); }
.pay-sum h1 { font-size: clamp(22px, 2.4vw, 28px); margin: 14px 0 8px; }
.ps-amount { font-family: var(--display); font-size: clamp(32px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.035em; }
.pay-sum .receipt { margin: 26px 0; }
.ps-brands { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.ps-brands .brand-mark { width: 52px; height: 52px; }
.ps-brands b { display: block; }
.ps-brands small { color: var(--muted); font-size: 13px; font-weight: 600; }
.pay-form { display: grid; gap: 18px; align-content: start; padding: 38px 34px; }
.pay-form h2 { font-size: 20px; margin: 0; }
.pe-box { min-height: 230px; }
.pe-skel { display: grid; gap: 14px; }
.pe-skel i { display: block; height: 52px; border-radius: 16px; background: linear-gradient(100deg, rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
.pe-skel i:nth-child(2) { width: 62%; }
.pay-note { display: flex; align-items: flex-start; gap: 8px; text-align: left; }
.pay-note svg { flex: none; margin-top: 1px; color: var(--ok); }
.pay-back { justify-self: center; color: var(--muted); font-size: 14px; font-weight: 600; transition: color 0.3s; }
.pay-back:hover { color: var(--ink); }
@media (max-width: 820px) {
  .pay-box { grid-template-columns: 1fr; }
  .pay-sum { border-right: 0; border-bottom: 1px solid var(--line); }
  .ps-brands { margin-top: 0; }
}
@media (max-width: 600px) {
  .pay-box { border-radius: 28px; }
  .pay-sum, .pay-form { padding: 26px 20px; }
  .pay-top .logo { font-size: 17px; }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ───────── Адаптив ───────── */
@media (max-width: 1320px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 1180px) {
  .wrap-wide { width: calc(100% - 64px); }
  .hero-in { grid-template-columns: 1fr; gap: 20px; padding-top: 10px; }
  .scene { width: min(100%, 860px); margin-inline: auto; }
  .b-wide { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pf-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .nets { display: none; }
  .hero-foot { justify-content: space-between; }
}
@media (max-width: 960px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-btn { display: inline-grid; }
  .bento > * { grid-column: 1 / -1 !important; }
  .plans, .pay-grid { grid-template-columns: 1fr; }
  .pf-main { grid-template-columns: 1fr; }
  .plan .tagline { min-height: 0; }
  section { padding: 90px 0; }
}
@media (max-width: 640px) {
  .wrap, .wrap-wide { width: calc(100% - 32px); }
  .nav { padding: 10px 0; }
  .nav-in { height: 58px; }
  .nav.scrolled .nav-in { padding: 0 6px 0 14px; }
  .mobile-menu { inset: 74px 12px auto; }
  .logo { font-size: 18px; }
  .logo img { width: 38px; }
  .nav-login span:not(.ava) { display: none; }
  .nav-login { padding: 0 6px; }
  .hero { padding-top: 96px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-stats div { padding: 0 14px; }
  .hero-stats b { font-size: 21px; }
  .hero-stats span { font-size: 12px; }
  .scene { aspect-ratio: 0.9; perspective: none; }
  .dash, .fcard, .ops { transform: none !important; }
  .dash-ghost { display: none; }
  .dash { inset: 0 0 38% 0; grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-inc { display: none; }
  .fcard { left: 0; top: auto; bottom: 8%; width: 62%; transform: rotate(-4deg) !important; }
  .ops { right: 0; top: auto; bottom: 0; width: 70%; padding: 12px 14px; }
  .ops p:nth-of-type(3) { display: none; }
  .hero-foot .hero-sign { display: none; }
  .steps, .svc-grid { grid-template-columns: 1fr; }
  .card, .plan, .pay-card { padding: 26px; }
  .pf-main { padding: 16px; }
  .pf-body { grid-template-columns: 1fr; }
  .pf-book { display: none; }
  .pf-bar span:nth-child(2) { display: none; }
  .faq details { padding: 0 20px; }
  .faq summary { font-size: 16px; }
  .cta-box { border-radius: 30px; min-height: 420px; }
  .modal-head { padding: 24px 20px 4px; }
  .modal-body { padding: 16px 20px 22px; }
  .grid-2 { grid-template-columns: 1fr; }
  .method { border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
