/* SantaVPS Premium 2026 - Montserrat */

[data-resolved="light"] {
  --sv-bg: #e6eaf3;
  --sv-bg-2: #f2f5fa;
  --sv-bg-3: #d8dfea;
  --sv-text: #0b1220;
  --sv-text-2: #475569;
  --sv-text-3: #7b8798;
  --sv-line: rgba(11, 18, 32, 0.1);
  --sv-line-2: rgba(11, 18, 32, 0.16);
  --sv-glass: rgba(242, 245, 250, 0.82);
  --sv-primary: #1d4ed8;
  --sv-primary-2: #dc2626;
  --sv-gradient: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 48%, #dc2626 100%);
  --sv-gradient-soft: linear-gradient(135deg, rgba(29,78,216,.1), rgba(220,38,38,.07));
  --sv-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --sv-glow: rgba(29, 78, 216, 0.24);
  --sv-ambient-1: rgba(29, 78, 216, 0.14);
  --sv-ambient-2: rgba(124, 58, 237, 0.1);
  --sv-ambient-3: rgba(220, 38, 38, 0.08);
  --sv-ambient-grid: rgba(11, 18, 32, 0.045);
  --sv-ambient-grid-opacity: 0.55;
  --sv-on-primary: #ffffff;
  --sv-btn-surface: #ffffff;
  --sv-btn-surface-text: #0b1220;
  --sv-online: #16a34a;
  --sv-online-bg: rgba(34, 197, 94, 0.14);
  --sv-online-border: rgba(34, 197, 94, 0.45);
  --sv-online-text: #15803d;
  --sv-offline: #dc2626;
  --sv-offline-bg: rgba(239, 68, 68, 0.12);
  --sv-offline-border: rgba(239, 68, 68, 0.42);
  --sv-offline-text: #b91c1c;
  --sv-alert-error-bg: rgba(239, 68, 68, 0.1);
  --sv-alert-error-border: rgba(239, 68, 68, 0.28);
  --sv-alert-error-text: #b91c1c;
  --sv-alert-success-bg: rgba(34, 197, 94, 0.1);
  --sv-alert-success-border: rgba(34, 197, 94, 0.28);
  --sv-alert-success-text: #15803d;
  --sv-alert-warning-bg: rgba(245, 158, 11, 0.12);
  --sv-alert-warning-border: rgba(245, 158, 11, 0.35);
  --sv-alert-warning-text: #b45309;
  --sv-input-placeholder: #94a3b8;
  --sv-overlay: rgba(15, 23, 42, 0.45);
  --sv-cta-ghost-border: rgba(255, 255, 255, 0.5);
  --sv-cta-ghost-text: #ffffff;
  --sv-cta-text: rgba(255, 255, 255, 0.92);
}

