/* ============================================================
   ПЕРЕМЕННЫЕ — ТЁМНАЯ ТЕМА УК ПИЦ
   ============================================================ */
:root {
  --bg:           #060D09;
  --bg-2:         #080F0B;
  --bg-surface:   #0C1610;
  --bg-card:      #0F1B12;
  --bg-glass:     rgba(12, 22, 16, 0.75);

  --green:        #44CC44;
  --green-dim:    #2CA02C;
  --green-light:  #68EE68;
  --green-glow:   rgba(68, 204, 68, 0.22);
  --green-border: rgba(68, 204, 68, 0.18);

  --red:          #E74C3C;
  --red-border:   rgba(231, 76, 60, 0.25);
  --red-glow:     rgba(231, 76, 60, 0.15);

  --text:         #C4DCC4;
  --text-muted:   rgba(196, 220, 196, 0.5);
  --white:        #FFFFFF;

  --font-display: 'Exo 2', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:       10px;
  --radius-lg:    16px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { 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.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; }

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

/* ============================================================
   ФОНОВЫЙ ПАТТЕРН (tech-grid)
   ============================================================ */
.bg-grid {
  background-image:
    linear-gradient(rgba(68, 204, 68, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 204, 68, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ============================================================
   АНИМАЦИИ — KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(68, 204, 68, 0.35), 0 4px 16px rgba(68, 204, 68, 0.2); }
  50%       { box-shadow: 0 0 40px rgba(68, 204, 68, 0.6),  0 4px 24px rgba(68, 204, 68, 0.35); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal классы */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #000;
  border-color: var(--green);
  animation: pulseGlow 2.5s infinite;
}
.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 0 48px rgba(68, 204, 68, 0.65), 0 8px 24px rgba(68, 204, 68, 0.3);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-green {
  background: transparent;
  color: var(--green);
  border-color: var(--green-border);
}
.btn-outline-green:hover {
  background: var(--green-glow);
  border-color: var(--green);
}

/* ============================================================
   01_HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(6, 13, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--green-border);
  padding: 10px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: flex; align-items: center; }
.logo img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(68, 204, 68, 0.3));
}

.nav { display: none; gap: 32px; align-items: center; }
.nav a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--green);
  transition: width 0.25s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }

.header .btn { padding: 9px 20px; font-size: 0.85rem; animation: none; }

/* Гамбургер */
.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
}
.menu-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.menu-btn.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); background: var(--green); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); background: var(--green); }

/* Мобильное меню (оверлей) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 9, 0.97);
  z-index: 250;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  transition: color 0.2s;
}
.nav-overlay a:hover { color: var(--green); }
.nav-overlay .btn {
  margin-top: 16px;
  font-size: 1rem;
  padding: 14px 36px;
}

@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
}

/* ============================================================
   02_HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 13, 9, 0.55) 0%,
    rgba(6, 13, 9, 0.3)  40%,
    rgba(6, 13, 9, 0.55) 70%,
    rgba(6, 13, 9, 0.92) 100%
  );
}

/* Тонкий тех-паттерн поверх фото */
.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(68, 204, 68, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 204, 68, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 0 60px;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero__inner { max-width: 820px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(68, 204, 68, 0.1);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 0.6s var(--ease) 0.2s both;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulseDot 1.5s infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeUp 0.8s var(--ease) 0.45s both;
}
.hero__title .accent { color: var(--green); }

.hero__subtitle {
  font-size: 1rem;
  color: rgba(196, 220, 196, 0.75);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 36px;
  animation: fadeUp 0.7s var(--ease) 0.7s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp 0.7s var(--ease) 0.9s both;
}

/* Статистика внизу hero */
.hero__stats {
  position: relative;
  z-index: 2;
  background: rgba(6, 13, 9, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--green-border);
  animation: slideUp 0.7s var(--ease) 1.1s both;
}
.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.hero__stat {
  padding: 20px 20px;
  border-right: 1px solid var(--green-border);
  border-bottom: 1px solid var(--green-border);
}
.hero__stat:nth-child(2n) { border-right: none; }
.hero__stat:nth-last-child(-n+2) { border-bottom: none; }

.hero__stat-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-val span { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.hero__stat-label { font-size: 0.78rem; color: var(--text-muted); }

@media (min-width: 768px) {
  .hero__title    { font-size: 3.2rem; }
  .hero__subtitle { font-size: 1.1rem; }
  .hero__stats-grid { grid-template-columns: repeat(4, 1fr); }
  .hero__stat { border-bottom: none; }
  .hero__stat:nth-child(2n) { border-right: 1px solid var(--green-border); }
  .hero__stat:last-child { border-right: none; }
  .hero__stat-val { font-size: 2.2rem; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: 4rem; }
}

/* ============================================================
   ОБЩИЙ ЗАГОЛОВОК СЕКЦИИ
   ============================================================ */
.section-overline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
}
.section-header { margin-bottom: 40px; }
.section-header--center { text-align: center; }
.section-header--center .section-lead { margin: 0 auto; }

@media (min-width: 768px) {
  .section-title  { font-size: 2.4rem; }
  .section-header { margin-bottom: 60px; }
}
@media (min-width: 1024px) {
  .section-title { font-size: 2.8rem; }
}

/* ============================================================
   03_PAINS
   ============================================================ */
.pains {
  background: var(--bg-2);
  padding: 80px 0;
  overflow: hidden;
}
.pains.bg-grid { }

.pains__compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.pains__col {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--green-border);
  background: var(--bg-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pains__col:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.pains__col--bad  { border-color: var(--red-border); }
.pains__col--good { border-color: var(--green-border); }
.pains__col--good:hover { box-shadow: 0 12px 40px var(--green-glow); }
.pains__col--bad:hover  { box-shadow: 0 12px 40px var(--red-glow); }

.pains__img-wrap { position: relative; }
.pains__img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.pains__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15, 27, 18, 0.8));
}

