* {
  font-family: var(--font-body);
  box-sizing: border-box;
}

/* Семантические токены стиля лэндинга. */
:root {
  /* шрифты */
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: var(--font-body);

  /* базовые поверхности и текст */
  --bg: #000;
  --text: #fff;
  --text-soft: rgba(255, 255, 255, 0.9);
  --muted: #ccc;
  --muted-2: #aaa;
  --surface: rgba(255, 255, 255, 0.1);
  --surface-strong: rgba(255, 255, 255, 0.15);
  --line: rgba(255, 255, 255, 0.3);

  /* акцент (галочки, заголовки списков, цены, ссылки) */
  --accent: #54EA9F;
  --accent-dark: #3bcf87;
  --on-accent: #fff;

  /* CTA-кнопка */
  --cta-grad-1: #6340E6;
  --cta-grad-2: #8B48D6;
  --cta-text: #fff;
  --glow: #7A3CFF;
  --glow-soft: rgba(122, 60, 255, 0.3);
  --glow-strong: rgba(122, 60, 255, 0.8);
  --glow-bright: #B388FF;
  --glow-bright-soft: rgba(179, 136, 255, 0.7);

  /* карточка-бонус */
  --card-accent: #6340E6;
  --card-bg: rgba(99, 64, 230, 0.05);

  /* hero и секретный блок: фоновая картинка + затухание в --bg */
  --hero-image: url("../img/bg.jpg");

  /* футер */
  --footer-bg: #000;
  --footer-line: #6F2CFF;

  /* модалка и форма */
  --overlay: rgba(0, 0, 0, 0.8);
  --modal-bg: #0c0c0c;
  --input-bg: #fff;
  --input-text: #111;
  --input-placeholder: #999;
  --error: #ff6b6b;

  /* геометрия */
  --radius-md: 10px;
  --radius-lg: 30px;
}

html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Анимации ===== */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes fadeInNotice { from{opacity:0;transform:translateY(-5px)} to{opacity:1;transform:translateY(0)} }
@keyframes glowPulse {
  0% { box-shadow: 0 0 10px var(--glow), 0 0 3px var(--glow-soft); }
  50% { box-shadow: 0 0 18px var(--glow-bright), 0 0 10px var(--glow-bright-soft); }
  100% { box-shadow: 0 0 10px var(--glow), 0 0 3px var(--glow-soft); }
}
@keyframes pulsePlaceholder {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* ===== Заголовки и контент ===== */
.section { position: relative; }
.hero {
  padding: 30px 0 40px;
  background:
    linear-gradient(to bottom, transparent, var(--bg)),
    var(--hero-image) center/cover no-repeat;
}
.hero-inner { max-width: 800px; margin: 0 auto; padding: 0 20px; }

h1.ttl {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--text);
  text-align: center;
  font-style: italic;
  margin: 0 0 0;
}

.list-header {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  margin: 30px 0 10px;
}

ul.checklist {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto 40px;
}
ul.checklist li {
  position: relative;
  padding-left: 25px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-soft);
  margin-bottom: 4px;
}
ul.checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.watch-note {
  font-size: clamp(16px,2.5vw,20px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  text-align: center;
  margin: 15px auto;
}
.watch-note.left { text-align: left; max-width: 600px; }
.watch-note ul { list-style: none; padding: 0; max-width: 600px; margin: 0 auto; }
.watch-note ul li { position: relative; padding-left: 25px; }
.watch-note.left ul li { font-weight: 400; }
.watch-note ul li:before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: bold;
}

.watch-arrow {
  display: block;
  width: 76px;
  height: auto;
  margin: 10px auto;
  animation: float 1s ease-in-out infinite;
}

.gc-video-notice {
  max-width: 700px; width: 100%;
  margin: 15px auto 0;
  padding: 10px 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--surface-strong);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  animation: fadeInNotice 0.5s ease-in-out;
}
.gc-video-notice .icon { font-size: 16px; }
.gc-video-notice .txt { margin: 0; font-size: 13px; line-height: 1.4; color: var(--text); font-weight: 400; }
.gc-video-notice .txt strong { font-weight: 600; }

/* ===== Видео ===== */
.gc-video {
  max-width: 700px; width: 100%;
  margin: 20px auto;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.gc-video__framewrap { position: relative; width: 100%; padding-bottom: 100%; height: 0; }
.gc-video__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* вертикальный (9:16) вариант презентационного видео */
.gc-video--vertical { max-width: 400px; }
.gc-video__framewrap--vertical { padding-bottom: 177.78%; }
.gc-video__video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.gc-video__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: transparent; border: none; cursor: pointer; z-index: 10; padding: 0;
  transition: transform .3s, opacity .3s;
}
.gc-video__play:hover { transform: translate(-50%,-50%) scale(1.1); }
.gc-video__play-icon circle { fill: var(--accent); transition: fill .3s; }
.gc-video__play:hover .gc-video__play-icon circle { fill: var(--accent-dark); }
.gc-video__play-icon polygon { fill: var(--on-accent); }
.gc-video.is-playing .gc-video__play { opacity: 0; pointer-events: none; }

