/* ==============
   БАЗОВЫЕ НАСТРОЙКИ
   ============== */

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

:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --header-mobile-height: 56px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  background-color: #050816;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

/* Сброс ссылок и картинок */

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

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

/* Контейнер */

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

/* ==============
   ХЕДЕР
   ============== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 22, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
}

/* Лого */

.logo-block {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Навигация (мобилка: скрыта, открывается бургером) */

.main-nav {
  position: fixed;
  top: calc(var(--header-mobile-height) + var(--safe-top));
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.98);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  padding: 10px 16px 14px;
  display: none;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.main-nav.main-nav-open {
  display: flex;
}

.nav-link {
  position: relative;
  padding: 4px 0;
  color: #e5e7eb;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Блок с языком и бургером */

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.header-play-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 208, 90, 0.95);
  background: linear-gradient(135deg, #ffe36a 0%, #ffb627 46%, #ff8c00 100%);
  color: #22110a;
  font-family: "Unbounded", "Manrope", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 10px 26px rgba(255, 140, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-play-btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 14px 30px rgba(255, 140, 0, 0.52);
}

.header-play-btn:active {
  transform: translateY(0);
}

.header-play-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

/* Переключатель языка */

.lang-switcher {
  position: relative;
}

.lang-current {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.1s ease;
}

.lang-current:hover {
  border-color: rgba(148, 163, 184, 0.55);
  transform: translateY(-1px);
}

.lang-switcher.lang-open .lang-current {
  border-color: rgba(56, 189, 248, 0.6);
}

.lang-current-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #0b1b3b;
  flex-shrink: 0;
}

.lang-current-label {
  font-size: 14px;
  font-weight: 500;
}

.lang-current-short {
  font-size: 14px;
  color: #d1d5db;
}

.lang-current-caret {
  font-size: 10px;
  color: #9ca3af;
  transition: transform 0.2s ease;
}

.lang-switcher.lang-open .lang-current-caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  max-width: calc(100vw - 24px);
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(3, 11, 35, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.75);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 120;
}

.lang-switcher.lang-open .lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-btn {
  background: none;
  border: none;
  color: #e5e7eb;
  text-decoration: none;
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 15px;
  color: #e5e7eb;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-option-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-option-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #0b1b3b;
  flex-shrink: 0;
}

.lang-option-label {
  font-size: 15px;
}

.lang-option-check {
  color: #16f2b3;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lang-option:hover {
  background: rgba(30, 64, 175, 0.25);
}

.lang-option.lang-active {
  background: rgba(15, 23, 42, 0.8);
}

.lang-option.lang-active .lang-option-check {
  opacity: 1;
}

@media (max-width: 420px) {
  .lang-current-label {
    font-size: 13px;
  }

  .lang-current-short {
    font-size: 12px;
  }

  .lang-menu {
    width: min(230px, calc(100vw - 24px));
  }
}

@media (max-width: 899px) {
  body {
    padding-top: calc(var(--header-mobile-height) + var(--safe-top));
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: var(--safe-top);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-backdrop-filter: blur(12px);
  }

  .site-header .container {
    padding-left: calc(18px + var(--safe-left));
    padding-right: calc(18px + var(--safe-right));
  }

  .logo-text {
    font-size: 17px;
  }

  .lang-current-label {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-nav {
    max-height: calc(100dvh - var(--header-mobile-height) - var(--safe-top));
    overflow-y: auto;
  }
}

@media (hover: none) and (pointer: coarse) {
  .lang-current:hover,
  .burger:hover,
  .btn-primary:hover {
    transform: none;
  }
}

/* БУРГЕР */

.burger {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
  flex-shrink: 0;
}

.burger span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger:hover {
  border-color: #e5e7eb;
  transform: translateY(-1px);
}

.burger.burger-open {
  background: rgba(15, 23, 42, 1);
}

.burger.burger-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.burger-open span:nth-child(2) {
  opacity: 0;
}

.burger.burger-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==============
   ГЕРОЙ-БЛОК
   ============== */

.hero {
  padding: 32px 0 40px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}

.hero-content {
  flex: 1;
}

.hero-media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  max-width: 420px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.8);
}

