:root {
  --bg: #07111f;
  --bg-soft: rgba(12, 24, 40, 0.72);
  --surface: rgba(11, 23, 38, 0.72);
  --surface-strong: rgba(13, 28, 47, 0.92);
  --surface-light: rgba(255, 255, 255, 0.06);
  --surface-border: rgba(255, 255, 255, 0.12);
  --text: #ebf6ff;
  --muted: #9fc1dc;
  --accent: #17a9ff;
  --accent-2: #5aff94;
  --accent-3: #0a4dff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 20px 55px rgba(4, 20, 38, 0.24);
  --radius: 28px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100% - 32px));
  --grid: rgba(70, 111, 147, 0.12);
}

body.light-theme {
  --bg: #edf6ff;
  --bg-soft: rgba(255, 255, 255, 0.92);
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --surface-light: rgba(14, 53, 93, 0.04);
  --surface-border: rgba(7, 73, 142, 0.16);
  --text: #0b1d38;
  --muted: #496480;
  --shadow: 0 30px 90px rgba(15, 70, 130, 0.12);
  --shadow-soft: 0 20px 55px rgba(25, 84, 150, 0.14);
  --grid: rgba(75, 132, 189, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(29, 132, 255, 0.2), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(90, 255, 148, 0.18), transparent 25%),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in oklab, var(--bg), #03101f 24%) 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; }

.page-shell::before,
.page-shell::after {
  content: '';
  position: fixed;
  inset: auto;
  width: 42vw;
  height: 42vw;
  filter: blur(75px);
  pointer-events: none;
  opacity: 0.26;
  z-index: -3;
}
.page-shell::before {
  top: -10vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(12, 100, 255, 0.55), transparent 60%);
}
.page-shell::after {
  right: -12vw;
  bottom: 8vw;
  background: radial-gradient(circle, rgba(78, 255, 158, 0.38), transparent 55%);
}

.container { width: var(--container); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.gradient-section { background: linear-gradient(180deg, transparent, rgba(10, 26, 44, 0.4), transparent); }
.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}
.section-heading h2 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-heading { min-height: 220px; }
@media (max-width: 1240px) { .section-heading { min-height: 0; } }
.product-card h3 { min-height: 2.6em; }
@media (max-width: 900px) { .product-card h3 { min-height: 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--accent-2);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  background: color-mix(in oklab, var(--bg-soft), transparent 10%);
  border-bottom: 1px solid color-mix(in oklab, var(--surface-border), rgba(255,255,255,.08) 45%);
}
body.light-theme .site-header {
  background: rgba(245, 251, 255, 0.9);
}
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 82px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; max-width: 300px; flex: 0 1 auto; }
.brand-mark {
  width: 58px;
  height: 62px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 14px 26px rgba(10, 88, 214, 0.26));
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-copy strong { font-size: 1rem; letter-spacing: 0.03em; line-height: 1; white-space: nowrap; }
.brand-copy span { font-size: 0.83rem; color: var(--muted); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 210px; }
.desktop-nav { display: flex; gap: clamp(10px, 1.15vw, 18px); align-items: center; justify-self: center; min-width: 0; }
.desktop-nav a { color: var(--muted); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.desktop-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; min-width: 0; }
.toggle-group { display: flex; align-items: center; gap: 10px; }
.modern-switches { flex-shrink: 0; }
.menu-btn {
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text);
  border-radius: 18px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  box-shadow: var(--shadow-soft);
}
.mobile-menu { display: none; }
.theme-switch {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.theme-track,
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: color-mix(in oklab, var(--surface-strong), rgba(255,255,255,0.04) 12%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.theme-track {
  width: 98px;
  justify-content: space-between;
  gap: 10px;
  padding-inline: 12px;
}
.theme-thumb,
.lang-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(12, 86, 255, 0.92), rgba(21, 183, 255, 0.92), rgba(90, 255, 148, 0.9));
  box-shadow: 0 12px 24px rgba(8, 90, 216, 0.28), inset 0 1px 0 rgba(255,255,255,0.34);
  transition: transform .62s cubic-bezier(.16, 1, .3, 1), background .32s ease, box-shadow .32s ease, filter .32s ease;
  transform: translate3d(0,0,0);
  will-change: transform;
}
.theme-switch.is-light .theme-thumb { transform: translate3d(50px, 0, 0); }
.theme-icon,
.lang-flag {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}
.theme-icon {
  color: var(--text);
  font-size: 1.15rem;
  opacity: .92;
}
.lang-switch {
  width: 96px;
  justify-content: space-between;
  gap: 4px;
}
.lang-switch.is-en .lang-thumb { transform: translate3d(44px, 0, 0); }
.lang-flag {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 1.15rem;
  cursor: pointer;
  opacity: .84;
  transform: translateY(0);
  transition: opacity .28s ease, transform .42s cubic-bezier(.22, 1, .36, 1), filter .28s ease;
}
.lang-flag.active {
  opacity: 1;
  transform: translateY(-1px);
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0));
  opacity: .55;
  z-index: -1;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(90deg, var(--accent-3) 0%, var(--accent) 52%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(18, 130, 255, 0.32);
}
.btn-secondary {
  background: var(--surface);
  border-color: var(--surface-border);
  color: var(--text);
}
.btn-ghost {
  background: transparent;
  border-color: var(--surface-border);
  color: var(--muted);
}
.btn-header { min-height: 48px; padding: 0 16px; }
.glow { position: relative; }
.glow::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, rgba(11, 76, 255, .35), rgba(21, 183, 255, .18), rgba(90, 255, 148, .3));
  filter: blur(26px);
  z-index: -1;
}
.wide { width: 100%; }

.hero-section {
  position: relative;
  padding: 80px 0 60px;
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 116px);
}
.hero-copy h1 {
  margin: 18px 0;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.hero-text {
  max-width: 680px;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 32px;
}
.center-actions { justify-content: center; }
.lefted { justify-content: flex-start; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stat-card,
.feature-card,
.product-card,
.pricing-card,
.split-card,
.dashboard-card,
.faq-item,
.cta-box,
.floating-panel {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}
.stat-card {
  padding: 18px;
  border-radius: 22px;
}
.stat-card strong { display: block; font-size: 1rem; margin-bottom: 6px; }
.stat-card span { color: var(--muted); font-size: .92rem; line-height: 1.45; white-space: pre-line; }
.hero-substats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.stat-card-small {
  padding: 16px 16px;
  border-radius: 18px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.stat-card-small strong {
  margin-bottom: 7px;
  font-size: .96rem;
  line-height: 1.3;
}
.stat-card-small span {
  font-size: .88rem;
  line-height: 1.4;
}
.stat-card-devices span {
  line-height: 1.5;
}
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.payment-badge.visa {
  color: #d8e6ff;
  border-color: rgba(87, 138, 255, .24);
  background: linear-gradient(180deg, rgba(40,80,170,.24), rgba(16,33,73,.18));
}
.payment-badge.mir {
  color: #d7fff1;
  border-color: rgba(56, 210, 159, .22);
  background: linear-gradient(180deg, rgba(25,124,98,.22), rgba(11,43,39,.18));
}
.payment-badge.mastercard {
  gap: 8px;
  color: #ffe7d3;
  border-color: rgba(255, 163, 92, .24);
  background: linear-gradient(180deg, rgba(124,76,20,.22), rgba(52,31,9,.18));
}
.mc-icon {
  position: relative;
  width: 16px;
  height: 12px;
  display: inline-block;
}
.mc-icon::before,
.mc-icon::after {
  content: '';
  position: absolute;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mc-icon::before {
  left: 0;
  background: rgba(239, 90, 36, .95);
}
.mc-icon::after {
  right: 0;
  background: rgba(246, 163, 0, .9);
  mix-blend-mode: screen;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}
.device-frame {
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(12, 30, 48, .9), rgba(5, 15, 26, .98));
  box-shadow: var(--shadow);
}
.phone-frame {
  width: min(390px, 100%);
  margin: 50px auto 0;
  padding: 12px;
}
.device-topbar {
  width: 38%;
  height: 18px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  margin: 0 auto 8px;
}
.device-screen {
  border-radius: 28px;
  min-height: 610px;
  padding: 26px 22px;
  background:
    radial-gradient(circle at top center, rgba(20, 124, 255, .18), transparent 26%),
    linear-gradient(180deg, rgba(11, 21, 34, .98), rgba(8, 17, 28, .98));
  position: relative;
  overflow: hidden;
}
.screen-badge,
.pricing-badge,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--accent-2);
  font-size: .8rem;
  font-weight: 700;
}
.screen-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.screen-topline .screen-badge {
  flex: 0 1 auto;
}

.screen-decor-buttons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(11, 29, 64, .96), rgba(8, 21, 47, .96));
  border: 1px solid rgba(94, 120, 188, .3);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 8px 20px rgba(2, 8, 20, .22);
}

.screen-decor-btn {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(182, 171, 236, .96);
  opacity: .97;
  flex: 0 0 auto;
}

.screen-decor-btn svg {
  width: 16px;
  height: 16px;
  stroke: none;
  fill: currentColor;
  overflow: visible;
}

.screen-decor-btn-dots circle {
  opacity: .98;
}

.screen-title {
  margin-top: 18px;
  font-size: 1.38rem;
  font-weight: 800;
  max-width: 260px;
}
.connection-orb {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  margin: 34px auto 28px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,.18), transparent 18%),
    radial-gradient(circle, rgba(21, 183, 255, .5), rgba(10, 50, 98, .3) 55%, transparent 80%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 0 0 18px rgba(23, 169, 255, 0.06), 0 0 0 42px rgba(23, 169, 255, 0.03);
  animation: pulseOrb 4.8s ease-in-out infinite;
}
.connection-orb span {
  max-width: 110px;
  font-weight: 800;
  line-height: 1.2;
}
.segment-control {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
}
.segment {
  border: 0;
  background: transparent;
  border-radius: 14px;
  color: var(--muted);
  min-height: 42px;
  font-weight: 700;
}
.segment.active { background: rgba(23, 169, 255, 0.16); color: var(--text); }
.server-list { display: grid; gap: 10px; margin-top: 18px; }
.server-row {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
.server-row span { display: block; font-weight: 700; margin-bottom: 5px; }
.server-row small { color: var(--muted); }
.server-row.active { border-color: rgba(90,255,148,.28); background: rgba(90,255,148,.08); }
.screen-actions { display: flex; gap: 10px; margin-top: 18px; }
.mini-btn {
  flex: 1;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--text);
}
.mini-btn.active { background: rgba(23,169,255,.16); }
.floating-panel {
  position: absolute;
  width: min(230px, 68%);
  padding: 18px;
  border-radius: 22px;
}
.floating-panel span {
  display: block;
  color: var(--accent-2);
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.floating-panel strong { line-height: 1.45; font-size: .95rem; }
.top-right { top: 30px; right: 0; }
.bottom-left { left: 0; bottom: 40px; }
.aurora {
  position: absolute;
  border-radius: 999px;
  filter: blur(65px);
  opacity: .38;
  pointer-events: none;
}
.aurora-one {
  width: 36vw;
  height: 36vw;
  min-width: 320px;
  min-height: 320px;
  top: 0;
  left: -8vw;
  background: radial-gradient(circle, rgba(11, 76, 255, .7), transparent 70%);
  animation: drift 14s ease-in-out infinite;
}
.aurora-two {
  width: 30vw;
  height: 30vw;
  min-width: 260px;
  min-height: 260px;
  top: 14vh;
  right: -6vw;
  background: radial-gradient(circle, rgba(90, 255, 148, .55), transparent 72%);
  animation: drift 16s ease-in-out infinite reverse;
}
.grid-layer {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 90%);
  pointer-events: none;
}