[data-resolved="dark"] {
  --sv-bg: #0e121c;
  --sv-bg-2: #161c2a;
  --sv-bg-3: #1f2738;
  --sv-text: #f1f5f9;
  --sv-text-2: #a8b4c7;
  --sv-text-3: #7b8aa3;
  --sv-line: rgba(241, 245, 249, 0.1);
  --sv-line-2: rgba(241, 245, 249, 0.16);
  --sv-glass: rgba(22, 28, 42, 0.84);
  --sv-primary: #60a5fa;
  --sv-primary-2: #fb7185;
  --sv-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #fb7185 100%);
  --sv-gradient-soft: linear-gradient(135deg, rgba(56,189,248,.12), rgba(251,113,133,.09));
  --sv-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  --sv-glow: rgba(56, 189, 248, 0.2);
  --sv-ambient-1: rgba(56, 189, 248, 0.16);
  --sv-ambient-2: rgba(129, 140, 248, 0.12);
  --sv-ambient-3: rgba(251, 113, 133, 0.1);
  --sv-ambient-grid: rgba(241, 245, 249, 0.04);
  --sv-ambient-grid-opacity: 0.45;
  --sv-on-primary: #ffffff;
  --sv-btn-surface: #f8fafc;
  --sv-btn-surface-text: #0b1220;
  --sv-online: #4ade80;
  --sv-online-bg: rgba(74, 222, 128, 0.14);
  --sv-online-border: rgba(74, 222, 128, 0.42);
  --sv-online-text: #86efac;
  --sv-offline: #f87171;
  --sv-offline-bg: rgba(248, 113, 113, 0.14);
  --sv-offline-border: rgba(248, 113, 113, 0.42);
  --sv-offline-text: #fca5a5;
  --sv-alert-error-bg: rgba(248, 113, 113, 0.12);
  --sv-alert-error-border: rgba(248, 113, 113, 0.32);
  --sv-alert-error-text: #fca5a5;
  --sv-alert-success-bg: rgba(74, 222, 128, 0.12);
  --sv-alert-success-border: rgba(74, 222, 128, 0.32);
  --sv-alert-success-text: #86efac;
  --sv-alert-warning-bg: rgba(251, 191, 36, 0.14);
  --sv-alert-warning-border: rgba(251, 191, 36, 0.38);
  --sv-alert-warning-text: #fcd34d;
  --sv-input-placeholder: #64748b;
  --sv-overlay: rgba(0, 0, 0, 0.55);
  --sv-cta-ghost-border: rgba(255, 255, 255, 0.38);
  --sv-cta-ghost-text: #ffffff;
  --sv-cta-text: rgba(255, 255, 255, 0.92);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background-color: var(--sv-bg);
  color: var(--sv-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: env(safe-area-inset-bottom, 0);
  position: relative;
  isolation: isolate;
}

/* Лёгкий динамический фон на всех страницах */
body::before {
  content: '';
  position: fixed;
  inset: -25%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 48% at 12% 18%, var(--sv-ambient-1), transparent 72%),
    radial-gradient(ellipse 48% 42% at 90% 14%, var(--sv-ambient-2), transparent 70%),
    radial-gradient(ellipse 62% 52% at 52% 96%, var(--sv-ambient-3), transparent 74%),
    radial-gradient(ellipse 38% 36% at 78% 72%, var(--sv-ambient-2), transparent 76%);
  animation: svAmbientMove 24s ease-in-out infinite alternate;
  will-change: transform;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--sv-ambient-grid-opacity);
  background-image:
    linear-gradient(var(--sv-ambient-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--sv-ambient-grid) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, #000 15%, transparent 88%);
  animation: svAmbientGrid 48s linear infinite;
  will-change: transform;
}

@keyframes svAmbientMove {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2.5%, -2%, 0) scale(1.035); }
  100% { transform: translate3d(-1.5%, 2.5%, 0) scale(1.05); }
}

@keyframes svAmbientGrid {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(52px, 52px, 0); }
}

body.sv-mission-open { overflow: hidden; }
body.sv-mission-open .sv-header,
body.sv-mission-open #sv-main,
body.sv-mission-open .sv-footer,
body.sv-mission-open .sv-dock {
  filter: blur(14px) saturate(0.85);
  pointer-events: none;
  transition: filter 0.35s ease;
}

.sv-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; line-height: 0; }
.sv-icon--flip-h { transform: scaleX(-1); }
iconify-icon.sv-icon { display: inline-block; }
iconify-icon { display: inline-block; vertical-align: middle; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.sv-wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sv-skip { position: absolute; left: -9999px; top: 8px; z-index: 9999; background: var(--sv-primary); color: var(--sv-on-primary); padding: 8px 14px; border-radius: 8px; }
.sv-skip:focus { left: 8px; }

/* Brand */
.sv-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; letter-spacing: -0.03em; }
.sv-brand__icon { font-size: 22px; line-height: 1; filter: drop-shadow(0 4px 12px var(--sv-glow)); }
.sv-brand__text { background: var(--sv-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.sv-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 14px 0; transition: 0.35s ease;
}
.sv-header.is-scrolled {
  background: var(--sv-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--sv-line);
  padding: 10px 0;
}
.sv-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sv-header__tools { display: flex; align-items: center; gap: 8px; }
.sv-header__cta { display: inline-flex; }

.sv-theme-btn {
  width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--sv-line);
  background: var(--sv-bg-2); color: var(--sv-text); cursor: pointer;
  display: grid; place-items: center; transition: 0.2s;
}
.sv-theme-btn:hover { border-color: var(--sv-line-2); box-shadow: var(--sv-shadow); }
[data-resolved="light"] .sv-theme-btn__moon,
[data-resolved="dark"] .sv-theme-btn__sun { display: none; }

