/* ===== Verdian App — палитра из VerdianVPN (tokens.css) ===== */
:root {
  /* Grays */
  --gray-50: #f5f3ff;
  --gray-100: #e4e4e7;
  --gray-200: #cac9cf;
  --gray-300: #afaeb7;
  --gray-400: #95939f;
  --gray-500: #7a7887;
  --gray-600: #62606c;
  --gray-700: #494851;
  --gray-800: #313036;
  --gray-900: #1a1625;
  --gray-950: #0d0b12;
  /* Violet / purple — из VerdianVPN */
  --violet-50: #f5f3ff;
  --violet-100: #ede9fe;
  --violet-200: #ddd6fe;
  --violet-300: #c4b5fd;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --violet-800: #5b21b6;
  --violet-900: #4c1d95;
  --violet-950: #2e1065;
  /* Accent — из VerdianVPN tokens */
  --accent: #8b5cf6;
  --accent-bright: #6927ff;
  --accent-rgb: 139 92 246;
  --accent2-rgb: 167 139 250;
  --accent-glow: rgba(139, 92, 246, 0.4);
  /* Surfaces — dark theme из VerdianVPN */
  --bg-base: #0d0b12;
  --bg-mid: #12101a;
  --bg-soft: #1a1525;
  --surface: rgba(26, 21, 37, 0.8);
  --surface-elevated: rgba(31, 26, 42, 0.9);
  --text: rgba(237, 233, 254, 0.94);
  --text-muted: rgba(237, 233, 254, 0.62);
  --text-muted-2: rgba(237, 233, 254, 0.42);
  --panel: rgba(26, 21, 37, 0.72);
  --panel-border: rgba(167, 139, 250, 0.12);
  /* Typography */
  --font-sans: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
  --font-hero: 'Syne', var(--font-display);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-glow: 0 0 100px rgba(var(--accent-rgb), 0.12);
  /* Gradients — переиспользуемые */
  --gradient-primary: linear-gradient(135deg, var(--accent-bright), var(--violet-500));
  --gradient-primary-hover: linear-gradient(135deg, var(--violet-400), var(--violet-300));
  --gradient-surface: linear-gradient(135deg, rgba(var(--accent-rgb), 0.06), rgba(var(--accent2-rgb), 0.02));
  --gradient-surface-elevated: linear-gradient(135deg, rgba(26, 21, 37, 0.7), rgba(26, 21, 37, 0.4));
  --gradient-glass: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent2-rgb), 0.1));
  --gradient-hero-bg: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-mid) 45%, var(--bg-soft) 100%);
  /* Modular scale 1.25 (ratio 1.25) */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.563rem;   /* 25px */
  --text-3xl: 1.953rem;   /* 31px */
  --text-4xl: 2.441rem;   /* 39px */
  --text-5xl: clamp(2.5rem, 5vw, 3.5rem);
  --text-hero: clamp(2.5rem, 6vw, 3.75rem);
  --text-section: clamp(1.75rem, 4vw, 2.5rem);
  --text-section-sm: clamp(1.5rem, 3vw, 2rem);
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --tracking-tight: -0.03em;
  --tracking-wide: 0.04em;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--violet-600);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-md);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--violet-400);
  outline-offset: 2px;
}

/* Sticky CTA bar — появляется при скролле */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 12px 24px;
  background: rgba(13, 11, 18, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--panel-border);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
  pointer-events: none;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.sticky-cta-btn {
  display: block;
  max-width: 280px;
  margin: 0 auto;
  padding: 14px 28px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border-radius: var(--r-md);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.sticky-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(var(--accent-rgb), 0.5);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  background: rgba(13, 11, 18, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s;
}

.header.is-scrolled {
  background: rgba(13, 11, 18, 0.88);
  border-bottom-color: var(--panel-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-md);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s;
  z-index: 102;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
  position: relative;
}

.nav a:hover {
  color: var(--text);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet-400), var(--violet-300));
  transition: width 0.25s var(--ease-out);
}

.nav a:hover::after {
  width: 100%;
}

.nav a:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 4px;
  color: var(--text);
}

.header-cta {
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.25), 0 0 40px rgba(var(--accent-rgb), 0.1);
  transition: box-shadow 0.3s var(--ease-out);
}

.header-cta:hover {
  box-shadow: 0 0 28px rgba(var(--accent-rgb), 0.4), 0 0 56px rgba(var(--accent-rgb), 0.18);
}

