/* ===== PALETTE ===== */
:root {
  --bg: #0C0F16;
  --surface: #151B28;
  --text: #EEF3FA;
  --muted: #909BAB;
  --accent: #4D9FFF;
  --accent-2: #6B5FFF;
  --accent-rgb: 77, 159, 255;
  --accent-2-rgb: 107, 95, 255;
  --on-accent: #0C0F16;
}

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

html, body {
  height: 100vh;
  overflow: hidden;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO ===== */
.hero-screen {
  display: flex;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

.hero-visual {
  position: relative;
  width: 72%;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-slider { position: absolute; inset: 0; }
.hero-slider--mobile { display: none; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: breatheZoom 14s ease-in-out infinite alternate;
}

.hero-slide:not(.active) img { animation: none; }

@keyframes breatheZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12, 15, 22, 0.7) 0%,
    rgba(12, 15, 22, 0.3) 45%,
    rgba(21, 27, 40, 0.75) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-footer-bar {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-requisites {
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: rgba(12, 15, 22, 0.92);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  border-radius: 2px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn-requisites:hover {
  color: #fff;
  border-color: rgba(var(--accent-rgb), 0.7);
  background: rgba(18, 24, 36, 0.96);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.2);
}

.hero-legal {
  font-size: 11px;
  color: rgba(144, 155, 171, 0.7);
  letter-spacing: 0.03em;
}

/* ===== YANDEX RATING BADGE ===== */
.yandex-rating {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  padding: 8px 10px 7px;
  background: #F5F5F5;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  max-width: 200px;
  line-height: 1.2;
}

.yandex-rating-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
}

.yandex-pin {
  flex-shrink: 0;
}

.yandex-rating-value {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #212121;
  letter-spacing: -0.02em;
}

.yandex-stars {
  display: flex;
  align-items: center;
  gap: 1px;
}

.yandex-stars > svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.yandex-star-partial {
  position: relative;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.yandex-star-partial::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #F5F5F5;
  left: var(--fill, 50%);
  right: 0;
}

.yandex-star-partial svg {
  width: 13px;
  height: 13px;
  display: block;
}

.yandex-rating-label {
  display: block;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 9px;
  font-weight: 400;
  color: #666;
  line-height: 1.25;
}

/* ===== PANEL ===== */
.hero-panel {
  position: relative;
  width: 28%;
  height: 100%;
  background: var(--surface);
  flex-shrink: 0;
  overflow: hidden;
}

.panel-glow-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(var(--accent-rgb), 0.5) 30%,
    rgba(var(--accent-2-rgb), 0.4) 70%,
    transparent 100%
  );
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.35);
}

.panel-inner {
  height: 100%;
  padding: 32px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  transform: translateX(20px);
  opacity: 0;
}

.panel-brand { opacity: 0; }

.brand-logo {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.brand-tag {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.panel-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 27px;
  line-height: 1.22;
  color: var(--text);
  opacity: 0;
}

.panel-title-gold {
  display: inline-block;
  background: linear-gradient(
    90deg,
    #B86E28 0%,
    #D88732 18%,
    #F4C97A 38%,
    #FFE8B8 50%,
    #F4C97A 62%,
    #D88732 82%,
    #B86E28 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGoldShimmer 4s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(216, 135, 50, 0.25));
}

@keyframes titleGoldShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.panel-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  opacity: 0;
}

.panel-directions {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
}

.panel-directions li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.dir-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.5);
  flex-shrink: 0;
}

/* ===== DISCOUNT ===== */
.discount-widget {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 4px;
  opacity: 0;
}

.discount-icon {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: var(--accent);
}

.discount-icon--diff .diff-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.discount-icon--diff .diff-gear {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
}

.discount-badge--inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 26px;
  padding: 0 8px;
  margin: 0 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  background: #8F1D1D;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(143, 29, 29, 0.45);
  transform: translateY(-1px);
}

.icon-spin {
  animation: gearSpin 6s linear infinite;
  transform-origin: center;
}

