/* ВВПрокс landing — premium dark */
:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --text: #ffffff;
  --text-muted: #bdbdbd;
  --border: rgba(255, 255, 255, 0.14);
  --glass: rgba(26, 26, 26, 0.65);
  --glow: rgba(255, 255, 255, 0.08);
  --glow-strong: rgba(255, 255, 255, 0.18);
  --font-display: "Poppins", system-ui, sans-serif;
  --font-ui: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero .fade-in {
    animation: none !important;
  }
  .plan--featured {
    animation: none !important;
  }
  .plan.fade-in.is-visible .plan__ribbon {
    animation: none !important;
  }
  .plan.fade-in.is-visible .plan__features li {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .plan::after {
    display: none !important;
  }
  .plan:hover {
    transform: none !important;
  }
  .plan:hover .plan__amount,
  .plan:hover .plan__name,
  .plan:hover .plan__tag,
  .plan:hover .plan__cta {
    transform: none !important;
  }
  .btn::before {
    display: none !important;
  }
  .sticky-cta {
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.container--narrow {
  width: min(720px, 100% - 2.5rem);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(15, 15, 15, 0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  pointer-events: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex: 1;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  color: var(--text);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.logo__mark {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  color: var(--text);
  filter: drop-shadow(0 8px 18px rgba(255, 255, 255, 0.08));
}

.logo__mark-bg {
  fill: rgba(255, 255, 255, 0.055);
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 1.35;
}

.logo__mark-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo__text span {
  color: var(--text-muted);
  font-weight: 500;
}

.logo--footer .logo__text span {
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.45rem 0.82rem;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  border-radius: 999px;
  transition:
    color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header__cta {
  flex-shrink: 0;
}

.header-btn {
  min-height: 2.2rem;
  padding-inline: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.header-btn--primary {
  color: rgba(255, 255, 255, 0.94);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.07));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 8px 20px rgba(0, 0, 0, 0.22);
}

.header-btn--primary:hover {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.21), rgba(255, 255, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 10px 24px rgba(0, 0, 0, 0.25);
}

.header-btn--secondary,
.header-btn--ghost {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 6px 16px rgba(0, 0, 0, 0.16);
}

.header-btn--secondary:hover,
.header-btn--ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.header-btn--ghost {
  opacity: 0.82;
}

.nav-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    border-color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.nav-toggle::before,
.nav-toggle::after,
.nav-toggle span {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
  transition:
    transform var(--transition),
    opacity var(--transition),
    top var(--transition);
}

.nav-toggle::before {
  top: 15px;
}

.nav-toggle span {
  top: 21px;
}

.nav-toggle::after {
  top: 27px;
}

.nav-toggle[aria-expanded="true"]::before {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::after {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* display:flex на .mobile-nav ломает нативный [hidden] — явно скрываем */
.mobile-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  z-index: 99;
  margin: 0.35rem 0.75rem 0;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(15, 15, 15, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  flex-direction: column;
  gap: 0.4rem;
  display: none;
}

.mobile-nav:not([hidden]) {
  display: flex;
}

@media (min-width: 769px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav__btns {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.mobile-nav__btns .btn {
  text-align: center;
}

.mobile-nav a {
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  transition: color var(--transition), background-color var(--transition);
}

.mobile-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

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

.mobile-nav .btn {
  margin-top: 0.5rem;
  text-align: center;
  color: var(--text);
}

.mobile-nav .mobile-nav__btns .btn {
  margin-top: 0;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.88rem 1.75rem;
  min-height: 2.75rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text);
  background: linear-gradient(180deg, #1c1c1c 0%, #070707 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 6px 22px rgba(0, 0, 0, 0.55),
    0 0 0 0 rgba(255, 255, 255, 0);
  transition:
    color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    118deg,
    transparent 40%,
    rgba(255, 255, 255, 0.09) 48%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.09) 52%,
    transparent 60%
  );
  transform: translateX(-65%) rotate(11deg);
  opacity: 0;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  pointer-events: none;
}

.btn:hover::before {
  transform: translateX(65%) rotate(11deg);
  opacity: 1;
}

.btn:hover {
  color: #0a0a0a;
  background: #f4f4f4;
  border-color: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 0 44px rgba(255, 255, 255, 0.2),
    0 12px 32px rgba(0, 0, 0, 0.38);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 4px 16px rgba(0, 0, 0, 0.45);
}

.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px rgba(255, 255, 255, 0.92),
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 6px 22px rgba(0, 0, 0, 0.55);
}

.btn:focus-visible:hover {
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px rgba(255, 255, 255, 0.75),
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 0 44px rgba(255, 255, 255, 0.2),
    0 12px 32px rgba(0, 0, 0, 0.38);
}

.btn--outline {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--outline:hover {
  color: #0a0a0a;
  background: #ffffff;
  border-color: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 0 40px rgba(255, 255, 255, 0.18),
    0 12px 28px rgba(0, 0, 0, 0.35);
}

.btn--outline:focus-visible {
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px rgba(255, 255, 255, 0.85),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.btn--outline:focus-visible:hover {
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px rgba(255, 255, 255, 0.75),
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 0 40px rgba(255, 255, 255, 0.18),
    0 12px 28px rgba(0, 0, 0, 0.35);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  min-height: 2.35rem;
  font-size: 0.8125rem;
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: center;
  padding-block: 4rem 5rem;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
  pointer-events: none;
  animation: floatGlow 12s ease-in-out infinite;
}

.hero__glow--1 {
  width: min(480px, 80vw);
  height: min(480px, 80vw);
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, var(--glow-strong), transparent 65%);
}

.hero__glow--2 {
  width: min(360px, 60vw);
  height: min(360px, 60vw);
  bottom: 5%;
  left: -8%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
  animation-delay: -6s;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2%, 3%) scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 1120px;
  margin-inline: auto;
}

.hero__content::after {
  content: "";
  display: block;
  width: min(34rem, 72%);
  height: 1px;
  margin: clamp(1.5rem, 4vw, 2.25rem) auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.16) 18%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0.16) 82%,
    transparent
  );
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.16),
    0 10px 36px rgba(255, 255, 255, 0.08);
}

.hero__surface {
  position: relative;
  isolation: isolate;
  padding: 0;
  overflow: visible;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(1.6rem, 5vw, 4rem);
  align-items: center;
}

.hero__copy {
  min-width: 0;
  padding: clamp(0.35rem, 1vw, 0.75rem) 0;
}

.hero__surface::before {
  display: none;
}

.hero__surface::after {
  display: none;
}

.hero__badge {
  position: relative;
  display: inline-block;
  margin-bottom: 1.15rem;
  padding: 0.42rem 1.05rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.hero__title {
  position: relative;
  margin: 0 0 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.15rem, 5.4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow: 0 18px 54px rgba(255, 255, 255, 0.08);
}

.hero__subtitle {
  position: relative;
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 590px;
}

.hero__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.hero-promo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.055);
  color: rgba(220, 252, 231, 0.82);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.055) inset;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.hero-promo:hover,