.pains__badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pains__badge--bad  { background: var(--red); color: #fff; }
.pains__badge--good { background: var(--green); color: #000; }

.pains__list { padding: 20px; list-style: none; }

.pains__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: var(--text);
}
.pains__item:last-child { border-bottom: none; }
.pains__icon { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }
.pains__item--bad  .pains__icon { color: var(--red); }
.pains__item--good .pains__icon { color: var(--green); }

.pains__vs {
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--green);
  text-shadow: 0 0 20px var(--green-glow);
  padding: 0 16px;
  align-self: center;
}

@media (min-width: 768px) {
  .pains__compare { grid-template-columns: 1fr auto 1fr; gap: 0; }
  .pains__vs      { display: flex; }
  .pains__list    { padding: 24px; }
  .pains__item    { font-size: 0.95rem; }
}

/* ============================================================
   04_TECH
   ============================================================ */
.tech {
  background: var(--bg);
  padding: 80px 0;
}

.tech__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.tech__card {
  background: var(--bg-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.tech__card:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: 0 0 30px var(--green-glow), 0 16px 40px rgba(0,0,0,0.3);
}

.tech__card-body { padding: 28px 28px 0; }

.tech__card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: rgba(68, 204, 68, 0.1);
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s, box-shadow 0.3s;
}
.tech__card:hover .tech__card-icon {
  background: rgba(68, 204, 68, 0.18);
  box-shadow: 0 0 16px var(--green-glow);
}