.nav-overlay {
  display: none;
}

.nav-drawer {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  /* Deboss — вдавленная кнопка */
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.15),
    inset -1px -1px 0 rgba(0, 0, 0, 0.25),
    0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.2),
    inset -1px -1px 0 rgba(0, 0, 0, 0.2),
    0 8px 32px rgba(var(--accent-rgb), 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible,
.btn-primary:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 3px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-ghost {
  background: transparent;
  color: var(--violet-400);
  border: 2px solid rgba(var(--accent-rgb), 0.4);
}

.btn-ghost:hover {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: var(--violet-400);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(var(--accent-rgb), 0.12), transparent 60%),
    radial-gradient(1200px 700px at 15% 15%, rgba(var(--accent-rgb), 0.18), transparent 58%),
    radial-gradient(900px 520px at 82% 8%, rgba(var(--accent2-rgb), 0.12), transparent 55%),
    radial-gradient(600px 600px at 50% 50%, rgba(var(--accent-rgb), 0.06), transparent 70%),
    var(--gradient-hero-bg);
}

/* Gradient mesh effect */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(at 40% 20%, rgba(var(--accent2-rgb), 0.15) 0%, transparent 50%),
    radial-gradient(at 80% 80%, rgba(var(--accent-rgb), 0.1) 0%, transparent 50%);
  animation: meshShift 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshShift {
  0% { opacity: 0.8; }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(var(--accent2-rgb), 0.15) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, black, transparent 70%);
  pointer-events: none;
}

/* Фоновое изогнутое слово «Privacy» в hero */
.hero-curved-bg-word {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.hero-curved-bg-word svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: glowPulse 8s var(--ease-out) infinite;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(var(--accent-rgb), 0.2);
  top: -200px;
  left: -100px;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(var(--accent2-rgb), 0.15);
  bottom: -150px;
  right: -100px;
  animation-delay: -4s;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.05); }
}

.hero-waves {
  position: absolute;
  bottom: 15%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  pointer-events: none;
  opacity: 0.7;
  transform: translateY(calc(var(--hero-parallax, 0) * 0.5));
  transition: transform 0.1s ease-out;
}

.hero-waves svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-wave-line {
  animation: waveMove 12s ease-in-out infinite;
}

.hero-wave-line:nth-child(2) { animation-delay: -4s; }
.hero-wave-line:nth-child(3) { animation-delay: -8s; }

@keyframes waveMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-3%); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
  transform: translateY(calc(var(--hero-parallax, 0) * 0.3));
  transition: transform 0.1s ease-out;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 0 24px;
  }
  .hero-content {
    flex: 0 1 50%;
    text-align: left;
    max-width: 560px;
  }
  .hero-visual {
    flex: 0 1 50%;
    margin-top: 0;
    max-width: 640px;
    min-width: 320px;
  }
  .hero-app-screens {
    max-width: 640px;
  }
  .hero-cta {
    justify-content: flex-start;
  }
  .hero-trust,
  .hero-trust-badges {
    justify-content: flex-start;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--panel-border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--violet-400);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-500);
  box-shadow: 0 0 10px var(--violet-500);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-title {
  font-family: var(--font-hero);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: #fff;
  /* Явный emboss — выпуклый текст */
  text-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.12),
    -1px -1px 0 rgba(0, 0, 0, 0.35),
    2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
  -webkit-text-fill-color: transparent;
  background: var(--gradient-primary-hover);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-title .highlight-vpn {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #6927ff, var(--violet-400));
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
}

.hero-title .line {
  display: block;
}

/* Диагональное подчёркивание под «начинается с VPN» */
.hero-title .line-with-underline {
  position: relative;
  display: inline-block;
}

.hero-title .line-with-underline {
  margin-bottom: 20px;
  padding-bottom: 12px; /* место под линию, чтобы не залезала на текст */
}

.hero-title .line-with-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #6927ff, #a78bfa);
  border-radius: 2px;
  transform: rotate(-2deg);
  z-index: 0;
}

/* Выделение слов в тексте (как на Surfshark/Linear) */
.highlight-inline {
  color: var(--violet-400);
  font-weight: 600;
}

.highlight-heading {
  background: var(--gradient-primary-hover);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 32px;
  margin-bottom: 28px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-400);
  opacity: 0.9;
}

.hero-trust-icon svg {
  width: 18px;
  height: 18px;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-bottom: 24px;
}