@keyframes gearSpin {
  to { transform: rotate(360deg); }
}

.discount-icon--diff .diff-ring {
  animation: diffRingPulse 3s ease-in-out infinite;
}

@keyframes diffRingPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.04); }
}

.discount-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.35;
}

.discount-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.countdown-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.countdown-capsule {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(12, 15, 22, 0.8);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 20px;
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.1);
}

.countdown-timer {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.countdown-timer.flicker {
  animation: secFlicker 0.15s ease;
}

@keyframes secFlicker {
  0% { opacity: 0.4; text-shadow: none; }
  50% { opacity: 1; text-shadow: 0 0 8px rgba(var(--accent-rgb), 0.6); }
  100% { opacity: 1; }
}

/* ===== CTA ===== */
.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: rgba(12, 15, 22, 0.6);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  border-radius: 2px;
  box-shadow: inset 0 0 20px rgba(var(--accent-rgb), 0.06), 0 0 12px rgba(var(--accent-rgb), 0.08);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  opacity: 0;
}

.btn-cta:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.35);
}

.btn-cta-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-arrow, .btn-gear { width: 16px; height: 16px; flex-shrink: 0; }
.btn-cta:hover .btn-gear.icon-spin { animation-duration: 1.2s; }

.btn-cta--section { max-width: 300px; }

.cta-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  opacity: 0;
}

/* ===== MINI FEATURES ===== */
.mini-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
}

.mini-feature {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mini-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  color: var(--accent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.08);
}

.mini-feature-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.25;
}

.mini-feature-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.mini-feature-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
  background: var(--bg);
}

.section:nth-child(even) { background: var(--surface); }

.section-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 14px;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
}

/* Process line */
.process-line {
  position: relative;
  margin-bottom: 36px;
}

.process-track {
  position: absolute;
  left: 18px;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.35);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 0;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-left: 48px;
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.4);
}

.process-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.6;
  flex-shrink: 0;
  width: 24px;
}

.process-body h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.process-body p {
  font-size: 12px;
  color: var(--muted);
}

.btn-outline {
  display: inline-flex;
  padding: 11px 24px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: 2px;
  transition: background 0.3s, box-shadow 0.3s;
}

.btn-outline:hover {
  background: rgba(var(--accent-rgb), 0.08);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.12);
}

/* Numbered cards */
.numbered-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.num-card {
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 2px;
  transition: border-color 0.3s;
}

.num-card:hover {
  border-left-color: var(--accent);
}

.num-card-index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: rgba(var(--accent-rgb), 0.5);
  display: block;
  margin-bottom: 8px;
}

.num-card h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.num-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
}

/* Route map */
.route-map {
  max-width: 320px;
  margin: 0 auto 40px;
}

.route-node {
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: 2px;
}

.route-node--final {
  border-color: rgba(var(--accent-2-rgb), 0.3);
  color: var(--accent);
}

.route-connector {
  width: 2px;
  height: 20px;
  margin: 0 auto;
  background: rgba(var(--accent-rgb), 0.35);
}

.route-cta {
  text-align: center;
}

.route-cta p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.route-cta .btn-cta {
  margin: 0 auto;
  opacity: 1;
}

/* Footer */
.footer {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}

.footer-link {
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

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

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 15, 22, 0.75);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 4px;
  padding: 28px 24px;
  transform: scale(0.94);
  opacity: 0;
}

.modal--requisites { max-width: 500px; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  font-size: 20px;
  color: var(--muted);
  border-radius: 2px;
  transition: color 0.3s, background 0.3s;
}

.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.modal-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 18px;
  padding-right: 28px;
}

.requisites-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 14px;
  font-size: 11px;
}

.requisites-list dt { color: var(--muted); white-space: nowrap; }
.requisites-list dd { color: var(--text); line-height: 1.5; }

/* ===== QUIZ ===== */
.modal--quiz {
  max-width: 460px;
  padding: 22px 20px;
}

.quiz-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 12px;
}

