:root {
  --orange: #F97316;
  --orange-dark: #EA6C04;
  --dark: #0A0A0A;
  --dark-card: #1A1A1A;
  --section: #111827;
  --text: #111827;
  --muted: #6B7280;
  --line: #E5E7EB;
  --bg: #FFFFFF;
  --bg-soft: #F9FAFB;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

/* ---------- Кнопки и подписи ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; font-family: var(--font-heading); text-transform: uppercase;
  letter-spacing: .12em; font-size: 14px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline-white { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--dark); }
.btn-outline-orange { border-color: var(--orange); color: var(--orange); background: transparent; }
.btn-outline-orange:hover { background: var(--orange); color: #fff; }
.btn-block { width: 100%; }
.btn svg { width: 14px; height: 14px; }

.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 40px; height: 2px; background: var(--orange); flex-shrink: 0; }
.eyebrow span {
  color: var(--orange); font-family: var(--font-heading); text-transform: uppercase;
  letter-spacing: .14em; font-size: 12px; font-weight: 600;
}
.section-title {
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .02em;
  line-height: 1.15; font-size: 34px; font-weight: 600;
}
@media (min-width: 768px) { .section-title { font-size: 48px; } }
.section-lead { color: var(--muted); font-size: 18px; max-width: 640px; margin-top: 16px; }
.accent { color: var(--orange); }

section { padding: 80px 0; }
@media (min-width: 768px) { section { padding: 112px 0; } }
.dark { background: var(--dark); color: #fff; }
.dark .section-lead { color: #9CA3AF; }
.soft { background: var(--bg-soft); }

/* ---------- Шапка ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: #030712; transition: background .3s, box-shadow .3s; }
.header.scrolled { background: rgba(3, 7, 18, .95); backdrop-filter: blur(6px); box-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.header::before { content: ''; display: block; height: 2px; background: var(--orange); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
@media (min-width: 768px) { .header-row { height: 80px; } }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 36px; height: 36px; background: var(--orange); display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 12px; transition: transform .2s;
}
.logo:hover .logo-mark { transform: scale(1.05); }
.logo-text { font-family: var(--font-heading); color: #fff; font-size: 18px; text-transform: uppercase; letter-spacing: .08em; }
.nav { display: none; gap: 32px; }
.nav a {
  font-family: var(--font-heading); color: #9CA3AF; text-decoration: none; text-transform: uppercase;
  letter-spacing: .14em; font-size: 12px; font-weight: 500; position: relative; transition: color .2s;
}
.nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--orange); transition: width .2s; }
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.header .btn { display: none; padding: 10px 20px; font-size: 12px; }
@media (min-width: 900px) { .nav { display: flex; } .header .btn { display: inline-flex; } }
.burger { background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) { .burger { display: none; } }
.mobile-nav { max-height: 0; overflow: hidden; transition: max-height .3s; background: #030712; }
.mobile-nav.open { max-height: 420px; border-top: 1px solid #1F2937; }
.mobile-nav nav { display: flex; flex-direction: column; padding: 16px 0 24px; }
.mobile-nav a:not(.btn) {
  font-family: var(--font-heading); color: #D1D5DB; text-decoration: none; text-transform: uppercase;
  letter-spacing: .14em; font-size: 14px; padding: 12px 0; border-bottom: 1px solid rgba(31, 41, 55, .5);
}
.mobile-nav .btn { margin-top: 16px; }
@media (min-width: 900px) { .mobile-nav { display: none; } }

/* ---------- Первый экран ---------- */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; background: var(--dark); color: #fff; padding: 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.78) 50%, rgba(0,0,0,.55)); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 128px; z-index: 1; background: linear-gradient(0deg, #000, transparent); }
.hero-inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding: 128px 0 64px; }
.hero h1 {
  font-family: var(--font-heading); text-transform: uppercase; line-height: 1.05; letter-spacing: -.01em;
  font-size: 46px; font-weight: 600; max-width: 820px; margin-bottom: 28px;
}
@media (min-width: 640px) { .hero h1 { font-size: 64px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 88px; } }
.hero-sub { color: #D1D5DB; font-size: 18px; max-width: 580px; margin-bottom: 36px; }
@media (min-width: 768px) { .hero-sub { font-size: 20px; } }
.hero-ctas { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.hero-ctas .btn { padding: 18px 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px 48px; margin-top: 56px; }
.stat-value { font-family: var(--font-heading); color: var(--orange); font-size: 38px; font-weight: 700; line-height: 1.1; }
.stat-label { color: #9CA3AF; font-size: 14px; }
.hero-note {
  position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.35);
  backdrop-filter: blur(4px); padding: 18px 0; font-size: 14px; color: #9CA3AF;
}
.hero-note strong { color: #fff; font-weight: 600; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; margin-right: 10px; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ---------- Карточки ---------- */
.grid-3 { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); padding: 32px; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -12px rgba(0,0,0,.15); }
.dark .card { background: var(--dark-card); border-color: #262626; }
.card h3 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .04em; font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.card p { color: var(--muted); }
.dark .card p { color: #9CA3AF; }
.card-num { font-family: var(--font-heading); color: var(--orange); font-size: 14px; letter-spacing: .14em; margin-bottom: 20px; display: block; }
.pain .card { border-top: 3px solid var(--orange); }

/* ---------- Как работает ---------- */
.steps { margin-top: 56px; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(6, 1fr); } }
.step { position: relative; padding: 24px 20px 24px 64px; border-left: 2px solid #262626; counter-increment: step; }
@media (min-width: 900px) { .step { padding: 64px 16px 0 0; border-left: 0; border-top: 2px solid #262626; } }
.step::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: -1px; top: 24px; transform: translateX(-50%);
  width: 40px; height: 40px; background: var(--orange); color: #fff; display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 600; font-size: 14px;
}
@media (min-width: 900px) { .step::before { left: 0; top: -1px; transform: translateY(-50%); } }
.step h4 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .06em; font-size: 16px; margin-bottom: 6px; }
.step p { color: #9CA3AF; font-size: 14px; }

/* ---------- Демо ---------- */
.demo { background: var(--orange); color: #fff; padding: 72px 0; }
.demo-row { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
@media (min-width: 900px) { .demo-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.demo h2 { font-family: var(--font-heading); text-transform: uppercase; font-size: 32px; line-height: 1.15; font-weight: 600; max-width: 680px; }
@media (min-width: 768px) { .demo h2 { font-size: 42px; } }
.demo p { margin-top: 12px; color: rgba(255,255,255,.9); max-width: 640px; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #262626; }

/* ---------- Программа ---------- */
.program { margin-top: 56px; border-top: 1px solid var(--line); }
.module { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .module { grid-template-columns: 96px 1fr 1.4fr; gap: 32px; } }
.module-num { font-family: var(--font-heading); color: var(--orange); font-size: 32px; font-weight: 600; line-height: 1; }
.module h3 { font-family: var(--font-heading); text-transform: uppercase; font-size: 20px; letter-spacing: .03em; }
.module p { color: var(--muted); grid-column: 2; }
@media (min-width: 768px) { .module p { grid-column: 3; } }

/* ---------- Тарифы ---------- */
.tariffs { display: grid; gap: 24px; margin-top: 56px; align-items: stretch; }
@media (min-width: 900px) { .tariffs { grid-template-columns: repeat(3, 1fr); } }
.tariff { position: relative; background: var(--dark-card); border: 1px solid #262626; padding: 36px 28px; display: flex; flex-direction: column; transition: transform .3s; }
.tariff:hover { transform: translateY(-4px); }
.tariff.featured { border: 2px solid var(--orange); }
.tariff-tag {
  position: absolute; top: -13px; left: 28px; background: var(--orange); color: #fff; padding: 4px 12px;
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 600;
}
.tariff h3 { font-family: var(--font-heading); text-transform: uppercase; font-size: 24px; letter-spacing: .04em; }
.tariff-desc { color: #9CA3AF; font-size: 15px; margin: 6px 0 20px; min-height: 48px; }
.tariff-price { font-family: var(--font-heading); font-size: 44px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 24px; }
.tariff-price small { font-size: 16px; color: #9CA3AF; font-weight: 400; margin-left: 6px; }
.tariff ul { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.tariff li { position: relative; padding-left: 26px; color: #D1D5DB; font-size: 15px; }
.tariff li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }

/* ---------- Автор ---------- */
.author { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .author { grid-template-columns: 360px 1fr; } }
.author-photo {
  aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--section), var(--dark)); position: relative; overflow: hidden;
  display: grid; place-items: center; font-family: var(--font-heading); font-size: 120px; color: var(--orange); font-weight: 700;
}
.author-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.author-photo::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: var(--orange); }
.author blockquote {
  font-family: var(--font-heading); font-size: 26px; line-height: 1.3; text-transform: uppercase;
  border-left: 3px solid var(--orange); padding-left: 20px; margin: 28px 0;
}
.author p + p { margin-top: 14px; }
.author .muted { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { margin-top: 48px; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .03em; font-size: 18px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 18px; color: var(--orange); font-size: 28px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); }

/* ---------- Финальный CTA и подвал ---------- */
.final { text-align: center; }
.final .section-title { max-width: 860px; margin: 0 auto; }
.final .section-lead { margin: 16px auto 36px; }
.footer { background: #030712; color: #6B7280; padding: 48px 0; font-size: 14px; }
.footer-row { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .footer-row { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer a { color: #9CA3AF; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }

/* ---------- Правовые страницы ---------- */
.legal { padding: 140px 0 80px; }
.legal .container { max-width: 860px; }
.legal h1 { font-family: var(--font-heading); text-transform: uppercase; font-size: 36px; margin-bottom: 8px; }
.legal h2 { font-family: var(--font-heading); text-transform: uppercase; font-size: 20px; margin: 36px 0 12px; }
.legal p, .legal li { color: #374151; margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal .muted { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
