:root {
  --theme-background-color: #FFF3F1;
  --theme-bg-contrast-1: #ece8e7;
  --theme-bg-contrast-2: #e0d9d8;
  --theme-bg-contrast-3: #c8bebd;
  --theme-bg-contrast-5: #928684;
  --theme-bg-contrast-7: #625857;
  --theme-bg-contrast-8: #4a4342;
  --theme-bg-contrast-9: #3b3534;
  --theme-max-contrast: #403D3C;
  --theme-accent-color: #713D35;
  --theme-accent-hover: #7F5049;
  --theme-accent-shadow: #7d4c44;
  --theme-accent-soft: rgba(113, 61, 53, 0.1);
  --theme-accent-border: rgba(113, 61, 53, 0.5);
  --theme-heading-color: #DF8380;
  --theme-text-color: #000000;
  --theme-text-dark: #09090b;
  --theme-coral: #dc6344;
  --theme-green: #16a34a;
  --theme-pink-highlight: #fbaca9;
  --theme-purple: #a855f7;
  --theme-muted: #6b7280;
  --theme-border-xs: #E6DBD9;
  --theme-border-sm: #BFB6B5;
  --theme-blue: #2b7fff;
  --theme-blue-hover: #408CFF;
  --theme-blue-shadow: #1c72f1;
  --theme-offer-green: #00c950;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--theme-background-color);
  color: var(--theme-text-color);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

.page-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.75rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .page-shell {
    padding: 1.25rem 1.25rem 0;
  }
}

.quiz-header {
  width: 100%;
  max-width: 28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.5rem 0 0.75rem;
  min-height: 2.25rem;
}

.back-button {
  position: fixed;
  top: 0.9rem;
  left: 0.9rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: transparent;
  color: var(--theme-heading-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: background-color 0.2s ease, transform 0.15s ease;
  z-index: 30;
}

.back-button:hover {
  background-color: rgba(223, 131, 128, 0.14);
}

.back-button:active {
  transform: scale(0.94);
}

.hidden {
  display: none !important;
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: var(--theme-accent-soft);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--theme-accent-color);
  border-radius: 9999px;
  transition: width 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.quiz-stage {
  width: 100%;
  max-width: 28rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.2rem 0 2rem;
}

.quiz-stage.is-centered {
  justify-content: center;
}

@media (min-width: 768px) {
  .quiz-stage {
    gap: 1.25rem;
  }
}

.step-enter {
  animation: stepFadeIn 0.28s ease-out;
}

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

.quiz-footer {
  height: 5svh;
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--theme-bg-contrast-7);
  text-align: center;
}

/* Typography */
.heading-1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}

.heading-2 {
  margin: 0;
  font-size: 25.6px;
  font-weight: 700;
  line-height: 1.2;
}

.heading-3 {
  margin: 0;
  font-size: 20.8px;
  font-weight: 700;
  line-height: 1.2;
}

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

.text-small {
  font-size: 0.75rem;
  line-height: 1.25;
}

.text-muted {
  color: var(--theme-muted);
}

.copy-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 16px;
  line-height: 1.45;
  color: var(--theme-text-color);
}