.trust-strip { padding: 8px 0 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.trust-grid span {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

.feature-grid,
.product-grid,
.pricing-grid,
.footer-grid,
.split-grid { display: grid; gap: 18px; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  border-radius: 26px;
  padding: 26px;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(14,85,255,.24), rgba(90,255,148,.18));
  font-size: 1.35rem;
}
.feature-card h3 { margin: 0 0 10px; font-size: 1.12rem; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.product-grid { grid-template-columns: repeat(2, 1fr); }
.product-card {
  border-radius: 30px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-card.highlight {
  background: linear-gradient(180deg, rgba(16, 43, 67, .84), rgba(9, 20, 31, .9));
  border-color: rgba(90,255,148,.2);
}
.product-card h3 { margin: 14px 0 10px; font-size: 1.8rem; }
.product-card p, .product-card li { color: var(--muted); line-height: 1.7; }
.product-card ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; }
.product-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.product-footer strong { font-size: 1.3rem; }
.text-link { color: var(--accent-2); font-weight: 700; }
.pill-blue { color: #79cdff; }
.pill-green { color: #89ffb0; }

.pricing-grid { grid-template-columns: 1.15fr .85fr; align-items: start; }
.pricing-card {
  border-radius: 30px;
  padding: 30px;
}
.pricing-card h3 { margin: 18px 0 10px; font-size: 1.9rem; }
.pricing-card p { color: var(--muted); line-height: 1.7; }
.pricing-list { display: grid; gap: 12px; margin: 28px 0 24px; }
.pricing-list div,
.bypass-stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
.bypass-stats { display: grid; gap: 12px; margin: 22px 0; }
.simple-list { margin: 0; padding-left: 18px; display: grid; gap: 10px; color: var(--muted); line-height: 1.7; }
.success { color: var(--accent-2); }

.media-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 30px;
  align-items: center;
}
.media-points { display: grid; gap: 16px; margin: 24px 0 0; }
.media-points div {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
.media-points strong { display: block; margin-bottom: 6px; }
.media-points span { color: var(--muted); line-height: 1.6; }
.laptop-frame {
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(13,25,41,.94), rgba(6,14,24,.98));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.12);
}
.laptop-topbar {
  height: 14px;
  width: 22%;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  margin: 0 auto 14px;
}
.laptop-screen {
  min-height: 520px;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(10,18,30,.96), rgba(6,14,23,.98));
}
.wide-card { padding: 24px; margin-bottom: 16px; }
.dashboard-card {
  border-radius: 24px;
  padding: 20px;
}
.dashboard-card span { color: var(--accent-2); font-size: .8rem; font-weight: 700; }
.dashboard-card h3 { margin: 10px 0 0; font-size: 1.55rem; }
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.dashboard-metrics div,
.dashboard-columns .dashboard-card {
  background: rgba(255,255,255,.04);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.07);
}
.dashboard-metrics div { padding: 14px 16px; }
.dashboard-metrics small,
.dashboard-columns p { color: var(--muted); }
.dashboard-metrics strong { display: block; margin-top: 8px; font-size: 1.18rem; }
.dashboard-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dashboard-columns .dashboard-card strong { display: block; margin-bottom: 8px; }
.dashboard-columns .dashboard-card p { margin: 0; line-height: 1.55; }

.split-grid { grid-template-columns: repeat(2, 1fr); }
.split-card { border-radius: 30px; padding: 30px; }
.split-card h2 { margin: 14px 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.split-card p { color: var(--muted); line-height: 1.8; }

.faq-list { display: grid; gap: 14px; }
.faq-item {
  border-radius: 24px;
  padding: 0 22px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.75;
}

.cta-box {
  border-radius: 34px;
  padding: 50px 30px;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(19, 120, 255, .18), transparent 28%),
    linear-gradient(180deg, rgba(12, 27, 44, .84), rgba(7, 17, 28, .94));
}
.cta-box h2 {
  margin: 14px auto 14px;
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.04;
}
.cta-box p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer { padding: 0 0 36px; }
.footer-grid {
  grid-template-columns: 1.2fr .8fr;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-text { max-width: 620px; color: var(--muted); line-height: 1.75; margin-top: 18px; }
.brand-footer { margin-bottom: 16px; }
.footer-links { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.footer-links a { color: var(--muted); font-weight: 600; }
.footer-links a:hover { color: var(--text); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2vw, 2vh, 0) scale(1.04); }
}
@keyframes pulseOrb {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 18px rgba(23, 169, 255, 0.06), 0 0 0 42px rgba(23, 169, 255, 0.03); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 24px rgba(23, 169, 255, 0.07), 0 0 0 56px rgba(23, 169, 255, 0.025); }
}