.sv-menu-btn {
  display: none; width: 42px; height: 42px; border-radius: 14px;
  border: 1px solid var(--sv-line); background: var(--sv-bg-2); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.sv-menu-btn span { display: block; width: 18px; height: 2px; background: var(--sv-text); border-radius: 2px; transition: 0.25s; }

/* Command nav - desktop */
.sv-command {
  position: relative; display: none;
  padding: 5px; border-radius: 999px;
  background: var(--sv-bg-2); border: 1px solid var(--sv-line);
  box-shadow: var(--sv-shadow);
}
.sv-command__track { display: flex; gap: 2px; position: relative; }
.sv-command__link {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--sv-text-3);
  transition: color 0.25s; white-space: nowrap;
}
.sv-command__icon { display: flex; line-height: 0; flex-shrink: 0; }
.sv-command__link:hover { color: var(--sv-text); }
.sv-command__link.is-active { color: var(--sv-text); }
.sv-command__idx { font-size: 10px; font-weight: 800; opacity: 0.55; letter-spacing: 0.08em; }
.sv-command__glow {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 0;
  width: var(--glow-w, 80px);
  border-radius: 999px; background: var(--sv-gradient-soft);
  border: 1px solid var(--sv-line);
  transform: translateX(var(--glow-x, 0));
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), width 0.35s cubic-bezier(.4,0,.2,1), opacity 0.2s;
  pointer-events: none;
}
.sv-command__glow[hidden] { display: none !important; }

/* Dock - mobile */
.sv-dock {
  display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom, 0));
  z-index: 480; padding: 6px; gap: 2px;
  background: var(--sv-glass); backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid var(--sv-line); border-radius: 20px;
  box-shadow: var(--sv-shadow);
}
.sv-dock__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 6px 2px; border-radius: 12px; border: none; background: transparent;
  color: var(--sv-text-3); font-family: inherit; cursor: pointer; transition: 0.2s;
  min-height: 46px; max-width: 72px;
}
.sv-dock__item.is-active { color: var(--sv-primary); background: var(--sv-gradient-soft); }
.sv-dock__icon { display: flex; line-height: 0; }
.sv-dock__label { font-size: 10px; font-weight: 600; letter-spacing: 0; line-height: 1.15; text-align: center; }

/* Mission Control */
.sv-mission { position: fixed; inset: 0; z-index: 600; display: grid; place-items: end; }
.sv-mission[hidden] { display: none !important; }
.sv-mission__backdrop { position: absolute; inset: 0; background: var(--sv-overlay); backdrop-filter: blur(2px); }
.sv-mission__panel {
  position: relative; width: 100%;
  background: var(--sv-bg-2); border-radius: 24px 24px 0 0;
  border: 1px solid var(--sv-line); padding: 14px 14px calc(12px + env(safe-area-inset-bottom, 0));
  animation: svSlideUp 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes svSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sv-mission__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sv-mission__head .sv-brand { font-size: 14px; }
.sv-mission__head .sv-brand__icon { font-size: 18px; }
.sv-mission__close {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--sv-line);
  background: transparent; color: var(--sv-text); cursor: pointer; font-size: 14px;
  display: grid; place-items: center;
}
.sv-mission__status-wrap { margin-bottom: 12px; }