/* Заголовки в hero */

.hero h1 {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.hero p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #e5e7eb;
}

.hero-note {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 6px;
}

/* Кнопки в hero */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* ==============
   КНОПКИ
   ============== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #38bdf8);
  color: #020617;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.6);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* ==============
   СЕКЦИИ
   ============== */

.section {
  padding: 40px 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #0f172a 0, #020617 55%);
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.section h2 {
  font-size: 22px;
  margin: 0 0 20px;
}

.section p {
  font-size: 14px;
}

/* ==============
   КАРТОЧКИ И СЕТКИ
   ============== */

.section-intro {
  max-width: 720px;
  margin-bottom: 24px;
  opacity: 0.85;
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.step-card {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 16px;
  padding: 16px 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
}

.step-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.step-card p {
  margin: 0;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.step-row {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 16px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.step-row h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.step-row p {
  margin: 0;
}

.section-cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.benefit-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  padding: 16px 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.benefit-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.faq-item {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.faq-item h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

/* Галерея отзывов */

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

.review-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.review-card img {
  border-radius: 12px;
  margin-bottom: 8px;
}

.review-card figcaption {
  font-size: 13px;
  color: #e5e7eb;
}

/* ==============
   ФУТЕР
   ============== */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: #020617;
  padding: 18px 0 22px;
}

.footer-inner {
  text-align: left;
}

.footer-text {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

/* ==============
   АДАПТИВ
   ============== */

/* ПЛАНШЕТЫ */

@media (min-width: 640px) {
  .hero {
    padding: 40px 0 48px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 15px;
  }

  .section {
    padding: 48px 0;
  }

  .section h2 {
    font-size: 24px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ДЕСКТОПЫ */

@media (min-width: 900px) {
  .header-inner {
    padding: 14px 0;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border-bottom: none;
    padding: 0;
    gap: 16px;
  }

  .header-play-btn {
    display: inline-flex;
  }

  .burger {
    display: none;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-actions {
    gap: 12px;
  }

  .section {
    padding: 56px 0;
  }

  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .reviews-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-inner {
    text-align: center;
  }
}

/* КОСМЕТИКА ДЛЯ data-lang */
[data-lang] {
  /* управляется JS */
}

/* ==============
   SLIDER
   ============== */

.slider {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.8);
  padding-bottom: 40px;
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease;
  will-change: transform;
  position: relative;
  z-index: 1;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 20px;
  text-align: center;
}

.slide img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.slide-caption {
  font-size: 13px;
  color: #d1d5db;
}

/* Навигационные кнопки */

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  transition: 0.2s ease;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.slider-btn:hover {
  background: rgba(34, 197, 94, 0.2);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

/* Точки */

.slider-dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.slider-dots button {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  margin: 0;
  padding: 0;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: #475569;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.slider-dots button.active {
  background: #22c55e;
  border-color: #22c55e;
  transform: scale(1.15);
}

/* ==============
   MINI REDESIGN
   ============== */

:root {
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 56px;
  --radius-card: 18px;
  --surface-card: rgba(15, 23, 42, 0.86);
  --border-card: rgba(148, 163, 184, 0.25);
  --text-muted: #cbd5e1;
}

body {
  font-family: "Manrope", "Noto Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(30, 64, 175, 0.22) 0,
      rgba(30, 64, 175, 0) 34%
    ),
    radial-gradient(
      circle at 100% 20%,
      rgba(6, 182, 212, 0.16) 0,
      rgba(6, 182, 212, 0) 30%
    ),
    #04091c;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.38;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

h1,
h2,
h3,
.logo-text,
.nav-link {
  font-family: "Exo 2", "Montserrat", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}

.container {
  max-width: 1080px;
}

.main-nav {
  gap: 12px;
}

.nav-link {
  font-weight: 600;
}

.nav-link.active {
  opacity: 1;
  color: #ffffff;
}

.nav-link.active::after {
  width: 100%;
}

.hero {
  padding: clamp(30px, 5vw, 54px) 0 clamp(36px, 6vw, 62px);
}

.hero-content {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.12;
  margin: 0 0 var(--space-3);
}

.hero p {
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 var(--space-2);
  color: var(--text-muted);
}

.hero-actions {
  margin-top: var(--space-4);
  gap: var(--space-2);
}

.btn {
  min-height: 44px;
  padding: 0 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-primary {
  box-shadow: 0 12px 34px rgba(34, 197, 94, 0.36);
}

.btn-secondary {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(2, 6, 23, 0.48);
}

.btn:focus-visible,
.nav-link:focus-visible,
.slider-btn:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.75);
  outline-offset: 2px;
}

.section {
  padding: var(--space-6) 0;
}

.section h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.16;
  margin: 0 0 var(--space-4);
}

.section p {
  font-size: 15px;
  color: var(--text-muted);
}

.steps-grid,
.steps-list,
.benefits-grid,
.faq-list {
  gap: 18px;
}

.step-card,
.step-row,
.benefit-card,
.faq-item,
.review-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.78));
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: 0 14px 35px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(4px);
  transition: transform 0.22s ease, border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.step-card,
.benefit-card {
  padding: 18px 16px;
}

.step-row,
.faq-item {
  padding: 16px 16px 14px;
}

.step-card h3,
.step-row h3,
.benefit-card h3,
.faq-item h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 8px;
}

.step-card h3::before,
.step-row h3::before,
.benefit-card h3::before,
.faq-item h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #22c55e, #38bdf8);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}

.section-cta {
  margin-top: var(--space-5);
  gap: var(--space-2);
}

.review-card figcaption,
.slide-caption {
  color: #d9e5f5;
}

.site-footer {
  padding: 26px 0 30px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.96), rgba(1, 4, 14, 1));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.55);
}