.theme-switch:hover .theme-thumb,
.lang-switch:hover .lang-thumb {
  box-shadow: 0 16px 34px rgba(8, 90, 216, 0.34), inset 0 1px 0 rgba(255,255,255,0.34);
  filter: saturate(1.08);
}
.theme-icon,
.lang-flag {
  backface-visibility: hidden;
  transform: translateZ(0);
}
.lang-flag.active {
  opacity: 1;
  transform: translate3d(0,-1px,0) scale(1.04);
}
.hero-actions .btn {
  white-space: nowrap;
}
.header-actions .btn-header {
  white-space: nowrap;
  flex: 0 0 auto;
}
.pricing-list div,
.bypass-stats div,
.stat-card,
.feature-card,
.product-card,
.pricing-card,
.split-card,
.dashboard-card,
.faq-item,
.cta-box {
  contain: layout paint;
}
@media (max-width: 1240px) {
  .hero-grid, .media-grid, .pricing-grid, .split-grid, .footer-grid, .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { min-height: auto; }
  .phone-frame { margin-top: 10px; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .header-inner { min-height: 74px; grid-template-columns: auto auto; }
  .brand-copy span { display: none; }
  .brand-copy strong { font-size: 0.96rem; }
  .hero-grid { min-height: auto; gap: 32px; }
  .hero-copy h1 { font-size: clamp(2.2rem, 13vw, 4rem); }
  .hero-stats, .feature-grid, .trust-grid, .dashboard-columns, .dashboard-metrics { grid-template-columns: 1fr; }
  .screen-actions, .hero-actions { flex-direction: column; }
  .floating-panel { position: static; width: 100%; margin-top: 12px; }
  .hero-visual { display: grid; gap: 12px; }
  .phone-frame { width: 100%; }
  .device-screen { min-height: auto; }
  .mobile-menu { display: block; position: absolute; top: 100%; left: 0; right: 0; pointer-events: none; opacity: 0; transform: translateY(-10px); transition: .25s ease; }
  .mobile-menu.open { pointer-events: auto; opacity: 1; transform: translateY(0); }
  .mobile-menu-inner {
    margin: 10px 16px 0;
    padding: 14px;
    border-radius: 22px;
    background: var(--surface-strong);
    border: 1px solid var(--surface-border);
    display: grid;
    gap: 10px;
    box-shadow: var(--shadow-soft);
  }
  .mobile-menu-inner a {
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    color: var(--text);
    font-weight: 600;
  }
  .cta-box { padding: 38px 22px; }
}


@media (max-width: 760px) {
  .modern-switches { gap: 8px; }
  .theme-track { width: 92px; min-width: 92px; }
  .theme-switch.is-light .theme-thumb { transform: translate3d(44px, 0, 0); }
  .brand-mark { width: 52px; height: 56px; }
  .brand { max-width: 172px; }
  .brand-copy strong { white-space: nowrap; line-height: 1.02; }
  .desktop-nav { display: none; }

}


/* Motion smoothing + layout stability */
.theme-thumb,
.lang-thumb {
  will-change: transform;
}

.theme-track,
.lang-switch {
  overflow: hidden;
}

.theme-thumb,
.lang-thumb {
  transition:
    transform .78s cubic-bezier(.16, 1, .3, 1),
    background .32s ease,
    box-shadow .32s ease,
    filter .32s ease;
  transform: translate3d(0, 0, 0);
}

.theme-switch.is-light .theme-thumb {
  transform: translate3d(50px, 0, 0);
}

.lang-switch.is-en .lang-thumb {
  transform: translate3d(44px, 0, 0);
}

.lang-flag,
.theme-icon {
  transition: opacity .28s ease, transform .42s cubic-bezier(.22, 1, .36, 1), color .24s ease, filter .24s ease;
}

.lang-switch {
  width: 96px;
  min-width: 96px;
  flex: 0 0 96px;
}

.theme-track {
  width: 98px;
  min-width: 98px;
}

.hero-stats {
  grid-auto-rows: 1fr;
}

.stat-card {
  min-height: 108px;
}

.trust-grid {
  grid-auto-rows: 1fr;
}

.trust-grid span {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-grid,
.product-grid,
.pricing-grid,
.split-grid,
.dashboard-columns,
.faq-list {
  align-items: stretch;
}

.feature-card {
  min-height: 240px;
}

.product-card {
  min-height: 100%;
}

.pricing-card {
  min-height: 100%;
}

.split-card {
  min-height: 100%;
}

.dashboard-columns .dashboard-card {
  min-height: 150px;
}

.hero-actions .btn {
  min-width: 240px;
}

.header-actions .btn-header {
  min-width: 178px;
}

.pricing-list div,
.bypass-stats div {
  min-height: 64px;
}


.theme-switch:hover .theme-thumb,
.lang-switch:hover .lang-thumb {
  box-shadow: 0 16px 34px rgba(8, 90, 216, 0.34), inset 0 1px 0 rgba(255,255,255,0.34);
  filter: saturate(1.08);
}
.theme-icon,
.lang-flag {
  backface-visibility: hidden;
  transform: translateZ(0);
}
.lang-flag.active {
  opacity: 1;
  transform: translate3d(0,-1px,0) scale(1.04);
}
.hero-actions .btn {
  white-space: nowrap;
}
.header-actions .btn-header {
  white-space: nowrap;
  flex: 0 0 auto;
}
.pricing-list div,
.bypass-stats div,
.stat-card,
.feature-card,
.product-card,
.pricing-card,
.split-card,
.dashboard-card,
.faq-item,
.cta-box {
  contain: layout paint;
}
@media (max-width: 1360px) {
  .brand-copy span { display: none; }
  .brand-copy strong { font-size: 0.96rem; }
}

@media (max-width: 1120px) {
  .hero-actions .btn,
  .header-actions .btn-header {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .theme-track {
    width: 92px;
    min-width: 92px;
  }

  .lang-switch {
    width: 92px;
    min-width: 92px;
    flex-basis: 92px;
  }

  .lang-switch.is-en .lang-thumb {
    transform: translate3d(40px, 0, 0);
  }

  .theme-switch.is-light .theme-thumb {
    transform: translate3d(44px, 0, 0);
  }

  .stat-card,
  .feature-card,
  .trust-grid span,
  .dashboard-columns .dashboard-card {
    min-height: unset;
  }
}


/* Header hardening + contrast fixes */
body.light-theme .section-heading p,
body.light-theme .feature-card p,
body.light-theme .product-card p,
body.light-theme .product-card li,
body.light-theme .pricing-card p,
body.light-theme .simple-list,
body.light-theme .media-points span,
body.light-theme .split-card p,
body.light-theme .faq-item p,
body.light-theme .footer-text,
body.light-theme .trust-grid span,
body.light-theme .stat-card span,
body.light-theme .dashboard-metrics small,
body.light-theme .dashboard-columns p,
body.light-theme .server-row small {
  color: #4a6480;
}

body.light-theme .screen-badge,
body.light-theme .pricing-badge,
body.light-theme .pill {
  border-color: rgba(12, 86, 255, 0.12);
  background: rgba(8, 40, 76, 0.04);
}

.device-screen,
.device-screen * {
  color: #edf6ff;
}
.device-screen .screen-badge,
.device-screen .pricing-badge,
.device-screen .pill,
.device-screen .floating-panel span,
.laptop-screen .dashboard-card span {
  color: #6cffae;
}
.device-screen .segment,
.device-screen .server-row small,
.laptop-screen .dashboard-metrics small,
.laptop-screen .dashboard-columns p {
  color: #8eaeca;
}
.device-screen .segment.active,
.device-screen .mini-btn,
.device-screen .server-row span,
.laptop-screen strong,
.laptop-screen h3,
.laptop-screen .wide-card,
.laptop-screen .dashboard-card {
  color: #edf6ff;
}
.laptop-screen,
.laptop-screen * {
  color: #edf6ff;
}

.section-heading h2 {
  text-wrap: balance;
}
.product-card h3,
.pricing-card h3,
.split-card h2,
.hero-copy h1 {
  text-wrap: balance;
}

@media (max-width: 1460px) {
  .desktop-nav { gap: 12px; }
  .desktop-nav a { font-size: 0.9rem; }
  .header-actions .btn-header { padding-inline: 14px; }
}

@media (max-width: 1340px) {
  .brand-copy span { display: none; }
  .desktop-nav,
  .header-actions .btn-secondary { display: none; }
  .menu-btn { display: grid; }
}

@media (max-width: 820px) {
  .header-actions .btn-primary { display: none; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 74px; grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
  .brand { max-width: 220px; }
  .brand-copy strong { white-space: nowrap; font-size: 0.95rem; }
  .brand-copy span { display: none; }
}


/* ===== v6 polish: header stability + light theme readability ===== */
body.light-theme {
  --muted: #58718e;
}

body.light-theme .eyebrow,
body.light-theme .screen-badge,
body.light-theme .pricing-badge,
body.light-theme .pill,
body.light-theme .floating-panel span,
body.light-theme .dashboard-card > span,
body.light-theme .text-link,
body.light-theme .success {
  color: #20b26c;
}

body.light-theme .stat-card,
body.light-theme .feature-card,
body.light-theme .product-card,
body.light-theme .pricing-card,
body.light-theme .split-card,
body.light-theme .faq-item,
body.light-theme .floating-panel {
  background: rgba(255, 255, 255, 0.94);
}

body.light-theme .product-card.highlight,
body.light-theme .cta-box {
  background:
    radial-gradient(circle at top center, rgba(19, 120, 255, .16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(242, 248, 255, .97));
  border-color: rgba(7, 73, 142, 0.14);
}

body.light-theme .product-card.highlight h3,
body.light-theme .product-card.highlight p,
body.light-theme .product-card.highlight li,
body.light-theme .cta-box h2,
body.light-theme .cta-box p {
  color: var(--text);
}

.device-screen,
.device-screen *:not(.theme-thumb):not(.lang-thumb),
.laptop-screen,
.laptop-screen * {
  color-scheme: dark;
}

.device-screen,
.laptop-screen {
  color: #edf6ff;
}

.device-screen .screen-title,
.device-screen .connection-orb span,
.device-screen .server-row span,
.device-screen .mini-btn,
.device-screen .segment.active,
.laptop-screen h3,
.laptop-screen strong,
.laptop-screen .dashboard-metrics strong {
  color: #edf6ff;
}

.device-screen .segment,
.device-screen .server-row small,
.laptop-screen p,
.laptop-screen small,
.laptop-screen .dashboard-columns p,
.laptop-screen .dashboard-metrics small {
  color: rgba(214, 230, 247, 0.74);
}

.device-screen .mini-btn,
.device-screen .segment {
  cursor: default;
}

.device-screen .segment.active,
.device-screen .mini-btn.active {
  color: #f4fbff;
}

.laptop-screen .dashboard-card > span,
.device-screen .screen-badge {
  color: #57f09c;
}

.hero-copy h1,
.split-card h2,
.cta-box h2 {
  text-wrap: balance;
}

.product-card h3,
.split-card h2,
.hero-copy h1 {
  overflow-wrap: anywhere;
}

.site-header {
  overflow: clip;
}

.header-inner {
  min-width: 0;
}

.desktop-nav,
.header-actions {
  min-width: 0;
}

.btn-header {
  white-space: nowrap;
}

@media (max-width: 1320px) {
  .header-inner {
    gap: 14px;
  }

  .brand {
    max-width: 220px;
  }

  .brand-copy span {
    display: none;
  }

  .desktop-nav {
    gap: 12px;
  }

  .desktop-nav a {
    font-size: 0.88rem;
  }

  .header-actions {
    gap: 8px;
  }

  .btn-header {
    min-width: 0;
    padding-inline: 16px;
  }
}

@media (max-width: 1160px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .header-actions .btn-header.btn-secondary {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .26s ease, transform .34s cubic-bezier(.22, 1, .36, 1);
  }

  .mobile-menu.open {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu-inner {
    margin: 10px 16px 0;
    padding: 14px;
    border-radius: 22px;
    background: var(--surface-strong);
    border: 1px solid var(--surface-border);
    display: grid;
    gap: 10px;
    box-shadow: var(--shadow-soft);
  }
}

@media (max-width: 900px) {
  .header-actions .btn-header {
    display: none;
  }

  .brand {
    max-width: 180px;
  }
}

@media (max-width: 760px) {
  .hero-copy h1 {
    text-wrap: unset;
  }

  .split-card h2,
  .cta-box h2 {
    text-wrap: unset;
  }
}


/* ===== v7 fixes: header overlap, controls contrast, hero segment switching ===== */
.site-header {
  overflow: visible;
}

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

.brand {
  max-width: 260px;
}

.brand-copy strong {
  font-size: 0.96rem;
}

.brand-copy span {
  max-width: 170px;
}

.desktop-nav {
  gap: 14px;
}

.desktop-nav a {
  font-size: 0.9rem;
}

.header-actions {
  gap: 10px;
  flex-wrap: nowrap;
}

.header-actions > * {
  flex-shrink: 0;
}

.modern-switches {
  min-width: 204px;
}

.theme-track,
.lang-switch {
  background: rgba(10, 24, 41, 0.78);
  border-color: rgba(255,255,255,0.11);
}

.theme-icon {
  color: rgba(229, 241, 255, 0.82);
  text-shadow: 0 1px 10px rgba(0,0,0,0.18);
}

.lang-flag {
  color: #eef7ff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.18);
}

.lang-flag:not(.active) {
  opacity: 0.62;
}

.lang-flag.active {
  opacity: 1;
}

.theme-thumb,
.lang-thumb {
  background: linear-gradient(135deg, #1762ff 0%, #1fb9ff 55%, #55f18f 100%);
  box-shadow: 0 12px 28px rgba(9, 99, 223, 0.34), inset 0 1px 0 rgba(255,255,255,0.34);
}

.btn,
.btn-header,
.mini-btn,
.segment,
.server-row,
.floating-panel,
.theme-track,
.lang-switch {
  background-clip: padding-box;
}

.btn,
.btn-header,
.mini-btn,
.segment,
.server-row,
.floating-panel {
  position: relative;
}

.btn::after,
.btn-header::after,
.mini-btn::after,
.segment::after,
.server-row::after,
.floating-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.device-screen .segment {
  color: rgba(231, 241, 251, 0.74);
  border: 1px solid transparent;
}

.device-screen .segment.active {
  color: #f4fbff;
  background: rgba(23, 169, 255, 0.18);
}

.device-screen .mini-btn {
  color: #eef7ff;
}

.device-screen .mini-btn:not(.active) {
  color: rgba(231, 241, 251, 0.82);
}

.server-lists {
  position: relative;
}

.server-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.server-list:not(.active) {
  display: none;
}

.server-row span {
  color: #eef7ff;
}

.server-row small {
  color: rgba(221, 235, 248, 0.72);
}

.server-row.active {
  border-color: rgba(90,255,148,.28);
  background: linear-gradient(90deg, rgba(15, 86, 75, 0.36), rgba(14, 24, 45, 0.72));
}

.floating-panel {
  z-index: 2;
}

.top-right {
  top: 22px;
  right: -8px;
}

.bottom-left {
  left: -18px;
  bottom: 16px;
  width: min(255px, 72%);
}

body.light-theme .theme-track,
body.light-theme .lang-switch {
  background: rgba(232, 241, 249, 0.95);
  border-color: rgba(7, 73, 142, 0.14);
}

body.light-theme .theme-icon,
body.light-theme .lang-flag {
  color: #18314f;
  text-shadow: none;
}

body.light-theme .lang-flag:not(.active) {
  opacity: 0.68;
}

body.light-theme .btn::after,
body.light-theme .btn-header::after,
body.light-theme .mini-btn::after,
body.light-theme .segment::after,
body.light-theme .server-row::after,
body.light-theme .floating-panel::after {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

@media (max-width: 1280px) {
  .desktop-nav {
    gap: 12px;
  }

  .desktop-nav a {
    font-size: 0.86rem;
  }

  .brand {
    max-width: 210px;
  }

  .brand-copy span {
    display: none;
  }

  .btn-header {
    min-width: 0;
    padding-inline: 16px;
  }
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .header-actions .btn-header.btn-secondary {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
}

@media (max-width: 920px) {
  .header-actions .btn-header {
    display: none;
  }

  .modern-switches {
    min-width: auto;
  }

  .brand {
    max-width: 190px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 74px;
    gap: 12px;
  }

  .brand {
    max-width: 164px;
    gap: 10px;
  }

  .brand-mark {
    width: 48px;
    height: 52px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .bottom-left {
    left: -24px;
    bottom: 14px;
    width: min(250px, 82%);
  }

  .top-right {
    right: -2px;
  }
}


/* ===== v9 real mobile hero fix ===== */
@media (max-width: 760px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 74px;
  }

  .hero-section {
    padding-top: 28px;
    overflow: hidden;
  }

  .hero-grid {
    min-height: auto;
    align-items: start;
    gap: 28px;
  }

  .hero-copy {
    padding-top: 2px;
  }

  .hero-copy h1 {
    max-width: 5.6ch;
    margin: 12px 0 14px;
    font-size: clamp(2.35rem, 12vw, 3.6rem);
    line-height: 0.92;
    letter-spacing: -0.065em;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hero-actions {
    margin: 22px 0 18px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-substats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .hero-stats .stat-card:nth-child(3) {
    display: none;
  }

  .floating-panel.bottom-left {
    left: 0;
    right: auto;
    bottom: 10px;
    width: min(224px, 78%);
  }

  .floating-panel.top-right {
    right: 0;
    width: min(230px, 76%);
  }
}

@media (max-width: 520px) {
  .hero-section {
    padding-top: 22px;
  }

  .hero-copy h1 {
    max-width: 5.1ch;
    font-size: clamp(2.15rem, 11.8vw, 3.1rem);
    line-height: 0.93;
    margin-top: 8px;
  }

  .hero-copy .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .hero-stats {
    display: none;
  }

  .hero-substats {
    display: none;
  }

  .floating-panel {
    display: none;
  }
}

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


/* ===== FINAL MOBILE/HERO OVERRIDES v10 ===== */
.btn::after,
.btn-header::after,
.mini-btn::after,
.segment::after,
.server-row::after,
.floating-panel::after {
  display: none !important;
}

.lang-flag,
.theme-icon {
  color: #eaf4ff !important;
  text-shadow: none !important;
}

.lang-flag:not(.active),
.theme-icon:not(.active) {
  opacity: .72;
}

.theme-track,
.lang-switch {
  background: rgba(8, 20, 36, 0.9) !important;
  border-color: rgba(255,255,255,.12) !important;
}

.site-header {
  overflow: visible !important;
}

@media (max-width: 1100px) {
  .desktop-nav { display: none !important; }
  .menu-btn { display: grid !important; }
  .header-inner { grid-template-columns: auto 1fr auto !important; gap: 12px !important; }
  .brand-copy span { display: none !important; }
  .header-actions .btn-secondary { display: none !important; }
  .brand { max-width: 190px !important; }
}

@media (max-width: 860px) {
  .header-actions .btn-primary { display: none !important; }
  .modern-switches { margin-left: auto; }
  .header-inner { min-height: 72px !important; }
}

@media (max-width: 760px) {
  .hero-section {
    padding-top: 20px !important;
    padding-bottom: 36px !important;
    overflow: hidden !important;
  }
  .hero-grid {
    gap: 24px !important;
    align-items: start !important;
    min-height: auto !important;
  }
  .hero-copy {
    padding-top: 0 !important;
  }
  .hero-copy h1 {
    margin: 8px 0 12px !important;
    max-width: 6.2ch !important;
    font-size: clamp(2.3rem, 11.5vw, 3.55rem) !important;
    line-height: .92 !important;
    letter-spacing: -.065em !important;
    text-wrap: balance !important;
  }
  .hero-text {
    font-size: .98rem !important;
    line-height: 1.58 !important;
    max-width: 32ch !important;
  }
  .hero-actions {
    margin: 18px 0 14px !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
  }
  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .hero-substats {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 10px !important;
  }
  .hero-stats .stat-card:nth-child(3) { display: none !important; }
  .hero-visual { gap: 0 !important; }
  .floating-panel { display: none !important; }
  .aurora-one, .aurora-two { opacity: .2 !important; }
}

@media (max-width: 520px) {
  .hero-copy h1 {
    max-width: 5.5ch !important;
    font-size: clamp(2.05rem, 12vw, 3rem) !important;
    line-height: .93 !important;
  }
  .hero-stats { display: none !important; }
  .hero-substats { display: none !important; }
  .brand { max-width: 150px !important; }
  .brand-copy strong { font-size: .88rem !important; }
  .brand-mark { width: 44px !important; height: 48px !important; }
}

body.light-theme .lang-flag,
body.light-theme .theme-icon {
  color: #173252 !important;
}
body.light-theme .theme-track,
body.light-theme .lang-switch {
  background: rgba(236,244,250,.96) !important;
  border-color: rgba(7,73,142,.14) !important;
}



/* ===== v11 hard layout fix ===== */

/* Remove decorative artifacts */
.hero-orb,
.hero-glow,
.floating-panel,
.brand-copy span {
  display: none !important;
}

/* prevent strange inner borders */
.btn::before,
.btn::after,
.btn-header::before,
.btn-header::after,
.mini-btn::after,
.segment::after,
.server-row::after,
.floating-panel::after {
  display: none !important;
}

/* Header: simple and stable */
.site-header {
  overflow: hidden !important;
}

.header-inner {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 18px !important;
  min-height: 80px !important;
}

.brand {
  max-width: 190px !important;
  gap: 12px !important;
}

.brand-mark {
  width: 52px !important;
  height: 56px !important;
}

.brand-copy {
  min-width: 0 !important;
}

.brand-copy strong {
  font-size: 0.92rem !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.desktop-nav {
  display: flex !important;
  justify-content: center !important;
  gap: 24px !important;
  min-width: 0 !important;
}

.desktop-nav a {
  font-size: 0.9rem !important;
  white-space: nowrap !important;
}

.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  justify-self: end !important;
}

.modern-switches {
  display: flex !important;
  gap: 8px !important;
  min-width: auto !important;
}

.theme-track {
  width: 88px !important;
  min-width: 88px !important;
}

.lang-switch {
  width: 84px !important;
  min-width: 84px !important;
  flex: 0 0 84px !important;
}

.theme-switch.is-light .theme-thumb {
  transform: translate3d(40px, 0, 0) !important;
}

.lang-switch.is-en .lang-thumb {
  transform: translate3d(36px, 0, 0) !important;
}

.theme-icon,
.lang-flag {
  color: #edf6ff !important;
  opacity: 0.9 !important;
  font-size: 0.96rem !important;
}

.lang-flag:not(.active) {
  opacity: 0.62 !important;
}

.btn-header {
  min-height: 46px !important;
  padding: 0 18px !important;
  white-space: nowrap !important;
}

.menu-btn {
  display: none !important;
}

/* Hero typography: readable, no broken words */
.hero-section {
  padding-top: 54px !important;
  overflow: hidden !important;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px) !important;
  align-items: center !important;
  gap: 48px !important;
  min-height: auto !important;
}

.hero-copy {
  min-width: 0 !important;
}

.hero-copy h1 {
  margin: 16px 0 20px !important;
  max-width: 9ch !important;
  font-size: clamp(3.2rem, 5.7vw, 5.3rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.045em !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  text-wrap: balance !important;
}

.hero-text {
  max-width: 48rem !important;
  font-size: 1.06rem !important;
  line-height: 1.7 !important;
}

.hero-actions {
  margin: 26px 0 22px !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
}

.hero-actions .btn {
  min-width: 250px !important;
}

.hero-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Dark theme controls readability */
.theme-track,
.lang-switch {
  background: rgba(8, 20, 36, 0.9) !important;
  border-color: rgba(255,255,255,.12) !important;
}

.device-screen .segment,
.device-screen .mini-btn {
  color: rgba(233,244,255,0.86) !important;
}

.device-screen .segment.active,
.device-screen .mini-btn.active {
  color: #ffffff !important;
}

/* Breakpoints */
@media (max-width: 1280px) {
  .desktop-nav {
    gap: 18px !important;
  }
  .desktop-nav a {
    font-size: 0.84rem !important;
  }
  .btn-header {
    padding: 0 14px !important;
  }
}

@media (max-width: 1140px) {
  .desktop-nav {
    display: none !important;
  }
  .menu-btn {
    display: grid !important;
  }
  .header-actions .btn-header {
    display: none !important;
  }
  .header-inner {
    grid-template-columns: auto 1fr auto !important;
  }
}

@media (max-width: 760px) {
  .site-header {
    overflow: hidden !important;
  }

  .header-inner {
    min-height: 72px !important;
    gap: 10px !important;
  }

  .brand {
    max-width: 145px !important;
  }

  .brand-mark {
    width: 42px !important;
    height: 46px !important;
  }

  .brand-copy strong {
    font-size: 0.82rem !important;
  }

  .modern-switches {
    gap: 6px !important;
  }

  .theme-track {
    width: 76px !important;
    min-width: 76px !important;
    height: 42px !important;
    padding-inline: 10px !important;
  }

  .lang-switch {
    width: 74px !important;
    min-width: 74px !important;
    height: 42px !important;
    flex-basis: 74px !important;
  }

  .theme-thumb,
  .lang-thumb {
    width: 34px !important;
    height: 34px !important;
  }

  .theme-switch.is-light .theme-thumb {
    transform: translate3d(34px, 0, 0) !important;
  }

  .lang-switch.is-en .lang-thumb {
    transform: translate3d(28px, 0, 0) !important;
  }

  .theme-icon,
  .lang-flag {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.9rem !important;
  }

  .hero-section {
    padding-top: 28px !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .hero-copy h1 {
    max-width: 6.6ch !important;
    font-size: clamp(2.45rem, 11.6vw, 3.4rem) !important;
    line-height: 0.94 !important;
    text-wrap: pretty !important;
  }

  .hero-text {
    max-width: none !important;
    font-size: 0.98rem !important;
    line-height: 1.58 !important;
  }

  .hero-actions {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
  }

  .hero-stats {
    display: none !important;
  }

  .hero-visual {
    min-height: auto !important;
  }

  .phone-frame {
    width: min(390px, 100%) !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 420px) {
  .brand {
    max-width: 128px !important;
  }
  .brand-copy strong {
    font-size: 0.78rem !important;
  }
  .hero-copy h1 {
    max-width: 6.2ch !important;
    font-size: clamp(2.2rem, 11.8vw, 3rem) !important;
  }
}




/* ===== v12 nav stability + brand fix ===== */
.brand-copy strong,
.logo-text,
[data-i18n="brand.name"] {
  font-variant-ligatures: none;
  letter-spacing: 0 !important;
}

.desktop-nav {
  display: grid !important;
  grid-template-columns: repeat(6, 92px) !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  width: 592px !important;
  min-width: 592px !important;
  max-width: 592px !important;
}

.desktop-nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  height: 40px !important;
  text-align: center !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

.header-inner {
  grid-template-columns: 200px minmax(592px, 592px) auto !important;
}

.brand {
  max-width: 200px !important;
  width: 200px !important;
}

.brand-copy strong {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 0.94rem !important;
}

@media (max-width: 1320px) {
  .desktop-nav {
    grid-template-columns: repeat(6, 84px) !important;
    width: 544px !important;
    min-width: 544px !important;
    max-width: 544px !important;
  }

  .desktop-nav a {
    width: 84px !important;
    min-width: 84px !important;
    max-width: 84px !important;
    font-size: 0.82rem !important;
  }

  .header-inner {
    grid-template-columns: 184px minmax(544px, 544px) auto !important;
  }

  .brand {
    width: 184px !important;
    max-width: 184px !important;
  }
}

@media (max-width: 1140px) {
  .desktop-nav {
    display: none !important;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto !important;
  }

  .brand {
    width: 160px !important;
    max-width: 160px !important;
  }
}




/* ===== v14 RU only ===== */
.lang-switch,
.lang-flag,
.lang-thumb {
  display: none !important;
}

.modern-switches {
  min-width: auto !important;
}

.header-actions {
  gap: 12px !important;
}

.desktop-nav {
  grid-template-columns: repeat(6, 102px) !important;
  width: 652px !important;
  min-width: 652px !important;
  max-width: 652px !important;
  gap: 10px !important;
}

.desktop-nav a {
  width: 102px !important;
  min-width: 102px !important;
  max-width: 102px !important;
}

.header-inner {
  grid-template-columns: 200px minmax(652px, 652px) auto !important;
}

@media (max-width: 1320px) {
  .desktop-nav {
    grid-template-columns: repeat(6, 92px) !important;
    width: 602px !important;
    min-width: 602px !important;
    max-width: 602px !important;
    gap: 8px !important;
  }

  .desktop-nav a {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    font-size: 0.84rem !important;
  }

  .header-inner {
    grid-template-columns: 184px minmax(602px, 602px) auto !important;
  }
}

@media (max-width: 1140px) {
  .desktop-nav {
    display: none !important;
  }
}




/* ===== v15 header hard fix ===== */
.header-inner {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 22px !important;
}

.brand {
  width: auto !important;
  max-width: 220px !important;
  flex-shrink: 0 !important;
}

.desktop-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 28px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex-wrap: nowrap !important;
}

.desktop-nav a {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 0.93rem !important;
}

.header-actions {
  flex-shrink: 0 !important;
}

.header-actions .btn-header {
  min-width: 178px !important;
}

@media (max-width: 1380px) {
  .desktop-nav {
    gap: 22px !important;
  }

  .desktop-nav a {
    font-size: 0.88rem !important;
  }

  .header-actions .btn-header {
    min-width: 164px !important;
    padding-inline: 16px !important;
  }
}

@media (max-width: 1240px) {
  .desktop-nav {
    gap: 18px !important;
  }

  .desktop-nav a {
    font-size: 0.84rem !important;
  }

  .header-actions .btn-header {
    min-width: 152px !important;
    padding-inline: 14px !important;
  }
}

@media (max-width: 1140px) {
  .desktop-nav {
    display: none !important;
  }
}




/* ===== v16 segment toggle polish ===== */
.segment-control {
  position: relative !important;
  isolation: isolate !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  padding: 6px !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(16, 33, 56, 0.88), rgba(9, 18, 33, 0.92)) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 18px 32px rgba(0,0,0,0.18) !important;
  overflow: hidden !important;
}

.segment-control::before {
  content: '' !important;
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  width: calc(50% - 9px) !important;
  height: calc(100% - 12px) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(135deg, rgba(36,111,255,0.92), rgba(43,162,255,0.76) 55%, rgba(86,239,163,0.26)),
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.22), transparent 48%) !important;
  box-shadow:
    0 12px 26px rgba(15, 112, 230, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.18) !important;
  transform: translate3d(0, 0, 0) !important;
  transition: transform .52s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, background .28s ease !important;
  z-index: 0 !important;
}

.segment-control.is-bypass::before {
  transform: translate3d(calc(100% + 6px), 0, 0) !important;
}

.segment {
  position: relative !important;
  z-index: 1 !important;
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: rgba(231, 241, 251, 0.72) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  transition:
    color .24s ease,
    transform .24s ease,
    text-shadow .24s ease !important;
}

.segment:hover {
  color: rgba(255,255,255,0.92) !important;
}

.segment.active {
  color: #ffffff !important;
  text-shadow: 0 1px 10px rgba(7, 67, 155, 0.18) !important;
}

.segment:active {
  transform: scale(0.985) !important;
}

@media (prefers-reduced-motion: reduce) {
  .segment-control::before,
  .segment {
    transition: none !important;
  }
}



/* ===== v18 bypass traffic prices ===== */
.bypass-price-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.bypass-price-item {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10, 25, 44, 0.42);
  color: rgba(236, 245, 255, 0.94);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

body.light-theme .bypass-price-item {
  background: rgba(244, 249, 255, 0.96);
  border-color: rgba(7, 73, 142, 0.12);
  color: #17304f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

@media (max-width: 760px) {
  .bypass-price-item {
    font-size: 0.94rem;
    padding: 11px 12px;
  }
}


/* ===== v19 organized bypass card + softer gradients ===== */
.btn-primary {
  background: linear-gradient(90deg, #235be1 0%, #2690df 54%, #51df95 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(22, 104, 214, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(22, 104, 214, 0.28);
}

.pricing-list-bypass {
  margin-bottom: 18px;
}

.bypass-traffic-box {
  margin: 0 0 18px;
}

.bypass-traffic-title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bypass-price-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.bypass-price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(20, 34, 54, 0.96), rgba(14, 26, 42, 0.96));
  color: rgba(236, 245, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.bypass-price-item span {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.bypass-price-item strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.compact-list {
  gap: 8px;
  margin-top: 0;
  margin-bottom: 22px;
}

body.light-theme .btn-primary {
  background: linear-gradient(90deg, #2563eb 0%, #2f9ae5 56%, #59e392 100%);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.20);
}

body.light-theme .bypass-price-item {
  background: rgba(244, 249, 255, 0.96);
  border-color: rgba(7, 73, 142, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

body.light-theme .bypass-price-item span,
body.light-theme .bypass-price-item strong,
body.light-theme .bypass-traffic-title {
  color: #17304f;
}

@media (max-width: 760px) {
  .bypass-price-item {
    padding: 15px 14px;
    border-radius: 16px;
  }

  .bypass-price-item span,
  .bypass-price-item strong {
    font-size: 0.96rem;
  }
}


/* ===== v20 pricing cleanup ===== */
.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card > .btn.wide {
  margin-top: 10px;
}

.unified-bypass-list {
  margin-bottom: 18px;
}

.pricing-note {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-list.unified-bypass-list div {
  background: linear-gradient(180deg, rgba(20, 34, 54, 0.96), rgba(14, 26, 42, 0.96));
  border: 1px solid rgba(255,255,255,0.08);
}

.pricing-list.unified-bypass-list span,
.pricing-list.unified-bypass-list strong {
  color: var(--text);
}

body.light-theme .pricing-list.unified-bypass-list div {
  background: rgba(244, 249, 255, 0.96);
  border-color: rgba(7, 73, 142, 0.12);
}

body.light-theme .pricing-note {
  color: #5f7693;
}


/* ===== v21 pricing alignment ===== */
.pricing-grid { align-items: stretch; }
.pricing-card { height: 100%; }
.pricing-card .pricing-list { margin-bottom: 22px; }
.pricing-card.slim .pricing-list { margin-bottom: 24px; }
.pricing-card.slim p:last-of-type { margin-bottom: 0; }


/* ===== v22 pricing strict alignment ===== */
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card h3 {
  min-height: 2.4em;
}

.pricing-card p {
  margin: 0 0 24px;
  min-height: 104px;
}

.pricing-list {
  margin: 0 0 22px;
}

.pricing-list div {
  min-height: 64px;
}

.pricing-inline-note {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(84, 255, 167, 0.08);
  border: 1px solid rgba(84, 255, 167, 0.18);
  color: var(--text);
  line-height: 1.6;
}

body.light-theme .pricing-inline-note {
  background: rgba(56, 214, 133, 0.08);
  border-color: rgba(56, 214, 133, 0.18);
  color: #18324b;
}

.pricing-card .btn.wide {
  margin-top: auto;
}

@media (max-width: 1100px) {
  .pricing-card p,
  .pricing-card h3 {
    min-height: auto;
  }
}


/* ===== v23 modern hover glow for data blocks ===== */
.interactive-block,
.feature-card,
.product-card,
.pricing-card,
.split-card,
.dashboard-card,
.faq-item,
.floating-panel,
.stat-card,
.pricing-list div,
.bypass-stats div,
.media-points div,
.server-row {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s ease,
    background-color 0.32s ease,
    filter 0.32s ease;
  will-change: transform, box-shadow;
}

.interactive-block::before,
.feature-card::before,
.product-card::before,
.pricing-card::before,
.split-card::before,
.dashboard-card::before,
.faq-item::before,
.floating-panel::before,
.stat-card::before,
.pricing-list div::before,
.bypass-stats div::before,
.media-points div::before,
.server-row::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(23, 169, 255, 0.16), transparent 34%),
    radial-gradient(circle at 82% 88%, rgba(90, 255, 148, 0.12), transparent 38%);
  opacity: 0;
  transition: opacity 0.38s ease;
}

@media (hover: hover) {
  .interactive-block:hover,
  .feature-card:hover,
  .product-card:hover,
  .pricing-card:hover,
  .split-card:hover,
  .dashboard-card:hover,
  .faq-item:hover,
  .floating-panel:hover,
  .stat-card:hover,
  .pricing-list div:hover,
  .bypass-stats div:hover,
  .media-points div:hover,
  .server-row:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(5, 21, 40, 0.28);
    border-color: color-mix(in oklab, var(--accent) 38%, var(--surface-border));
    background: color-mix(in oklab, var(--surface) 82%, rgba(255,255,255,.08));
    filter: brightness(1.04);
  }

  .interactive-block:hover::before,
  .feature-card:hover::before,
  .product-card:hover::before,
  .pricing-card:hover::before,
  .split-card:hover::before,
  .dashboard-card:hover::before,
  .faq-item:hover::before,
  .floating-panel:hover::before,
  .stat-card:hover::before,
  .pricing-list div:hover::before,
  .bypass-stats div:hover::before,
  .media-points div:hover::before,
  .server-row:hover::before {
    opacity: 1;
  }
}

body.light-theme .interactive-block:hover,
body.light-theme .feature-card:hover,
body.light-theme .product-card:hover,
body.light-theme .pricing-card:hover,
body.light-theme .split-card:hover,
body.light-theme .dashboard-card:hover,
body.light-theme .faq-item:hover,
body.light-theme .floating-panel:hover,
body.light-theme .stat-card:hover,
body.light-theme .pricing-list div:hover,
body.light-theme .bypass-stats div:hover,
body.light-theme .media-points div:hover,
body.light-theme .server-row:hover {
  box-shadow: 0 24px 52px rgba(20, 86, 156, 0.16);
  background: color-mix(in oklab, white 90%, rgba(21, 123, 255, 0.06));
}

.server-row.active:hover,
.pricing-list div:has(strong):hover {
  border-color: color-mix(in oklab, var(--accent-2) 42%, var(--surface-border));
}


/* ===== v24 footer status refresh ===== */
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(90, 255, 148, 0.18);
  background: rgba(17, 45, 31, 0.34);
  color: #64f0a0;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #57f28d;
  box-shadow: 0 0 0 0 rgba(87, 242, 141, 0.7), 0 0 14px rgba(87, 242, 141, 0.9);
  animation: footerStatusPulse 1.8s ease-in-out infinite;
}

@keyframes footerStatusPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(87, 242, 141, 0.55), 0 0 12px rgba(87, 242, 141, 0.8);
    opacity: 1;
  }
  65% {
    transform: scale(1.06);
    box-shadow: 0 0 0 10px rgba(87, 242, 141, 0), 0 0 20px rgba(87, 242, 141, 0.95);
    opacity: 0.95;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(87, 242, 141, 0), 0 0 12px rgba(87, 242, 141, 0.75);
    opacity: 1;
  }
}

.footer-tagline,
.footer-copyright {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-tagline {
  max-width: 520px;
  font-size: 1.02rem;
}

.footer-copyright {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.footer-links-wrap h3 {
  margin: 0 0 12px;
}

@media (max-width: 720px) {
  .footer-info {
    gap: 12px;
  }

  .footer-status {
    padding: 9px 13px;
    font-size: 0.95rem;
  }

  .footer-tagline {
    font-size: 0.98rem;
  }
}


/* ===== v25 footer logo above divider ===== */
.footer-logo-top {
  padding-bottom: 16px;
}

.brand-footer-top {
  margin-bottom: 0;
}

.site-footer .footer-grid {
  padding-top: 24px;
}

@media (max-width: 720px) {
  .footer-logo-top {
    padding-bottom: 12px;
  }

  .brand-footer-top {
    justify-content: flex-start;
  }
}


/* ===== v26 added marketing sections ===== */
.trust-strip-section {
  padding: 10px 0 12px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.trust-chip,
.scenario-card,
.status-card,
.compare-row,
.compare-head,
.happ-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.trust-chip {
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.compare-table {
  display: grid;
  gap: 10px;
}

.compare-row {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 14px;
  align-items: stretch;
  border-radius: 22px;
  padding: 16px 18px;
}

.compare-row > div {
  line-height: 1.65;
  color: var(--muted);
}

.compare-row > div:first-child {
  color: var(--text);
  font-weight: 800;
}

.compare-head {
  background: linear-gradient(180deg, rgba(18, 39, 65, .92), rgba(10, 20, 33, .94));
}

.compare-head > div {
  color: var(--text);
  font-weight: 800;
}

.scenario-grid,
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.scenario-card,
.status-card {
  border-radius: 24px;
  padding: 24px;
}

.scenario-card strong,
.status-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.scenario-card p,
.status-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.happ-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.happ-card {
  border-radius: 30px;
  padding: 30px;
}

.happ-card h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
}

.happ-card p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 840px;
}

.compact-points {
  margin-top: 0;
}

.live-status-section {
  padding-top: 84px;
}

.status-card-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--accent-2);
  font-weight: 700;
}

.status-card .status-dot {
  width: 10px;
  height: 10px;
  box-shadow: 0 0 12px rgba(87, 242, 141, .75);
}

@media (max-width: 1180px) {
  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scenario-grid,
  .status-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-row {
    grid-template-columns: 180px 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .trust-strip,
  .scenario-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .compare-row,
  .compare-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .compare-row > div:first-child {
    margin-bottom: 2px;
  }

  .trust-chip,
  .scenario-card,
  .status-card,
  .compare-row,
  .happ-card {
    border-radius: 20px;
  }
}



/* ===== v27 trust section cleanup + hover for new sections ===== */
.trust-strip-section {
  padding: 26px 0 34px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.trust-chip {
  flex: 0 1 182px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 20px;
  line-height: 1.45;
}

.compare-table {
  gap: 12px;
}

.compare-row {
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s ease,
    background-color 0.32s ease,
    filter 0.32s ease;
  will-change: transform, box-shadow;
}

.compare-row,
.scenario-card,
.status-card,
.happ-card,
.trust-chip {
  position: relative;
  overflow: hidden;
}

.compare-row::before,
.scenario-card::before,
.status-card::before,
.happ-card::before,
.trust-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(23, 169, 255, 0.16), transparent 34%),
    radial-gradient(circle at 82% 88%, rgba(90, 255, 148, 0.12), transparent 38%);
  opacity: 0;
  transition: opacity 0.38s ease;
}

@media (hover: hover) {
  .compare-row:hover,
  .scenario-card:hover,
  .status-card:hover,
  .happ-card:hover,
  .trust-chip:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(5, 21, 40, 0.28);
    border-color: color-mix(in oklab, var(--accent) 38%, var(--surface-border));
    background: color-mix(in oklab, var(--surface) 82%, rgba(255,255,255,.08));
    filter: brightness(1.04);
  }

  .compare-row:hover::before,
  .scenario-card:hover::before,
  .status-card:hover::before,
  .happ-card:hover::before,
  .trust-chip:hover::before {
    opacity: 1;
  }
}

body.light-theme .compare-row:hover,
body.light-theme .scenario-card:hover,
body.light-theme .status-card:hover,
body.light-theme .happ-card:hover,
body.light-theme .trust-chip:hover {
  box-shadow: 0 24px 52px rgba(20, 86, 156, 0.16);
  background: color-mix(in oklab, white 90%, rgba(21, 123, 255, 0.06));
}

.happ-card,
.compare-row,
.scenario-card,
.status-card {
  border-radius: 24px;
}

@media (max-width: 1180px) {
  .trust-strip-section {
    padding: 22px 0 30px;
  }

  .trust-chip {
    flex-basis: calc(33.333% - 10px);
    min-width: 220px;
  }
}

@media (max-width: 860px) {
  .trust-strip {
    gap: 12px;
  }

  .trust-chip {
    flex: 1 1 100%;
    min-width: 0;
    min-height: 78px;
    padding: 16px 18px;
  }

  .trust-strip-section {
    padding: 18px 0 26px;
  }
}



/* ===== v28 fixes: FAQ placement + smoother animations ===== */
.reveal {
  transition:
    opacity .88s cubic-bezier(.22, 1, .36, 1),
    transform .88s cubic-bezier(.22, 1, .36, 1) !important;
}

.delay-1 { transition-delay: .14s !important; }
.delay-2 { transition-delay: .24s !important; }

.btn,
.btn::before,
.btn::after,
.feature-card,
.product-card,
.pricing-card,
.split-card,
.dashboard-card,
.faq-item,
.cta-box,
.floating-panel,
.stat-card,
.pricing-list div,
.bypass-stats div,
.media-points div,
.server-row,
.compare-row,
.scenario-card,
.status-card,
.happ-card,
.trust-chip {
  transition:
    transform .46s cubic-bezier(.22, 1, .36, 1),
    box-shadow .46s cubic-bezier(.22, 1, .36, 1),
    border-color .34s ease,
    background-color .34s ease,
    filter .34s ease,
    opacity .34s ease !important;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 0 22px;
  min-height: 0 !important;
  height: auto !important;
  align-self: start;
}

.faq-item summary {
  position: relative;
  padding: 24px 40px 24px 0;
  transition: color .28s ease, transform .28s ease;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 2px;
  transform: translateY(-50%);
  color: var(--accent-2);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  max-width: 95%;
  opacity: .92;
}

@media (hover: hover) {
  .faq-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(5, 21, 40, 0.28);
    border-color: color-mix(in oklab, var(--accent) 38%, var(--surface-border));
    background: color-mix(in oklab, var(--surface) 82%, rgba(255,255,255,.08));
    filter: brightness(1.04);
  }

  .faq-item:hover::before {
    opacity: 1;
  }

  .faq-item:hover summary {
    color: var(--text);
  }
}

body.light-theme .faq-item:hover {
  box-shadow: 0 24px 52px rgba(20, 86, 156, 0.16);
  background: color-mix(in oklab, white 90%, rgba(21, 123, 255, 0.06));
}

.status-grid {
  align-items: start;
}

.status-card {
  min-height: 198px;
}

@media (max-width: 860px) {
  .status-card {
    min-height: 0;
  }

  .faq-item p {
    max-width: 100%;
  }
}


/* ===== v29 visual polish: darker buttons, no side stripes, modern altai mountain background ===== */
body {
  position: relative;
}

.page-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
  overflow: hidden;
}

/* stylized mountain atmosphere */
body::before,
body::after {
  content: '';
  position: fixed;
  left: -2vw;
  width: 104vw;
  pointer-events: none;
  z-index: -2;
}

body::before {
  bottom: -2vh;
  height: 34vh;
  background:
    linear-gradient(180deg, rgba(24, 129, 255, 0.08), rgba(9, 26, 45, 0) 32%),
    linear-gradient(180deg, rgba(12, 32, 54, 0.12), rgba(8, 22, 37, 0.58) 64%, rgba(5, 14, 24, 0.82));
  clip-path: polygon(0 100%, 0 82%, 6% 73%, 13% 79%, 22% 58%, 30% 76%, 40% 50%, 49% 74%, 59% 42%, 68% 71%, 78% 48%, 86% 77%, 94% 61%, 100% 84%, 100% 100%);
  opacity: .72;
}

body::after {
  bottom: -1vh;
  height: 23vh;
  background:
    linear-gradient(180deg, rgba(90, 255, 148, 0.10), rgba(14, 61, 70, 0.08) 36%, rgba(6, 18, 29, 0.88) 100%);
  clip-path: polygon(0 100%, 0 90%, 11% 78%, 18% 84%, 29% 64%, 39% 83%, 51% 61%, 63% 86%, 74% 69%, 84% 88%, 92% 76%, 100% 91%, 100% 100%);
  opacity: .92;
  filter: drop-shadow(0 -16px 40px rgba(18, 109, 182, 0.12));
}

.page-shell::before,
.page-shell::after {
  filter: blur(80px);
  opacity: .18;
}

.page-shell::before {
  top: 14vh;
  left: -12vw;
  width: 36vw;
  height: 36vw;
  background: radial-gradient(circle, rgba(16, 116, 255, 0.40), transparent 64%);
}

.page-shell::after {
  right: -10vw;
  bottom: 10vh;
  width: 34vw;
  height: 34vw;
  background: radial-gradient(circle, rgba(71, 218, 145, 0.26), transparent 62%);
}

body.light-theme::before {
  background:
    linear-gradient(180deg, rgba(25, 122, 220, 0.05), rgba(25, 122, 220, 0) 30%),
    linear-gradient(180deg, rgba(177, 208, 239, 0.12), rgba(146, 188, 225, 0.28) 50%, rgba(206, 228, 247, 0.56));
  opacity: .82;
}

body.light-theme::after {
  background: linear-gradient(180deg, rgba(96, 222, 164, 0.09), rgba(182, 222, 233, 0.1) 32%, rgba(211, 232, 248, 0.75));
  opacity: .96;
}

.btn {
  background-clip: padding-box !important;
  box-shadow: 0 12px 28px rgba(4, 18, 32, 0.16);
}

.btn::before {
  inset: 0 !important;
  background: none !important;
  opacity: 0 !important;
}

.btn-primary {
  background: linear-gradient(90deg, #1d52c8 0%, #226fc9 54%, #4ecb84 100%) !important;
  box-shadow: 0 14px 30px rgba(16, 86, 173, 0.20) !important;
  border-color: rgba(102, 170, 255, 0.10) !important;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #225cd6 0%, #2780d6 54%, #58d88e 100%) !important;
  box-shadow: 0 18px 36px rgba(15, 92, 184, 0.24) !important;
}

.btn-secondary,
.btn-ghost {
  box-shadow: 0 10px 22px rgba(3, 14, 26, 0.12);
}

.glow::after {
  inset: -2px !important;
  background: linear-gradient(135deg, rgba(29, 82, 200, .18), rgba(34, 111, 201, .12), rgba(78, 203, 132, .16)) !important;
  filter: blur(18px) !important;
  opacity: .72;
}

.hero-actions .btn,
.cta-buttons .btn,
.pricing-card .btn,
.header-actions .btn {
  border-image: none !important;
}

.footer-logo-top,
.brand-footer-top {
  display: none !important;
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 17, 29, 0.24), rgba(5, 17, 29, 0.06));
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  body::before {
    height: 24vh;
    opacity: .58;
  }

  body::after {
    height: 18vh;
    opacity: .78;
  }

  .page-shell::before,
  .page-shell::after {
    opacity: .12;
  }
}


/* ===== v30 hero server labels + smoother server-card switching ===== */
.server-lists {
  position: relative;
  margin-top: 18px;
  min-height: 248px;
}

.server-list {
  position: absolute;
  inset: 0;
  display: grid !important;
  gap: 10px;
  margin-top: 0 !important;
  opacity: 0;
  transform: translateY(12px) scale(0.988);
  pointer-events: none;
  transition:
    opacity .42s cubic-bezier(.22, 1, .36, 1),
    transform .52s cubic-bezier(.22, 1, .36, 1) !important;
}

.server-list.active {
  position: relative;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.server-list.pre-enter {
  opacity: 0;
  transform: translateY(18px) scale(0.984);
}

.server-list.leave {
  opacity: 0;
  transform: translateY(-10px) scale(0.984);
  pointer-events: none;
}

.server-row {
  transform: translateY(0);
  opacity: 1;
  transition:
    transform .48s cubic-bezier(.22, 1, .36, 1),
    opacity .38s ease,
    border-color .32s ease,
    background .32s ease,
    box-shadow .32s ease !important;
  will-change: transform, opacity;
}

.server-list.pre-enter .server-row,
.server-list.leave .server-row {
  opacity: 0;
  transform: translateY(16px);
}

.server-list.leave .server-row {
  transform: translateY(-12px);
}

.server-list.active .server-row {
  opacity: 1;
  transform: translateY(0);
}

.server-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(5, 20, 35, 0.24);
}

.segment-control::before {
  transition: transform .68s cubic-bezier(.22, 1, .36, 1), box-shadow .34s ease, background .34s ease !important;
}

.segment {
  transition: color .34s ease, transform .34s ease, text-shadow .34s ease !important;
}

@media (max-width: 640px) {
  .server-lists {
    min-height: 264px;
  }
}


/* ===== v31 button stripe cleanup + real flag icons in hero mock ===== */
.btn,
.btn-primary,
.header-actions .btn,
.hero-actions .btn,
.pricing-card .btn,
.cta-buttons .btn {
  background-origin: border-box !important;
  background-clip: border-box !important;
  background-repeat: no-repeat !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus-visible {
  border: 0 !important;
  outline: 0 !important;
}

.btn-primary::before,
.btn-primary::after,
.glow::after {
  display: none !important;
}

.btn-primary {
  background-image: linear-gradient(90deg, #1f57d0 0%, #2872cf 54%, #4fc985 100%) !important;
  box-shadow: 0 14px 30px rgba(15, 88, 178, 0.18) !important;
}

.btn-primary:hover {
  background-image: linear-gradient(90deg, #255fda 0%, #2f7bd6 54%, #58d48f 100%) !important;
  box-shadow: 0 18px 36px rgba(15, 92, 184, 0.22) !important;
}

.server-title {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.flag-icon {
  width: 18px;
  height: 14px;
  flex: 0 0 18px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 4px 10px rgba(0,0,0,0.18);
}

.server-title strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.server-row span {
  margin-bottom: 0 !important;
}

.server-row small {
  display: block;
  padding-left: 28px;
}

.device-screen .server-row small {
  padding-left: 28px;
}

@media (max-width: 640px) {
  .server-title {
    gap: 9px;
  }

  .flag-icon {
    width: 17px;
    height: 13px;
    flex-basis: 17px;
  }

  .server-title strong {
    font-size: 0.98rem;
  }

  .server-row small,
  .device-screen .server-row small {
    padding-left: 26px;
  }
}


/* ===== v37 devices section ===== */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.device-support-card,
.devices-note {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
  transition:
    transform .46s cubic-bezier(.22, 1, .36, 1),
    box-shadow .46s cubic-bezier(.22, 1, .36, 1),
    border-color .34s ease,
    background-color .34s ease,
    filter .34s ease;
}

.device-support-card::before,
.devices-note::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(23, 169, 255, 0.16), transparent 34%),
    radial-gradient(circle at 82% 88%, rgba(90, 255, 148, 0.12), transparent 38%);
  opacity: 0;
  transition: opacity .38s ease;
}

.device-support-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14,85,255,.24), rgba(90,255,148,.18));
  font-size: 1.45rem;
}

.device-support-card h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

.device-support-card p,
.devices-note {
  color: var(--muted);
  line-height: 1.7;
}

.devices-note {
  margin-top: 18px;
}

.devices-note strong {
  color: var(--text);
}

@media (hover: hover) {
  .device-support-card:hover,
  .devices-note:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(5, 21, 40, 0.28);
    border-color: color-mix(in oklab, var(--accent) 38%, var(--surface-border));
    background: color-mix(in oklab, var(--surface) 82%, rgba(255,255,255,.08));
    filter: brightness(1.04);
  }

  .device-support-card:hover::before,
  .devices-note:hover::before {
    opacity: 1;
  }
}

body.light-theme .device-support-card:hover,
body.light-theme .devices-note:hover {
  box-shadow: 0 24px 52px rgba(20, 86, 156, 0.16);
  background: color-mix(in oklab, white 90%, rgba(21, 123, 255, 0.06));
}

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

@media (max-width: 760px) {
  .devices-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== v38 final header normalization after devices tab ===== */
@media (min-width: 1141px) {
  .site-header {
    overflow: visible !important;
  }

  .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    min-height: 78px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .brand {
    flex: 0 0 170px !important;
    max-width: 170px !important;
    min-width: 170px !important;
    gap: 12px !important;
  }

  .brand-mark {
    width: 52px !important;
    height: 56px !important;
    flex: 0 0 52px !important;
  }

  .brand-copy {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .brand-copy strong {
    display: block !important;
    font-size: 0.98rem !important;
    line-height: 1.02 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .brand-copy span {
    display: none !important;
  }

  .desktop-nav {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 18px !important;
    width: auto !important;
    max-width: none !important;
  }

  .desktop-nav a {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    white-space: nowrap !important;
    font-size: 0.93rem !important;
    line-height: 1 !important;
  }

  .header-actions {
    flex: 0 0 auto !important;
    min-width: auto !important;
    justify-self: auto !important;
    gap: 12px !important;
  }

  .modern-switches {
    flex: 0 0 auto !important;
    min-width: auto !important;
  }

  .theme-switch {
    flex: 0 0 auto !important;
  }

  .theme-track {
    width: 84px !important;
    min-width: 84px !important;
  }

  .header-actions .btn-header {
    min-height: 46px !important;
    padding-inline: 22px !important;
    font-size: 0.96rem !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 1141px) and (max-width: 1360px) {
  .brand {
    flex-basis: 160px !important;
    max-width: 160px !important;
    min-width: 160px !important;
  }

  .desktop-nav {
    gap: 14px !important;
  }

  .desktop-nav a {
    font-size: 0.89rem !important;
  }

  .header-actions {
    gap: 10px !important;
  }

  .header-actions .btn-header {
    padding-inline: 18px !important;
    font-size: 0.92rem !important;
  }
}

@media (min-width: 1141px) and (max-width: 1240px) {
  .brand {
    flex-basis: 152px !important;
    max-width: 152px !important;
    min-width: 152px !important;
  }

  .desktop-nav {
    gap: 10px !important;
  }

  .desktop-nav a {
    font-size: 0.84rem !important;
    letter-spacing: -0.01em !important;
  }

  .theme-track {
    width: 76px !important;
    min-width: 76px !important;
  }

  .header-actions .btn-header {
    padding-inline: 15px !important;
    min-height: 44px !important;
    font-size: 0.9rem !important;
  }
}


/* ===== v39 header logo-only hard fix ===== */
.site-header {
  overflow: visible !important;
}

.brand.brand-logo-only {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  flex: 0 0 58px !important;
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  padding: 0 !important;
}

.brand.brand-logo-only .brand-mark {
  width: 58px !important;
  height: 62px !important;
  flex: 0 0 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.brand.brand-logo-only .brand-mark img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.brand.brand-logo-only .brand-copy {
  display: none !important;
}

@media (min-width: 1141px) {
  .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    min-height: 80px !important;
  }

  .brand.brand-logo-only {
    margin-right: 6px !important;
  }

  .desktop-nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: clamp(16px, 1.6vw, 28px) !important;
    margin-left: 8px !important;
    overflow: visible !important;
  }

  .desktop-nav a {
    font-size: clamp(0.88rem, 0.2vw + 0.82rem, 0.98rem) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  .header-actions {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: auto !important;
    margin-left: 10px !important;
  }

  .header-actions .btn-header {
    white-space: nowrap !important;
  }
}

@media (min-width: 1141px) and (max-width: 1320px) {
  .desktop-nav {
    gap: 16px !important;
  }

  .desktop-nav a {
    font-size: 0.9rem !important;
  }

  .header-actions .btn-header {
    padding-inline: 18px !important;
    font-size: 0.92rem !important;
  }
}

@media (min-width: 1141px) and (max-width: 1220px) {
  .desktop-nav {
    gap: 12px !important;
  }

  .desktop-nav a {
    font-size: 0.86rem !important;
    letter-spacing: -0.01em !important;
  }

  .theme-track {
    width: 78px !important;
    min-width: 78px !important;
  }

  .header-actions {
    gap: 10px !important;
  }

  .header-actions .btn-header {
    padding-inline: 15px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 1140px) {
  .brand.brand-logo-only {
    flex: 0 0 52px !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
  }

  .brand.brand-logo-only .brand-mark {
    width: 52px !important;
    height: 56px !important;
    flex-basis: 52px !important;
  }
}


/* v41: white theme and theme switch removed */
#themeToggle, .theme-switch, .theme-track, .theme-thumb, .theme-icon, .modern-switches { display: none !important; }
.header-actions { gap: 14px; }
@media (max-width: 980px) { .header-actions { gap: 10px; } }


/* v43: single hero CTA button */
.hero-actions.hero-actions-single {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
}

.hero-actions.hero-actions-single {
  margin-bottom: 12px;
}

.hero-actions.hero-actions-single .hero-main-cta {
  min-width: min(380px, 100%);
  width: fit-content;
  min-height: 64px;
  padding: 18px 42px;
  font-size: 1.08rem;
  border-radius: 20px;
}

.hero-cta-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .hero-actions.hero-actions-single .hero-main-cta {
    width: 100%;
    min-width: 0;
    min-height: 60px;
    padding: 17px 28px;
    font-size: 1.02rem;
  }

  .hero-cta-note {
    font-size: 0.92rem;
  }
}

/* v44: hero CTA positioning and trial note spacing */
.hero-actions.hero-actions-single {
  margin: 26px 0 6px !important;
  padding-left: 18px !important;
}

.hero-cta-note {
  margin: 0 0 28px 18px !important;
}

@media (max-width: 767px) {
  .hero-actions.hero-actions-single {
    padding-left: 0 !important;
    margin: 18px 0 6px !important;
  }

  .hero-cta-note {
    margin: 0 0 22px 0 !important;
  }
}


/* v45: wide hero CTA aligned with text block + left trial note */
.hero-actions.hero-actions-single {
  width: 100% !important;
  max-width: 680px !important;
  margin: 26px 0 8px !important;
  padding-left: 0 !important;
  justify-content: flex-start !important;
}

.hero-actions.hero-actions-single .hero-main-cta {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 64px;
  justify-content: center;
  text-align: center;
}

.hero-cta-note {
  width: 100% !important;
  max-width: 680px !important;
  margin: 0 0 30px 0 !important;
  text-align: left !important;
}

@media (max-width: 767px) {
  .hero-actions.hero-actions-single,
  .hero-cta-note {
    max-width: 100% !important;
  }

  .hero-actions.hero-actions-single {
    margin: 18px 0 8px !important;
  }

  .hero-cta-note {
    margin: 0 0 24px 0 !important;
  }
}

.stat-card-small {
  text-align: left;
}
.stat-card-cabinet {
  justify-content: flex-start;
}


/* ===== pricing card visual alignment refinement ===== */
.pricing-card {
  display: grid;
  grid-template-rows: auto auto minmax(104px, auto) auto auto auto;
  align-content: start;
}

.pricing-card .pricing-badge {
  align-self: start;
}

.pricing-card p {
  display: block;
}

.pricing-card .pricing-list {
  align-self: start;
}

.pricing-inline-note,
.pricing-inline-note-ghost {
  min-height: 58px;
}

.pricing-inline-note-ghost {
  visibility: hidden;
  pointer-events: none;
  background: transparent;
  border-color: transparent;
}

.pricing-card .btn.wide {
  align-self: stretch;
}


/* ===== v24 precise pricing row alignment ===== */
.pricing-grid {
  align-items: stretch !important;
}

.pricing-card {
  display: grid !important;
  grid-template-rows: auto auto minmax(108px, auto) auto 64px auto;
  row-gap: 22px;
  align-content: start;
  height: 100%;
}

.pricing-card h3 {
  margin: 0 !important;
  min-height: 0 !important;
}

.pricing-card p {
  margin: 0 !important;
  min-height: 108px !important;
}

.pricing-card .pricing-list {
  margin: 0 !important;
  display: grid;
  gap: 12px;
}

.pricing-card .pricing-list div,
.pricing-card .pricing-inline-note,
.pricing-card .pricing-inline-note-ghost {
  min-height: 64px;
  box-sizing: border-box;
}

.pricing-card .pricing-inline-note {
  margin: 0 !important;
  display: flex;
  align-items: center;
}

.pricing-card .pricing-inline-note-ghost {
  margin: 0 !important;
  visibility: hidden;
  pointer-events: none;
  background: transparent;
  border: 1px solid transparent;
  padding: 14px 18px;
}

.pricing-card .btn.wide {
  margin-top: 0 !important;
  align-self: end;
}

@media (max-width: 1100px) {
  .pricing-card {
    grid-template-rows: auto auto auto auto auto auto;
  }

  .pricing-card p {
    min-height: auto !important;
  }
}



/* ===== v26 remove empty space above VPN button ===== */
.pricing-grid .pricing-card:first-child {
  grid-template-rows: auto auto minmax(108px, auto) auto auto !important;
}

.pricing-grid .pricing-card:first-child .btn.wide {
  align-self: end;
}

@media (max-width: 1100px) {
  .pricing-grid .pricing-card:first-child {
    grid-template-rows: auto auto auto auto auto !important;
  }
}


/* ===== v27 final pricing alignment fix ===== */
.pricing-inline-note,
.pricing-inline-note-ghost {
  display: none !important;
}

.pricing-grid {
  align-items: stretch !important;
}

.pricing-card,
.pricing-grid .pricing-card:first-child {
  display: grid !important;
  grid-template-rows: auto auto minmax(108px, auto) auto auto !important;
  row-gap: 22px !important;
  align-content: start;
  height: 100%;
}

.pricing-card h3 {
  margin: 0 !important;
  min-height: 0 !important;
}

.pricing-card p {
  margin: 0 !important;
  min-height: 108px !important;
}

.pricing-card .pricing-list {
  margin: 0 !important;
  display: grid;
  gap: 12px;
}

.pricing-card .pricing-list > div {
  min-height: 64px;
  box-sizing: border-box;
}

.pricing-list-note {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 18px;
  border-radius: 16px;
  min-height: 64px;
  background: rgba(84, 255, 167, 0.08) !important;
  border: 1px solid rgba(84, 255, 167, 0.18) !important;
  color: var(--text) !important;
  line-height: 1.6;
}

.pricing-card .btn.wide,
.pricing-grid .pricing-card:first-child .btn.wide,
.pricing-card-bypass .btn.wide {
  margin-top: 0 !important;
  align-self: end;
}

@media (max-width: 1100px) {
  .pricing-card,
  .pricing-grid .pricing-card:first-child {
    grid-template-rows: auto auto auto auto auto !important;
  }

  .pricing-card p {
    min-height: auto !important;
  }
}


/* ===== v28 apps section: keep top card, replace only lower 3 blocks ===== */
.media-section .hero-actions .btn {
  justify-content: center !important;
  text-align: center;
}

.media-section .hero-actions.lefted .btn {
  min-width: 204px;
}

.dashboard-subscriptions {
  display: grid;
  gap: 14px;
}

.subscription-card {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(106, 146, 183, .18), rgba(63, 95, 127, .14));
  border: 1px solid rgba(161, 195, 229, .14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.laptop-screen .subscription-card {
  background: linear-gradient(180deg, rgba(98, 136, 171, .23), rgba(68, 101, 133, .16));
}

.subscription-card-bypass {
  background: linear-gradient(180deg, rgba(100, 143, 180, .26), rgba(74, 109, 141, .18));
}

.subscription-card-vpn {
  background: linear-gradient(180deg, rgba(112, 150, 185, .22), rgba(78, 111, 142, .16));
}

.subscription-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.subscription-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-wrap: wrap;
}

.subscription-title-wrap strong {
  font-size: 1.02rem;
  line-height: 1.3;
}

.subscription-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(73, 208, 144, .18);
  border: 1px solid rgba(73, 208, 144, .2);
  color: #7bf0b1;
  font-size: .82rem;
  font-weight: 700;
}

.subscription-arrow {
  color: rgba(220, 232, 245, .55);
  font-size: 1.7rem;
  line-height: 1;
  flex: 0 0 auto;
}

.subscription-progress-head,
.subscription-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.subscription-progress-head {
  margin-top: 14px;
  color: var(--muted);
  font-size: .92rem;
}

.subscription-progress {
  margin-top: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.subscription-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.subscription-progress-fill-bypass {
  width: 31.2%;
  background: linear-gradient(90deg, #49d090, #77f7b1);
}

.subscription-progress-fill-vpn {
  width: 100%;
  background: linear-gradient(90deg, #7b93a8, #b1c5d7);
  opacity: .85;
}

.subscription-meta {
  margin-top: 14px;
  color: rgba(209, 222, 237, .78);
  font-size: .94rem;
}

.subscription-meta-danger {
  color: #7bf0b1;
}

@media (max-width: 1100px) {
  .media-section .hero-actions.lefted .btn {
    min-width: 0;
  }
}

/* ===== v39 device install links ===== */
.device-support-card {
  display: flex;
  flex-direction: column;
}

.device-support-card p {
  margin-bottom: 18px;
}

.device-install-link {
  margin-top: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 16px;
  border-radius: 14px;
  background-image: linear-gradient(90deg, #2358d3 0%, #3176d8 54%, #57cf8d 100%);
  background-color: transparent;
  background-repeat: no-repeat;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: #fff;
  font-weight: 800;
  font-size: .92rem;
  text-align: center;
  box-shadow: 0 12px 24px rgba(16, 86, 173, 0.18);
  border: 0;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.device-install-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 92, 184, 0.24);
  filter: brightness(1.04);
}


/* ===== v32 center CTA button labels ===== */
.cta-section .hero-actions .btn,
.cta-box .hero-actions .btn,
.center-actions .btn {
  justify-content: center !important;
  text-align: center !important;
}


/* ===== v40 nudge cabinet button area left ===== */
@media (min-width: 768px) {
  .site-header .header-actions {
    transform: translateX(-18px);
  }
}


/* ===== v43 restore brand text in header ===== */
.brand.brand-logo-only {
  gap: 12px !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 340px !important;
  justify-content: flex-start !important;
}

.brand.brand-logo-only .brand-copy {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
}

.brand.brand-logo-only .brand-copy strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem !important;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
  text-rendering: optimizeLegibility;
}

.brand.brand-logo-only .brand-copy small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

@media (min-width: 1141px) {
  .brand.brand-logo-only {
    margin-right: 10px !important;
  }
}

@media (max-width: 760px) {
  .brand.brand-logo-only {
    max-width: 220px !important;
  }

  .brand.brand-logo-only .brand-copy small {
    display: none !important;
  }
}