.hero-badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 999px;
  font-family: var(--font-sans);
}

.hero-badge-tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-400);
}

.hero-badge-tech-icon svg {
  width: 16px;
  height: 16px;
}

.hero-badge-tech-icon-code {
  font-size: 0.7rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
}

.hero-badge-tech-accent {
  color: var(--violet-400);
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.2);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-guarantee {
  font-size: 0.875rem;
  color: var(--text-muted-2);
  margin: 0;
  width: 100%;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0.7;
}

.scroll-indicator-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--violet-400), transparent);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}

.animate-reveal span,
.hero-title .line {
  display: inline-block;
  animation: revealUp 0.9s var(--ease-out) forwards;
  opacity: 0;
}

.hero-title .line:nth-child(2) { animation-delay: 0.15s; }

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(1em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.7s var(--ease-out) forwards;
}

.animate-fade-in.delay-1 { animation-delay: 0.2s; }
.animate-fade-in.delay-2 { animation-delay: 0.4s; }
.animate-fade-in.delay-3 { animation-delay: 0.6s; }

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

.animate-float {
  animation: float 6s var(--ease-out) infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* Hero — крупный блок со скриншотами, векторный декор, изогнутый слоган */
.hero-app-screens {
  width: 100%;
  max-width: min(640px, 95vw);
}

.hero-app-visual-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}

.hero-app-vector {
  position: absolute;
  inset: -20% -10% -30% -10%;
  pointer-events: none;
  z-index: 0;
}

.hero-app-vector svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
}

.hero-app-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 2px solid rgba(var(--accent-rgb), 0.2);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3),
    0 32px 64px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(var(--accent-rgb), 0.12);
  background: var(--bg-soft);
  animation: heroFrameIn 0.7s var(--ease-out) 0.15s both;
  transform: perspective(1200px) rotateY(-2deg) rotateX(2deg);
}

.hero-app-frame:hover {
  transform: perspective(1200px) rotateY(0) rotateX(0);
  border-color: rgba(var(--accent-rgb), 0.35);
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}

@keyframes heroFrameIn {
  from { opacity: 0; transform: perspective(1200px) rotateY(-4deg) translateY(20px) scale(0.96); }
  to { opacity: 1; transform: perspective(1200px) rotateY(-2deg) rotateX(2deg) translateY(0) scale(1); }
}

.hero-app-panel {
  display: none;
  animation: heroPanelFade 0.4s var(--ease-out);
}

.hero-app-panel.active {
  display: block;
}

.hero-app-panel img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

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

/* Миниатюры под основным кадром */
.hero-app-thumbs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-app-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: color 0.2s, opacity 0.2s, transform 0.2s;
}

.hero-app-tab img {
  width: 100px;
  height: auto;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}

.hero-app-tab:hover {
  color: var(--text);
}

.hero-app-tab:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.hero-app-tab.active {
  color: var(--violet-400);
}

.hero-app-tab.active img {
  border-color: var(--violet-500);
  opacity: 1;
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
}

.hero-app-tab:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 4px;
}

/* Изогнутый слоган под блоком */
.hero-curved-tagline {
  width: 100%;
  max-width: 380px;
  animation: fadeIn 0.8s var(--ease-out) 0.5s both;
}

.curved-tagline-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Метрики (Ultima-style) ===== */
.metrics-section {
  padding: 64px 0 48px;
  background: var(--bg-mid);
  border-top: 1px solid var(--panel-border);
}

.metrics-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 40px;
  letter-spacing: 0.02em;
}

.metrics-title-word {
  display: inline-block;
  opacity: 0.9;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.metric-card {
  background: linear-gradient(135deg, rgba(26, 21, 37, 0.8), rgba(18, 16, 26, 0.6));
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.metric-icon-wrap {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--violet-400);
}

.metric-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.metric-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

.metric-chart {
  height: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}

.metric-chart-line svg {
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.metric-bar {
  width: 12px;
  height: 8px;
  border-radius: 2px;
  background: rgba(var(--accent-rgb), 0.2);
  transition: height 0.3s var(--ease-out);
}

.metric-card:hover .metric-bar { height: 12px; }
.metric-bar-accent {
  background: var(--violet-500);
  height: 14px;
}
.metric-card:hover .metric-bar-accent { height: 18px; }

.metric-chart-dots {
  gap: 8px;
}

.metric-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.25);
}
.metric-dot-accent {
  background: var(--violet-500);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.5);
}