.footer-text {
  font-size: 12.5px;
  color: #9fb0c7;
}

.slider {
  touch-action: pan-y;
  padding-bottom: 58px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top, rgba(30, 64, 175, 0.2), rgba(15, 23, 42, 0.85)),
    rgba(15, 23, 42, 0.8);
}

.slide {
  padding: 22px 20px 14px;
}

.slide img {
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.35);
}

.slide-caption {
  max-width: 62ch;
  margin: 0 auto;
}

.slider-btn {
  width: 40px;
  height: 40px;
  font-size: 24px;
  color: #f8fafc;
}

.slider-btn.prev {
  left: 14px;
}

.slider-btn.next {
  right: 14px;
}

.slider-dots {
  bottom: 14px;
}

.slider-dots button {
  width: 11px;
  height: 11px;
  min-width: 11px;
  min-height: 11px;
}

.slider-counter {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 3;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.6);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 10px;
}

@media (hover: hover) and (pointer: fine) {
  .step-card:hover,
  .step-row:hover,
  .benefit-card:hover,
  .faq-item:hover,
  .review-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.34);
    box-shadow: 0 20px 38px rgba(2, 6, 23, 0.44);
  }
}

@media (max-width: 899px) {
  .hero p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .section {
    padding: 42px 0;
  }

  .section h2 {
    font-size: 30px;
  }
}

