/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
  --accent: #d95032;
  --accent-dark: #aa3824;
  --accent-2: #e27b3c;
  --accent-soft: #f8ebe5;
  --ink: #171717;
  --ink-2: #45423f;
  --muted: #716c66;
  --line: #e6e0d8;
  --bg: #fbfaf7;
  --bg-soft: #f2eee8;
  --white: #fff;
  --shadow-sm: 0 2px 12px rgba(18, 19, 26, .05);
  --shadow-md: 0 16px 44px rgba(18, 19, 26, .09);
  --shadow-lg: 0 34px 90px rgba(18, 19, 26, .14);
  --shadow-accent: 0 12px 30px rgba(217, 80, 50, .22);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1160px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ===== БАЗА ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 820px; }
.accent { color: var(--accent); }

/* Спокойная редакционная подача без неоновых градиентов */
.btn--primary { background: var(--accent); box-shadow: 0 8px 22px rgba(217,80,50,.2); }
.btn--primary:hover { background: var(--accent-dark); box-shadow: 0 12px 28px rgba(217,80,50,.25); }
.logo__mark { background: var(--accent); box-shadow: none; }
.hero__glow { background: radial-gradient(closest-side, rgba(217,80,50,.08), transparent 70%); }
.step__num, .review__avatar { background: var(--accent); box-shadow: none; }
.feature__icon { background: #eee7de; }
.cta { background: var(--accent); }
.cookie-banner { position: fixed; left: 22px; right: 22px; bottom: 22px; z-index: 120; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 17px 20px; background: #1f1e1c; color: #f7f3ed; border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.22); }
.cookie-banner p { max-width: 760px; font-size: 14px; color: #d8d1c8; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex: none; }
.cookie-banner .btn { padding: 11px 18px; font-size: 14px; }
.cookie-banner .btn--white { background: #fff; color: #1f1e1c; }
@media (max-width: 700px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; align-items: stretch; flex-direction: column; gap: 12px; } .cookie-banner__actions { justify-content: flex-end; } }

/* ===== КНОПКИ ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
  font-family: inherit;
}
.btn--primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: var(--shadow-accent); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(91, 83, 255, .42); }
.btn--white { background: #fff; color: var(--ink); box-shadow: var(--shadow-md); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--lg { padding: 17px 32px; font-size: 17px; }

/* ===== ШАПКА ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.logo__mark {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  box-shadow: var(--shadow-accent);
}
.logo__text b { color: var(--accent); font-weight: 800; }
.logo--footer { color: #fff; }
.logo--footer .logo__text b { color: #fff; }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav__link { color: var(--ink-2); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav__link:hover { color: var(--accent); }
.header__cta { margin-left: 8px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== ГЛАВНЫЙ ЭКРАН ===== */
.hero {
  position: relative;
  text-align: center;
  padding: 96px 0 70px;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; }
.hero__glow {
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 960px; height: 640px;
  background: radial-gradient(closest-side, rgba(91, 83, 255, .16), transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hero__title {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero__subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 40px;
}

/* Форма ввода ссылки */
.watch-form {
  display: flex;
  gap: 10px;
  max-width: 700px;
  margin: 0 auto 14px;
  background: #fff;
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.watch-form__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  color: var(--muted);
}
.watch-form__icon { flex-shrink: 0; }
.watch-form__input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  padding: 14px 0;
}
.watch-form__input::placeholder { color: #9aa1ab; }
.watch-form__hint { font-size: 14px; color: var(--muted); margin-bottom: 44px; }
.watch-form__hint.is-error { color: #ef4444; font-weight: 600; }

/* Мокап-превью */
.hero__mockup {
  max-width: 780px;
  margin: 0 auto 46px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mockup__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.mockup__bar i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.mockup__bar i:nth-child(1) { background: #ff5f57; }
.mockup__bar i:nth-child(2) { background: #febc2e; }
.mockup__bar i:nth-child(3) { background: #28c840; }
.mockup__url {
  margin-left: 14px;
  flex: 1;
  height: 26px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 12px;
  color: #9aa1ab;
}
.mockup__screen {
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, #1a1730, #2b2450);
  display: grid;
  place-items: center;
  position: relative;
}
.mockup__play {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.mockup__play::after {
  content: '';
  width: 0; height: 0;
  border-left: 22px solid #fff;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  margin-left: 6px;
}

.hero__trust {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; }
.trust-item b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.trust-item span { font-size: 14px; color: var(--muted); }

/* ===== ЛЕНТА ===== */
.marquee { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.marquee__label { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.marquee__row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.marquee__row span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

/* ===== СЕКЦИИ ===== */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section__lead { font-size: 18px; color: var(--muted); }

/* ===== ШАГИ ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__num {
  width: 50px; height: 50px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-accent);
}
.step__title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step__text { color: var(--muted); font-size: 15px; }

/* ===== ВОЗМОЖНОСТИ ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature__icon {
  width: 58px; height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f2f0ff, #e9e4ff);
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.feature__title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature__text { color: var(--muted); font-size: 15px; }

/* ===== ЦИФРЫ ===== */
.stats { background: linear-gradient(135deg, #14121f, #1e1a33); color: #fff; padding: 74px 0; }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat__num {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff, #b8b2ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__num span { font-size: .55em; opacity: .7; -webkit-text-fill-color: #fff; }
.stat__label { color: #a7a3bd; font-size: 15px; margin-top: 8px; }

/* ===== ОТЗЫВЫ ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}
.review__stars { color: #ffb400; font-size: 18px; letter-spacing: 2px; }
.review__text { color: var(--ink-2); font-size: 16px; flex: 1; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  display: grid; place-items: center;
}
.review__author b { display: block; font-size: 15px; }
.review__author span { font-size: 13px; color: var(--muted); }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 24px;
  transition: box-shadow .2s, border-color .2s;
}
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: #ddd8ff; }
.faq__q {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 17px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 22px; color: var(--muted); font-size: 15px; }

/* ===== ПРИЗЫВ ===== */
.cta {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  text-align: center;
}
.cta__title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 16px; }
.cta__text { font-size: 18px; opacity: .92; max-width: 560px; margin: 0 auto 32px; }

/* ===== ПОДВАЛ ===== */
.footer { background: #14121f; color: #c4c1d6; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding: 64px 24px 48px;
}
.footer__about { font-size: 14px; color: #948fb0; margin-top: 16px; max-width: 280px; }
.footer__title { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; font-size: 14px; color: #948fb0; margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom-inner p { font-size: 13px; color: #797491; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 13px; color: #797491; transition: color .2s; }
.footer__legal a:hover { color: #fff; }

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(10, 9, 18, .8); backdrop-filter: blur(6px); }
.modal__box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: pop .3s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.modal__close {
  position: absolute;
  top: -46px; right: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s;
}
.modal__close:hover { background: rgba(255, 255, 255, .28); }
.modal__player { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.modal__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== АНИМАЦИИ ПОЯВЛЕНИЯ ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .steps, .features, .reviews { grid-template-columns: 1fr 1fr; }
  .stats__inner { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 74px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-140%);
    transition: transform .35s var(--ease);
    margin-left: 0;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .burger { display: flex; }
  .header__cta { display: none; }
}
@media (max-width: 620px) {
  .section { padding: 66px 0; }
  .hero { padding: 56px 0 54px; }
  .watch-form { flex-direction: column; padding: 12px; border-radius: 20px; }
  .watch-form__field { padding: 4px 14px; }
  .watch-form .btn { width: 100%; padding: 15px; }
  .hero__trust { gap: 28px; }
  .steps, .features, .reviews { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .modal__close { top: 8px; right: 8px; background: rgba(0,0,0,.5); }
}