.metrics-cta-wrap {
  text-align: center;
}

.metrics-cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--violet-400);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.metrics-cta:hover {
  color: var(--violet-300);
}

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

@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }
  .metric-card {
    padding: 20px 16px;
  }
}

/* ===== Trust strip (Page Flows — логотипы/протоколы) ===== */
.trust-strip {
  padding: 32px 0;
  background: var(--bg-base);
  border-top: 1px solid var(--panel-border);
  overflow: hidden;
}

.trust-strip-inner {
  max-width: 100%;
}

.trust-strip-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 20px;
  letter-spacing: 0.04em;
}

.trust-strip-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.trust-strip-row {
  display: flex;
  gap: 48px;
  animation: trustStripScroll 40s linear infinite;
  width: max-content;
}

.trust-strip-item {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.trust-strip-item:hover {
  color: var(--violet-400);
  border-color: rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.1);
}

@keyframes trustStripScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-strip-row {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
  }
  .trust-strip-track {
    mask-image: none;
  }
}

.hero-visual-tagline {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--violet-400);
  margin: 0;
  text-align: center;
  max-width: 320px;
}

.section {
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--panel-border);
}

.section:first-of-type {
  border-top: none;
}

.section-decor {
  position: relative;
  overflow: hidden;
}

.section-dots {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 100%;
  background-image: radial-gradient(circle at 1px 1px, rgba(var(--accent2-rgb), 0.12) 1.5px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.section-dots-right {
  left: auto;
  right: 0;
}

/* Секция-слоган вместо абстрактной дуги */
.tagline-section {
  position: relative;
  padding: 56px 0 64px;
}

.tagline-section .container {
  position: relative;
}

.tagline-decor {
  background: radial-gradient(ellipse 100% 60% at 50% 50%, rgba(var(--accent-rgb), 0.05), transparent 70%);
}

.tagline-wrap {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.tagline-title {
  font-family: var(--font-display);
  font-size: var(--text-section-sm);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.tagline-num {
  color: var(--violet-400);
  font-size: 1.35em;
  font-weight: 800;
  -webkit-text-fill-color: transparent;
  background: var(--gradient-primary-hover);
  -webkit-background-clip: text;
  background-clip: text;
}

.tagline-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Декоративное изогнутое слово «VPN» в секции */
.curved-decor-word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 320px;
  opacity: 0.5;
  pointer-events: none;
}

.curved-decor-vpn svg {
  width: 100%;
  height: auto;
  display: block;
}

.tagline-title.tagline-emboss {
  text-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.08),
    -1px -1px 0 rgba(0, 0, 0, 0.2),
    2px 2px 4px rgba(0, 0, 0, 0.1);
}

.infographic-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 8px;
  margin-top: 40px;
  padding: 28px 20px;
  border-radius: var(--r-lg);
  background: var(--gradient-surface);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.infographic-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.infographic-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.infographic-icon svg {
  width: 22px;
  height: 22px;
}

.infographic-step-accent .infographic-icon {
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--violet-400);
}

.infographic-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.infographic-step-accent .infographic-label {
  color: var(--violet-400);
}

.infographic-arrow {
  color: var(--violet-400);
  display: flex;
  align-items: center;
  opacity: 0.7;
}

.infographic-arrow svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.3));
}

/* Преимущества приложения */
.advantages-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px 64px;
  align-items: start;
}

.advantages-intro {
  position: sticky;
  top: 120px;
}

.advantages-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .advantages-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .advantages-intro {
    position: static;
  }
}

.advantages-grouped {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.advantages-group-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--violet-400);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.advantages-group:first-child .advantages-group-title {
  margin-top: 0;
}

.advantages-intro .section-title {
  margin-bottom: 16px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px 20px;
}

.advantages-grouped.animate-on-scroll {
  opacity: 1;
  transform: none;
}

.advantages-grouped .advantage-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.advantages-grouped.is-visible .advantage-item {
  opacity: 1;
  transform: translateY(0);
}

.advantage-item-featured {
  font-weight: 600;
  color: var(--text);
}

.advantage-item-featured .advantage-icon {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.3), rgba(var(--accent2-rgb), 0.2));
  border-color: rgba(var(--accent-rgb), 0.4);
}