/* VPN network status */
.sv-vpn-status {
  display: inline-flex; align-items: center; gap: 12px;
  border-radius: 16px; border: 1.5px solid transparent;
  font-family: inherit; line-height: 1.3;
}
.sv-vpn-status.is-online {
  background: var(--sv-online-bg);
  border-color: var(--sv-online-border);
  box-shadow: 0 0 0 1px var(--sv-online-bg), 0 8px 24px rgba(0, 0, 0, 0.06);
}
.sv-vpn-status.is-offline {
  background: var(--sv-offline-bg);
  border-color: var(--sv-offline-border);
  box-shadow: 0 0 0 1px var(--sv-offline-bg), 0 8px 24px rgba(0, 0, 0, 0.06);
}
[data-resolved="dark"] .sv-vpn-status.is-online,
[data-resolved="dark"] .sv-vpn-status.is-offline {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
.sv-vpn-status__indicator {
  position: relative; width: 14px; height: 14px; flex-shrink: 0;
}
.sv-vpn-status__dot {
  position: absolute; inset: 3px; border-radius: 50%;
  background: var(--sv-online);
}
.sv-vpn-status.is-offline .sv-vpn-status__dot { background: var(--sv-offline); }
.sv-vpn-status__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--sv-online);
  animation: svStatusPulse 2s ease-out infinite;
}
.sv-vpn-status.is-offline .sv-vpn-status__ring { border-color: var(--sv-offline); }
@keyframes svStatusPulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.sv-vpn-status__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sv-vpn-status__label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--sv-online-text);
}
.sv-vpn-status.is-offline .sv-vpn-status__label { color: var(--sv-offline-text); }
.sv-vpn-status__text {
  font-size: 14px; font-weight: 700; color: var(--sv-text);
}
.sv-vpn-status--compact {
  padding: 8px 14px; max-width: 220px;
}
.sv-vpn-status--compact .sv-vpn-status__body { flex-direction: row; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.sv-vpn-status--compact .sv-vpn-status__text { font-size: 13px; }
.sv-vpn-status--hero {
  padding: 14px 20px; margin-bottom: 22px; max-width: 100%;
}
.sv-vpn-status--hero .sv-vpn-status__label { font-size: 12px; }
.sv-vpn-status--hero .sv-vpn-status__text { font-size: clamp(1rem, 2.5vw, 1.2rem); }
.sv-vpn-status--bar,
.sv-vpn-status--strip,
.sv-vpn-status--menu,
.sv-vpn-status--footer {
  width: 100%; padding: 12px 16px;
}
.sv-vpn-status--bar { margin-bottom: 18px; }
.sv-vpn-status--footer { margin-bottom: 0; }
.sv-status-strip {
  display: none; position: sticky; top: 0; z-index: 490;
  padding: 8px 0; background: var(--sv-bg);
  border-bottom: 1px solid var(--sv-line);
}
.sv-footer__status { margin-bottom: 24px; }

.sv-mission__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.sv-mission__tile {
  padding: 10px 6px; border-radius: 14px; border: 1px solid var(--sv-line);
  background: var(--sv-bg); display: flex; flex-direction: column; align-items: center;
  gap: 5px; text-align: center;
  animation: svFadeUp 0.45s ease backwards;
  transition: 0.2s;
}
.sv-mission__grid .sv-mission__tile:nth-child(1) { animation-delay: 0ms; }
.sv-mission__grid .sv-mission__tile:nth-child(2) { animation-delay: 30ms; }
.sv-mission__grid .sv-mission__tile:nth-child(3) { animation-delay: 60ms; }
.sv-mission__grid .sv-mission__tile:nth-child(4) { animation-delay: 90ms; }
.sv-mission__grid .sv-mission__tile:nth-child(5) { animation-delay: 120ms; }
.sv-mission__grid .sv-mission__tile:nth-child(6) { animation-delay: 150ms; }
.sv-mission__tile:hover, .sv-mission__tile.is-active { border-color: var(--sv-primary); background: var(--sv-gradient-soft); }
.sv-mission__tile-icon { display: flex; line-height: 0; }
.sv-mission__tile-label { font-size: 11px; font-weight: 700; line-height: 1.2; }
.sv-mission__cta { margin-top: 0; padding: 12px 20px; font-size: 13px; }
@keyframes svFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-family: inherit;
  font-size: 14px; font-weight: 700; border: none; cursor: pointer; transition: 0.25s;
}
.btn-compact { padding: 11px 20px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--sv-gradient); color: var(--sv-on-primary);
  box-shadow: 0 12px 32px var(--sv-glow);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost {
  background: var(--sv-bg-2); color: var(--sv-text);
  border: 1.5px solid var(--sv-line-2);
}
.btn-ghost:hover { border-color: var(--sv-primary); color: var(--sv-primary); background: var(--sv-gradient-soft); }
.btn-outline {
  background: transparent; color: var(--sv-text);
  border: 1.5px solid var(--sv-line-2);
}
.btn-outline:hover { border-color: var(--sv-primary); color: var(--sv-primary); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* Hero */
.sv-hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: calc(80px + env(safe-area-inset-top, 0)) 0 100px;
}
.sv-hero__canvas { position: absolute; inset: 0; z-index: 0; width: 100%; }
.sv-hero__canvas canvas { width: 100%; height: 100%; display: block; }
.sv-hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 75% at 50% 42%, rgba(0, 0, 0, 0) 0%, var(--sv-bg) 72%),
    linear-gradient(to bottom, transparent 0%, var(--sv-bg) 96%);
}
.sv-hero__body {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}
.sv-hero--center .sv-hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sv-hero--center .sv-vpn-status--hero { margin-inline: auto; }
.sv-hero__title {
  font-size: clamp(2.4rem, 7vw, 4.5rem); font-weight: 800;
  line-height: 1.02; letter-spacing: -0.04em; max-width: 16ch; margin: 0 auto 20px;
}
.sv-hero__title span {
  background: var(--sv-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sv-hero__lead {
  font-size: clamp(1rem, 2.5vw, 1.125rem); color: var(--sv-text-2);
  max-width: 58ch; margin: 0 auto 32px; line-height: 1.7;
}
.sv-hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px;
  justify-content: center;
}
.sv-hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  width: 100%; max-width: 640px; margin-inline: auto;
}
.sv-stat {
  padding: 18px; border-radius: 18px; background: var(--sv-glass);
  border: 1px solid var(--sv-line); backdrop-filter: blur(12px);
}
.sv-stat__icon { margin-bottom: 6px; line-height: 0; }
.sv-stat strong { display: block; font-size: 1.25rem; font-weight: 800; color: var(--sv-primary); margin-bottom: 2px; }
.sv-stat span { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sv-text-3); }

