:root {
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dark: #996515;
  --bg-color: #000000;
  --card-bg: #0a0a0a;
  --text-main: #FFFFFF;
  --text-muted: #d1d5db;
  --text-subtle: #9ca3af;
  --border-color: rgba(212, 175, 55, 0.18);
  --border-hover: rgba(212, 175, 55, 0.55);
  --wpp-bg: #005c4b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  padding: 0;
}

/* Background */
.qbg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at center top, rgba(212,175,55,0.08) 0%, #000000 65%);
}
.qbg-overlay {
  display: none;
}

/* Progress Bar */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: rgba(255,255,255,0.06);
  z-index: 50;
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-header-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.btn-back {
  background: transparent;
  border: none;
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: opacity 0.2s;
}
.btn-back:hover {
  opacity: 0.75;
}
.progress-step-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* Processing Checklist */
.process-checklist {
  list-style: none;
  margin: 1.5rem auto;
  text-align: left;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.process-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  opacity: 0.35;
  transition: opacity 0.4s ease, color 0.4s ease;
}
.process-item.active {
  opacity: 1;
  color: var(--text-main);
}
.process-item .check-icon {
  color: var(--gold);
  font-weight: bold;
}

/* Policy Modals */
.policy-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.policy-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.policy-modal-content {
  background: #0d0d0d;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  width: 100%;
  max-width: 650px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  color: #d1d5db;
  text-align: left;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}
.policy-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}
.policy-modal-close:hover {
  background: var(--gold);
  color: #000;
}


/* Step Container */
.step-container {
  display: none;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  padding: clamp(1.5rem, 4vh, 2.5rem) clamp(1rem, 4vw, 1.5rem);
}
.step-container.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.step-container.show {
  opacity: 1;
  transform: translateY(0);
}

/* Card */
.qcard {
  width: 100%;
  max-width: 540px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-card {
  max-width: 560px;
}

/* Logos */
.quiz-logo {
  width: clamp(130px, 34vw, 155px);
  max-width: 155px;
  margin: 0 auto clamp(0.75rem, 2vh, 1.25rem) auto;
  display: block;
}
.quiz-logo-small {
  width: clamp(65px, 16vw, 75px);
  max-width: 75px;
  margin: 0 auto clamp(0.45rem, 1.5vh, 0.85rem) auto;
  display: block;
}
.result-logo {
  width: clamp(120px, 30vw, 145px);
  max-width: 145px;
  margin: 0 auto clamp(0.65rem, 2vh, 1.1rem) auto;
  display: block;
}

/* Typography */
.text-center { text-align: center; }
.eyebrow {
  color: var(--gold);
  font-size: clamp(0.75rem, 2.4vw, 0.82rem);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: clamp(0.4rem, 1.4vh, 0.75rem);
  font-weight: 600;
}
.divider-icon { margin-bottom: 1.2rem; }
.diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(0.65rem, 1.8vh, 1.15rem);
}
.diamond-divider::before, .diamond-divider::after {
  content: "";
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
  width: clamp(35px, 10vw, 55px);
}
.diamond-divider .diamond {
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.gold-svg { width: 120px; color: var(--gold); opacity: 0.8; margin: 0 auto; display: block; }
h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 4.2vw, 1.95rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: clamp(0.75rem, 2vh, 1.2rem);
}
h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 3.8vw, 1.55rem);
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: clamp(0.85rem, 2.2vh, 1.35rem);
}
.gold-text {
  color: var(--gold);
}
.desc {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 3.5vw, 1.18rem);
  line-height: 1.6;
  margin-bottom: clamp(1.35rem, 3.2vh, 2rem);
}
.hero-desc {
  font-size: clamp(1.02rem, 3.4vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: clamp(1.4rem, 3.2vh, 2rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  font-weight: 600;
  font-size: clamp(0.95rem, 3vw, 1.05rem);
}
.btn-primary {
  width: 100%;
  max-width: 350px;
  padding: clamp(1.05rem, 2.6vh, 1.25rem) clamp(1.4rem, 4vw, 2rem);
  color: var(--bg-color);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 0 45px rgba(212, 175, 55, 0.65);
  transform: translateY(-1px);
}

/* Button Delay fade-in */
.btn-delay {
  opacity: 0;
  transition: opacity 1s ease;
}
.btn-delay.fade-in {
  opacity: 1;
}

.footer-note {
  margin-top: clamp(0.75rem, 2vh, 1.2rem);
  font-size: clamp(0.82rem, 2.6vw, 0.92rem);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Options (Questions) */
.opts {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vh, 0.95rem);
}
.opt {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: clamp(1.05rem, 2.2vh, 1.3rem) clamp(1.1rem, 3.2vw, 1.45rem);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-main);
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.05rem, 3.5vw, 1.18rem);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
  width: 100%;
}
.opt::after {
  content: "→";
  color: var(--gold);
  font-size: 1.3rem;
  opacity: 0.4;
  transform: translateX(-3px);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.opt:hover {
  border-color: var(--gold);
  background: #141414;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}
.opt:hover::after { opacity: 1; transform: translateX(0); color: var(--gold-light); }

/* Visual Options with Icons and Subtext */
.opt-visual {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.8vw, 1.2rem);
}
.opt-icon {
  font-size: clamp(1.5rem, 4.5vw, 1.8rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 12vw, 50px);
  height: clamp(44px, 12vw, 50px);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.opt:hover .opt-icon {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--gold);
  transform: scale(1.05);
}
.opt-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-grow: 1;
  text-align: left;
}
.opt-text strong {
  font-size: clamp(1.08rem, 3.4vw, 1.22rem);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}