.quiz-tab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  color: rgba(144, 155, 171, 0.4);
  padding: 4px 8px;
  transition: color 0.3s;
}

.quiz-tab.active { color: var(--accent); }

.quiz-tab-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 4px;
}

.quiz-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.4s ease;
}

.quiz-error {
  margin-bottom: 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #FFB4B4;
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 100, 100, 0.35);
  border-radius: 4px;
}

.quiz-error.hidden {
  display: none;
}

.quiz-step { display: none; }
.quiz-step.active { display: block; }

.quiz-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 26px;
  margin-bottom: 12px;
  line-height: 1.25;
}

.quiz-subtitle {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.55;
}

.form-group { margin-bottom: 14px; }

.form-group label,
.form-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #D5DDE6;
  margin-bottom: 9px;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 15px 17px;
  font-size: 17px;
  color: var(--text);
  background: rgba(12, 15, 22, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: rgba(var(--accent-rgb), 0.5);
}

.form-group input::placeholder {
  font-size: 16px;
  color: rgba(144, 155, 171, 0.5);
}

.radio-group { display: flex; flex-direction: column; gap: 5px; }

.radio-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.radio-row input { position: absolute; opacity: 0; pointer-events: none; }

.radio-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: 2px solid rgba(var(--accent-rgb), 0.35);
  background: rgba(12, 15, 22, 0.6);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.radio-check-icon {
  width: 11px;
  height: 11px;
  color: var(--bg);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.2s;
}

.radio-label {
  flex: 1;
  min-width: 0;
  line-height: 1.2;
  color: var(--text);
  text-align: left;
}

.quiz-step[data-step="3"] .quiz-title {
  font-size: 22px;
  margin-bottom: 6px;
}

.quiz-step[data-step="3"] .quiz-subtitle {
  font-size: 13px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.quiz-step[data-step="3"] .form-group {
  margin-bottom: 8px;
}

.quiz-step[data-step="3"] .form-group label,
.quiz-step[data-step="3"] .form-group .form-label {
  font-size: 13px;
  margin-bottom: 5px;
}

.quiz-step[data-step="3"] .form-group input[type="text"],
.quiz-step[data-step="3"] .form-group input[type="tel"] {
  padding: 10px 12px;
  font-size: 15px;
}

.quiz-step[data-step="3"] .form-group input::placeholder {
  font-size: 14px;
}

.quiz-step[data-step="3"] .radio-group {
  gap: 4px;
}

.quiz-step[data-step="3"] .radio-row {
  padding: 6px 9px;
  gap: 8px;
}

.quiz-step[data-step="3"] .radio-check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.quiz-step[data-step="3"] .radio-check-icon {
  width: 10px;
  height: 10px;
}

.quiz-step[data-step="3"] .radio-label {
  font-size: 12px;
  line-height: 1.15;
}

.quiz-step[data-step="3"] .messenger-group {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.quiz-step[data-step="3"] .messenger-card {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 6px 8px;
}

.quiz-step[data-step="3"] .messenger-icon,
.quiz-step[data-step="3"] .messenger-icon--max {
  width: 22px;
  height: 22px;
}

.quiz-step[data-step="3"] .messenger-icon img {
  width: 14px;
  height: 14px;
}

.quiz-step[data-step="3"] .messenger-icon--max img {
  width: 22px;
  height: 22px;
}

.quiz-step[data-step="3"] .messenger-label {
  width: auto;
  flex: 1;
  text-align: left;
  font-size: 11px;
  line-height: 1.1;
}

.quiz-step[data-step="3"] .quiz-nav {
  margin-top: 10px;
}

.quiz-step[data-step="3"] .btn-quiz-next,
.quiz-step[data-step="3"] .btn-quiz-submit,
.quiz-step[data-step="3"] .btn-quiz-back {
  padding: 11px 14px;
  font-size: 14px;
}

.radio-row:has(input:checked) {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.1);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.12);
}

.radio-row:has(input:checked) .radio-check {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.45);
}

.radio-row:has(input:checked) .radio-check-icon {
  opacity: 1;
  transform: scale(1);
}