.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(26, 21, 37, 0.7), rgba(26, 21, 37, 0.4));
  border: 1px solid var(--panel-border);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.45;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.advantage-item:nth-child(even) {
  background: linear-gradient(135deg, rgba(31, 26, 42, 0.6), rgba(26, 21, 37, 0.3));
}

.advantage-item:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.06);
}

.advantage-item .advantage-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.25), rgba(var(--accent2-rgb), 0.15));
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  color: var(--violet-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-item .advantage-icon svg {
  width: 14px;
  height: 14px;
}

.section-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--violet-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  /* Deboss — вдавленная метка */
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.06),
    1px 1px 0 rgba(0, 0, 0, 0.4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 48px;
  max-width: 560px;
  /* Emboss — выпуклый заголовок секции */
  text-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.1),
    -1px -1px 0 rgba(0, 0, 0, 0.25),
    2px 2px 6px rgba(0, 0, 0, 0.15);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.features-bento {
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.features-bento .feature-card-main {
  grid-column: 1;
  grid-row: span 2;
}

.features-bento .feature-card:nth-child(2) { grid-column: 2; }
.features-bento .feature-card:nth-child(3) { grid-column: 3; }
.features-bento .feature-card:nth-child(4) { grid-column: 2 / 4; }

@media (max-width: 900px) {
  .features-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .features-bento .feature-card-main {
    grid-column: span 2;
    grid-row: span 1;
  }
  .features-bento .feature-card:nth-child(2),
  .features-bento .feature-card:nth-child(3),
  .features-bento .feature-card:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .features-bento {
    grid-template-columns: 1fr;
  }
  .features-bento .feature-card-main,
  .features-bento .feature-card:nth-child(4) {
    grid-column: 1;
    grid-row: auto;
  }
}

.features-grid.animate-on-scroll {
  opacity: 1;
  transform: none;
}

.features-grid .feature-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.features-grid.is-visible .feature-card {
  opacity: 1;
  transform: translateY(0);
}

.features-grid.is-visible .feature-card:nth-child(1) { transition-delay: 0s; }
.features-grid.is-visible .feature-card:nth-child(2) { transition-delay: 0.08s; }
.features-grid.is-visible .feature-card:nth-child(3) { transition-delay: 0.16s; }
.features-grid.is-visible .feature-card:nth-child(4) { transition-delay: 0.24s; }

.feature-card {
  padding: 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(26, 21, 37, 0.65), rgba(31, 26, 42, 0.45));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.features-grid {
  perspective: 1200px;
}

.feature-card {
  transform-style: preserve-3d;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.02) rotateX(3deg) rotateY(-4deg);
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.18), 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 60px rgba(var(--accent-rgb), 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.feature-card-main {
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.feature-card-main:hover {
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.2), 0 28px 64px rgba(0, 0, 0, 0.4), 0 0 60px rgba(var(--accent-rgb), 0.12);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--violet-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon.feature-icon-grad {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent2-rgb), 0.1));
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Блок статистики/доверия как у Surfshark */
.features-stat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.stat-card {
  padding: 24px;
  border-radius: var(--r-lg);
  background: rgba(26, 21, 37, 0.8);
  border: 1px solid var(--panel-border);
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.15);
  transform: translateY(-2px);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--violet-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 20px;
  height: 20px;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--violet-400);
  margin-bottom: 0;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Секция Технологии — «лабораторный» тёмный фон */
.section.tech {
  background: radial-gradient(ellipse 100% 80% at 50% 50%, rgba(var(--accent-rgb), 0.04), transparent 55%),
    linear-gradient(180deg, #08060c 0%, var(--bg-base) 30%, var(--bg-mid) 100%);
}

.section.tech::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(var(--accent-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Блок «Подписка → sing-box → TUN → Защита» */
.tech-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 8px;
  margin: 0 auto 40px;
  padding: 24px 16px;
  max-width: 560px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.06), rgba(var(--accent2-rgb), 0.02));
  border: 1px solid rgba(var(--accent-rgb), 0.12);
}

.tech-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  min-width: 80px;
  border-radius: var(--r-md);
  background: rgba(26, 21, 37, 0.6);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.tech-flow-step:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
  background: rgba(var(--accent-rgb), 0.08);
  transform: translateY(-2px);
}

.tech-flow-step-accent {
  border-color: rgba(var(--accent-rgb), 0.25);
  background: rgba(var(--accent-rgb), 0.1);
}

.tech-flow-step-accent .tech-flow-icon {
  color: var(--violet-400);
}

