:root {
  --rtk-purple: #7c18ff;
  --rtk-purple-dark: #5f00d1;
  --rtk-orange: #ff6a00;
  --rtk-bg: #f6f7fb;
  --rtk-text: #1f2330;
  --rtk-muted: #6e7485;
  --rtk-border: #e6e8f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--rtk-text);
  background: var(--rtk-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--rtk-border);
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--rtk-orange), var(--rtk-purple));
  display: inline-block;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.brand-text {
  color: #47229e;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.phone-link {
  color: #2e3448;
  font-weight: 700;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.phone-note {
  font-size: 0.78rem;
  color: var(--rtk-muted);
  font-weight: 600;
  line-height: 1.2;
}

.phone-note-accent {
  color: #4a4f60;
}

.hero-section {
  padding: 3rem 0 2.5rem;
}

.hero-content {
  background: linear-gradient(155deg, #6000cc 0%, #8f2dff 55%, #b445ff 100%);
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 18px 45px rgba(75, 11, 160, 0.35);
}

.hero-title {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.1;
  font-weight: 800;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.03rem;
}

.hero-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.quiz-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid var(--rtk-border);
  box-shadow: 0 10px 35px rgba(25, 29, 40, 0.08);
}

.quiz-offer-title {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
}

.progress-thin {
  height: 8px;
  background-color: #ebeef8;
  border-radius: 99px;
}

.progress-thin .progress-bar {
  background: linear-gradient(90deg, var(--rtk-orange), var(--rtk-purple));
  border-radius: 99px;
  transition: width 0.25s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.quiz-option {
  border: 1px solid var(--rtk-border);
  border-radius: 14px;
  background: #fff;
  color: var(--rtk-text);
  font-weight: 600;
  min-height: 56px;
  padding: 0.7rem 0.9rem;
  transition: all 0.2s ease;
}

.quiz-option:hover {
  border-color: #bf99ff;
  background: #f8f2ff;
}

.quiz-option.selected {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, var(--rtk-orange), var(--rtk-purple));
}

.form-control {
  border-color: var(--rtk-border);
}

.form-control:focus {
  border-color: #b57dff;
  box-shadow: 0 0 0 0.2rem rgba(124, 24, 255, 0.15);
}

.btn-primary {
  --bs-btn-bg: #ff6a00;
  --bs-btn-border-color: #ff6a00;
  --bs-btn-hover-bg: #ea6200;
  --bs-btn-hover-border-color: #ea6200;
  --bs-btn-active-bg: #d25800;
  --bs-btn-active-border-color: #d25800;
  --bs-btn-disabled-bg: #ffb17a;
  --bs-btn-disabled-border-color: #ffb17a;
  font-weight: 700;
  border-radius: 14px;
}

.btn:disabled,
.btn.disabled {
  cursor: not-allowed;
}

.btn-outline-primary {
  --bs-btn-color: #7c18ff;
  --bs-btn-border-color: #7c18ff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #7c18ff;
  --bs-btn-hover-border-color: #7c18ff;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #5f00d1;
  --bs-btn-active-border-color: #5f00d1;
  --bs-btn-disabled-color: #b9a0e7;
  --bs-btn-disabled-border-color: #b9a0e7;
  border-radius: 14px;
  font-weight: 700;
}

.hero-call-btn {
  border-radius: 14px;
  font-weight: 700;
  color: #321b68;
  text-align: center;
  line-height: 1.2;
}

.hero-call-btn:hover {
  color: #321b68;
}

.hero-call-label,
.hero-call-number {
  display: block;
}

.hero-call-label {
  font-size: 0.95rem;
}

.hero-call-number {
  font-size: 1.12rem;
  margin-top: 0.2rem;
}

.hero-actions .btn {
  flex: 1 1 auto;
}

.success-box {
  padding: 1.75rem 1rem;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto;
  font-size: 1.4rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(130deg, var(--rtk-orange), var(--rtk-purple));
}

.support-card {
  background: #fff;
  border: 1px solid var(--rtk-border);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(25, 29, 40, 0.05);
}

.support-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6e7485;
}