/* Page hero */
.sv-page-hero { padding: calc(88px + env(safe-area-inset-top, 0)) 0 48px; border-bottom: 1px solid var(--sv-line); }
.sv-page-hero__tag { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sv-primary); margin-bottom: 12px; }
.sv-page-hero__title { font-size: clamp(2rem, 5.5vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; max-width: 18ch; }
.sv-page-hero__lead { margin-top: 16px; font-size: 1.05rem; color: var(--sv-text-2); max-width: 60ch; line-height: 1.7; }

/* Sections */
.sv-section { padding: 72px 0; }
.sv-section--tight { padding: 48px 0; }
.sv-section__head { margin-bottom: 40px; }
.sv-section__tag { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sv-primary); margin-bottom: 10px; }
.sv-section__title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }

/* Premium cards with 3D */
.sv-premium-grid { display: grid; gap: 20px; grid-template-columns: repeat(12, 1fr); }
.sv-premium-card {
  grid-column: span 6; position: relative; overflow: hidden;
  border-radius: 24px; border: 1px solid var(--sv-line); background: var(--sv-bg-2);
  padding: 28px; min-height: 280px; display: flex; flex-direction: column;
  box-shadow: var(--sv-shadow); transition: 0.3s;
}
.sv-premium-card:hover { border-color: var(--sv-line-2); transform: translateY(-3px); }
.sv-premium-card--wide { grid-column: span 8; }
.sv-premium-card--narrow { grid-column: span 4; }
.sv-premium-card--full { grid-column: span 12; }
.sv-scene-card {
  position: absolute; right: 0; top: 0; width: 55%; height: 100%;
  opacity: 0.85; pointer-events: none;
}
.sv-scene-card canvas { width: 100%; height: 100%; display: block; }
.sv-premium-card__icon { margin-bottom: 10px; position: relative; z-index: 1; line-height: 0; }
.sv-premium-card__idx { font-size: 11px; font-weight: 800; color: var(--sv-primary); letter-spacing: 0.12em; margin-bottom: 12px; }
.sv-premium-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; max-width: 20ch; position: relative; z-index: 1; }
.sv-premium-card p { font-size: 14px; color: var(--sv-text-2); line-height: 1.65; max-width: 36ch; position: relative; z-index: 1; }

/* Feature list */
.sv-feature-list { display: flex; flex-direction: column; gap: 0; }
.sv-feature {
  display: grid; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--sv-line);
  grid-template-columns: 48px 1fr 200px; align-items: center;
}
.sv-feature:first-child { border-top: 1px solid var(--sv-line); }
.sv-feature__icon { line-height: 0; }
.sv-feature__num { font-size: 2.5rem; font-weight: 800; color: var(--sv-primary); opacity: 0.7; line-height: 1; }
.sv-feature__body h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 10px; }
.sv-feature__body p { font-size: 14px; color: var(--sv-text-2); line-height: 1.7; margin-bottom: 8px; }
.sv-feature__scene { height: 160px; border-radius: 16px; overflow: hidden; border: 1px solid var(--sv-line); background: var(--sv-bg-3); }

/* Steps */
.sv-steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sv-step {
  padding: 24px; border-radius: 20px; border: 1px solid var(--sv-line);
  background: var(--sv-bg-2); position: relative; overflow: hidden;
}
.sv-step__scene { height: 100px; margin: -24px -24px 16px; opacity: 0.9; }
.sv-step__icon { margin-bottom: 8px; line-height: 0; }
.sv-step__num { font-size: 11px; font-weight: 800; color: var(--sv-primary); letter-spacing: 0.1em; margin-bottom: 10px; }
.sv-step h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.sv-step p { font-size: 13px; color: var(--sv-text-2); line-height: 1.6; }