.tech-flow-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-500);
  opacity: 0.95;
}

.tech-flow-icon svg {
  width: 24px;
  height: 24px;
}

.tech-flow-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.tech-flow-step-accent .tech-flow-label {
  color: var(--violet-400);
}

.tech-flow-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-500);
  opacity: 0.5;
}

.tech-flow-arrow svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  .tech-flow {
    flex-direction: column;
    gap: 8px;
    padding: 20px 12px;
  }
  .tech-flow-arrow {
    transform: rotate(90deg);
  }
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.tech-grid.animate-on-scroll {
  opacity: 1;
  transform: none;
}

.tech-grid .tech-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.tech-grid.is-visible .tech-card {
  opacity: 1;
  transform: translateY(0);
}

.tech-grid.is-visible .tech-card:nth-child(1) { transition-delay: 0s; }
.tech-grid.is-visible .tech-card:nth-child(2) { transition-delay: 0.12s; }
.tech-grid.is-visible .tech-card:nth-child(3) { transition-delay: 0.24s; }

.tech-card {
  padding: 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(26, 21, 37, 0.9), rgba(26, 21, 37, 0.6));
  border: 1px solid var(--panel-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.1), 0 24px 56px rgba(0, 0, 0, 0.35);
}

.tech-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent2-rgb), 0.1));
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  color: var(--violet-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.tech-icon svg {
  width: 28px;
  height: 28px;
}

.tech-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.tech-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.protocols-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--panel-border);
}

.protocol-badge {
  padding: 10px 20px;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--violet-400);
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  transition: border-color 0.2s, background 0.2s;
}

.protocol-badge:hover {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.35);
}

/* Как это работает — горизонтальный flow */
.how .section-badge {
  text-align: center;
}

.how-title {
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.how-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 56px;
  line-height: 1.5;
}

.how-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 24px 16px;
  margin-bottom: 48px;
  position: relative;
}

/* Timeline: вертикальная линия на десктопе */
@media (min-width: 769px) {
  .how-flow {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 24px;
    justify-content: space-between;
  }
  .how-flow-step {
    flex: 1;
    max-width: none;
  }
  .how-flow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 80px;
    bottom: 80px;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), 0.4), rgba(var(--accent-rgb), 0.4), transparent);
    transform: translateX(-1px);
    z-index: 0;
  }
  .how-flow-step {
    position: relative;
    z-index: 1;
  }
  .how-flow-arrow {
    display: none;
  }
}

.how-flow-step {
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 280px;
  padding: 32px 24px;
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(26, 21, 37, 0.85), rgba(18, 16, 24, 0.6));
  border: 1px solid var(--panel-border);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.how-flow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(var(--accent-rgb), 0.08);
}

.how-flow-step-3 {
  border-color: rgba(var(--accent-rgb), 0.2);
  background: linear-gradient(165deg, rgba(26, 21, 37, 0.9), rgba(31, 26, 45, 0.7));
}

.how-flow-visual {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.how-flow-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-flow-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--violet-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-flow-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.how-flow-icon-accent {
  background: rgba(var(--accent-rgb), 0.2);
  color: var(--violet-400);
}

.how-flow-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.how-flow-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.how-flow-arrow {
  display: flex;
  align-items: center;
  color: var(--violet-400);
  opacity: 0.5;
  flex-shrink: 0;
}

.how-flow-arrow svg {
  width: 28px;
  height: 28px;
}

.how-cta-inline {
  text-align: center;
}

/* FAQ */
.faq .section-title {
  margin-bottom: 40px;
}

.faq-search-wrap {
  max-width: 400px;
  margin: 0 auto 32px;
}

.faq-search {
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--r-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-search::placeholder {
  color: var(--text-muted-2);
}

.faq-search:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.15);
}

.faq-item.faq-item-hidden {
  display: none;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  align-items: start;
}

@media (max-width: 768px) {
  .faq-list {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
}

.faq-item {
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.06);
}

.faq-item[open] {
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.12);
  background: linear-gradient(135deg, rgba(26, 21, 37, 0.95), rgba(31, 26, 42, 0.8));
}

.faq-item[open] .faq-answer {
  animation: faq-answer-in 0.3s var(--ease-out) forwards;
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--violet-400);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 2px;
}

.faq-answer {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  padding: 0 24px 20px 24px;
}

.faq-answer:first-of-type {
  padding-top: 0;
}