.hero-promo.is-copied {
  border-color: rgba(74, 222, 128, 0.34);
  background: rgba(74, 222, 128, 0.085);
  transform: translateY(-1px);
}

.hero-promo:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px rgba(74, 222, 128, 0.38);
}

.hero-promo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 1.55rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #bbf7d0;
  color: #07130c;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.26);
}

.hero-promo__text strong {
  color: #ffffff;
  letter-spacing: 0.04em;
}

.hero-preview {
  position: relative;
  padding: clamp(1rem, 2.4vw, 1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
    rgba(10, 10, 10, 0.72);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.09) inset;
  overflow: hidden;
}

.hero-preview::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  border: 0;
  pointer-events: none;
}

.hero-preview__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-preview__status {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.hero-preview__plan {
  margin-left: auto;
  padding: 0.28rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(248, 250, 252, 0.88);
  font-weight: 700;
}

.hero-preview__status::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.7);
}

.hero-preview__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-preview__icon {
  display: none;
}

.hero-preview__icon::after {
  display: none;
}

.hero-preview__eyebrow {
  margin: 0 0 0.12rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-preview__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--text);
}

.hero-preview__screen {
  display: grid;
  gap: 0;
  padding: 0;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-preview__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.86rem 0.95rem;
  border-radius: 0;
  background: transparent;
}

