/* ===== RESET & 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: #F4F1EA;
  background: #090A0C;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
}

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

/* ===== HERO SCREEN ===== */
.hero-screen {
  display: flex;
  height: 100vh;
  max-height: 100vh;
  position: relative;
  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;
  transition: opacity 1.2s ease;
}

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

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

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

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9, 10, 12, 0.55) 0%,
    rgba(9, 10, 12, 0.25) 50%,
    rgba(9, 10, 12, 0.65) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.btn-requisites {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 10;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #E8E4DE;
  background: rgba(17, 19, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.btn-requisites:hover {
  color: #F4F1EA;
  border-color: rgba(216, 135, 50, 0.55);
  background: rgba(30, 24, 18, 0.96);
}

/* ===== 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;
}

/* ===== HERO PANEL ===== */
.hero-panel {
  width: 28%;
  height: 100%;
  background: #111318;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  flex-shrink: 0;
}

.panel-inner {
  height: 100%;
  padding: 28px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  padding-top: 32px;
}

.panel-brand {
  opacity: 0;
}

.brand-logo {
  font-family: 'Geologica', 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #D88732;
  line-height: 1.3;
}

.brand-tag {
  font-size: 12px;
  color: #A7A7A7;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.panel-title {
  font-family: 'Geologica', 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 27px;
  line-height: 1.22;
  color: #F4F1EA;
  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: #A7A7A7;
  line-height: 1.5;
  opacity: 0;
}

.panel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  opacity: 0;
}

.badge {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: #A7A7A7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

/* ===== DISCOUNT WIDGET ===== */
.discount-widget {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(216, 135, 50, 0.15);
  border-radius: 8px;
  margin-top: 4px;
  opacity: 0;
}

.discount-icon {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: #D88732;
}

.discount-icon .icon-spin {
  width: 100%;
  height: 100%;
}

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

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

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

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

.discount-text {
  font-size: 12px;
  color: #A7A7A7;
  line-height: 1.5;
  margin-bottom: 10px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.countdown-label {
  font-size: 11px;
  color: #A7A7A7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.countdown-timer {
  font-family: 'Geologica', monospace;
  font-weight: 800;
  font-size: 22px;
  color: #D88732;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

/* ===== CTA BUTTON ===== */
.btn-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #090A0C;
  background: #D88732;
  border-radius: 6px;
  transition: box-shadow 0.3s, transform 0.2s;
  opacity: 0;
  overflow: visible;
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 8px;
  border: 1px solid rgba(216, 135, 50, 0.5);
  animation: pulseBorder 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseBorder {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.btn-cta:hover {
  box-shadow: 0 0 24px rgba(216, 135, 50, 0.45);
  transform: translateY(-1px);
}

.btn-cta-gear {
  display: flex;
  width: 18px;
  height: 18px;
}

.btn-cta-gear svg {
  width: 100%;
  height: 100%;
}

.btn-cta-gear .icon-spin {
  animation-duration: 6s;
}

.btn-cta:hover .btn-cta-gear .icon-spin {
  animation-duration: 1.5s;
}

.btn-cta--inline {
  max-width: 320px;
}

.cta-note {
  font-size: 12px;
  color: #A7A7A7;
  text-align: center;
  opacity: 0;
}

/* ===== MINI FEATURES ===== */
.mini-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  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(216, 135, 50, 0.12);
  border: 1px solid rgba(216, 135, 50, 0.28);
  color: #E8A855;
  box-shadow: 0 0 14px rgba(216, 135, 50, 0.08);
}

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

.mini-feature-icon--vin {
  font-family: 'Geologica', 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

.mini-feature-title {
  font-size: 12px;
  font-weight: 600;
  color: #F4F1EA;
  margin-bottom: 3px;
}

.mini-feature-text {
  font-size: 12px;
  color: #A7A7A7;
  line-height: 1.45;
}

/* ===== SECTIONS ===== */
.section {
  padding: 72px 0;
  background: #090A0C;
}

.section:nth-child(even) {
  background: #111318;
}

.section-title {
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 12px;
  color: #F4F1EA;
}

.section-desc {
  font-size: 14px;
  color: #A7A7A7;
  max-width: 600px;
  margin-bottom: 36px;
}

/* Service cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  transition: border-color 0.3s;
}

.service-card:hover {
  border-color: rgba(216, 135, 50, 0.2);
}

.service-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #D88732;
  margin-bottom: 6px;
}

.service-card p {
  font-size: 12px;
  color: #A7A7A7;
  line-height: 1.5;
}

/* Delivery flow */
.delivery-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.delivery-step {
  font-size: 12px;
  font-weight: 600;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  white-space: nowrap;
}

.delivery-arrow {
  width: 32px;
  height: 2px;
  background: #D88732;
  position: relative;
  flex-shrink: 0;
  transform-origin: left center;
  transform: scaleX(0);
}

.delivery-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: #D88732;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  color: #F4F1EA;
  background: transparent;
  border: 1px solid rgba(216, 135, 50, 0.4);
  border-radius: 6px;
  transition: background 0.3s, border-color 0.3s;
}

.btn-secondary:hover {
  background: rgba(216, 135, 50, 0.1);
  border-color: #D88732;
}

/* Benefits */
.benefits-list {
  list-style: none;
  margin-bottom: 48px;
}

.benefits-list li {
  font-size: 14px;
  color: #A7A7A7;
  padding: 8px 0 8px 20px;
  position: relative;
}

.benefits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #D88732;
  border-radius: 50%;
}

.final-cta {
  padding: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(216, 135, 50, 0.15);
  border-radius: 10px;
}

.final-cta h3 {
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 8px;
}

.final-cta p {
  font-size: 13px;
  color: #A7A7A7;
  margin-bottom: 20px;
}

/* 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: 12px;
  color: #A7A7A7;
}

.footer-link {
  color: #A7A7A7;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #D88732;
}

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

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

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px 28px;
  transform: scale(0.92);
  opacity: 0;
}

.modal-overlay.active .modal {
  transform: scale(1);
  opacity: 1;
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #A7A7A7;
  border-radius: 6px;
  transition: color 0.3s, background 0.3s;
}

.modal-close:hover {
  color: #F4F1EA;
  background: rgba(255, 255, 255, 0.06);
}

.modal-title {
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
  padding-right: 32px;
}

/* Requisites */
.requisites-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 12px;
}

.requisites-list dt {
  color: #A7A7A7;
  white-space: nowrap;
}

.requisites-list dd {
  color: #F4F1EA;
  line-height: 1.5;
}

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

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

.quiz-progress-bar {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, #D88732, #8F1D1D);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.quiz-step-label {
  font-size: 14px;
  color: #A7A7A7;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.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: 6px;
}

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

.quiz-step {
  display: none;
}

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

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

.quiz-subtitle {
  font-size: 16px;
  color: #A7A7A7;
  margin-bottom: 24px;
  line-height: 1.55;
}

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

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

.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 15px 17px;
  font-size: 17px;
  color: #F4F1EA;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: rgba(216, 135, 50, 0.5);
}

.form-group input::placeholder {
  font-size: 16px;
  color: rgba(167, 167, 167, 0.55);
}

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

.radio-card {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  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;
  font-size: 13px;
  line-height: 1.25;
}

.radio-card input {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #D88732;
}

.radio-card:has(input:checked) {
  border-color: rgba(216, 135, 50, 0.5);
  background: rgba(216, 135, 50, 0.08);
}

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

.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-card {
  padding: 6px 9px;
  gap: 8px;
  font-size: 12px;
  line-height: 1.15;
}

.quiz-step[data-step="3"] .radio-card input {
  width: 13px;
  height: 13px;
}

.quiz-step[data-step="3"] .radio-card span {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.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;
}

.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: 8px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  color: #A7A7A7;
}