.faq-answer a {
  color: var(--violet-300);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s;
}

.faq-answer a:hover {
  color: var(--violet-200);
}

.faq-answer a:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 2px;
}

.section-wave-wrap {
  position: relative;
}

.section-wave {
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
}

.section-wave-top {
  top: 0;
  height: 24px;
}

.section-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cta-box {
  position: relative;
  text-align: center;
  padding: 64px 56px 56px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.22), rgba(var(--accent2-rgb), 0.12));
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 28px 64px rgba(0,0,0,0.28), 0 0 80px rgba(var(--accent-rgb), 0.08), inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(var(--accent-rgb), 0.15), transparent 60%);
  pointer-events: none;
}

.cta-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.cta-blob-1 {
  width: 200px;
  height: 200px;
  background: rgba(var(--accent-rgb), 0.25);
  top: -60px;
  right: -40px;
  animation: blobFloat 8s ease-in-out infinite;
}

.cta-blob-2 {
  width: 160px;
  height: 160px;
  background: rgba(var(--accent2-rgb), 0.2);
  bottom: -40px;
  left: -30px;
  animation: blobFloat 10s ease-in-out infinite reverse;
  animation-delay: -2s;
}

.cta-blob-3 {
  width: 100px;
  height: 100px;
  background: rgba(var(--accent-rgb), 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: blobPulse 6s ease-in-out infinite;
}

/* Ghost-style встроенный UI приложения */
.cta-app-mock {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin: 0 auto 28px;
  border-radius: var(--r-lg);
  background: rgba(13, 11, 18, 0.9);
  border: 1px solid var(--panel-border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}

.cta-mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--panel-border);
}

.cta-mock-dots {
  display: flex;
  gap: 5px;
}

.cta-mock-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-600);
}

.cta-mock-title {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cta-mock-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.cta-mock-connected {
  font-weight: 600;
  color: var(--violet-400);
}

.cta-mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-600);
}

.cta-mock-dot.on {
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.cta-mock-server {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cta-mock-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(var(--accent-rgb), 0.15);
  overflow: hidden;
}

.cta-mock-fill {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet-600), var(--violet-400));
  transition: width 0.6s var(--ease-out);
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -15px); }
}

@keyframes blobPulse {
  0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.35; transform: translate(-50%, -50%) scale(1.1); }
}

.cta-decor::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-icon {
  width: 32px;
  height: 32px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: var(--text-section-sm);
  font-weight: 600;
  margin: 0 0 12px;
}

.cta-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  margin-bottom: 24px;
  padding: 20px 40px;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.4), 0 0 0 1px rgba(255,255,255,0.1);
}

.cta-btn:hover {
  box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.5), 0 0 0 1px rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 32px;
}

.cta-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cta-trust-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-trust-icon svg {
  width: 14px;
  height: 14px;
  color: var(--violet-400);
}

.cta-trust-icon-code {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--violet-400);
  font-family: ui-monospace, monospace;
}

/* Magnetic button — smooth transition when leaving */
.btn-magnetic {
  transition: transform 0.2s var(--ease-out);
  will-change: transform;
}

.cta-requirements {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--panel-border);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cta-requirements-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cta-requirements-text {
  font-size: 0.875rem;
  color: var(--text-muted-2);
  margin: 0;
  line-height: 1.5;
}

.footer {
  position: relative;
  padding: 48px 24px 32px;
  border-top: 1px solid var(--panel-border);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(var(--accent2-rgb), 0.06) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

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

.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr auto auto auto;
  gap: 40px 48px;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  color: var(--violet-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer-social-link:hover {
  background: rgba(var(--accent-rgb), 0.2);
  border-color: var(--violet-400);
  color: #fff;
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--violet-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

.footer-brand-col .footer-desc {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--violet-400);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 2px;
  color: var(--violet-400);
}

.footer-nav {
  flex-direction: column;
  gap: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-nav a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--violet-400);
}

.footer-nav a:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 2px;
  color: var(--violet-400);
}

.footer-vpn {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--panel-border);
}

.footer-vpn-link {
  color: var(--violet-400);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-vpn-link:hover {
  color: #c4b5fd;
}

.footer-vpn-link:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 2px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--panel-border);
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-muted-2);
  margin: 0;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger: section badge → title */
.section-badge.animate-on-scroll { transition-delay: 0s; }
.section-title.animate-on-scroll { transition-delay: 0.08s; }