.hero-preview__row + .hero-preview__row {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-preview__row span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.hero-preview__row i {
  display: none;
}

.hero-preview__row strong {
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  text-align: right;
}

.hero-preview__connect {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.85rem;
  min-height: 2.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  font-family: var(--font-ui);
  font-weight: 800;
  text-decoration: none;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-preview__connect:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.16) inset;
}

.hero-preview__devices {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-preview__devices span {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.hero-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: clamp(1.7rem, 4vw, 2.4rem) 0 0;
  padding: 0;
}

.hero-metrics div {
  position: relative;
  min-height: 5.15rem;
  padding: 0.95rem 1rem 0.95rem 3.15rem;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.075), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(10, 10, 10, 0.46);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.055) inset;
  text-align: left;
  overflow: hidden;
}

.hero-metrics div::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92) 0 0.16rem, transparent 0.18rem),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.07);
}

.hero-metrics div:nth-child(1)::before {
  background:
    radial-gradient(circle at 50% 50%, #bbf7d0 0 0.16rem, transparent 0.18rem),
    rgba(74, 222, 128, 0.09);
  border-color: rgba(74, 222, 128, 0.18);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.13);
}

.hero-metrics div:nth-child(2)::before {
  background:
    radial-gradient(circle at 50% 50%, #dbeafe 0 0.16rem, transparent 0.18rem),
    rgba(255, 255, 255, 0.07);
}

.hero-metrics div:nth-child(3)::before {
  background:
    radial-gradient(circle at 50% 50%, #fde68a 0 0.16rem, transparent 0.18rem),
    rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.14);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
}

.hero-metrics dt {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.hero-metrics dd {
  margin: 0.28rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-muted);
}

/* Hero entrance — не зависит от IntersectionObserver */
.hero .fade-in {
  opacity: 1;
  transform: translateY(0);
  animation: heroFadeIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero .fade-in:nth-child(1) { animation-delay: 0.05s; }
.hero .fade-in:nth-child(2) { animation-delay: 0.1s; }
.hero .fade-in:nth-child(3) { animation-delay: 0.15s; }
.hero .fade-in:nth-child(4) { animation-delay: 0.2s; }
.hero .fade-in:nth-child(5) { animation-delay: 0.25s; }
.hero .fade-in:nth-child(6) { animation-delay: 0.3s; }

/* Тарифы в кабинете лежат внутри .hero — отключаем hero entrance */
.hero .pricing .fade-in {
  animation: none;
  opacity: 0;
}

.hero .pricing .section__title.fade-in,
.hero .pricing .section__lead.fade-in {
  transform: translateY(20px);
}

.hero .pricing .pricing__grid > .plan.fade-in {
  transform: translateY(48px) scale(0.94);
}

.hero .pricing .fade-in.is-visible {
  opacity: 1;
}

.hero .pricing .pricing__grid > .plan.fade-in.is-visible {
  transform: translateY(0) scale(1);
}

/* Пульс «Популярный» — только после появления карточки */
.plan--featured.fade-in:not(.is-visible) {
  animation: none;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding-block: 5rem;
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  text-align: center;
}

.section__lead {
  margin: 0 auto 3rem;
  max-width: 520px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Glass cards */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45), 0 0 48px rgba(255, 255, 255, 0.06);
}

/* Benefits */
.benefits__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.benefit {
  padding: 1.75rem;
}

.benefit:hover {
  transform: translateY(-4px) scale(1.02);
}

.benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.06);
}

.benefit__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.05rem;
}

.benefit__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02) 50%, transparent);
  --plan-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  perspective: 1400px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.85rem;
  background: var(--surface);
  border: 1px solid #ffffff;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 16px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.55s var(--plan-ease),
    box-shadow 0.55s var(--plan-ease),
    border-color 0.45s ease;
}

.plan::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 50% -20%, rgba(255, 255, 255, 0.12), transparent 55%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease;
}