@media (max-width: 639px) {
  .container {
    padding: 0 14px;
  }

  .hero {
    padding: 22px 0 36px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .section {
    padding: 36px 0;
  }

  .section h2 {
    font-size: 27px;
  }

  .step-card,
  .step-row,
  .benefit-card,
  .faq-item {
    padding-left: 14px;
    padding-right: 14px;
  }

  .slider-btn {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .slider-btn.prev {
    left: 8px;
  }

  .slider-btn.next {
    right: 8px;
  }

  .slider-counter {
    right: 12px;
    bottom: 10px;
    padding: 5px 9px;
  }
}
/* ==============
   EDITORIAL REDESIGN
   ============== */

:root {
  --paper-bg: #0f1219;
  --paper-noise: #121722;
  --paper-card: #161c28;
  --paper-card-strong: #1b2332;
  --ink-main: #eef3ff;
  --ink-soft: #a9b7d4;
  --line-soft: rgba(111, 132, 172, 0.28);
  --line-strong: rgba(125, 150, 196, 0.42);
  --accent-main: #2f86ff;
  --accent-main-2: #27b3ff;
  --accent-deep: #1e4ead;
  --accent-olive: #1cc26b;
  --shadow-soft: 0 22px 42px rgba(2, 8, 23, 0.5);
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink-main);
  background:
    radial-gradient(
      1100px 560px at -12% -10%,
      rgba(48, 126, 255, 0.34),
      rgba(48, 126, 255, 0)
    ),
    radial-gradient(
      980px 540px at 108% 2%,
      rgba(39, 179, 255, 0.26),
      rgba(39, 179, 255, 0)
    ),
    linear-gradient(180deg, #0b0f16 0%, #101521 100%);
}

body::before {
  opacity: 0.3;
  background-image:
    linear-gradient(to right, rgba(94, 115, 155, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(94, 115, 155, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
}

h1,
h2,
h3,
.logo-text,
.nav-link {
  font-family: "Unbounded", "Manrope", "Segoe UI", sans-serif;
  letter-spacing: 0.005em;
}

.container {
  max-width: 1120px;
}

.site-header {
  background: rgba(14, 19, 29, 0.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
}

.logo-text {
  font-size: 17px;
  color: var(--ink-main);
}

.main-nav {
  background: rgba(14, 19, 29, 0.98);
  border-bottom: 1px solid var(--line-soft);
}

.nav-link {
  color: #c2d0ec;
  opacity: 1;
  font-size: 13px;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  height: 2px;
  background: linear-gradient(90deg, var(--accent-main), var(--accent-main-2));
}

.lang-current {
  border-color: rgba(107, 127, 165, 0.36);
  background: rgba(25, 33, 49, 0.9);
  color: #dbe8ff;
}

.lang-current:hover {
  border-color: rgba(132, 160, 214, 0.52);
}

.lang-current-flag,
.lang-option-flag {
  border-color: rgba(125, 145, 183, 0.3);
}

.lang-current-short,
.lang-current-caret {
  color: #9eb2d8;
}

.lang-menu {
  border-color: var(--line-soft);
  background: rgba(13, 19, 30, 0.97);
  box-shadow: 0 16px 34px rgba(2, 8, 23, 0.6);
}

.lang-option {
  color: #dbe8ff;
}

.lang-option:hover {
  background: rgba(47, 134, 255, 0.16);
}

.lang-option.lang-active {
  background: rgba(39, 179, 255, 0.16);
}

.lang-option-check {
  color: var(--accent-main);
}

.burger {
  border-color: rgba(111, 132, 172, 0.36);
  background: rgba(22, 30, 44, 0.92);
}

.burger span {
  background: #d4e1fb;
}

.burger:hover {
  border-color: rgba(143, 170, 222, 0.56);
}

.btn {
  min-height: 44px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-primary {
  color: #f7fbff;
  background: linear-gradient(135deg, var(--accent-main), var(--accent-main-2));
  border-color: rgba(48, 106, 199, 0.5);
  box-shadow: 0 14px 30px rgba(29, 99, 214, 0.36);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(29, 99, 214, 0.44);
}

.btn-secondary {
  color: #dce7ff;
  border-color: rgba(111, 132, 172, 0.38);
  background: rgba(22, 29, 42, 0.92);
}

.btn-secondary:hover {
  background: rgba(29, 37, 53, 0.98);
}

.btn:focus-visible,
.nav-link:focus-visible,
.slider-btn:focus-visible {
  outline: 2px solid rgba(47, 134, 255, 0.72);
  outline-offset: 2px;
}

.site-main {
  position: relative;
  display: grid;
  gap: clamp(24px, 3.2vw, 38px);
  padding: clamp(12px, 2.2vw, 22px) 0 clamp(52px, 6vw, 88px);
  isolation: isolate;
}

.site-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(
      800px 520px at 14% 2%,
      rgba(47, 134, 255, 0.26),
      rgba(47, 134, 255, 0)
    ),
    radial-gradient(
      760px 460px at 88% 8%,
      rgba(39, 179, 255, 0.22),
      rgba(39, 179, 255, 0)
    );
}

.site-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(to right, rgba(87, 111, 153, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(87, 111, 153, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
}

@keyframes editorial-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-main > * {
  animation: editorial-rise 0.5s ease both;
}

.site-main > *:nth-child(2) {
  animation-delay: 0.06s;
}

.site-main > *:nth-child(3) {
  animation-delay: 0.1s;
}

.site-main > *:nth-child(4) {
  animation-delay: 0.14s;
}

.site-main > *:nth-child(5) {
  animation-delay: 0.18s;
}

.site-main > .hero,
.site-main > .section {
  padding: 0;
  background: none;
  border: 0;
}

.site-main > .hero .container,
.site-main > .section .container {
  position: relative;
  padding: clamp(18px, 3.2vw, 34px);
  border-radius: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(23, 30, 44, 0.96), rgba(17, 24, 36, 0.97)),
    var(--paper-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.site-main > .hero .container::before,
.site-main > .section .container::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(47, 134, 255, 0) 0%,
    rgba(47, 134, 255, 0.62) 45%,
    rgba(39, 179, 255, 0.62) 100%
  );
}

.site-main > .hero .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.site-main > .hero .hero-content {
  max-width: 650px;
}

.site-main > .hero h1 {
  margin: 0 0 12px;
  max-width: 18ch;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.08;
  color: var(--ink-main);
}

.site-main > .hero p {
  max-width: 62ch;
  margin: 0 0 8px;
  color: var(--ink-soft);
}

.site-main > .hero .hero-actions {
  margin-top: 22px;
  gap: 12px;
}

.site-main > .hero .hero-media {
  position: relative;
}

.site-main > .hero .hero-img {
  width: min(100%, 580px);
  max-width: none;
  margin-left: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 26px;
  border: 1px solid rgba(111, 132, 172, 0.26);
  box-shadow:
    0 24px 44px rgba(2, 8, 23, 0.5),
    0 0 0 1px rgba(147, 170, 214, 0.2) inset;
}

[data-page-slug="platform"] .site-main > .hero .hero-img {
  border: 0;
  box-shadow: none;
}

.home-main > .hero .hero-inner::after {
  content: none;
}


.site-main > .section h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3.3vw, 40px);
  line-height: 1.12;
  color: var(--ink-main);
}

.site-main > .section p,
.site-main > .section li {
  color: var(--ink-soft);
}

.inline-media-strip {
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(111, 132, 172, 0.26);
  background: rgba(22, 29, 42, 0.9);
  box-shadow: 0 14px 28px rgba(2, 8, 23, 0.42);
  overflow: hidden;
  position: relative;
  align-self: start;
  height: clamp(260px, 30vw, 430px);
  min-height: 0;
}

.inline-media-strip::after {
  content: none;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  border-radius: 999px;
  border: 1px solid rgba(72, 52, 33, 0.24);
  background: rgba(255, 250, 242, 0.9);
  color: #5e4a36;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.inline-media-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(0.98);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.inline-media-strip img + img {
  display: none;
}

.site-main > .section:nth-child(2) .container,
.site-main > .section:nth-child(3) .container {
  display: grid;
  align-items: start;
  gap: 14px 22px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.site-main > .section:nth-child(2) .container > :not(.inline-media-strip) {
  grid-column: 1;
}

.site-main > .section:nth-child(2) .inline-media-strip {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.site-main[data-page-slug="guide"] > .section:nth-child(2) .container,
[data-page-slug="guide"] .site-main > .section:nth-child(2) .container {
  display: block;
}

[data-page-slug="guide"] .site-main > .section:nth-child(2) .inline-media-strip {
  height: auto;
  min-height: 0;
  margin: 0 0 18px;
  align-self: stretch;
}

[data-page-slug="guide"] .site-main > .section:nth-child(2) .inline-media-strip img {
  height: auto;
  object-fit: contain;
  object-position: center;
}

[data-page-slug="platform"] .site-main > .section:nth-child(2) .container,
[data-page-slug="platform"] .site-main > .section:nth-child(3) .container,
[data-page-slug="platform"] .site-main > .section:nth-child(4) .container {
  display: block;
}

[data-page-slug="platform"] .site-main > .section[data-seo-toc="1"] .toc-links {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 960px;
}

[data-page-slug="platform"] .site-main > .section[data-seo-toc="1"] .toc-links .btn {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  border-radius: 14px;
  border-color: rgba(88, 116, 171, 0.52);
  background: linear-gradient(180deg, rgba(28, 38, 56, 0.92), rgba(19, 27, 41, 0.96));
  color: #d7e2f9;
  min-height: 50px;
  padding: 12px 14px;
}

[data-page-slug="platform"] .site-main > .section[data-seo-toc="1"] .toc-links .btn:hover {
  border-color: rgba(126, 158, 217, 0.72);
  background: linear-gradient(180deg, rgba(34, 46, 68, 0.96), rgba(22, 31, 47, 0.98));
}

[data-page-slug="platform"] .site-main > .section:nth-child(3) .inline-media-strip {
  margin: 0 0 16px;
}

[data-page-slug="platform"] .site-main > .section:nth-child(4) .inline-media-strip {
  height: auto;
  min-height: 0;
  margin: 14px 0 0;
  align-self: stretch;
}

[data-page-slug="platform"] .site-main > .section:nth-child(4) .inline-media-strip img {
  height: auto;
  object-fit: contain;
  object-position: center;
}

[data-page-slug="reviews"] .site-main > .section:nth-child(2) .container,
[data-page-slug="reviews"] .site-main > .section:nth-child(3) .container {
  display: block;
}

[data-page-slug="reviews"] .site-main > .section:nth-child(3) .inline-media-strip {
  height: auto;
  min-height: 0;
  margin: 0 0 16px;
  align-self: stretch;
}

[data-page-slug="reviews"] .site-main > .section:nth-child(3) .inline-media-strip img {
  height: auto;
  object-fit: contain;
  object-position: center;
}

.site-main > .section:nth-child(3) .container {
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
}

.site-main > .section:nth-child(3) .container > :not(.inline-media-strip) {
  grid-column: 2;
}

.site-main > .section:nth-child(3) .inline-media-strip {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.home-main > .section:nth-child(2) .container {
  display: block;
}

.home-main > .section:nth-child(3) .container {
  align-items: stretch;
}

.home-main > .section:nth-child(3) .inline-media-strip {
  height: auto;
  min-height: 0;
  align-self: stretch;
}

.home-main > .section:nth-child(5) .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-main > .section:nth-child(5) .container > h2 {
  order: 1;
}

.home-main > .section:nth-child(5) .container > .faq-list {
  order: 2;
}

.home-main > .section:nth-child(5) .inline-media-strip {
  order: 3;
  width: 100%;
  height: auto;
  min-height: 0;
  align-self: stretch;
  aspect-ratio: 16 / 9;
}

.home-main > .section:nth-child(5) .container > .section-cta {
  order: 4;
}

.home-main > .section:nth-child(5) .inline-media-strip img {
  object-fit: cover;
  object-position: center;
}

@media (min-width: 821px) {
  [data-page-slug="guide"] .site-main > .section:nth-child(3) .inline-media-strip {
    height: clamp(460px, 36vw, 560px);
    min-height: 0;
  }
}

.steps-grid,
.benefits-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.steps-list,
.faq-list {
  gap: 12px;
}

.step-card,
.step-row,
.benefit-card,
.faq-item,
.review-card {
  background: linear-gradient(180deg, rgba(24, 32, 46, 0.96), rgba(17, 24, 36, 0.96));
  border: 1px solid rgba(111, 132, 172, 0.24);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(2, 8, 23, 0.4);
}

.step-card h3,
.step-row h3,
.benefit-card h3,
.faq-item h3 {
  color: #f1f6ff;
}

.step-card p,
.step-row p,
.benefit-card p,
.faq-item p,
.review-card figcaption,
.slide-caption {
  color: #a9b7d4;
}

.promo-code-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 2px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: #ffb627;
  font: inherit;
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  background-image: linear-gradient(135deg, #ffe36a 0%, #ffb627 46%, #ff8c00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(255, 140, 0, 0.25);
  transition: filter 0.2s ease, text-shadow 0.2s ease;
}

.promo-code-copy:hover {
  filter: saturate(1.1);
  text-shadow: 0 0 14px rgba(255, 140, 0, 0.4);
}

.promo-code-copy:focus-visible {
  outline: 2px solid rgba(255, 182, 39, 0.8);
  outline-offset: 2px;
  border-radius: 6px;
}

.promo-code-copy.is-copied {
  text-shadow: 0 0 16px rgba(255, 227, 106, 0.5);
}

.step-card h3::before,
.step-row h3::before,
.benefit-card h3::before,
.faq-item h3::before {
  background: linear-gradient(135deg, var(--accent-main), var(--accent-main-2));
  box-shadow: 0 0 8px rgba(47, 134, 255, 0.45);
}

.section-cta {
  margin-top: clamp(18px, 2.8vw, 28px);
}

.slider {
  border: 1px solid rgba(111, 132, 172, 0.26);
  background:
    radial-gradient(circle at top, rgba(47, 134, 255, 0.22), rgba(16, 22, 33, 0.95)),
    #141a26;
  box-shadow: 0 16px 34px rgba(2, 8, 23, 0.5);
}

.slide {
  padding: 20px 18px 14px;
}

.slide img {
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(2, 8, 23, 0.45);
}

.slider-btn {
  border-color: rgba(111, 132, 172, 0.4);
  background: rgba(24, 32, 46, 0.95);
  color: #e4eeff;
}

.slider-dots button {
  border-color: rgba(111, 132, 172, 0.45);
  background: #4b5f85;
}

.slider-dots button.active {
  background: var(--accent-main);
  border-color: var(--accent-main);
}

.slider-counter {
  border-color: rgba(111, 132, 172, 0.42);
  background: rgba(18, 25, 37, 0.92);
  color: #c5d4ef;
}

.site-footer {
  background: linear-gradient(180deg, rgba(15, 20, 31, 0.95), rgba(10, 14, 22, 0.98));
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  border-color: var(--line-soft);
  background: rgba(18, 25, 37, 0.92);
}

.footer-text {
  color: #9fb0cf;
}

@media (hover: hover) and (pointer: fine) {
  .inline-media-strip img:hover {
    transform: scale(1.02);
  }

  .step-card:hover,
  .step-row:hover,
  .benefit-card:hover,
  .faq-item:hover,
  .review-card:hover {
    transform: translateY(-2px);
    border-color: rgba(121, 149, 201, 0.48);
    box-shadow: 0 18px 36px rgba(2, 8, 23, 0.56);
  }
}

@media (max-width: 1050px) {
  .site-main > .hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-main > .hero .hero-img {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 820px) {
  .site-main > .section:nth-child(2) .container,
  .site-main > .section:nth-child(3) .container {
    display: block;
  }

  .inline-media-strip {
    height: 280px;
    min-height: 220px;
    margin: 0 0 16px;
  }

  [data-page-slug="platform"] .site-main > .section:nth-child(4) .inline-media-strip {
    height: auto;
    min-height: 0;
  }

  [data-page-slug="platform"] .site-main > .section:nth-child(4) .inline-media-strip img {
    height: auto;
  }

  [data-page-slug="platform"] .site-main > .section[data-seo-toc="1"] .toc-links {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .inline-media-strip::after {
    top: auto;
    bottom: 12px;
  }

  .steps-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .section-cta .btn {
    width: 100%;
  }
}

@media (max-width: 639px) {
  .site-main {
    gap: 14px;
    padding-top: 10px;
    padding-bottom: 34px;
  }

  .site-main > .hero .container,
  .site-main > .section .container {
    border-radius: 20px;
    padding: 16px;
  }

  .site-main > .hero h1 {
    font-size: clamp(28px, 10.8vw, 42px);
  }

  .site-main > .hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-main > .hero .hero-actions .btn,
  .home-main .btn {
    width: 100%;
  }

  .inline-media-strip {
    height: 220px;
    min-height: 200px;
  }

  [data-page-slug="platform"] .site-main > .section:nth-child(4) .inline-media-strip {
    height: auto;
    min-height: 0;
  }

  [data-page-slug="platform"] .site-main > .section:nth-child(4) .inline-media-strip img {
    height: auto;
  }

  .inline-media-strip::after {
    display: none;
  }
}