.tech__card-overline {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.tech__card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.tech__card-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.tech__card-img {
  overflow: hidden;
}
.tech__card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.tech__card:hover .tech__card-img img { transform: scale(1.05); }

@media (min-width: 768px) {
  .tech__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .tech__card-img img { height: 220px; }
}

/* ============================================================
   05_GUARANTEES
   ============================================================ */
.guarantees {
  background: var(--bg-surface);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Декоративный элемент — большая цифра на фоне */
.guarantees__decor {
  position: absolute;
  top: -20px; right: -40px;
  font-family: var(--font-display);
  font-size: 28vw;
  font-weight: 900;
  color: rgba(68, 204, 68, 0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.guarantees__header { position: relative; z-index: 1; }
.guarantees__header .section-lead { color: var(--text-muted); }

.guarantees__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.guarantees__card {
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--bg-card);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.guarantees__card:hover {
  border-color: var(--green-border);
  box-shadow: 0 0 24px var(--green-glow);
  transform: translateY(-3px);
}

.guarantees__card--accent {
  background: var(--green);
  border-color: transparent;
  color: #000;
}
.guarantees__card--accent:hover {
  background: var(--green-light);
  box-shadow: 0 0 40px rgba(68, 204, 68, 0.5);
  border-color: transparent;
}

.guarantees__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 10px;
}
.guarantees__card--accent .guarantees__number { color: #000; }

.guarantees__icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.guarantees__card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.guarantees__card--accent .guarantees__card-title { color: #000; }

.guarantees__card-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.guarantees__card--accent .guarantees__card-text { color: rgba(0,0,0,0.65); }

@media (min-width: 600px) {
  .guarantees__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .guarantees__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ============================================================
   06_QUIZ
   ============================================================ */
.quiz {
  background: var(--bg-2);
  padding: 80px 0;
}

.quiz__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.quiz__form-block {
  background: var(--bg-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* Step nav */
.quiz__steps-nav {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
}
.quiz__step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.quiz__step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.quiz__step-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.quiz__step-dot--active .quiz__step-num {
  background: rgba(68, 204, 68, 0.12);
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 12px var(--green-glow);
}
.quiz__step-dot--done .quiz__step-num {
  background: var(--green);
  border-color: var(--green);
  color: #000;
}
.quiz__step-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0 6px;
  margin-bottom: 18px;
  transition: background 0.3s;
}
.quiz__step-line.done { background: var(--green); }

/* Слайды */
.quiz__slide { display: none; }
.quiz__slide--active { display: block; }

.quiz__slide-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.quiz__slide-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.quiz__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.quiz__option { cursor: pointer; }
.quiz__option input { display: none; }
.quiz__option-label {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  background: rgba(255,255,255,0.02);
}
.quiz__option-label:hover {
  border-color: var(--green-border);
  background: rgba(68, 204, 68, 0.05);
}
.quiz__option input:checked + .quiz__option-label {
  border-color: var(--green);
  background: rgba(68, 204, 68, 0.1);
  color: var(--white);
  box-shadow: 0 0 16px var(--green-glow);
}

.quiz__nav { display: flex; gap: 12px; align-items: center; }
.quiz__nav--back { margin-top: 14px; }

.quiz__fields { display: grid; gap: 16px; margin-bottom: 24px; }
.quiz__field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.quiz__input {
  width: 100%;
  padding: 13px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quiz__input::placeholder { color: var(--text-muted); }
.quiz__input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 12px var(--green-glow);
}

.quiz__submit { width: 100%; padding: 16px; font-size: 1rem; }
.quiz__privacy {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}
.quiz__privacy a { color: var(--text-muted); text-decoration: underline; }

.quiz__thankyou { display: none; text-align: center; padding: 36px 20px; }
.quiz__thankyou--visible { display: block; }
.quiz__thankyou-icon { font-size: 3rem; margin-bottom: 16px; }
.quiz__thankyou h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.quiz__thankyou p { color: var(--text-muted); }
.quiz__thankyou a { color: var(--green); }

/* Aside */
.quiz__aside {
  background: var(--bg-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.quiz__aside-item { margin-bottom: 20px; }
.quiz__aside-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.quiz__aside-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.quiz__aside-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 20px 0;
}
.quiz__aside-price { margin-top: 4px; }
.quiz__aside-price .quiz__aside-label {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.quiz__aside-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.875rem;
}
.quiz__aside-price-row:last-child { border-bottom: none; }
.quiz__aside-price-row span { color: var(--text-muted); }
.quiz__aside-price-row strong { color: var(--green); font-size: 1rem; font-weight: 700; }

@media (min-width: 480px) {
  .quiz__options { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .quiz__wrapper { grid-template-columns: 2fr 1fr; gap: 40px; }
  .quiz__aside   { position: sticky; top: 90px; }
  .quiz__form-block { padding: 40px; }
}

/* ============================================================
   07_FOOTER
   ============================================================ */
.footer__top {
  background: var(--bg-surface);
  border-top: 1px solid var(--green-border);
  padding: 60px 0;
}
.footer__top-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.footer__logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer__tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 12px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.footer__social { display: flex; gap: 12px; margin-top: 4px; }
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer__social-link:hover {
  background: rgba(68,204,68,0.15);
  border-color: rgba(68,204,68,0.4);
  color: var(--green);
}

.footer__nav-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.footer__nav-list { list-style: none; }
.footer__nav-list li { margin-bottom: 10px; }
.footer__nav-list a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer__nav-list a:hover { color: var(--white); }

.footer__contacts address { font-style: normal; }
.footer__contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer__contact-icon { flex-shrink: 0; }
.footer__contact-item a { color: var(--text-muted); transition: color 0.2s; }
.footer__contact-item a:hover { color: var(--green); }

.footer__requisites p {
  color: rgba(196, 220, 196, 0.3);
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.footer__bottom {
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer__copy { color: rgba(255,255,255,0.25); font-size: 0.8rem; }
.footer__docs { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer__docs a { color: rgba(255,255,255,0.25); font-size: 0.8rem; transition: color 0.2s; }
.footer__docs a:hover { color: var(--green); }

@media (min-width: 600px) {
  .footer__top-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer__top-inner { grid-template-columns: repeat(4, 1fr); gap: 48px; }
  .footer__bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer__docs { justify-content: flex-end; }
}

/* ============================================================
   УТИЛИТЫ
   ============================================================ */
.pt-0 { padding-top: 0 !important; }

/* ============================================================
   ПРЕЛОАДЕР
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* Фоновый паттерн на прелоадере */
.preloader::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(68, 204, 68, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 204, 68, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Радиальное свечение за логотипом */
.preloader::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(68, 204, 68, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.preloader.hidden {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.preloader__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.preloader__logo {
  height: 90px;
  width: auto;
  margin: 0 auto 36px;
  filter: drop-shadow(0 0 24px rgba(68, 204, 68, 0.5));
  animation: preloaderLogo 0.7s var(--ease) both;
}

@keyframes preloaderLogo {
  from { opacity: 0; transform: scale(0.75); filter: drop-shadow(0 0 0px transparent); }
  to   { opacity: 1; transform: scale(1);    filter: drop-shadow(0 0 24px rgba(68, 204, 68, 0.5)); }
}

.preloader__bar {
  width: 220px;
  height: 2px;
  background: rgba(68, 204, 68, 0.12);
  border-radius: 2px;
  margin: 0 auto 18px;
  overflow: hidden;
  position: relative;
}

.preloader__fill {
  height: 100%;
  width: 0%;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.12s linear;
  box-shadow: 0 0 12px rgba(68, 204, 68, 0.8);
  position: relative;
}

/* Бегущий блик на конце полоски */
.preloader__fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 0.8s infinite;
}

@keyframes shimmer {
  from { transform: translateX(-40px); }
  to   { transform: translateX(40px); }
}

.preloader__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeIn 0.6s 0.3s both;
}

/* ============================================================
   ПРОГРЕСС СКРОЛЛА
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 1000;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  box-shadow: 0 0 8px rgba(68, 204, 68, 0.7);
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ============================================================
   QUICK FORM (футер + другие места)
   ============================================================ */
.quick-form { margin-top: 20px; }
.quick-form__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.quick-form__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.quick-form__input {
  flex: 1;
  min-width: 140px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.quick-form__input:focus { border-color: var(--green); }
.quick-form__input::placeholder { color: rgba(255,255,255,0.3); }
.quick-form__btn {
  background: var(--green);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.1s;
}
.quick-form__btn:hover { opacity: 0.88; }
.quick-form__btn:active { transform: scale(0.97); }
.quick-form__hint {
  margin-top: 8px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  line-height: 1.4;
}
.quick-form__hint a { color: rgba(255,255,255,0.3); text-decoration: underline; }
.quick-form__thanks {
  color: var(--green);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 0;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  padding: 20px;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: #0f1a11;
  border: 1px solid rgba(68,204,68,0.18);
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 420px;
  width: 100%;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}
.modal__close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.modal__close:hover { color: var(--white); }
.modal__icon { font-size: 2rem; margin-bottom: 12px; }
.modal__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.modal__sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.modal__form .quick-form__field { margin-bottom: 12px; }
.modal__form .quick-form__input {
  width: 100%;
  box-sizing: border-box;
}
.modal__submit { width: 100%; margin-top: 8px; padding: 14px; font-size: 1rem; }

/* btn-outline (для hero) */
.btn-outline {
  background: transparent;
  border: 1px solid rgba(68,204,68,0.4);
  color: var(--green);
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover {
  background: rgba(68,204,68,0.08);
  border-color: var(--green);
}

/* ============================================================
   КАК МЫ РАБОТАЕМ
   ============================================================ */
.howwework { padding: 80px 0; }
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 48px 0 40px;
}
.step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: border-color 0.3s;
}
.step:hover { border-color: rgba(68,204,68,0.3); }
.step__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--green);
  opacity: 0.35;
  line-height: 1;
  min-width: 52px;
  transition: opacity 0.3s;
}
.step:hover .step__num { opacity: 0.8; }
.step__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.step__text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.step__arrow {
  text-align: center;
  color: rgba(68,204,68,0.3);
  font-size: 1.4rem;
  padding: 4px 0;
  display: none;
}
.howwework__cta { text-align: center; }

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
  .step {
    flex: 1;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .step__arrow { display: block; padding: 40px 8px 0; flex-shrink: 0; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 80px 0; }
.faq__list { max-width: 800px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item.is-open { border-color: rgba(68,204,68,0.3); }
.faq__q {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}
.faq__q:hover { background: rgba(255,255,255,0.06); }
.faq__icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--green);
  transition: transform 0.25s;
  line-height: 1;
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
}
.faq__item.is-open .faq__a { max-height: 300px; }
.faq__a p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================================
   ПЛАВАЮЩАЯ КНОПКА (мобильный)
   ============================================================ */
.float-call {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  background: var(--green);
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 24px rgba(68,204,68,0.35);
  animation: pulseGlow 2.5s infinite;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .float-call { display: flex; }
}