.copy-block p {
  margin: 0;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checklist li {
  line-height: 1.4;
}

/* Inline Highlights */
.pill-rose {
  background-color: var(--theme-heading-color);
  color: #ffffff;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.pill-green {
  background-color: var(--theme-green);
  color: #ffffff;
  font-weight: 700;
  padding: 0.08em 0.35em;
  border-radius: 3px;
  display: inline;
}

.pill-pink {
  background-color: var(--theme-pink-highlight);
  color: #ffffff;
  font-weight: 700;
  padding: 0.08em 0.35em;
  border-radius: 4px;
  display: inline;
}

.text-accent {
  color: var(--theme-accent-color);
  font-weight: 700;
}

.text-rose {
  color: var(--theme-heading-color);
}

.text-coral {
  color: var(--theme-coral);
}

.text-green {
  color: var(--theme-green);
  font-weight: 700;
}

.text-purple {
  color: var(--theme-purple);
  font-weight: 700;
}

/* Timer Banner */
.timer-banner {
  background-color: #fff6e6;
  color: #cf9600;
  border: 1px solid #ffeac7;
  padding: 18px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.timer-banner.is-rounded-lg {
  border-radius: 16px;
}

/* Images */
.layer-image-wrap {
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}

.layer-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

/* Option Cards */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.option-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  background-color: var(--theme-accent-soft);
  border: 1px solid var(--theme-accent-border);
  border-radius: 16px;
  color: var(--theme-text-dark);
  text-align: left;
  font-size: 1rem;
  font-weight: 400;
  box-shadow: 0 4px 10px -2px rgba(64, 61, 60, 0.12);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.option-card:hover {
  transform: scale(1.01);
  border-color: var(--theme-accent-color);
  box-shadow: 0 10px 18px -4px rgba(64, 61, 60, 0.18);
}

.option-card.is-selected {
  border-color: var(--theme-accent-color);
  border-width: 2px;
  background-color: rgba(113, 61, 53, 0.18);
}

.option-emoji {
  width: 2.75rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  line-height: 1;
}

.option-chevron {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background-color: var(--theme-background-color);
  border: 1px solid var(--theme-accent-color);
  color: var(--theme-accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.option-label {
  flex: 1 1 auto;
  line-height: 1.35;
}

/* 3D CTA Buttons */
.btn-3d {
  width: 100%;
  min-height: 56px;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 16px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease;
}

.btn-primary {
  background-color: var(--theme-accent-color);
  box-shadow: 0 0.5rem 0 var(--theme-accent-shadow);
  margin-bottom: 0.5rem;
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--theme-accent-hover);
  box-shadow: 0 0.75rem 0 var(--theme-accent-shadow);
  transform: translateY(-0.25rem);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0.15rem);
  box-shadow: 0 0.25rem 0 var(--theme-accent-shadow);
}

.btn-primary:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.btn-blue {
  background-color: var(--theme-blue);
  box-shadow: 0 0.5rem 0 var(--theme-blue-shadow);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.btn-blue:hover {
  background-color: var(--theme-blue-hover);
  box-shadow: 0 0.75rem 0 var(--theme-blue-shadow);
  transform: translateY(-0.25rem);
}

.btn-blue:active {
  transform: translateY(0.15rem);
  box-shadow: 0 0.25rem 0 var(--theme-blue-shadow);
}

.btn-pulse {
  animation: ctaPulse 1.8s infinite;
}

.btn-blue.btn-pulse {
  animation: ctaPulseBlue 1.8s infinite;
}

@keyframes ctaPulse {
  0% {
    box-shadow: 0 0.5rem 0 var(--theme-accent-shadow), 0 0 0 0 rgba(113, 61, 53, 0.45);
  }
  70% {
    box-shadow: 0 0.5rem 0 var(--theme-accent-shadow), 0 0 0 12px rgba(113, 61, 53, 0);
  }
  100% {
    box-shadow: 0 0.5rem 0 var(--theme-accent-shadow), 0 0 0 0 rgba(113, 61, 53, 0);
  }
}

@keyframes ctaPulseBlue {
  0% {
    box-shadow: 0 0.5rem 0 var(--theme-blue-shadow), 0 0 0 0 rgba(43, 127, 255, 0.5);
  }
  70% {
    box-shadow: 0 0.5rem 0 var(--theme-blue-shadow), 0 0 0 12px rgba(43, 127, 255, 0);
  }
  100% {
    box-shadow: 0 0.5rem 0 var(--theme-blue-shadow), 0 0 0 0 rgba(43, 127, 255, 0);
  }
}

/* Carousels */
.carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  touch-action: pan-y;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-slide img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.carousel-slide.is-aspect-34 img {
  aspect-ratio: 3 / 4;
}

.carousel-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--theme-accent-color);
  text-align: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(113, 61, 53, 0.25);
  background: rgba(255, 243, 241, 0.9);
  color: var(--theme-accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 5;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.carousel-arrow:hover {
  background: #ffffff;
}

.carousel-arrow.prev {
  left: 0.5rem;
}

.carousel-arrow.next {
  right: 0.5rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background-color: var(--theme-bg-contrast-3);
  transition: background-color 0.2s ease, width 0.2s ease;
}

.carousel-dot.is-active {
  width: 20px;
  background-color: var(--theme-accent-color);
}

/* Loading Step */
.loading-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 0;
}

.loading-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--theme-heading-color);
  margin-bottom: 0.5rem;
}

