/* Nick VPN — Studio 2026 Ultra Premium Style */

:root {
  --primary: #008a73;
  --primary-dark: #004d40;
  --primary-light: #e8f5f1;
  --text: #0b110f;
  --muted: #64746f;
  --bg: #f5f7f6;
  --bg-alt: #eef2f1;
  --border: rgba(0, 0, 0, 0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --wrap: 1040px;
  --wrap-narrow: 720px;
  --header-h: 64px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --header-total: calc(var(--header-h) + var(--safe-top));
  --section-y: clamp(40px, 5vw, 56px);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-strong: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 24px rgba(0, 40, 32, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --glass-blur: blur(20px) saturate(160%);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.18s;
  --dur-med: 0.32s;
  
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-brand: 'Montserrat', sans-serif;
  --font-hero: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-total) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.landing-body {
  background: var(--bg);
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6, .btn, .nav a, .tab, .currency-tab, .ks-store-btn-line2, .price-row-amount, .price-row-info strong, .sub-card h3, .sub-status, .auth-back {
  font-family: var(--font-heading);
}

a { color: var(--primary); transition: color 0.15s; }
a:hover { color: var(--primary-dark); }

img { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.hidden { display: none !important; }

/* ── Motion (GPU-only: opacity + transform) ── */
@keyframes heroEnter {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity var(--dur-med) var(--ease-out),
    transform var(--dur-med) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.hero-copy {
  animation: heroEnter 0.55s var(--ease-out) forwards;
}

.page-enter {
  animation: heroEnter 0.28s var(--ease-out) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-copy,
  .page-enter {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

/* ── Glass panel (iOS-style) ── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-dark {
  background: rgba(15, 25, 22, 0.45);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ── Кнопки ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast),
    box-shadow var(--dur-fast), transform var(--dur-fast);
  letter-spacing: -0.01em;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }

.btn-primary, .btn-green { 
  background: linear-gradient(180deg, #009e85 0%, #007a65 100%);
  color: #fff; 
  box-shadow: 0 8px 24px rgba(0, 138, 115, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.btn-primary:hover, .btn-green:hover { 
  background: linear-gradient(180deg, #008a73 0%, #006654 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 138, 115, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.btn-secondary, .btn-outline-green {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.btn-secondary:hover, .btn-outline-green:hover { 
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 138, 115, 0.1);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  font-size: 14px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-md); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: var(--radius-sm); }
.full { width: 100%; }

/* ── Шапка (Glassmorphism Premium) ── */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  padding-top: var(--safe-top);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.site-header .header-row {
  height: var(--header-h);
  min-height: var(--header-h);
}

.site-header--hero {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  padding-top: var(--safe-top);
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    background 0.35s var(--ease-spring),
    border-color 0.35s var(--ease-spring),
    box-shadow 0.35s var(--ease-spring);
}

.site-header--hero.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 24px rgba(0, 40, 32, 0.06);
}

/* Mobile / WebView (WeChat, UC, Samsung Internet): solid bar, no glass morph */
.site-header--hero.mobile-bar,
.site-header--hero.mobile-bar.scrolled {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  transition: none;
}

.site-header--hero.mobile-bar .logo--light,
.site-header--hero.mobile-bar.scrolled .logo--light {
  -webkit-text-fill-color: var(--primary-dark);
  color: var(--primary-dark);
  text-shadow: none;
}

.site-header--hero.mobile-bar .lang-switch--hero,
.site-header--hero.mobile-bar.scrolled .lang-switch--hero {
  background: var(--bg-alt);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.site-header--hero.mobile-bar .lang-switch--hero .lang-btn,
.site-header--hero.mobile-bar.scrolled .lang-switch--hero .lang-btn {
  color: var(--muted);
  text-shadow: none;
}

.site-header--hero.mobile-bar .lang-switch--hero .lang-btn.active,
.site-header--hero.mobile-bar.scrolled .lang-switch--hero .lang-btn.active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header,
  .site-header--hero,
  .site-header--hero.scrolled,
  .cabinet-header,
  .lang-switch,
  .lang-switch--hero {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #ffffff !important;
  }
}

.site-header--hero .logo--light {
  transition: background 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.logo--light {
  background: none;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: color 0.4s, text-shadow 0.4s, -webkit-text-fill-color 0.4s;
}
.site-header--hero.scrolled .logo--light {
  background: none;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: var(--primary-dark);
  color: var(--primary-dark);
  text-shadow: none;
}

.nav--light a {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav--light a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.site-header--hero .nav--light {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 4px 6px;
  gap: 2px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header--hero.scrolled .nav--light {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 4px 6px;
  gap: 2px;
  box-shadow: 0 4px 16px rgba(0, 40, 32, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.site-header--hero.scrolled .nav--light a {
  color: var(--text);
  text-shadow: none;
  padding: 7px 12px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
}
.site-header--hero.scrolled .nav--light a:hover {
  color: var(--primary-dark);
  background: rgba(0, 138, 115, 0.08);
}

.lang-switch--hero {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 3px;
  border-radius: var(--radius-md);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-switch--hero .lang-btn {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  min-width: 36px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-switch--hero .lang-btn:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.lang-switch--hero .lang-btn.active {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  text-shadow: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.site-header--hero.scrolled .lang-switch--hero {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 40, 32, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.site-header--hero.scrolled .lang-switch--hero .lang-btn {
  color: var(--muted);
  text-shadow: none;
}
.site-header--hero.scrolled .lang-switch--hero .lang-btn:hover:not(.active) {
  color: var(--text);
  background: rgba(0, 138, 115, 0.08);
}
.site-header--hero.scrolled .lang-switch--hero .lang-btn.active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.nav-tg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(0, 138, 115, 0.1);
  border: 1px solid rgba(0, 138, 115, 0.12);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  transition: background 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.2s;
  text-decoration: none;
}
.nav-tg-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: none;
  box-shadow: none;
}

/* Hero header — green Telegram */
.nav-tg-btn.nav-tg-btn--hero {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(180deg, #009e85 0%, #007a65 100%);
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 24px rgba(0, 138, 115, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}
.nav-tg-btn.nav-tg-btn--hero svg {
  width: 22px;
  height: 22px;
  color: #fff;
  fill: currentColor;
}
.nav-tg-btn.nav-tg-btn--hero:hover {
  color: #fff;
  background: linear-gradient(180deg, #008a73 0%, #006654 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 138, 115, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}
.site-header--hero.scrolled .nav-tg-btn.nav-tg-btn--hero {
  background: linear-gradient(180deg, #009e85 0%, #007a65 100%);
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 138, 115, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}
.site-header--hero.scrolled .nav-tg-btn.nav-tg-btn--hero svg {
  color: #fff;
}
.site-header--hero.scrolled .nav-tg-btn.nav-tg-btn--hero:hover {
  color: #fff;
  background: linear-gradient(180deg, #008a73 0%, #006654 100%);
  box-shadow: 0 12px 32px rgba(0, 138, 115, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
  min-height: var(--header-h);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 24px;
  background: linear-gradient(135deg, #004d40 0%, #00a88f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
  letter-spacing: -0.03em;
}
.logo img {
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; }

.nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.nav a:hover { color: var(--primary); }

/* Lang Switcher */
.lang-switch {
  display: flex;
  gap: 2px;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 3px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 40, 32, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 36px;
}
.lang-btn.active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.lang-btn:hover:not(.active) {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

/* ── Hero ── */
.hero--bg {
  position: relative;
  min-height: min(72vh, 680px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-total) + 24px) 0 clamp(40px, 6vh, 64px);
  background: #0a1210;
  overflow: hidden;
}

.landing-body.has-fixed-header {
  padding-top: var(--header-total);
}

@media (min-width: 901px) {
  .landing-body.has-fixed-header {
    padding-top: 0;
  }
}

.hero-bg-picture,
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-img {
  object-fit: cover;
  object-position: center 38%;
  z-index: 0;
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0, 14, 11, 0.82) 0%,
    rgba(0, 14, 11, 0.58) 38%,
    rgba(0, 14, 11, 0.22) 62%,
    rgba(0, 14, 11, 0.06) 100%
  );
}

.hero--bg .wrap.hero-shell {
  margin: 0 auto;
  max-width: var(--wrap);
  width: 100%;
  padding: 0 clamp(20px, 4vw, 32px);
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-copy {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero-eyebrow {
  display: none;
}

.hero--bg h1 {
  font-family: var(--font-hero);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
}

.hero--bg .hero-desc {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.45vw, 17px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 18px;
  max-width: 500px;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.hero-trust li {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: -0.01em;
}

.hero-trust li::before {
  content: "✓ ";
  opacity: 0.75;
  font-weight: 700;
}

.hero--bg .hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px;
  align-self: flex-start;
  justify-content: flex-start;
  width: 100%;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-heading);
  text-align: center;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.btn-hero-primary {
  background: #ffffff;
  color: var(--primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

.btn-hero-primary:hover {
  background: #f4faf8;
  color: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.btn-hero-secondary {
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn-hero-secondary:hover {
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.btn-hero-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.btn-hero-note {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.82;
  letter-spacing: 0;
  line-height: 1.2;
}

.hero-footnote {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
  line-height: 1.5;
  max-width: 420px;
}

.hero-footnote a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-footnote a:hover {
  color: #fff;
}

.hero--bg .hero-btns .btn-lg {
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
}

/* ── Секции ── */
.steps, .download, .pricing, .scenes {
  padding: var(--section-y) 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.scenes { background: var(--bg); }

.download {
  background: var(--bg-alt);
}

.steps {
  background: var(--bg);
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}

.section-head--compact { margin-bottom: 24px; }

.section-title--left,
.section-desc--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.scene-track-wrap {
  position: relative;
}

.scene-track-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.scene-track-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 138, 115, 0.22);
  cursor: pointer;
  transition: transform var(--dur-fast), background var(--dur-fast);
}

.scene-track-dot.active {
  background: var(--primary);
  transform: scale(1.35);
}

.scene-card {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}

.scene-card:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 16px 40px rgba(0, 40, 32, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.scene-card--featured {
  border-color: rgba(0, 138, 115, 0.25);
  box-shadow: 0 12px 40px rgba(0, 138, 115, 0.1);
}

.scene-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

.scene-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.45s var(--ease-out);
  transform: translateZ(0);
}

.scene-card-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.scene-card:hover .scene-card-media img {
  transform: scale3d(1.03, 1.03, 1);
}

.scene-card-body {
  padding: 14px 16px 16px;
}

.scene-card-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.scene-card-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.section-title {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, #00332a 0%, #008a73 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.section-desc {
  font-size: 15px;
  text-align: center;
  color: var(--muted);
  margin-bottom: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* ── Шаги ── */
.steps {
  background: #fff;
}

.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 18px 16px;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}

.step-card:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 12px 32px rgba(0, 40, 32, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.step-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Download layout */
.download-shell {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.download-shell--centered {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  gap: 28px;
}

.download-shell--centered .download-intro .section-title,
.download-shell--centered .download-intro .section-desc {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.download-intro .section-desc {
  margin-bottom: 0;
}

.hiddify-note {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0, 138, 115, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(240, 251, 248, 0.92) 0%, rgba(255, 255, 255, 0.92) 100%);
  color: var(--text);
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 138, 115, 0.08);
}

.hiddify-note strong {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--primary-dark);
}

.hiddify-note span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.hiddify-note--cabinet {
  margin: 0 0 18px;
}

.vpn-check-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: none;
  margin: 0;
}

.dl-modal-note {
  margin: -4px 0 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f0fbf8;
  color: var(--primary-dark);
  font-size: 13px;
  line-height: 1.45;
}

.store-grid--tiles {
  width: 100%;
}

/* Pricing */
.pricing-shell {
  max-width: 560px;
  margin: 0 auto;
}

.pricing-wrap { max-width: 560px; margin: 0 auto; }

.ks-store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(20, 22, 21, 0.92);
  backdrop-filter: blur(12px);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-height: 56px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ks-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: #fff;
  background: rgba(30, 32, 31, 0.95);
}

.ks-store-btn-svg {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
}
.ks-store-btn-svg svg { width: 100%; height: 100%; fill: currentColor; }

.ks-store-btn-icon { flex-shrink: 0; object-fit: contain; }
.ks-store-btn-icon--os { width: 32px; height: 32px; filter: brightness(0) invert(1); }
.ks-store-btn-icon--badge { width: auto; height: 36px; border-radius: 8px; }

.ks-store-btn-label {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.ks-store-btn--tile {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 16px 10px;
  min-height: 92px;
}

.ks-store-btn--tile .ks-store-btn-svg {
  width: 32px;
  height: 32px;
}

.ks-store-btn--tile .ks-store-btn-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  white-space: normal;
}

.ks-store-btn-text { display: flex; flex-direction: column; align-items: flex-start; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.ks-store-btn-line1 { font-size: 13px; opacity: 0.7; font-weight: 500; margin-bottom: 2px; }
.ks-store-btn-line2 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }

/* Download platform picker modal */
.dl-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.dl-modal.hidden { display: none !important; }

body.dl-modal-open { overflow: hidden; }

.dl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.72);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.22s var(--ease-out) forwards;
}

.dl-modal-panel {
  position: relative;
  width: min(440px, 100%);
  background: var(--card, #1a1f2e);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 22px 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  text-align: center;
  animation: heroEnter 0.28s var(--ease-out) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dl-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text, #fff);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.dl-modal-close:hover { background: rgba(255, 255, 255, 0.12); }

.dl-modal-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  padding-right: 28px;
  color: var(--text, #fff);
}

.dl-modal-desc {
  margin: 0 0 24px;
  color: var(--muted, #94a3b8);
  font-size: 14px;
}

.dl-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.dl-modal-grid .ks-store-btn {
  width: 100%;
  min-height: 100px;
}

.dl-modal-grid .ks-store-btn-svg {
  width: 32px;
  height: 32px;
}

/* ── Тарифы ── */
.price-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.currency-tabs {
  display: flex;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: fit-content;
  box-shadow: var(--glass-shadow);
}

.product-tabs {
  flex-wrap: wrap;
  justify-content: center;
}

.price-product-desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.price-double-note {
  margin: 16px 0 0;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
}

.currency-tab {
  padding: 10px 18px;
  border: none;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.currency-tab:last-child { border-right: none; }
.currency-tab.active { background: var(--primary); color: #fff; }

.price-table {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(0, 138, 115, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 138, 115, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s;
}
.price-row:last-child { border-bottom: none; }
.price-row:hover:not(.selected) { background: var(--bg-alt); }
.price-row.selected { background: var(--primary-dark); color: #fff; }
.price-row.selected em { color: rgba(255,255,255,0.7); }

.price-row-info { display: flex; flex-direction: column; gap: 4px; }
.price-row-info strong { font-size: 18px; }
.price-row-info em { font-style: normal; font-size: 15px; color: var(--muted); }
.price-row-amount { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }

.price-footer { text-align: center; margin-top: 28px; }

/* ── Подвал ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #004d40 0%, #008a73 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.footer-nav {
  display: flex;
  gap: 32px;
}
.footer-nav a {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--primary); }

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.08);
  padding: 20px 0;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 720px;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.cookie-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.cookie-link:hover { text-decoration: underline; }

/* ── Legal pages ── */
.legal-main { padding: 48px 0 80px; background: var(--bg-alt); min-height: 60vh; }
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 100px;
}
.legal-nav-link {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
}
.legal-nav-link:hover { background: #fff; color: var(--text); }
.legal-nav-link.active {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.legal-article {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--glass-shadow);
}
.legal-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.legal-updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}
.legal-section { margin-bottom: 28px; }
.legal-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}
.legal-section p {
  margin: 0 0 12px;
  line-height: 1.7;
  color: var(--muted);
  font-size: 15px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 20px;
  cursor: pointer;
  text-align: left;
}
.legal-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.legal-check span {
  flex: 1;
  min-width: 0;
}
.legal-check a { color: var(--primary); }

.cabinet-footer { margin-top: auto; }

@media (max-width: 768px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-nav {
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
  }
  .legal-article { padding: 28px 20px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
}

/* ══════════════════════════════════════
   ЛИЧНЫЙ КАБИНЕТ
   ══════════════════════════════════════ */
.cabinet-app { display: flex; flex-direction: column; min-height: 100vh; }
.cabinet-main { flex: 1; }

.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--primary-light);
  position: relative;
}
.auth-screen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(240, 244, 243, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.auth-card {
  background: var(--glass-bg-strong);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 32px 28px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 40, 32, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.auth-back {
  position: absolute;
  top: 32px; left: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-brand);
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #004d40 0%, #00a88f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 24px;
  letter-spacing: -0.03em;
}

.auth-sub { text-align: center; color: var(--muted); margin: 12px 0 16px; font-size: 16px; font-weight: 500; }

.tabs { display: flex; margin-bottom: 24px; background: rgba(0,0,0,0.03); padding: 6px; border-radius: 16px; }
.tab {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 transparent;
}
.tab.active { background: #fff; color: var(--text); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

.auth-forms-wrap {
  display: grid;
  grid-template: 1fr / 1fr;
  align-items: start;
}
.auth-forms-wrap > .auth-form {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  margin: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.auth-forms-wrap > .auth-form.hidden {
  display: flex !important;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.auth-forms-wrap > .auth-form:not(.hidden) {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.auth-forms-wrap .auth-form .btn.full {
  margin-top: auto;
}

.auth-form input:not([type="checkbox"]) {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font-body);
}
.auth-form input:not([type="checkbox"]):last-of-type {
  margin-bottom: 16px;
}
.auth-form .legal-check {
  margin-bottom: 16px;
}

.auth-form input:not([type="checkbox"]):focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }

.error { color: #e53935; font-size: 14px; margin-top: 16px; min-height: 20px; font-weight: 600; text-align: center; }
.error.hidden { margin-top: 16px; visibility: hidden; }

.cabinet-header {
  background: #ffffff;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
  padding-top: var(--safe-top);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.cabinet-header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  min-height: var(--header-h);
  gap: 16px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
  min-width: 0;
}

.cabinet-nav { display: flex; gap: 12px; flex: 1; }

.cabinet-nav-item {
  font-family: var(--font-heading);
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 14px;
  transition: all 0.25s;
}
.cabinet-nav-item.active { background: var(--text); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.cabinet-nav-item:hover:not(.active) { background: rgba(0,0,0,0.04); color: var(--text); }

.cabinet-mobile-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
  gap: 8px;
  justify-content: space-around;
}

.cabinet-mobile-nav-item {
  flex: 1;
  min-height: 44px;
  padding: 10px 8px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cabinet-mobile-nav-item.active {
  background: var(--text);
  color: #fff;
}

.cabinet-mobile-nav-item:hover:not(.active) {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
}

.cabinet-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: auto;
}

.cabinet-main { padding: 32px 0 56px; }

.cabinet-page h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cabinet-page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.cabinet-page-head h1 { margin: 0; }

.cabinet-hint { color: var(--muted); font-size: 16px; margin-bottom: 24px; line-height: 1.6; }

.cabinet-notice {
  position: sticky;
  top: calc(var(--header-total) + 10px);
  z-index: 50;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 40, 32, 0.08);
}
.cabinet-notice--ok { background: #ecfdf3; color: #027a48; border-color: rgba(2, 122, 72, 0.2); }
.cabinet-notice--error { background: #fef3f2; color: #b42318; border-color: rgba(180, 35, 24, 0.2); }
.cabinet-notice--info { background: #eff8ff; color: #175cd3; border-color: rgba(23, 92, 211, 0.2); }

.cabinet-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.cabinet-overview-card,
.cabinet-overview-actions {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 16px;
}
.cabinet-overview-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.cabinet-overview-card strong {
  font-size: 26px;
  line-height: 1;
  font-family: var(--font-heading);
}
.cabinet-overview-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-alt {
  margin: 0 0 20px;
  text-align: center;
  font-size: 14px;
}
.auth-alt a { color: var(--primary); font-weight: 600; text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }

body.guest-mode .cabinet-nav-item:not([data-page="buy"]) { display: none; }
body.guest-mode .cabinet-mobile-nav-item:not([data-page="buy"]) { display: none; }
body.guest-mode #logout-btn { display: none; }
body.guest-mode #user-email { display: none; }
body:not(.guest-mode) #guest-login-btn { display: none; }

.checkout-account {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px 20px 12px;
  margin-bottom: 20px;
  box-shadow: var(--glass-shadow);
}
.checkout-account-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
}
.checkout-form { margin-bottom: 8px; }
.checkout-login-hint {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 4px;
}
.checkout-login-hint a { color: var(--primary); font-weight: 600; }

.sub-region-row { margin: 16px 0 12px; }
.sub-region-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.cabinet-region {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  font-size: 15px;
  font-weight: 600;
}

.region-picker {
  margin-bottom: 32px;
}

.region-picker-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.region-picker-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sub-region-btns.sub-region-busy { opacity: 0.55; pointer-events: none; }

.region-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  padding: 10px 16px 10px 12px;
  min-height: 48px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.region-btn-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.region-btn-text {
  line-height: 1.2;
  white-space: nowrap;
}

.region-btn:hover {
  border-color: rgba(0, 138, 115, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 138, 115, 0.08);
}

.region-btn.active {
  border-color: var(--primary);
  background: linear-gradient(180deg, #f0fbf8 0%, #e8f7f3 100%);
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(0, 138, 115, 0.14);
}

.region-btn.active .region-btn-icon {
  box-shadow: 0 0 0 2px rgba(0, 138, 115, 0.2);
}

.region-btn--compact {
  min-height: 40px;
  padding: 8px 14px 8px 10px;
  font-size: 14px;
}

.region-btn--compact .region-btn-icon {
  width: 24px;
  height: 24px;
}

/* Buy page — connection settings */
.buy-config {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 20px 4px;
  margin-bottom: 24px;
  box-shadow: var(--glass-shadow);
  overflow: visible;
}

.buy-field {
  margin-bottom: 16px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.buy-field:has(.flag-dropdown.is-open) {
  z-index: 50;
}

.buy-pricing-block {
  margin-bottom: 24px;
}

.buy-section-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.buy-field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.buy-field-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.45;
}

.buy-type-toggle {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.buy-type-btn {
  flex: 1;
  min-width: 140px;
  padding: 14px 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.buy-type-btn:hover {
  border-color: rgba(0, 138, 115, 0.35);
}

.buy-type-btn.active {
  border-color: var(--primary);
  background: linear-gradient(180deg, #f0fbf8 0%, #e8f7f3 100%);
  color: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(0, 138, 115, 0.12);
}

.select-with-flag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 4px 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  max-width: 360px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.select-with-flag:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 138, 115, 0.12);
}

.select-with-flag--chain {
  max-width: 420px;
}

.select-with-flag--compact {
  max-width: 280px;
  padding: 2px 2px 2px 10px;
}

/* Custom flag dropdown (replaces native select) */
.flag-dropdown {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.flag-dropdown--chain {
  max-width: 480px;
}

.flag-dropdown--compact {
  max-width: 100%;
}

.flag-dropdown--inline.is-open {
  z-index: 20;
}

.flag-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.flag-dropdown--compact .flag-dropdown-trigger {
  padding: 8px 12px;
  font-size: 14px;
}

.flag-dropdown.is-open .flag-dropdown-trigger,
.flag-dropdown-trigger:hover {
  border-color: rgba(0, 138, 115, 0.35);
}

.flag-dropdown.is-open .flag-dropdown-trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 138, 115, 0.12);
}

.flag-dropdown-label {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.flag-dropdown-chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.2s;
}

.flag-dropdown.is-open .flag-dropdown-chevron {
  transform: rotate(180deg);
}

.flag-dropdown-chain {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.flag-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 6px;
  max-height: min(320px, 50vh);
  overflow-y: auto;
}

.flag-dropdown.is-open .flag-dropdown-menu {
  display: block;
}

.flag-dropdown--inline .flag-dropdown-menu {
  position: static;
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  max-height: 240px;
  transform: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.flag-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background 0.15s;
}

.flag-dropdown--compact .flag-dropdown-item {
  font-size: 14px;
  padding: 8px 10px;
}

.flag-dropdown-item:hover {
  background: rgba(0, 138, 115, 0.06);
}

.flag-dropdown-item.active {
  background: rgba(0, 138, 115, 0.1);
  color: var(--primary-dark);
}

.sub-exit-dropdown {
  max-width: 320px;
  margin-top: 4px;
}

.sub-chain-dropdown {
  max-width: 420px;
  margin-top: 4px;
}

.select-flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chain-arrow {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}

.chain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 10px;
  max-width: 720px;
}

.chain-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: var(--font-heading);
}

.chain-card:hover {
  border-color: rgba(0, 138, 115, 0.35);
  box-shadow: 0 4px 16px rgba(0, 138, 115, 0.08);
}

.chain-card.active {
  border-color: var(--primary);
  background: rgba(0, 138, 115, 0.06);
  box-shadow: 0 0 0 3px rgba(0, 138, 115, 0.12);
}

.chain-card-flags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chain-card-flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chain-card-arrow {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.chain-card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 480px) {
  .chain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.country-select {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 12px 14px 12px 0;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.country-select--compact {
  font-size: 14px;
  padding: 8px 32px 8px 0;
}

.country-select:focus {
  outline: none;
}

.sub-exit-select-wrap {
  margin-top: 4px;
}

.empty-card, .sub-card, .settings-card {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--glass-shadow);
}

.empty-card { text-align: center; padding: 48px 20px; }
.sub-card { position: relative; }
.sub-card--busy {
  opacity: 0.72;
  pointer-events: none;
}
.sub-card--busy::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.38);
}
.sub-op-status {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: #eff8ff;
  color: #175cd3;
  font-weight: 700;
  font-size: 13px;
}

.sub-card-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.sub-card h3 { font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.sub-meta { font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 8px; }

.sub-status {
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  height: fit-content;
}

.sub-key-label {
  font-size: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: block;
}

.key-box {
  background: var(--bg-alt);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 16px;
  padding: 20px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 14px;
  word-break: break-all;
  margin-bottom: 20px;
  color: var(--text);
}

.sub-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.settings-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 24px; color: var(--text); letter-spacing: -0.01em; }

.payment-panel { margin-top: 40px; }
.payment-details {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--primary);
  border-radius: 20px;
  padding: 32px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.8;
  box-shadow: 0 16px 40px rgba(0, 138, 115, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ── Адаптив ── */
@media (max-width: 900px) {
  :root {
    --section-y: 36px;
    --header-h: 56px;
    --glass-blur: none;
  }

  .landing-body.has-fixed-header {
    padding-top: var(--header-total);
  }

  .site-header,
  .site-header--hero,
  .site-header--hero.scrolled,
  .site-header--hero.mobile-bar,
  .cabinet-header,
  .lang-switch,
  .lang-switch--hero,
  .scene-card,
  .step-card,
  .auth-card,
  .buy-config,
  .sub-card,
  .settings-card,
  .price-table {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-header {
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  }

  .site-header--hero,
  .site-header--hero.scrolled {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    transition: none;
  }

  .site-header--hero .logo--light,
  .site-header--hero.scrolled .logo--light {
    -webkit-text-fill-color: var(--primary-dark);
    color: var(--primary-dark);
    text-shadow: none;
  }

  .site-header--hero .lang-switch--hero,
  .site-header--hero.scrolled .lang-switch--hero {
    background: var(--bg-alt);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: none;
  }

  .site-header--hero .lang-switch--hero .lang-btn,
  .site-header--hero.scrolled .lang-switch--hero .lang-btn {
    color: var(--muted);
    text-shadow: none;
  }

  .site-header--hero .btn-header {
    display: none;
  }

  .cabinet-header {
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  }

  .cabinet-header-inner {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0 12px;
  }

  .cabinet-header .logo {
    font-size: 18px;
    gap: 8px;
  }

  .cabinet-header .logo img {
    width: 32px;
    height: 32px;
  }

  .cabinet-user {
    gap: 6px;
  }

  .cabinet-user .lang-switch {
    padding: 2px;
  }

  .cabinet-user .lang-btn {
    min-width: 32px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .cabinet-user .btn-sm {
    padding: 8px 10px;
    font-size: 12px;
    min-height: 40px;
  }

  .hero--bg {
    min-height: auto;
    padding: 20px 0 40px;
  }

  .hero-bg-img {
    object-position: center 32%;
  }

  .hero--bg .wrap.hero-shell {
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-copy { max-width: 100%; text-align: center; margin: 0 auto; align-items: center; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hero--bg .hero-desc { margin-left: auto; margin-right: auto; margin-bottom: 20px; }
  .hero--bg .hero-btns {
    justify-content: center;
    align-self: center;
    gap: 10px;
  }

  .hero--bg .hero-btns .btn-lg,
  .hero--bg .hero-btns .btn-hero-primary,
  .hero--bg .hero-btns .btn-hero-secondary {
    flex: 1 1 100%;
    max-width: 320px;
    width: 100%;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-footnote {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .header-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .logo {
    font-size: 18px;
    gap: 8px;
  }

  .logo img {
    width: 32px;
    height: 32px;
  }

  .header-actions {
    gap: 6px;
  }

  .lang-switch--hero {
    padding: 2px;
  }

  .lang-switch--hero .lang-btn {
    min-width: 32px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .nav, .header-actions .nav-muted { display: none; }

  .scene-track-wrap {
    margin: 0 -20px;
    padding: 0 20px;
  }

  .scene-grid.scene-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    gap: 12px;
    max-width: none;
    margin: 0;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .scene-grid.scene-track::-webkit-scrollbar {
    display: none;
  }

  .scene-grid.scene-track .scene-card {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: center;
  }

  .scene-card--featured { order: 0; }

  .scene-card-media {
    aspect-ratio: 3 / 2;
  }

  .scene-card-media img {
    object-position: center 18%;
  }

  .scene-track-dots {
    display: flex;
  }

  .steps-grid { grid-template-columns: 1fr; gap: 12px; max-width: none; margin: 0; }

  .download-shell { grid-template-columns: 1fr; gap: 20px; text-align: center; max-width: none; }
  .section-title--left, .section-desc--left { text-align: center; margin-left: auto; margin-right: auto; }

  .store-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; margin: 0 auto; gap: 10px; }
  .cabinet-nav { display: none; }
  .cabinet-mobile-nav { display: flex; }
  .cabinet-main { padding: 24px 0 calc(88px + var(--safe-bottom, 0px) + 72px); }
  .cabinet-footer { padding-bottom: calc(72px + var(--safe-bottom, 0px)); }
  .cabinet-page-head { flex-direction: column; align-items: stretch; }
  .cabinet-page-head .btn { width: 100%; min-height: 44px; }
  .sub-card, .plan-card, .checkout-step, .settings-card { border-radius: 16px; }
  .btn, .tab, .currency-tab, .product-tab { min-height: 44px; }
  .cabinet-user span { display: none; }
  .currency-tabs { width: 100%; }
  .currency-tab { flex: 1; padding: 12px 6px; font-size: 13px; }
  .wrap { padding: 0 16px; }
  .footer-nav { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .footer-row { justify-content: center; text-align: center; }
  .auth-card { padding: 28px 22px; border-radius: 20px; }
  .payment-panel { margin-top: 24px; }
  .payment-details { padding: 20px; font-size: 15px; line-height: 1.65; }
}

@media (max-width: 480px) {
  .hero--bg h1 { font-size: 26px; }
  .logo { font-size: 20px; gap: 8px; }
  .btn-header { height: 38px; padding: 0 14px; font-size: 13px; }
  .nav-tg-btn.nav-tg-btn--hero { width: 38px; height: 38px; }
}

.session-loader {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(0, 138, 115, 0.08);
  color: var(--accent, #008a73);
  font-size: 15px;
  text-align: center;
}
.session-loader.hidden { display: none; }