/* Stagger: FAQ items */
.faq-list .faq-item.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.faq-list .faq-item.animate-on-scroll:nth-child(2) { transition-delay: 0.06s; }
.faq-list .faq-item.animate-on-scroll:nth-child(3) { transition-delay: 0.12s; }
.faq-list .faq-item.animate-on-scroll:nth-child(4) { transition-delay: 0.18s; }
.faq-list .faq-item.animate-on-scroll:nth-child(5) { transition-delay: 0.24s; }
.faq-list .faq-item.animate-on-scroll:nth-child(6) { transition-delay: 0.30s; }
.faq-list .faq-item.animate-on-scroll:nth-child(7) { transition-delay: 0.36s; }

/* Stagger: how-flow steps */
.how-flow .how-flow-step,
.how-flow .how-flow-arrow {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.how-flow.is-visible .how-flow-step,
.how-flow.is-visible .how-flow-arrow { opacity: 1; transform: translateY(0); }
.how-flow.is-visible .how-flow-step:nth-child(1),
.how-flow.is-visible .how-flow-arrow:nth-child(2) { transition-delay: 0s; }
.how-flow.is-visible .how-flow-step:nth-child(3),
.how-flow.is-visible .how-flow-arrow:nth-child(4) { transition-delay: 0.1s; }
.how-flow.is-visible .how-flow-step:nth-child(5) { transition-delay: 0.2s; }

@media (max-width: 900px) {
  .how-flow {
    flex-direction: column;
    align-items: center;
  }
  .how-flow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .nav-toggle {
    display: flex;
  }

  .header.nav-open {
    z-index: 100000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    pointer-events: none;
    background-color: #0d0b12;
    background: #0d0b12;
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s;
  }

  .header.nav-open ~ .nav-overlay,
  body.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav {
    display: none;
  }

  .nav-drawer {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 56px 24px 24px;
    overflow-y: auto;
    background-color: #12101a !important;
    background: #12101a !important;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s;
    -webkit-tap-highlight-color: transparent;
  }

  .header.nav-open ~ .nav-drawer,
  body.nav-open .nav-drawer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-drawer a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 280px;
    text-align: center;
    min-height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 1.3;
    transition: color 0.2s;
  }

  .nav-drawer a:hover {
    color: var(--text);
  }

  .nav-drawer a:last-of-type {
    border-bottom: none;
  }
  .btn {
    min-height: 44px;
  }
  .hero {
    padding: 100px 20px 60px;
  }
  .hero-trust {
    gap: 16px;
    margin-bottom: 20px;
  }
  .hero-trust-item {
    font-size: 0.8125rem;
  }
  .hero-trust-badges {
    gap: 8px 12px;
    margin-bottom: 20px;
  }
  .hero-badge-tech {
    padding: 6px 12px;
    font-size: 0.8125rem;
  }
  .hero-visual {
    margin-top: 40px;
  }
  .hero-app-screens {
    max-width: 100%;
  }
  .hero-app-tab img {
    width: 72px;
  }
  .hero-app-tab span {
    font-size: 0.75rem;
  }
  .section {
    padding: 64px 0;
  }
  .tagline-section {
    padding: 40px 0 48px;
  }
  .tagline-title {
    font-size: 1.25rem;
  }
  .infographic-flow {
    margin-top: 32px;
    padding: 20px 12px;
    gap: 10px 6px;
    flex-direction: column;
  }
  .infographic-flow .infographic-arrow {
    transform: rotate(90deg);
  }
  .infographic-icon {
    width: 40px;
    height: 40px;
  }
  .infographic-icon svg {
    width: 20px;
    height: 20px;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .features-stat {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .faq-question {
    padding: 16px 20px;
    font-size: 0.9375rem;
  }
  .faq-answer {
    padding: 0 20px 16px 20px;
  }
  .cta-box {
    padding: 40px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0;
  }
  .brand-name {
    font-size: 1rem;
  }
  .header-cta {
    padding: 10px 18px;
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1120px;
    padding: 0 32px;
  }
}

@media (max-width: 320px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .section {
    padding: 48px 0;
  }
}

/* Reduced motion: respect user preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .animate-on-scroll,
  .animate-fade-in,
  .animate-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .advantages-grouped .advantage-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .faq-item[open] .faq-answer {
    animation: none;
  }
  .how-flow .how-flow-step,
  .how-flow .how-flow-arrow {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