/* Pricing */
.sv-pricing { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.sv-price {
  padding: 28px; border-radius: 24px; border: 1px solid var(--sv-line);
  background: var(--sv-bg-2); display: flex; flex-direction: column; gap: 10px;
  transition: 0.3s; position: relative; overflow: hidden;
}
.sv-price:hover { transform: translateY(-4px); box-shadow: var(--sv-shadow); }
.sv-price.is-featured { border-color: var(--sv-primary); box-shadow: 0 0 0 1px var(--sv-primary), var(--sv-shadow); }
.sv-price__scene { position: absolute; inset: 0; opacity: 0.35; pointer-events: none; }
.sv-price__name { font-weight: 800; font-size: 1.05rem; position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
.sv-price__dur { font-size: 12px; color: var(--sv-text-3); font-weight: 600; position: relative; z-index: 1; }
.sv-price__amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--sv-primary); position: relative; z-index: 1; }
.sv-price__amount small { font-size: 1rem; font-weight: 600; color: var(--sv-text-3); }
.sv-price__desc { font-size: 13px; color: var(--sv-text-2); flex: 1; line-height: 1.55; position: relative; z-index: 1; }
.sv-price__badge {
  align-self: flex-start; font-size: 10px; font-weight: 800; padding: 4px 10px;
  border-radius: 999px; background: var(--sv-gradient); color: var(--sv-on-primary); position: relative; z-index: 1;
}

/* FAQ */
.sv-faq { display: flex; flex-direction: column; gap: 10px; max-width: 800px; }
.sv-faq__entry { border: 1px solid var(--sv-line); border-radius: 18px; background: var(--sv-bg-2); overflow: hidden; }
.sv-faq__trigger {
  width: 100%; padding: 20px; background: none; border: none; text-align: left;
  display: flex; gap: 14px; align-items: flex-start; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 700; color: var(--sv-text);
}
.sv-faq__icon { flex-shrink: 0; line-height: 0; margin-top: 1px; }
.sv-faq__chev {
  margin-left: auto; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--sv-line); display: grid; place-items: center;
  font-size: 16px; color: var(--sv-text-3); transition: 0.3s; flex-shrink: 0;
}
.sv-faq__entry.is-open .sv-faq__chev { transform: rotate(45deg); border-color: var(--sv-primary); color: var(--sv-primary); }
.sv-faq__panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.sv-faq__entry.is-open .sv-faq__panel { max-height: 600px; }
.sv-faq__answer { padding: 0 20px 20px 56px; font-size: 14px; color: var(--sv-text-2); line-height: 1.75; }
.sv-faq__answer p { margin: 0 0 10px; }
.sv-faq__answer p:last-child { margin-bottom: 0; }

.sv-wg-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 14px;
}
.sv-wg-links__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--sv-line);
  background: var(--sv-bg-3);
  color: var(--sv-text);
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.sv-wg-links__item:hover {
  border-color: var(--sv-primary);
  background: var(--sv-gradient-soft);
  transform: translateX(2px);
}
.sv-wg-links__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--sv-bg-2);
  border: 1px solid var(--sv-line);
  line-height: 0;
}
.sv-wg-links__label { flex: 1; min-width: 0; }
.sv-wg-links__chevron {
  flex-shrink: 0;
  opacity: 0.45;
  line-height: 0;
}