.support-label-badge {
  background: #fff;
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  color: #241a4b;
  letter-spacing: 0.01em;
}

.support-phone {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: linear-gradient(130deg, var(--rtk-orange), var(--rtk-purple));
  border-radius: 14px;
  padding: 0.8rem 1rem;
  white-space: nowrap;
}

.support-phone:hover {
  color: #fff;
  opacity: 0.95;
}

.phone-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  text-align: right;
}

.cta-connect-actions {
  width: auto;
}

.cta-connect-card .btn {
  white-space: nowrap;
}

.cta-connect-card {
  background: #d7d0e6;
  border-color: #c7bddb;
  box-shadow: 0 14px 32px rgba(80, 61, 120, 0.18);
}

.cta-connect-card .support-label {
  color: #61587a;
}

.cta-connect-card h2,
.cta-connect-card .text-secondary {
  color: #1f2330 !important;
}

.cta-connect-card .btn-primary {
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-bg: #f4f4f4;
  --bs-btn-hover-border-color: #f4f4f4;
  --bs-btn-active-bg: #ececec;
  --bs-btn-active-border-color: #ececec;
  --bs-btn-disabled-bg: #ffd5b7;
  --bs-btn-disabled-border-color: #ffd5b7;
  color: var(--rtk-orange);
}

.cta-connect-card .btn-primary:hover,
.cta-connect-card .btn-primary:focus,
.cta-connect-card .btn-primary:active {
  color: #e15d00;
}

.cta-connect-card .support-phone {
  background: linear-gradient(130deg, #ff7a1f, var(--rtk-purple));
}

.cta-connect-card .phone-note,
.cta-connect-card .phone-note-accent {
  color: #4f4667;
}

.footer {
  border-top: 1px solid var(--rtk-border);
  background: #fff;
}

.footer-legal {
  font-size: 0.74rem;
  line-height: 1.25;
  color: #3b4152;
}

body.consent-visible {
  padding-bottom: 120px;
}

.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 24px));
  background: #fff;
  border: 1px solid var(--rtk-border);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(25, 29, 40, 0.18);
  z-index: 1080;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.consent-banner.hidden {
  display: none;
}

.consent-text {
  font-size: 1.02rem;
  line-height: 1.25;
  color: #2e3448;
}

.consent-accept-btn {
  min-width: 132px;
  border-radius: 16px;
  border: 3px solid #111;
  background: #fff;
  color: #1f2330;
  font-weight: 700;
  padding: 0.55rem 1rem;
}

.consent-accept-btn:hover {
  background: #f7f7f7;
}

@media (max-width: 991.98px) {
  .hero-content,
  .quiz-card {
    border-radius: 20px;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding-top: 1.4rem;
  }

  .hero-content {
    padding: 1.25rem;
  }

  .brand-logo {
    height: 34px;
  }

  .quiz-card {
    padding: 1rem;
  }

  .quiz-offer-title {
    font-size: 1.12rem;
  }

  .support-card {
    padding: 1rem;
  }

  .support-phone {
    width: 100%;
    text-align: center;
  }

  .phone-stack {
    width: 100%;
    align-items: stretch;
    text-align: center;
  }

  .header-phone {
    align-items: flex-end;
  }

  .header-phone .phone-note {
    font-size: 0.7rem;
    text-align: right;
  }

  .hero-actions .btn,
  .cta-connect-card .btn {
    width: 100%;
  }

  .cta-connect-actions {
    width: 100%;
  }

  .cta-connect-card .btn-primary,
  .cta-connect-card .support-phone {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  body.consent-visible {
    padding-bottom: 170px;
  }

  .consent-banner {
    border-radius: 14px;
    padding: 0.9rem;
    align-items: stretch;
    flex-direction: column;
  }

  .consent-text {
    font-size: 0.98rem;
  }

  .consent-accept-btn {
    width: 100%;
  }
}
