@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===== CSS ПЕРЕМЕННЫЕ ===== */
:root {
  /* Фоны */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  /* Границы */
  --border: #2a2a3a;
  --border-light: #3a3a4a;
  /* Текст */
  --text-primary: #f0f0f5;
  --text-secondary: #9999aa;
  --text-muted: #666677;
  /* Акценты */
  --accent-purple: #8b5cf6;
  --accent-purple-light: #a78bfa;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;
  --accent-pink: #ec4899;
  --accent-red: #ef4444;
  /* Градиенты */
  --gradient-main: linear-gradient(135deg, #8b5cf6, #3b82f6, #06b6d4);
  --gradient-btn: linear-gradient(135deg, #8b5cf6, #6d28d9);
  /* Скругления */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ===== ФОН GLOW ===== */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 10%, rgba(139, 92, 246, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 600px 500px at 80% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
}

/* ===== КОНТЕЙНЕР ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ===== КНОПКИ ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-primary.btn-success {
  background: var(--accent-green);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.05);
  transform: translateY(-1px);
}

/* ===== СЕКЦИИ — ОБЩИЕ ===== */
section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-purple);
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== ГРАДИЕНТНЫЙ ТЕКСТ ===== */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== АНИМАЦИИ SCROLL ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== НАВБАР ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Бургер открыт */
.navbar.nav-open .nav-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar.nav-open .nav-burger span:nth-child(2) {
  opacity: 0;
}
.navbar.nav-open .nav-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-badge.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.hero-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hero-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.hero-buttons.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-stats {
  display: flex;
  gap: 48px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.hero-stats.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===== ПРОЕКТЫ ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  display: block;
  height: 3px;
  width: 100%;
}

.product-card[data-color="purple"]::before { background: var(--accent-purple); }
.product-card[data-color="blue"]::before { background: var(--accent-blue); }
.product-card[data-color="green"]::before { background: var(--accent-green); }
.product-card[data-color="cyan"]::before { background: var(--accent-cyan); }
.product-card[data-color="pink"]::before { background: var(--accent-pink); }
.product-card[data-color="orange"]::before { background: var(--accent-orange); }
.product-card[data-color="red"]::before { background: var(--accent-red); }

.product-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-icon {
  font-size: 48px;
  line-height: 1;
}

/* Бейджи */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-live {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-soon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-custom {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple-light);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.product-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Видео плейсхолдер */
.product-video-placeholder {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
}

.product-video-placeholder .play-icon {
  font-size: 32px;
}

.product-video-placeholder span {
  font-size: 13px;
}

/* Фичи */
.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex: 1;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.product-features li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
}

/* Футер карточки */
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.product-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.product-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-purple-light);
  transition: color 0.2s;
}

.product-link:hover {
  color: var(--accent-purple);
}

/* ===== КАК ЭТО РАБОТАЕТ ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-arrow {
  position: absolute;
  right: -36px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--text-muted);
  z-index: 2;
  pointer-events: none;
}

/* ===== ЦЕНЫ ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  border-color: var(--border-light);
}

.pricing-card.featured {
  border-color: var(--accent-purple);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}

.pricing-card.featured::after {
  content: 'Популярное';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-btn);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-emoji {
  font-size: 32px;
  margin-bottom: 16px;
}

.pricing-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-price {
  margin-bottom: 4px;
}

.pricing-price-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== КВИЗ ===== */
.quiz-section {
  background: var(--bg-secondary);
}

.quiz-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.quiz-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
}

/* Прогресс-бар */
.quiz-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
}

.quiz-progress-bar {
  height: 4px;
  border-radius: 2px;
  flex: 1;
  background: var(--border);
  transition: background 0.3s;
}

.quiz-progress-bar.active {
  background: var(--gradient-main);
}

.quiz-progress-bar.done {
  background: var(--accent-green);
}

/* Вопрос */
.quiz-step {
  transition: opacity 0.2s, transform 0.2s;
}

.quiz-step.exit-left {
  opacity: 0;
  transform: translateX(-20px);
}