/* CTA Premium */
.cta-premium { margin: 0 auto 72px; }
.cta-premium__inner {
  position: relative; overflow: hidden; border-radius: 28px;
  border: 1px solid var(--sv-line); padding: 40px 32px;
  display: grid; gap: 24px; align-items: center;
}
.cta-premium--gradient .cta-premium__inner { background: var(--sv-gradient); border: none; color: var(--sv-cta-text); }
.cta-premium--glass .cta-premium__inner { background: var(--sv-glass); backdrop-filter: blur(20px); }
.cta-premium--split .cta-premium__inner { background: var(--sv-bg-2); grid-template-columns: 1fr 1fr; }
.cta-premium__visual { position: absolute; right: 0; top: 0; width: 45%; height: 100%; opacity: 0.5; }
.cta-premium__visual canvas { width: 100%; height: 100%; }
.cta-premium__content { position: relative; z-index: 1; }
.cta-premium__title { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.cta-premium--gradient .cta-premium__title { color: var(--sv-cta-text); }
.cta-premium__text { font-size: 15px; opacity: 0.9; max-width: 48ch; line-height: 1.65; margin-bottom: 20px; color: var(--sv-text-2); }
.cta-premium--gradient .cta-premium__text { color: var(--sv-cta-text); }
.cta-premium__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-premium--gradient .btn-primary {
  background: var(--sv-btn-surface); color: var(--sv-btn-surface-text);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}
.cta-premium--gradient .btn-primary:hover { filter: brightness(0.98); }
.cta-premium--gradient .btn-ghost {
  border-color: var(--sv-cta-ghost-border); color: var(--sv-cta-ghost-text);
  background: rgba(255, 255, 255, 0.08);
}
.cta-premium--gradient .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16); color: var(--sv-cta-ghost-text); border-color: rgba(255, 255, 255, 0.65);
}
.cta-premium--glass .btn-ghost,
.cta-premium--split .btn-ghost { background: var(--sv-bg-2); }

/* Auth */
.sv-auth { display: grid; gap: 40px; padding: calc(88px + env(safe-area-inset-top, 0)) 0 100px; grid-template-columns: 1fr 420px; align-items: start; }
.sv-auth__intro h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.sv-auth__intro p { display: flex; align-items: flex-start; gap: 8px; color: var(--sv-text-2); line-height: 1.7; margin-bottom: 12px; }
.sv-auth__back a { display: inline-flex; align-items: center; gap: 6px; }
.auth-panel {
  background: var(--sv-bg-2); border: 1px solid var(--sv-line);
  border-radius: 24px; padding: 28px; box-shadow: var(--sv-shadow);
}
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--sv-bg-3); border-radius: 14px; margin-bottom: 20px; }
.auth-tab { padding: 10px; border: none; background: transparent; border-radius: 11px; font-weight: 700; font-size: 13px; color: var(--sv-text-3); cursor: pointer; font-family: inherit; transition: 0.2s; }
.auth-tab:hover:not(.is-active) { color: var(--sv-text); background: var(--sv-bg-2); }
.auth-tab.is-active { background: var(--sv-gradient); color: var(--sv-on-primary); }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sv-text-3); margin-bottom: 6px; }
.form-field input {
  width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--sv-line);
  background: var(--sv-bg); color: var(--sv-text); font-family: inherit; font-size: 14px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input::placeholder { color: var(--sv-input-placeholder); }
.form-field input:focus { border-color: var(--sv-primary); box-shadow: 0 0 0 3px var(--sv-glow); }
.btn-tg { width: 100%; background: #229ed9; color: var(--sv-on-primary); border: none; border-radius: 14px; padding: 13px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; transition: 0.2s; }
.btn-tg:hover { filter: brightness(1.05); }
.tg-hint { font-size: 12px; color: var(--sv-text-3); text-align: center; margin-top: 8px; }
.tg-wait { padding: 20px; border-radius: 14px; border: 1px solid var(--sv-line); background: var(--sv-bg-3); text-align: center; }
.tg-wait[hidden] { display: none !important; }
.tg-wait-title { font-weight: 700; margin-bottom: 8px; }
.tg-wait-hint-spaced { margin-bottom: 16px; }
.tg-wait-actions { margin-top: 12px; }
.divider { text-align: center; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sv-text-3); margin: 18px 0; position: relative; }
.divider::before, .divider::after { content: ''; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--sv-line); }
.divider::before { left: 0; } .divider::after { right: 0; }
.alert { padding: 12px; border-radius: 12px; font-size: 13px; margin-bottom: 14px; display: none; }
.alert.is-show { display: block; }
.alert-error { background: var(--sv-alert-error-bg); border: 1px solid var(--sv-alert-error-border); color: var(--sv-alert-error-text); }
.alert-success { background: var(--sv-alert-success-bg); border: 1px solid var(--sv-alert-success-border); color: var(--sv-alert-success-text); }
.alert-warning { background: var(--sv-alert-warning-bg); border: 1px solid var(--sv-alert-warning-border); color: var(--sv-alert-warning-text); font-weight: 500; }
.alert-warning strong { display: block; margin-bottom: 4px; }
.auth-forgot-wrap { text-align: right; margin: -6px 0 14px; }
.auth-forgot-link, .auth-back-link {
  background: none; border: none; padding: 0; font-family: inherit; font-size: 13px;
  color: var(--sv-primary); cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.auth-forgot-link:hover, .auth-back-link:hover { opacity: 0.85; }
.auth-forgot-panel[hidden] { display: none !important; }
.auth-forgot-title { font-size: 18px; font-weight: 800; margin: 12px 0 8px; }
.auth-forgot-desc { font-size: 13px; color: var(--sv-text-3); margin-bottom: 16px; line-height: 1.5; }
.auth-tabs[hidden] { display: none !important; }
.recaptcha-wrap { margin-bottom: 14px; min-height: 78px; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--sv-line-2); border-top-color: currentColor; border-radius: 50%; animation: spin .6s linear infinite; }
.spinner[hidden] { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }

.sv-auth__visual {
  margin-top: 24px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--sv-line); min-height: 200px; position: relative;
}
.sv-auth__visual canvas { width: 100%; height: 200px; display: block; }
.sv-auth__back { margin-top: 24px; font-size: 13px; color: var(--sv-text-3); }
.sv-teasers { display: grid; gap: 12px; }
.sv-teaser {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; border-radius: 20px; border: 1px solid var(--sv-line);
  background: var(--sv-bg-2); transition: 0.25s;
}
.sv-teaser > div { flex: 1; min-width: 0; }
.sv-teaser:hover { border-color: var(--sv-primary); background: var(--sv-gradient-soft); transform: translateX(4px); }
.sv-teaser h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.sv-teaser p { font-size: 13px; color: var(--sv-text-2); }
.sv-teaser__icon { display: flex; line-height: 0; flex-shrink: 0; }
.sv-teaser__arrow { font-size: 20px; color: var(--sv-primary); font-weight: 800; }

/* Prose */
.sv-prose { max-width: 68ch; color: var(--sv-text-2); line-height: 1.75; font-size: 15px; }
.sv-prose p { margin-bottom: 16px; }
.sv-prose a { color: var(--sv-primary); font-weight: 600; }

/* Footer */
.sv-footer { border-top: 1px solid var(--sv-line); padding: 48px 0 100px; margin-top: 24px; }
.sv-footer__grid { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr; margin-bottom: 28px; }
.sv-footer__desc { font-size: 13px; color: var(--sv-text-2); margin-top: 12px; max-width: 30ch; line-height: 1.6; }
.sv-footer__head { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sv-text-3); margin-bottom: 12px; }
.sv-footer__col { display: flex; flex-direction: column; gap: 8px; }
.sv-footer__col a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sv-text-2); font-weight: 500; }
.sv-footer__link-icon { display: flex; line-height: 0; }
.sv-footer__col a:hover { color: var(--sv-primary); }
.sv-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--sv-line); font-size: 12px; color: var(--sv-text-3); font-weight: 600; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (min-width: 901px) {
  .sv-command { display: block; margin-inline: auto; }
  .sv-dock { display: none; }
  .sv-menu-btn { display: none; }
  .sv-footer { padding-bottom: 48px; }
  body { padding-bottom: 0; }
}

@media (max-width: 900px) {
  .sv-header__cta { display: none; }
  .sv-menu-btn { display: flex; }
  /* Статус сети не в шапке — перекрывался иконками; остаётся в hero/меню «Ещё» */
  .sv-status-strip { display: none; }
  .sv-page-hero > .sv-wrap > .sv-vpn-status--bar,
  .sv-auth__intro > .sv-vpn-status--bar,
  #sv-main > .sv-section:first-of-type > .sv-wrap > .sv-vpn-status--bar { display: none; }
  .sv-auth { grid-template-columns: 1fr; }
  .sv-auth .auth-panel { order: -1; }
  .sv-footer__grid { grid-template-columns: 1fr 1fr; }
  .sv-premium-card, .sv-premium-card--wide, .sv-premium-card--narrow, .sv-premium-card--full { grid-column: span 12; }
  .sv-feature { grid-template-columns: 40px 1fr; }
  .sv-feature__scene { grid-column: 1 / -1; height: 140px; }
  .cta-premium--split .cta-premium__inner { grid-template-columns: 1fr; }
  .cta-premium__visual { position: relative; width: 100%; height: 140px; }
}

@media (max-width: 560px) {
  .sv-wrap { width: calc(100% - 24px); }
  .sv-hero__stats { grid-template-columns: 1fr; }
  .sv-hero__actions .btn { flex: 1 1 100%; }
  .sv-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .sv-vpn-status__ring { animation: none; }
  body::before,
  body::after { animation: none; }
}