.gc-video-hero {
  position: relative;
  width: auto;
  margin: 0;
  padding-inline: clamp(2.5vw, 6vw, 10vw);
  background: var(--bg);
}
.gc-video-hero__framewrap { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.gc-video-hero__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gc-video-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.gc-video-hero__play {
  position: absolute; inset: 0; margin: auto; z-index: 3;
  width: 96px; height: 96px; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  transition: transform .2s, opacity .2s;
}
.gc-video-hero__play:hover { transform: scale(1.05); }
.gc-video-hero__play-icon circle { fill: var(--accent); }
.gc-video-hero__play-icon polygon { fill: var(--on-accent); }
.gc-video-hero.is-playing .gc-video-hero__play { opacity: 0; pointer-events: none; display: none; }

/* Плашка-секрет */
.secret-placeholder {
  display: flex; justify-content: center; align-items: center;
  padding: 40px 20px; margin: 30px auto; max-width: 600px;
  text-align: center;
  background: var(--bg);
  border: 2px dashed var(--line);
  border-radius: 15px; cursor: pointer;
  transition: all .3s ease;
  animation: pulsePlaceholder 3s infinite;
}
.secret-placeholder:hover { background: var(--surface); border-color: var(--text); }
.placeholder-icon { font-size: 30px; display: block; margin-bottom: 10px; }
.placeholder-text { font-weight: bold; letter-spacing: 1px; color: var(--text); margin: 0; font-size: 16px; }

/* ===== Секретный блок (тест-драйв) ===== */
.secret-block { display: none; }
.secret-block.reveal-now { display: block; }
.secret-block {
  padding: 45px clamp(2.5vw, 6vw, 10vw) 15px;
  background:
    linear-gradient(to bottom, var(--bg), transparent),
    var(--hero-image) center/cover no-repeat;
}
.secret-inner { max-width: 720px; margin: 0 auto; padding: 0; }
.punkt { font-size: 18px; font-weight: 500; line-height: 1.4; text-align: center; }
.price-old {
  font-size: 18px;
  text-decoration: line-through;
  opacity: .5;
  color: var(--text);
  margin-right: 10px;
}
.demo-price {
  display: inline-block;
  font-size: 46px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.bonus-header {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: calc(100% - 24px);
  font-size: 20px;
  background: var(--card-accent);
  color: var(--on-accent);
  padding: 8px 24px;
  border-radius: 5px;
  font-weight: 800;
  margin: 0;
  text-align: center;
  box-sizing: border-box;
}
.bonus p {
  margin-top: 0;
}
.bonus p strong {
  font-weight: 800;
}
.bonus .price-card p {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 54px;
}
.bonus {
  position: relative;
  overflow: visible;
  margin-top: 32px;
  padding: 72px 20px 30px;
  border: 2px solid var(--card-accent);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  backdrop-filter: blur(5px);
  text-align: center;
}
.bonus hr { border: none; border-top: 1px solid var(--line); margin: 15px 0; }
.secret-block ul.checklist { text-align: left; }
.price-card {
  text-align: center;
  margin-top: 12px;
}
.discount-badge {
  position: absolute;
  left: calc(50% + 22px);
  top: 100%;
  width: 100px;
  height: 40px;
  margin-top: 8px;
  transform: translateX(-50%);
  background: url("../img/discount-badge.png") center/contain no-repeat;
}
.discount-card {
  display: none;
}

.timer {
  font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--text); text-align: center;
  margin: 30px 0 25px;
}
.timer span.t {
  display: inline-block; width: 60px; font-size: 28px; font-weight: 800;
  color: var(--text); background: var(--surface);
  padding: 8px 0; border-radius: 8px; margin: 12px 2px; text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ===== Кнопки CTA ===== */
.cta-wrap { text-align: center; margin: 40px 0; }
.btn-cta {
  background: linear-gradient(90deg, var(--cta-grad-1), var(--cta-grad-2));
  min-width: 280px; padding: 20px 30px; border: none; border-radius: 50px;
  color: var(--cta-text); font-size: 16px; font-weight: bold; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer; position: relative;
  transition: .3s ease; animation: glowPulse 2s infinite ease-in-out;
  box-shadow: 0 0 10px var(--glow), 0 0 20px var(--glow-strong), inset 0 0 12px rgba(255,255,255,0.15);
}
.btn-cta:hover { transform: scale(1.05); box-shadow: 0 10px 20px var(--glow-soft); }
.btn-cta:disabled { opacity: .6; cursor: not-allowed; animation: none; }

/* ===== Футер ===== */
footer { background: var(--footer-bg); padding: 45px 0 15px; color: var(--text); }
.footer-grid {
  display: flex; flex-wrap: wrap; gap: 30px; max-width: 1000px; margin: 0 auto; padding: 0 20px;
}
.footer-col { flex: 1 1 280px; }
footer h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--accent); font-weight: 900; }
footer p { margin: 0 0 5px; font-size: 14px; }
footer a { color: var(--text); text-decoration: none; transition: color .3s; }
footer a:hover { color: var(--accent); }
.social-icons { display: flex; gap: 20px; margin-top: 20px; }
.social-icon {
  width: 40px; height: 40px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--on-accent);
  text-decoration: none; transition: all .3s; font-weight: bold;
}
.social-icon:hover { background: var(--text); color: var(--accent); transform: translateY(-3px); }
.footer-bottom {
  text-align: center; padding-top: 30px; margin-top: 30px;
  border-top: 1px solid var(--footer-line); color: var(--text-soft); font-size: 13px;
}