.plan:hover::before {
  opacity: 0.9;
}

.plan::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    115deg,
    transparent 42%,
    rgba(255, 255, 255, 0.09) 48%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.09) 52%,
    transparent 58%
  );
  transform: translateX(-120%) rotate(8deg);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.85s var(--plan-ease);
}

.plan:hover::after {
  transform: translateX(120%) rotate(8deg);
}

.plan > * {
  position: relative;
  z-index: 2;
}

.plan:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 56px rgba(255, 255, 255, 0.14),
    0 28px 72px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.92);
  z-index: 2;
}

.plan--featured {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), var(--surface) 42%);
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 72px rgba(255, 255, 255, 0.12),
    0 22px 60px rgba(0, 0, 0, 0.48);
  animation: planFeaturedPulse 5s ease-in-out infinite;
}

.plan--featured:hover {
  animation: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 72px rgba(255, 255, 255, 0.2),
    0 32px 80px rgba(0, 0, 0, 0.55);
}

@keyframes planFeaturedPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06) inset,
      0 0 56px rgba(255, 255, 255, 0.08),
      0 22px 60px rgba(0, 0, 0, 0.48);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08) inset,
      0 0 80px rgba(255, 255, 255, 0.16),
      0 22px 60px rgba(0, 0, 0, 0.48);
  }
}

.plan__ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: var(--text);
  border-radius: 8px;
  z-index: 3;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
}

.plan.fade-in.is-visible .plan__ribbon {
  animation: planRibbonPop 0.65s var(--plan-ease) both, planRibbonGlow 2.8s ease-in-out infinite 0.65s;
}

@keyframes planRibbonPop {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(-6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes planRibbonGlow {
  0%,
  100% {
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 255, 255, 0.45);
  }
}

.plan__tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.65rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.35s ease, color 0.35s ease, transform 0.45s var(--plan-ease);
}

.plan:hover .plan__tag {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text);
  transform: translateY(-2px);
}

.plan__tag--accent {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.plan--featured .plan__tag {
  margin-right: 5.5rem;
}

.plan__name {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  transition: transform 0.45s var(--plan-ease);
}

.plan:hover .plan__name {
  transform: translateX(2px);
}

.plan__pitch {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 32ch;
}

.plan__features {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  flex-grow: 1;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.plan__features li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  opacity: 0.92;
  transition: color 0.3s ease, transform 0.35s var(--plan-ease);
}

.plan:hover .plan__features li {
  color: rgba(255, 255, 255, 0.88);
}

.plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
  transition: transform 0.35s var(--plan-ease), box-shadow 0.35s ease;
}

.plan:hover .plan__features li::before {
  transform: scale(1.15);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.75);
}

.plan.fade-in.is-visible .plan__features li {
  animation: planLiReveal 0.55s var(--plan-ease) backwards;
}

.plan.fade-in.is-visible .plan__features li:nth-child(1) {
  animation-delay: 0.12s;
}
.plan.fade-in.is-visible .plan__features li:nth-child(2) {
  animation-delay: 0.2s;
}
.plan.fade-in.is-visible .plan__features li:nth-child(3) {
  animation-delay: 0.28s;
}
.plan.fade-in.is-visible .plan__features li:nth-child(4) {
  animation-delay: 0.36s;
}

@keyframes planLiReveal {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 0.92;
    transform: translateX(0);
  }
}

.plan__price {
  margin: 0 0 1.25rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}

.plan__amount {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.35rem;
  letter-spacing: -0.03em;
  transition: transform 0.5s var(--plan-ease), text-shadow 0.45s ease;
}

.plan:hover .plan__amount {
  transform: scale(1.04);
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.25);
}

.plan__period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan__cta {
  transition: transform 0.4s var(--plan-ease), box-shadow 0.4s ease;
}

.plan:hover .plan__cta {
  transform: translateY(-2px);
}

/* How */
.how__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.how__step {
  padding: 2rem 1.75rem;
  position: relative;
}

.how__step:hover {
  transform: translateY(-4px) scale(1.02);
}

.how__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.how__step-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.1rem;
}