.opt-text span {
  font-size: clamp(0.88rem, 2.8vw, 0.98rem);
  color: var(--text-muted);
  line-height: 1.4;
}

/* Swiper specific */
.swiper {
  width: 100%;
  padding-bottom: 1.5rem;
}
.swiper-slide {
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.95);
}
.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}
.swiper-pagination-bullet { background: rgba(255,255,255,0.3); }
.swiper-pagination-bullet-active { background: var(--gold); }

/* Videos */
.vid-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-color);
}
.wrapper-vert {
  max-width: 210px;
  margin: 0 auto;
  display: block;
}
.wrapper-horiz { max-width: 100%; display: block; }
.vid-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 2;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.vid-play-btn::after {
  content: ""; display: block; width: 0; height: 0; border-style: solid;
  border-width: 8px 0 8px 14px; border-color: transparent transparent transparent #000;
  margin-left: 3px;
}
.vid-label {
  text-align: center; color: var(--text-muted); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.7rem;
}

.vid-horiz {
  width: 100%; aspect-ratio: 16/9; display: block; object-fit: cover; border: none;
}
.vid-vert {
  width: 100%; display: block; aspect-ratio: 9/16; object-fit: cover; border: none;
}

/* Stars Rating */
.stars-rating { text-align: center; }
.stars { color: var(--gold); font-size: 1.6rem; letter-spacing: 0.12em; }
.stars-rating p { font-size: clamp(0.95rem, 3vw, 1.05rem); color: var(--text-muted); margin-top: 0.4rem; font-weight: 500; }

/* WhatsApp messages */
.w-msg {
  background: var(--wpp-bg); padding: 1.2rem 1.4rem; border-radius: 14px 14px 0 14px;
  text-align: left; font-size: clamp(1.05rem, 3.2vw, 1.15rem); line-height: 1.55; margin: 0 auto; max-width: 92%;
  box-shadow: 0 5px 18px rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.06);
}
.w-time { display: block; text-align: right; font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-top: 0.5rem; }

/* Loader */
.loading-card { padding: 3.5rem 1rem; }
.spinner {
  width: 50px; height: 50px; border: 2px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--gold); border-radius: 50%; margin: 0 auto 1.6rem auto; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Results */