/* ===== Модальное окно с формой ===== */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 100000;
  background: var(--overlay);
  align-items: flex-start; justify-content: center;
  padding: 40px 15px; overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal-box {
  position: relative;
  background: var(--modal-bg); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 40px; border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,.6); color: var(--text);
  width: 100%; max-width: 480px;
}
.modal-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; color: var(--text); font-size: 28px; cursor: pointer; line-height: 1;
}
.modal-title { text-align: center; font-weight: 800; font-size: 24px; font-style: italic; margin: 0 0 20px; }
.offer-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--surface); margin-bottom: 20px;
}
.offer-row .offer-title { font-weight: 500; }
.offer-row .offer-price .final-price { font-weight: 700; color: var(--accent); }
.offer-row .offer-price .old-price { text-decoration: line-through; opacity: .5; font-size: 13px; margin-right: 6px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--muted); }
.field label .req { color: var(--accent); }
.f-input {
  width: 100%; padding: 14px 18px; border: 2px solid var(--accent);
  border-radius: var(--radius-lg); font-size: 16px; font-weight: 400;
  background: var(--input-bg); color: var(--input-text);
  transition: box-shadow .3s, border-color .3s, transform .3s;
}
.f-input:focus {
  outline: none; border-color: var(--cta-grad-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); transform: translateY(-2px);
}
.f-input::placeholder { color: var(--input-placeholder); }
.field-error { color: var(--error); font-size: 12px; margin-top: 5px; display: none; }
.field.has-error .f-input { border-color: var(--error); }
.field.has-error .field-error { display: block; }

.consent { font-size: 12px; color: var(--muted-2); margin: 10px 0 14px; display: flex; gap: 8px; align-items: flex-start; }
.consent input { margin-top: 3px; }
.consent a { color: var(--accent); text-decoration: none; }
.consent-note { font-size: 12px; margin: -6px 0 14px 24px; }
.consent-note a { color: var(--accent); text-decoration: none; }
.offer-note { font-size: 12px; color: var(--muted-2); text-align: center; margin: 12px 0 0; }
.offer-note a { color: var(--accent); text-decoration: none; }

.form-message { text-align: center; padding: 10px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; display: none; }
.form-message.ok { display: block; background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); }
.form-message.err { display: block; background: color-mix(in srgb, var(--error) 15%, transparent); color: var(--error); }

.modal-box .btn-cta { width: 100%; }

/* ===== Страницы документов ===== */
.doc-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}
.doc-page h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  margin: 20px 0 25px;
}
.doc-page h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin: 30px 0 10px;
}
.doc-page p { margin: 0 0 10px; }
.doc-page a { color: var(--accent); }
.doc-page hr { border: none; border-top: 1px solid var(--line); margin: 35px 0 15px; }
.doc-back { font-size: 14px; text-decoration: none; }
.doc-muted { color: var(--muted-2); font-size: 13px; }

/* Статья: CTA-кнопка как ссылка + чуть крупнее заголовки разделов */
a.btn-cta { display: inline-block; text-decoration: none; text-align: center; }
.article-page h2 { font-size: 21px; color: var(--text); margin-top: 40px; }
.article-page h1 { font-size: 32px; }

@media (max-width: 768px) {
  h1.ttl { font-size: 26px; }
  .demo-price {
    font-size: 26px;
  }
  .timer span.t { width: 45px; font-size: 20px; padding: 6px 0; margin: 8px 1px; }
  .timer { font-size: 14px; }
  .secret-block .btn-cta { min-width: 0; width: 100%; max-width: 300px; padding: 16px 20px; font-size: 14px; }
  .bonus { padding: 56px 16px 22px; }
  .bonus-header {
    font-size: 16px;
    top: -18px;
    width: calc(100% - 24px);
    padding: 7px 18px;
  }
  .price-old { font-size: 16px; }
  .bonus .price-card p {
    padding-bottom: 42px;
  }
  .discount-badge {
    width: 86px;
    height: 34px;
    left: calc(50% + 14px);
    margin-top: 6px;
  }
  .modal-box { padding: 28px 18px; }
  ul.checklist li { font-size: 16px; }
  .punkt { font-size: 12px; }
  .watch-arrow { width: 52px; }
}
