/* ── Quiz CRO enhancements ────────────────────────────────────────────── */

/* Card transition: fade + slide-up on each new step */
.q-card { animation: card-in .28s ease both; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .q-card { animation: none; }
}

/* Info-box hero photo */
.q-hero-img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -32px -30px 18px;
  width: calc(100% + 60px);
  display: block;
}
@media (max-width: 560px) {
  .q-hero-img { margin: -26px -20px 14px; width: calc(100% + 40px); height: 160px; }
}

/* Time-remaining label under progress bar */
.progress-eta {
  text-align: center; font-size: 0.78rem; color: var(--muted);
  margin: 4px 0 18px; font-weight: 600; letter-spacing: 0.02em;
  opacity: 0; transition: opacity .3s ease;
}
.progress-eta.visible { opacity: 1; }

/* Tile photos (circular thumbs instead of emoji) */
.opt-photo {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; flex: 0 0 auto; border: 2px solid var(--line);
  transition: border-color .12s;
}
.opt.selected .opt-photo { border-color: var(--accent); }
.options-tiles .opt-photo { width: 72px; height: 72px; }

/* Carousel dot indicators */
.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  margin: 10px 0 4px; padding: 0;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); border: none; cursor: pointer;
  transition: background .2s, transform .2s; padding: 0;
}
.carousel-dot.active { background: var(--accent); transform: scale(1.3); }

/* Option icons (inline before label) */
.opt-icon {
  font-size: 1.2rem; flex: 0 0 auto; line-height: 1;
  width: 28px; text-align: center;
}

/* Free profile screen styles */
.profile-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 30px;
  box-shadow: var(--shadow-lg); text-align: center;
  animation: card-in .35s ease both;
}
.profile-eyebrow {
  font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); font-weight: 700; margin: 0 0 12px;
}
.profile-stage {
  display: inline-block; padding: 8px 22px;
  border-radius: 99px; font-weight: 800; font-size: 1.1rem; margin-bottom: 18px;
}
.stage-low { background: #d4edda; color: #155724; }
.stage-moderate { background: #fff3cd; color: #856404; }
.stage-high { background: #f8d7da; color: #721c24; }
.profile-meter { margin: 0 0 22px; }
.meter-track {
  height: 12px; background: var(--line);
  border-radius: 99px; overflow: hidden;
}
.meter-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--angel), #e9d9a6, var(--devil));
  transition: width .8s cubic-bezier(.2,.8,.2,1);
}
.meter-labels {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--muted); margin-top: 4px;
}
.profile-summary {
  text-align: left; font-size: 1rem; line-height: 1.55; margin: 0 0 22px;
}
.profile-insight {
  display: flex; gap: 14px; text-align: left;
  padding: 14px 16px; background: var(--paper-2);
  border-radius: 12px; margin-bottom: 10px;
}
.pi-icon { font-size: 1.6rem; flex: 0 0 auto; line-height: 1.2; }
.profile-insight strong { display: block; margin-bottom: 2px; }
.profile-insight p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.plan-teaser {
  text-align: left; margin: 22px 0 18px;
  background: var(--accent-soft); border-radius: 12px; padding: 18px 20px;
}
.plan-teaser-h { font-weight: 700; margin: 0 0 10px; }
.plan-teaser ul { margin: 0; padding-left: 22px; }
.plan-teaser li { margin-bottom: 6px; font-size: 0.95rem; }
.profile-cta { margin-top: 0; }
.profile-micro {
  font-size: 0.78rem; color: var(--muted); margin: 10px 0 0;
}
@media (max-width: 560px) {
  .profile-card { padding: 26px 20px; }
}