.quiz-step.exit-right {
  opacity: 0;
  transform: translateX(20px);
}

.quiz-question {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.quiz-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Варианты ответов */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-primary);
  width: 100%;
}

.quiz-option:hover {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.05);
}

.quiz-option.selected {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.1);
}

.quiz-option-icon {
  font-size: 20px;
  flex-shrink: 0;
}

/* Textarea */
.quiz-textarea {
  width: 100%;
  min-height: 120px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 24px;
}

.quiz-textarea:focus {
  border-color: var(--accent-purple);
}

/* Поля ввода */
.quiz-field {
  margin-bottom: 16px;
}

.quiz-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.quiz-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.quiz-input:focus {
  border-color: var(--accent-purple);
}

.quiz-input.error, .quiz-textarea.error {
  border-color: var(--accent-red);
}

.quiz-field-error {
  font-size: 12px;
  color: var(--accent-red);
  margin-top: 4px;
  display: none;
}

.quiz-field-error.visible {
  display: block;
}

/* Кнопки навигации квиза */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 12px;
}

.quiz-nav-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.2s;
}

.quiz-nav-back:hover {
  color: var(--text-secondary);
}

.quiz-nav-back:disabled {
  visibility: hidden;
}

/* Результат квиза */
.quiz-result {
  text-align: center;
}

.quiz-result-icon {
  font-size: 52px;
  margin-bottom: 16px;
}

.quiz-result-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.quiz-result-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.quiz-result-card {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  text-align: left;
}

.quiz-result-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.quiz-result-card-row:not(:last-child) {
  margin-bottom: 6px;
}

.quiz-result-card-label {
  color: var(--text-muted);
}

.quiz-result-card-value {
  font-weight: 600;
  color: var(--text-primary);
}

.quiz-result-summary {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  text-align: left;
}

.quiz-result-summary p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 6px;
}

.quiz-result-summary p:last-child {
  margin-bottom: 0;
}

.quiz-result-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
}

.quiz-result-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Вейтлист поле */
.quiz-waitlist-field {
  margin-bottom: 16px;
  text-align: left;
}

.quiz-waitlist-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

/* Ошибка отправки */
.quiz-send-error {
  margin-top: 12px;
  font-size: 14px;
  color: var(--accent-red);
  display: none;
}

.quiz-send-error.visible {
  display: block;
}

.quiz-send-error a {
  color: var(--accent-purple-light);
  text-decoration: underline;
}

/* ===== ОБО МНЕ ===== */
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  flex-shrink: 0;
}

.about-photo::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.3);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.about-name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.about-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.about-link:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
}

/* ===== CTA СЕКЦИЯ ===== */
.cta-section {
  padding: 100px 0;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
}

.cta-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== ФУТЕР ===== */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

footer .container {
  text-align: center;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-links {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-links .sep {
  margin: 0 6px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .step-arrow {
    right: -28px;
    font-size: 18px;
  }

  .section-title {
    font-size: 32px;
  }
}

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

  /* Навбар */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-primary);
    padding: 20px;
    border-top: 1px solid var(--border);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .navbar.nav-open .nav-links {
    display: flex;
  }

  .nav-burger {
    display: flex;
  }

  .nav-cta .btn-primary {
    display: none;
  }

  /* Hero */
  .hero-title {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  /* Продукты */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Шаги */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    display: none;
  }

  /* Цены */
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Квиз */
  .quiz-card {
    padding: 28px 20px;
  }

  .quiz-result-buttons {
    flex-direction: column;
  }

  .quiz-result-buttons .btn-primary,
  .quiz-result-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* О себе */
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .about-photo {
    width: 150px;
    height: 150px;
    font-size: 48px;
    margin: 0 auto;
  }

  .about-links {
    justify-content: center;
  }

  /* CTA */
  .cta-box {
    padding: 40px 24px;
  }

  .cta-title {
    font-size: 28px;
  }

  section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

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

  .quiz-question {
    font-size: 18px;
  }
}