/* Messengers */
.messenger-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.messenger-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  color: var(--muted);
}

.messenger-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.messenger-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.messenger-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.messenger-icon--max {
  background: transparent;
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
}

.messenger-icon--max img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.messenger-label {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.messenger-card:has(input:checked) {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.1);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.15);
}

.messenger-card:has(input:checked) .messenger-icon:not(.messenger-icon--max) {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.12);
}

.messenger-card:has(input:checked) .messenger-icon--max img {
  box-shadow: 0 0 12px rgba(155, 77, 255, 0.45);
}

.messenger-card:has(input:checked) .messenger-label {
  color: var(--text);
}

.messenger-username.hidden { display: none; }

.quiz-nav {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.btn-quiz-next,
.btn-quiz-submit {
  flex: 1;
  padding: 15px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border-radius: 2px;
  transition: box-shadow 0.3s;
}

.btn-quiz-next:hover,
.btn-quiz-submit:hover {
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.4);
}

.btn-quiz-back {
  padding: 15px 22px;
  font-size: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.btn-quiz-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== THANKS ===== */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}

.thanks-card {
  position: relative;
  max-width: 400px;
  width: 100%;
  padding: 44px 32px;
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.thanks-light-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.thanks-icon-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
}

.thanks-ring {
  width: 72px;
  height: 72px;
}

.thanks-ring circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
}

.thanks-check-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.thanks-check-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.thanks-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.thanks-mini-gear {
  width: 18px;
  height: 18px;
  color: var(--accent);
  opacity: 0;
}

.thanks-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  opacity: 0;
}

.thanks-subtitle {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 14px;
  opacity: 0;
}

.thanks-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 26px;
  opacity: 0;
}

.thanks-btn {
  display: inline-flex;
  padding: 11px 26px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border-radius: 2px;
  text-decoration: none;
  opacity: 0;
  transition: box-shadow 0.3s;
}

.thanks-btn:hover {
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.35);
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  html, body {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .hero-screen {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
  }

  .hero-visual {
    width: 100%;
    height: 70vh;
    min-height: 70vh;
    flex-shrink: 0;
    overflow: hidden;
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none;
    animation: none;
  }

  .yandex-rating {
    right: 10px;
    bottom: 10px;
    padding: 6px 8px 5px;
    max-width: 168px;
  }

  .yandex-rating-value { font-size: 12px; }

  .yandex-stars > svg,
  .yandex-star-partial,
  .yandex-star-partial svg {
    width: 11px;
    height: 11px;
  }

  .yandex-rating-label { font-size: 8px; }

  .hero-slider--desktop { display: none; }
  .hero-slider--mobile { display: block; }

  .hero-panel {
    width: 100%;
    height: auto;
    flex: none;
    min-height: 0;
    overflow: visible;
  }

  .panel-inner {
    height: auto;
    padding: 16px 16px 24px;
    gap: 10px;
    transform: none;
    opacity: 1;
  }

  .panel-brand, .panel-title, .panel-desc,
  .panel-directions, .discount-widget,
  .btn-cta, .cta-note, .mini-features {
    opacity: 1;
  }

  .panel-title { font-size: 18px; }
  .panel-desc { font-size: 11px; }
  .countdown-timer { font-size: 22px; }
}

@media (max-width: 540px) {
  .messenger-group {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .messenger-card {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 12px;
  }

  .messenger-label {
    text-align: left;
    width: auto;
    flex: 1;
  }

  .messenger-icon,
  .messenger-icon--max {
    width: 28px;
    height: 28px;
  }

  .messenger-icon img {
    width: 16px;
    height: 16px;
  }

  .messenger-icon--max img {
    width: 28px;
    height: 28px;
  }
}

@media (max-height: 820px) {
  .panel-inner {
    padding: 22px 18px 24px;
    gap: 10px;
  }

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

  .panel-desc {
    font-size: 13px;
  }

  .discount-text { margin-bottom: 6px; }
  .mini-features { gap: 8px; }
}