.how__step-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq__item:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.faq__item.is-open {
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.06);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.faq__question:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq__question::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.faq__item.is-open .faq__question::after {
  transform: rotate(-135deg);
  border-color: var(--text);
}

.faq__answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq__answer p {
  margin: 0;
}

.faq__answer[hidden] {
  display: none;
}

.faq-preview__grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

@media (min-width: 780px) {
  .faq-preview__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.faq-preview__card {
  padding: 1.05rem;
  text-align: left;
}

.faq-preview__card span {
  display: inline-flex;
  margin-bottom: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.faq-preview__card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.faq-preview__card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.faq-preview__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

body.has-sticky-cta {
  padding-bottom: 76px;
}

@media (min-width: 769px) {
  body.has-sticky-cta {
    padding-bottom: 0;
  }
}

/* Hero — коммерческие элементы */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.65rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.hero__stats li {
  padding: 0.58rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.052);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.hero__stats strong {
  color: var(--text);
  font-weight: 600;
}

/* Тарифы — подписи */
.plan__micro {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
  text-align: center;
}

/* Финальный CTA */
.cta-final {
  padding-block: 4.5rem 5rem;
}

.cta-final__box {
  position: relative;
  text-align: center;
  padding: 2.5rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), var(--surface) 55%);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.06), 0 24px 56px rgba(0, 0, 0, 0.45);
}

.cta-final__box::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle at top center, rgba(255, 255, 255, 0.08), transparent 58%);
  pointer-events: none;
}