.loading-track {
  width: 100%;
  height: 12px;
  border-radius: 12px;
  background-color: var(--theme-bg-contrast-1);
  overflow: hidden;
}

.loading-fill {
  height: 100%;
  width: 0%;
  background-color: var(--theme-accent-color);
  border-radius: 12px;
  transition: width 120ms linear;
}

/* Result / Sales Page Cards */
.card-qualification {
  background-color: #fee7e3;
  color: var(--theme-text-color);
  border: 1px solid #f7d0ca;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.card-qualification h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  color: var(--theme-green);
}

.card-qualification p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.card-gray {
  background-color: #ebedef;
  color: #585b60;
  border: 1px solid #d1d5dc;
  border-radius: 16px;
  padding: 16px;
}

.card-gray h3 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  color: #000000;
  text-align: center;
  line-height: 1.25;
}

.card-gray .checklist {
  color: #1f2937;
  font-size: 0.95rem;
  gap: 0.6rem;
}

.bonus-section {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bonus-item {
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Pricing Cards */
.pricing-card-outline {
  background-color: var(--theme-background-color);
  border: 5px solid var(--theme-offer-green);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pricing-card-banner {
  background-color: var(--theme-background-color);
  border: 1px solid var(--theme-offer-green);
  border-radius: 16px;
  overflow: hidden;
}

.pricing-banner-top {
  background-color: var(--theme-offer-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.45rem 0.75rem;
}

.pricing-banner-body {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pricing-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pricing-radio {
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  border: 2px solid var(--theme-offer-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-radio::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background-color: var(--theme-offer-green);
}

.pricing-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--theme-text-dark);
}

.pricing-right {
  text-align: right;
  line-height: 1.2;
}

.pricing-from {
  font-size: 0.78rem;
  color: var(--theme-muted);
  text-decoration: line-through;
}

.pricing-main {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--theme-offer-green);
}

.pricing-installments {
  font-size: 0.78rem;
  color: var(--theme-text-dark);
  font-weight: 500;
}

/* Scarcity Box */
.scarcity-box {
  background-color: #e3eeff;
  color: #1c72f1;
  border: 1px solid #c7dcfe;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

/* Social Testimonials */
.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid var(--theme-border-xs);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(64, 61, 60, 0.06);
}

.testimonial-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--theme-text-dark);
}

.testimonial-handle {
  font-size: 0.8rem;
  color: var(--theme-muted);
}

.testimonial-stars {
  color: #facc15;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.testimonial-body {
  margin: 0;
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.45;
}

/* Floating Toast */
.toast-root {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 1.5rem);
  max-width: 26rem;
  z-index: 40;
  pointer-events: none;
}

.live-toast {
  background-color: #ffffff;
  color: #000000;
  border-radius: 16px;
  padding: 0.85rem 1rem 0.95rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  position: relative;
  overflow: hidden;
  animation: toastSlideUp 0.3s ease-out;
}

.live-toast-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
}

.live-toast-sub {
  font-size: 0.78rem;
  color: var(--theme-muted);
  margin: 0;
}

.live-toast-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background-color: rgba(38, 38, 38, 0.3);
  transform-origin: left center;
  animation: toastProgress 15s linear forwards;
}

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

@keyframes toastProgress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 50;
}

.modal-card {
  width: 100%;
  max-width: 24rem;
  background-color: var(--theme-background-color);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.modal-title {
  margin: 0;
  font-size: 1.2rem;
  color: var(--theme-accent-color);
}

.modal-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--theme-text-dark);
}

.modal-summary {
  background-color: #ffffff;
  border: 1px solid var(--theme-border-xs);
  border-radius: 12px;
  padding: 0.75rem;
  font-size: 0.82rem;
  color: #374151;
}