.step-container#step-results {
  max-width: 640px;
  padding-top: clamp(1.6rem, 3.5vh, 2.6rem);
  padding-bottom: 4rem;
  justify-content: flex-start;
  align-self: flex-start;
}
.result-wrapper { max-width: 620px; width: 100%; text-align: center; }
.result-header {
  text-align: center;
  padding: 0;
  margin-bottom: clamp(1.35rem, 3vh, 2rem);
}
.result-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.35rem, 4.2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: clamp(0.75rem, 2vh, 1.2rem);
  text-transform: uppercase;
}
.result-desc {
  font-size: clamp(1.05rem, 3.4vw, 1.18rem);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0;
}
.fire-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #DC2626; color: #fff;
  padding: 0.55rem 1.6rem; border-radius: 4px; font-size: 0.88rem; font-weight: 700; letter-spacing: 0.1em;
  margin-bottom: 1.5rem; text-transform: uppercase;
}
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color); border-radius: 14px; padding: clamp(2.2rem, 5vh, 3.2rem) clamp(1.3rem, 4vw, 2rem);
  position: relative; text-align: center;
}
.p-title { font-family: 'Cinzel', serif; font-size: clamp(1.35rem, 3.8vw, 1.65rem); color: var(--text-main); margin-bottom: 0.6rem; }
.product-image-wrapper {
  margin: 0 auto 1.2rem auto;
  max-width: 290px;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.product-img {
  width: 100%;
  display: block;
}
.product-disclaimer {
  font-size: clamp(0.8rem, 2.6vw, 0.88rem);
  color: var(--text-subtle);
  line-height: 1.45;
  margin: 0 auto 1.6rem auto;
  max-width: 300px;
  font-style: italic;
  text-align: center;
}
.p-old { font-size: clamp(1rem, 3vw, 1.1rem); color: var(--text-subtle); text-decoration: line-through; margin-bottom: 0.5rem; }
.p-price { font-family: 'Jost', sans-serif; font-weight: 700; font-size: clamp(2.6rem, 7.5vw, 3.2rem); color: var(--gold); line-height: 1; margin-bottom: 0.6rem; }
.p-installments { font-size: clamp(1rem, 3vw, 1.12rem); color: var(--gold-light); margin-bottom: 2rem; }
.pricing-btn { max-width: 320px; margin: 0 auto 1.5rem auto; display: flex; }
.safe-badges { display: flex; justify-content: center; gap: 1.5rem; font-size: clamp(0.85rem, 2.6vw, 0.95rem); color: var(--text-muted); }

/* Fragrance Showcase Items */
.fragrances-showcase {
  margin-bottom: 2.5rem;
}
.fragrance-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.1rem, 3vw, 1.6rem);
  margin-bottom: 1.2rem;
  text-align: left;
  background: var(--card-bg);
  padding: clamp(1.25rem, 3.2vw, 1.65rem);
  border-radius: 14px;
  border: 1px solid var(--border-color);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.fragrance-item:hover {
  border-color: var(--border-hover);
}
.fragrance-item:last-child {
  margin-bottom: 0;
}
.fragrance-item img {
  width: clamp(72px, 18vw, 90px);
  height: clamp(72px, 18vw, 90px);
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.fragrance-item h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.15rem, 3.2vw, 1.35rem);
  color: var(--gold);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fragrance-item p {
  font-size: clamp(0.95rem, 3vw, 1.08rem);
  color: var(--text-muted);
  line-height: 1.55;
}
.frag-notes {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.85rem;
}
.note-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.note-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  width: 3.5rem;
  flex-shrink: 0;
}
.note-tag {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
}

/* Educational block */
.educational-block {
  background: var(--card-bg);
  padding: clamp(1.4rem, 3.5vw, 2.2rem);
  border-radius: 14px;
  margin-bottom: 2.4rem;
  text-align: left;
  border: 1px solid var(--border-color);
}
.educational-block h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.15rem, 3.2vw, 1.35rem);
  color: var(--gold);
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}
.educational-block p {
  font-size: clamp(0.98rem, 3vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Payment flags */
.payment-flags-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
}
.payment-flags-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.payment-flag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.payment-flag-pill:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.08);
}
.payment-flags-caption {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-align: center;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