.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: #A7A7A7;
}

.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: #D88732;
  background: linear-gradient(135deg, rgba(216, 135, 50, 0.15), rgba(143, 29, 29, 0.1));
  box-shadow: 0 0 12px rgba(216, 135, 50, 0.15);
}

.messenger-card:has(input:checked) .messenger-icon:not(.messenger-icon--max) {
  border-color: rgba(216, 135, 50, 0.45);
  background: rgba(216, 135, 50, 0.1);
}

.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: #F4F1EA;
}

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

.quiz-nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.btn-quiz-next,
.btn-quiz-submit {
  flex: 1;
  padding: 15px 22px;
  font-size: 16px;
  font-weight: 600;
  color: #090A0C;
  background: #D88732;
  border-radius: 6px;
  transition: box-shadow 0.3s;
}

.btn-quiz-next:hover,
.btn-quiz-submit:hover {
  box-shadow: 0 0 16px rgba(216, 135, 50, 0.4);
}

.btn-quiz-back {
  padding: 15px 22px;
  font-size: 16px;
  font-weight: 500;
  color: #A7A7A7;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  transition: color 0.3s;
}

.btn-quiz-back:hover {
  color: #F4F1EA;
}

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

/* ===== REVEAL (initial state for GSAP) ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}

/* ===== THANKS PAGE ===== */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #090A0C;
}

.thanks-card {
  position: relative;
  max-width: 420px;
  width: 100%;
  padding: 48px 36px;
  text-align: center;
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.thanks-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  border: 1px solid rgba(216, 135, 50, 0.4);
  animation: pulseBorder 2.5s ease-in-out infinite;
  pointer-events: none;
}

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

.thanks-gear {
  width: 56px;
  height: 56px;
  color: #D88732;
  transform-origin: center;
}

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

.thanks-check svg {
  width: 36px;
  height: 36px;
  color: #D88732;
}

.thanks-title {
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 12px;
  opacity: 0;
}

.thanks-subtitle {
  font-size: 15px;
  color: #D88732;
  margin-bottom: 16px;
  opacity: 0;
}

.thanks-text {
  font-size: 13px;
  color: #A7A7A7;
  line-height: 1.6;
  margin-bottom: 28px;
  opacity: 0;
}

.thanks-btn {
  display: inline-flex;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  color: #090A0C;
  background: #D88732;
  border-radius: 6px;
  text-decoration: none;
  transition: box-shadow 0.3s;
  opacity: 0;
}

.thanks-btn:hover {
  box-shadow: 0 0 20px rgba(216, 135, 50, 0.4);
}

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

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

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

  .discount-widget {
    padding: 12px;
  }

  .discount-text {
    margin-bottom: 6px;
  }

  .countdown-timer {
    font-size: 18px;
  }

  .mini-features {
    gap: 8px;
  }
}

/* ===== 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;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

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

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

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

  .countdown-timer {
    font-size: 24px;
  }

  .discount-widget {
    padding: 12px;
  }

  .mini-features {
    gap: 8px;
  }

  .mini-feature-text {
    display: none;
  }
}

@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;
  }
}