.cta-final__title {
  position: relative;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.cta-final__lead {
  position: relative;
  margin: 0 auto 1.5rem;
  max-width: 38ch;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.cta-final__bullets {
  position: relative;
  margin: 0 auto 1.75rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cta-final__bullets li {
  position: relative;
  padding-left: 1rem;
}

.cta-final__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.cta-final__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (max-width: 640px) {
  .hero__surface {
    padding: 0;
  }

  .hero__stats {
    gap: 0.5rem;
  }

  .hero__stats li {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 0.75rem;
  }

}

/* Липкая панель (мобайл) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.65rem 0 calc(0.65rem + env(safe-area-inset-bottom, 0));
  background: rgba(15, 15, 15, 0.92);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s var(--plan-ease, cubic-bezier(0.22, 1, 0.36, 1)), opacity 0.35s ease;
  pointer-events: none;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-cta__text {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.sticky-cta__text strong {
  color: var(--text);
  font-weight: 600;
}

@media (min-width: 769px) {
  .sticky-cta {
    display: none;
  }
}

/* Footer */
.site-footer {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.92);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.footer__nav a,
.footer__docs summary {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.35rem 0.65rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color var(--transition), background-color var(--transition);
}

.footer__nav a:hover,
.footer__docs summary:hover,
.footer__docs[open] summary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.footer__docs {
  position: relative;
}

.footer__docs summary {
  cursor: pointer;
  list-style: none;
}

.footer__docs summary::-webkit-details-marker {
  display: none;
}

.footer__docs summary::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.25rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform var(--transition);
}

.footer__docs[open] summary::after {
  transform: translateY(1px) rotate(225deg);
}

.footer__docs-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.45rem);
  z-index: 20;
  display: grid;
  min-width: 14rem;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(12, 12, 12, 0.96);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.footer__docs-menu a {
  justify-content: flex-start;
  border-radius: 10px;
}

.footer__copy {
  margin: 0;
  width: auto;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.footer-legal {
  padding: 0.85rem 0 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 6, 6, 0.96);
}

.footer-legal__inner {
  max-width: 52rem;
}

.footer-legal__text {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.55;
  text-align: center;
  color: rgba(255, 255, 255, 0.42);
}

@media (min-width: 768px) {
  .footer__nav {
    margin-left: auto;
  }
}

/* Fade-in (JS adds .is-visible) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children when section visible — optional delays via nth-child in benefits/pricing */
.benefits__grid .fade-in:nth-child(1) { transition-delay: 0s; }
.benefits__grid .fade-in:nth-child(2) { transition-delay: 0.06s; }
.benefits__grid .fade-in:nth-child(3) { transition-delay: 0.12s; }
.benefits__grid .fade-in:nth-child(4) { transition-delay: 0.18s; }
.benefits__grid .fade-in:nth-child(5) { transition-delay: 0.24s; }
.benefits__grid .fade-in:nth-child(6) { transition-delay: 0.3s; }

.pricing__grid > .plan.fade-in {
  transform: translateY(48px) scale(0.94);
  transition-duration: 0.95s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing__grid > .plan.fade-in.is-visible {
  transform: translateY(0) scale(1);
}

.pricing__grid .fade-in:nth-child(1) {
  transition-delay: 0s;
}
.pricing__grid .fade-in:nth-child(2) {
  transition-delay: 0.12s;
}
.pricing__grid .fade-in:nth-child(3) {
  transition-delay: 0.24s;
}

.how__steps .fade-in:nth-child(1) { transition-delay: 0s; }
.how__steps .fade-in:nth-child(2) { transition-delay: 0.08s; }
.how__steps .fade-in:nth-child(3) { transition-delay: 0.16s; }

.faq__list .fade-in:nth-child(1) { transition-delay: 0s; }
.faq__list .fade-in:nth-child(2) { transition-delay: 0.05s; }
.faq__list .fade-in:nth-child(3) { transition-delay: 0.1s; }
.faq__list .fade-in:nth-child(4) { transition-delay: 0.15s; }
.faq__list .fade-in:nth-child(5) { transition-delay: 0.2s; }
.faq__list .fade-in:nth-child(6) { transition-delay: 0.25s; }
.faq__list .fade-in:nth-child(7) { transition-delay: 0.3s; }
.faq__list .fade-in:nth-child(8) { transition-delay: 0.35s; }
.faq__list .fade-in:nth-child(9) { transition-delay: 0.4s; }

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

  .pricing__grid,
  .how__steps {
    grid-template-columns: 1fr;
  }

  .plan:hover {
    transform: translateY(-6px) scale(1.02);
  }
}

@media (max-width: 768px) {
  .site-header {
    overflow: visible;
  }

  .nav,
  .header__actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    overflow: visible;
  }

  .mobile-nav a {
    display: block;
    color: rgba(255, 255, 255, 0.82);
  }

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }

  .footer__nav {
    width: min(100%, 22rem);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.4rem;
  }

  .footer__nav > a,
  .footer__docs,
  .footer__docs summary {
    width: 100%;
    justify-content: center;
  }

  .footer__docs-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0.35rem;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.035);
  }

  .footer__brand {
    align-items: center;
  }

  .footer__copy {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-header {
    min-height: 64px;
    --header-h: 64px;
  }

  .header__inner {
    min-height: 64px;
  }

  .logo {
    gap: 0.45rem;
    font-size: 1.1rem;
  }

  .logo__mark {
    width: 1.75rem;
    height: 1.75rem;
  }

  .plan--featured .plan__tag {
    margin-right: 0;
    max-width: 58%;
  }

  .container {
    width: calc(100% - 1.5rem);
  }

  .hero {
    min-height: auto;
    padding-block: 2.35rem 2.75rem;
  }

  .hero__badge {
    margin-bottom: 0.95rem;
    font-size: 0.68rem;
  }

  .hero__content {
    text-align: center;
  }

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

  .hero__title {
    font-size: clamp(1.9rem, 11vw, 2.45rem);
  }

  .hero__subtitle {
    margin-inline: auto;
    margin-bottom: 1.35rem;
    font-size: 0.96rem;
  }

  .hero__stats,
  .hero__actions {
    justify-content: center;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero-promo {
    width: 100%;
    justify-content: center;
    border-radius: 16px;
    text-align: left;
  }

  .hero-preview {
    padding: 0.75rem;
  }

  .hero-preview__top {
    flex-wrap: wrap;
  }

  .hero-preview__plan {
    order: 3;
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .hero-preview__head {
    align-items: flex-start;
  }

  .hero-preview__row {
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
  }

  .hero-preview__row strong {
    text-align: left;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: 4.6rem;
    padding-block: 0.85rem;
  }

  .section {
    padding-block: 3.5rem;
  }

}
