/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --theme-accent: #ec4899;
  --theme-accent-hover: #000000;
  --theme-text: #000000;
  --theme-text-secondary: #71717a;
  --theme-heading: #020617;
  --theme-bg: #ffffff;
  --theme-border: #E6E6E6;
  --theme-radius: 1rem;
  --theme-element-size: 56px;
  --font-main: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main-content {
  min-height: 100vh;
}

/* ===== PROGRESS BAR ===== */
.progress-bar-container {
  max-width: 28rem;
  margin: 0 auto;
  padding: 16px 1rem 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--theme-progress, var(--theme-accent));
  border-radius: 4px;
  width: 0%;
  transition: width 0.4s ease;
}

.progress-text {
  font-size: 0.8em;
  font-weight: 600;
  color: var(--theme-text-secondary);
  min-width: 35px;
  text-align: right;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 28rem;
  margin: 0 auto;
  padding: 1rem;
  width: 100%;
}

/* ===== STEPS ===== */
.step {
  display: none;
  min-height: calc(100vh - 50px);
  padding: 1rem 0 2rem;
}

.step-active {
  display: block;
  animation: slideIn 0.35s ease forwards;
}

.content-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ===== TYPOGRAPHY ===== */
.step-title {
  font-size: 1.2em;
  font-weight: 700;
  color: var(--theme-heading);
  line-height: 1.2;
  text-align: center;
}

.step-subtitle {
  font-size: 0.85em;
  color: var(--theme-text-secondary);
  text-align: center;
}

.step-text {
  font-size: 0.95em;
  color: var(--theme-text);
  text-align: center;
  line-height: 1.6;
}

.step-hint {
  font-size: 0.8em;
  color: var(--theme-text-secondary);
  text-align: center;
  font-style: italic;
}

.bold-text {
  font-weight: 700;
}

.highlight-pink {
  color: var(--theme-accent);
}

.highlight-pink-bg {
  background-color: var(--theme-accent);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.result-intro {
  font-size: 1.05em;
}

/* ===== BUTTONS ===== */
.btn-primary {
  width: 100%;
  min-height: var(--theme-element-size);
  padding: 0 1rem;
  background-color: var(--theme-accent);
  color: #ffffff;
  border: none;
  border-radius: var(--theme-radius);
  font-family: var(--font-main);
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: var(--theme-accent-hover);
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.98);
}

.hidden-btn {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: none;
  min-height: 0;
}

.hidden-btn.visible {
  opacity: 1;
  pointer-events: all;
  max-height: 80px;
  min-height: var(--theme-element-size);
  padding: 0 1rem;
  margin-top: 0.5rem;
}

.continue-btn {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: none;
  min-height: 0;
  transition: all 0.3s ease;
}

.continue-btn.visible {
  opacity: 1;
  pointer-events: all;
  max-height: 80px;
  min-height: var(--theme-element-size);
  padding: 0 1rem;
  margin-top: 0.5rem;
}

/* ===== PULSE ANIMATION ===== */
.pulse-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulseEffect 2s ease-in-out infinite;
}

@keyframes pulseEffect {
  0% { width: 0; height: 0; opacity: 1; }
  50% { width: 200px; height: 200px; opacity: 0; }
  100% { width: 0; height: 0; opacity: 0; }
}

/* ===== OPTIONS ===== */
.options-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.option-btn {
  width: 100%;
  min-height: var(--theme-element-size);
  padding: 0.75rem 1rem;
  background-color: #ffffff;
  color: var(--theme-text);
  border: 2px solid var(--theme-border);
  border-radius: var(--theme-radius);
  font-family: var(--font-main);
  font-size: 0.95em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.option-btn:hover {
  transform: scale(1.02);
  border-color: var(--theme-accent);
}

.option-btn.active {
  background-color: var(--theme-accent);
  color: #ffffff;
  border-color: var(--theme-accent);
  transform: scale(1.02);
}

.option-btn .emoji {
  font-size: 1.4em;
  flex-shrink: 0;
}

.option-btn.image-option {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-align: center;
}

.option-btn.image-option img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.option-btn.image-option span {
  padding: 0.6rem 0.5rem;
  font-size: 0.85em;
  font-weight: 600;
}

.option-btn.pink-option.active {
  background-color: #ec4899;
  border-color: #ec4899;
}

.option-btn.music-option {
  padding: 0.5rem;
}

.option-btn.music-option img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.option-btn.music-option span {
  font-size: 0.85em;
}

/* ===== BENEFITS LIST ===== */
.benefits-list {
  background-color: #f9fafb;
  border-radius: var(--theme-radius);
  padding: 1rem;
  border: 1px solid #f3f4f6;
}

.benefits-intro {
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.9em;
}

.benefits-list ul {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.88em;
  color: var(--theme-text-secondary);
  line-height: 1.4;
}

.check-icon {
  color: var(--theme-accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== HERO IMAGE ===== */
.hero-image img,
.before-after img,
.before-after-graphic img,
.face-comparison img,
.confirm-image img {
  width: 100%;
  border-radius: var(--theme-radius);
  object-fit: cover;
}

/* ===== AUDIO PLAYER ===== */
.audio-testimonial {
  background-color: #f0fdf4;
  border-radius: var(--theme-radius);
  padding: 1rem;
  width: 90%;
  margin: 0 auto;
  border: 1px solid #bbf7d0;
}

.audio-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.audio-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #22c55e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1em;
}

.audio-info {
  display: flex;
  flex-direction: column;
}

.audio-name {
  font-weight: 600;
  font-size: 0.9em;
}

.audio-time {
  font-size: 0.75em;
  color: var(--theme-text-secondary);
}

.audio-wave {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.audio-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #22c55e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8em;
  flex-shrink: 0;
}

.audio-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 30px;
}

.audio-bars span {
  width: 3px;
  background: #86efac;
  border-radius: 2px;
  animation: audioBar 1s ease-in-out infinite;
}

.audio-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.audio-bars span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.audio-bars span:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.audio-bars span:nth-child(4) { height: 80%; animation-delay: 0.3s; }
.audio-bars span:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.audio-bars span:nth-child(6) { height: 90%; animation-delay: 0.5s; }
.audio-bars span:nth-child(7) { height: 45%; animation-delay: 0.6s; }
.audio-bars span:nth-child(8) { height: 75%; animation-delay: 0.7s; }
.audio-bars span:nth-child(9) { height: 55%; animation-delay: 0.8s; }
.audio-bars span:nth-child(10) { height: 85%; animation-delay: 0.9s; }
.audio-bars span:nth-child(11) { height: 40%; animation-delay: 0.15s; }
.audio-bars span:nth-child(12) { height: 65%; animation-delay: 0.25s; }
.audio-bars span:nth-child(13) { height: 50%; animation-delay: 0.35s; }
.audio-bars span:nth-child(14) { height: 80%; animation-delay: 0.45s; }
.audio-bars span:nth-child(15) { height: 55%; animation-delay: 0.55s; }
.audio-bars span:nth-child(16) { height: 70%; animation-delay: 0.65s; }
.audio-bars span:nth-child(17) { height: 45%; animation-delay: 0.75s; }
.audio-bars span:nth-child(18) { height: 85%; animation-delay: 0.85s; }
.audio-bars span:nth-child(19) { height: 60%; animation-delay: 0.95s; }
.audio-bars span:nth-child(20) { height: 75%; animation-delay: 0.05s; }

@keyframes audioBar {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

/* ===== CAROUSEL ===== */
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--theme-radius);
  background: #f9fafb;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 0.75rem;
  text-align: center;
}

.carousel-slide img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--theme-radius);
}

.carousel-caption {
  margin-top: 0.75rem;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--theme-heading);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--theme-accent);
  width: 24px;
  border-radius: 4px;
}

/* ===== SLIDERS ===== */
.slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
}

.slider-value-display {
  font-size: 2.5em;
  font-weight: 800;
  color: var(--theme-heading);
}

.slider-value-display span {
  color: var(--theme-accent);
}

.custom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #fecdd3, var(--theme-accent));
  border-radius: 4px;
  outline: none;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  background: var(--theme-accent);
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}

.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.custom-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  background: var(--theme-accent);
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.8em;
  color: var(--theme-text-secondary);
}

/* ===== LOADING ===== */
.loading-card {
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  text-align: center;
}

.loading-spinner {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto;
}

.spinner-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.spinner-bg {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 10;
}

.spinner-progress {
  fill: none;
  stroke: var(--theme-accent);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16;
  transition: stroke-dashoffset 0.1s ease;
}

.spinner-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.spinner-text {
  font-size: 1.8em;
  font-weight: 800;
  color: var(--theme-heading);
}

.loading-bar-container {
  width: 100%;
  max-width: 300px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 1.5rem;
}

.loading-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--theme-accent), #f472b6);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s ease;
}

/* ===== CHART ===== */
.chart-container {
  width: 100%;
  height: 220px;
  position: relative;
  background: #f9fafb;
  border-radius: var(--theme-radius);
  padding: 0.5rem;
}

.chart-container canvas {
  width: 100% !important;
  height: 100% !important;
}

.chart-legend {
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
}

.legend-item {
  font-size: 0.75em;
  font-weight: 600;
}

.legend-item.today {
  color: #dc2626;
}

.legend-item.goal {
  color: #22c55e;
}

/* ===== COMPARISON ===== */
.comparison-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.col-before, .col-after {
  text-align: center;
}

.col-title {
  font-size: 0.9em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.red-text { color: #dc2626; }
.green-text { color: #16a34a; }

.metric-bar {
  width: 100%;
  height: 12px;
  background-color: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 1s ease;
}

.metric-label {
  font-size: 0.75em;
  font-weight: 600;
  color: var(--theme-text-secondary);
  margin-top: 0.25rem;
  display: block;
}

/* ===== ARGUMENTS ===== */
.arguments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.argument-item {
  text-align: center;
}

.argument-label {
  font-size: 0.82em;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* ===== ALERT BOXES ===== */
.alert-box {
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.78em;
  font-weight: 500;
  line-height: 1.4;
}

.alert-box.danger {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.alert-box.success-custom {
  background-color: #ffe6e3;
  color: #ec1129;
  border: 1px solid #fecdc8;
}

/* ===== VIDEO ===== */
.video-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: var(--theme-radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 9/16;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== TEMPO ESTIMADO ===== */
.tempo-estimado {
  font-size: 0.75em;
  color: #a3a3a3;
  text-align: center;
  margin-top: 0.25rem;
}

/* ===== ANIMATIONS ===== */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shakeAnimation {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .container {
    padding: 0.75rem;
  }
  
  .step-title {
    font-size: 1.1em;
  }
  
  .grid-2col {
    gap: 0.5rem;
  }
  
  .arguments-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .slider-value-display {
    font-size: 2em;
  }
}

/* ===== BEFORE-AFTER EFFECT ===== */
.before-after-card {
  gap: 1.25rem;
}

.before-after-title {
  opacity: 0.3;
  font-size: 1.3em;
}

.before-after-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ba-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ba-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9em;
  line-height: 1.4;
}

.ba-icon {
  font-weight: 700;
  font-size: 0.85em;
  flex-shrink: 0;
  margin-top: 1px;
}

.ba-icon-before { color: #ef4444; }
.ba-icon-after { color: #22c55e; }

.ba-before { opacity: 0.5; }
.ba-after { opacity: 0.65; }

/* Countdown Timer */
.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(239, 68, 68, 0.08);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  min-width: 60px;
}

.countdown-num {
  font-size: 2em;
  font-weight: 800;
  color: #ef4444;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown-label {
  font-size: 0.7em;
  color: #ef4444;
  font-weight: 500;
  text-transform: lowercase;
  margin-top: 2px;
}

.countdown-sep {
  font-size: 1.8em;
  font-weight: 800;
  color: #ef4444;
  margin-bottom: 14px;
}

/* ===== BAR COMPARISON EFFECT ===== */
.bar-comparison-card {
  gap: 1.5rem;
}

.bar-comparison-title {
  font-size: 1.1em;
}

.bar-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.bar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.25rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
}

.bar-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.bar-track {
  width: 48px;
  height: 100px;
  background: #f3f4f6;
  border-radius: 8px 8px 4px 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.bar-fill {
  width: 100%;
  border-radius: 6px 6px 2px 2px;
  transition: height 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bar-pct {
  font-size: 1.3em;
  font-weight: 800;
}

.bar-label {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--theme-heading);
  line-height: 1.3;
}

.bar-desc {
  font-size: 0.75em;
  color: var(--theme-text-secondary);
  line-height: 1.3;
}

/* ===== LINE COMPARISON EFFECT ===== */
.line-comparison-card {
  gap: 1rem;
}

.line-chart-container {
  height: 220px;
  padding: 0.5rem;
  background: #fafafa;
  border-radius: var(--theme-radius);
  border: 1px solid var(--theme-border);
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(244, 63, 94, 0.08);
  border-radius: var(--theme-radius);
  font-weight: 700;
  font-size: 0.9em;
  color: var(--theme-heading);
}

.chart-header-emoji {
  font-size: 1.2em;
}

.line-comparison-desc {
  font-style: italic;
  font-size: 0.9em;
  line-height: 1.6;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* ===== HIDDEN AUDIO ===== */
audio {
  display: none;
}

/* ========================================
   GAMIFICATION ASSETS
   ======================================== */

/* ===== WHEEL (ROLETA) ===== */
.wheel-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.wheel-pointer {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2em;
  color: #d4a574;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.wheel-container {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), inset 0 0 10px rgba(0,0,0,0.1);
  border: 6px solid #d4a574;
}

.wheel-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wheel-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 0.5rem;
}

.wheel-legend-chip {
  font-size: 0.75em;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.wheel-result {
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: var(--theme-radius);
  border: 2px solid #d4a574;
  animation: fadeIn 0.5s ease;
}

.wheel-result-text {
  font-size: 1.1em;
  font-weight: 700;
  color: #92400e;
}

.wheel-continue-btn {
  margin-top: 0;
}

/* ===== CARD FLIP ===== */
.cardflip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  perspective: 1000px;
}

.cardflip-card {
  aspect-ratio: 3/4;
  cursor: pointer;
  perspective: 1000px;
}

.cardflip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.cardflip-card.flipped .cardflip-inner {
  transform: rotateY(180deg);
}

.cardflip-front, .cardflip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--theme-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cardflip-front {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.07) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.07) 0 2px, transparent 2px 14px),
    linear-gradient(145deg, #8b6914, #a67c00);
  border: 3px solid #d4a574;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  position: absolute;
}

.cardflip-front::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: calc(var(--theme-radius) - 4px);
  pointer-events: none;
}

.cardflip-corner {
  position: absolute;
  font-size: 0.85em;
  color: rgba(255,255,255,0.55);
  line-height: 1;
}

.cardflip-corner.tl { top: 9px; left: 12px; }
.cardflip-corner.br { bottom: 9px; right: 12px; transform: rotate(180deg); }

.cardflip-badge {
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cardflip-front-text {
  font-size: 0.75em;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cardflip-refresh-icon {
  font-size: 1.3em;
  animation: spinIcon 3s linear infinite;
}

@keyframes spinIcon {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cardflip-back {
  background: linear-gradient(145deg, #fef3c7, #fde68a);
  border: 3px solid #d4a574;
  transform: rotateY(180deg);
  color: #92400e;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.cardflip-back-emoji {
  font-size: 2.5em;
}

.cardflip-back-image {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.cardflip-back-text {
  font-size: 0.85em;
  font-weight: 700;
  text-align: center;
}

/* ===== SLOT MACHINE ===== */
.slot-machine {
  background: linear-gradient(180deg, #1a1a2e, #16213e);
  border-radius: var(--theme-radius);
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.slot-display {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  background: #0f0f23;
  border-radius: 12px;
  padding: 1rem;
  border: 2px solid #d4a574;
}

.slot-reel {
  width: 70px;
  height: 70px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 2px solid #e5e7eb;
}

.slot-reel-inner {
  transition: transform 0.3s ease;
}

.slot-symbol {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
}

.slot-result {
  text-align: center;
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.95em;
  animation: fadeIn 0.5s ease;
}

.slot-continue-btn {
  margin-top: 0;
}

/* ===== SCRATCH CARD (RASPADINHA) ===== */
.scratch-container {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: var(--theme-radius);
  overflow: hidden;
  border: 3px solid #d4a574;
  background: #fff;
}

.scratch-reward {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.scratch-reward-emoji {
  font-size: 3em;
}

.scratch-reward-image {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.scratch-reward-text {
  font-size: 1.3em;
  font-weight: 800;
  color: #92400e;
}

.scratch-canvas {
  position: relative;
  z-index: 2;
  cursor: grab;
  touch-action: none;
}

.scratch-canvas:active {
  cursor: grabbing;
}

.scratch-progress {
  text-align: center;
  margin-top: 0.75rem;
}

/* ===== MYSTERY BOX ===== */
.mystery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mystery-box {
  aspect-ratio: 3/4;
  cursor: pointer;
  perspective: 800px;
}

.mystery-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.mystery-box.opened .mystery-box-inner {
  transform: rotateY(180deg);
}

.mystery-box-front, .mystery-box-reward {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--theme-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.mystery-box-front {
  background: linear-gradient(145deg, #8b6914, #a67c00);
  border: 3px solid #d4a574;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mystery-box-icon {
  font-size: 2.5em;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.mystery-box-label {
  font-size: 0.65em;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.mystery-box-reward {
  background: linear-gradient(145deg, #fef3c7, #fde68a);
  border: 3px solid #d4a574;
  transform: rotateY(180deg);
  color: #92400e;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.mystery-reward-emoji {
  font-size: 2em;
}

.mystery-reward-image {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.mystery-reward-text {
  font-size: 0.75em;
  font-weight: 700;
  text-align: center;
}

/* ===== THREE DOORS (3 PORTAS) ===== */
.doors-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  perspective: 1000px;
}

.door-wrapper {
  cursor: pointer;
}

.door {
  position: relative;
  aspect-ratio: 3/4;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.door-wrapper.opened .door {
  transform: rotateY(-110deg);
  transform-origin: left;
}

.door-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--theme-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 3px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.door-number {
  font-size: 2em;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.door-knob {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d4a574;
  border: 2px solid #fff;
  position: absolute;
  right: 12px;
  top: 50%;
}

.door-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--theme-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(145deg, #fef3c7, #fde68a);
  border: 3px solid #d4a574;
  transform: rotateY(180deg);
  color: #92400e;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.door-reward-emoji {
  font-size: 2em;
}

.door-reward-image {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.door-reward-text {
  font-size: 0.7em;
  font-weight: 700;
  text-align: center;
  padding: 0 0.25rem;
}

/* ===== COUNTDOWN OFFER ===== */
.countdown-offer-title {
  color: #92400e !important;
}

.countdown-offer-circle {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem auto;
}

.countdown-offer-circle svg {
  filter: drop-shadow(0 4px 12px rgba(212, 165, 116, 0.3));
}

.countdown-offer-time {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-offer-time span:first-child {
  font-size: 2em;
  font-weight: 800;
  color: #92400e;
  font-variant-numeric: tabular-nums;
}

.countdown-offer-label {
  font-size: 0.75em;
  color: #b45309;
  font-weight: 500;
}

.countdown-offer-obfuscated {
  text-align: center;
  padding: 1rem;
  background: rgba(220, 38, 38, 0.08);
  border-radius: var(--theme-radius);
  animation: shakeAnimation 0.5s ease;
}

/* ===== OFFER (ZONA DE OFERTA) ===== */
.offer-plans {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.offer-card {
  background: #fff;
  border: 2px solid var(--theme-border);
  border-radius: var(--theme-radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.offer-highlighted {
  border-color: #d4a574;
  box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
  transform: scale(1.02);
}

.offer-card-header {
  text-align: center;
  margin-bottom: 1rem;
}

.offer-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.offer-plan-name {
  font-size: 1.1em;
  font-weight: 700;
  color: var(--theme-heading);
  margin-bottom: 0.25rem;
}

.offer-original-price {
  font-size: 0.85em;
  color: var(--theme-text-secondary);
  text-decoration: line-through;
}

.offer-price {
  font-size: 2em;
  font-weight: 800;
  color: #d4a574;
  line-height: 1.2;
}

.offer-price-suffix {
  font-size: 0.8em;
  color: var(--theme-text-secondary);
}

.offer-features {
  margin-bottom: 1rem;
}

.offer-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.9em;
  color: var(--theme-text);
}

.offer-check {
  color: #22c55e;
  font-weight: 700;
  font-size: 1.1em;
}

.offer-cta {
  width: 100%;
}

/* ===== TREASURE MAP ===== */
.treasure-map {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 1rem 0;
}

.treasure-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  opacity: 0.4;
  transition: all 0.3s ease;
  cursor: pointer;
}

.treasure-node.treasure-active {
  opacity: 1;
}

.treasure-node.treasure-current {
  transform: scale(1.1);
}

.treasure-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.treasure-node.treasure-active .treasure-icon {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #d4a574;
}

.treasure-node.treasure-current .treasure-icon {
  background: linear-gradient(135deg, #d4a574, #b8860b);
  border-color: #92400e;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(212, 165, 116, 0); }
}

.treasure-icon.treasure-final {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  border-color: #b45309 !important;
}

.treasure-label {
  font-size: 0.65em;
  font-weight: 600;
  color: var(--theme-text-secondary);
  text-align: center;
  max-width: 60px;
}

.treasure-reward {
  font-size: 0.55em;
  color: #22c55e;
  font-weight: 600;
}

.treasure-path {
  width: 20px;
  height: 3px;
  background: #e5e7eb;
  margin: 0 -2px;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.treasure-path.treasure-path-active {
  background: linear-gradient(90deg, #d4a574, #b8860b);
}

/* ===== RESPONSIVE GAMIFICATION ===== */
@media (max-width: 480px) {
  .wheel-container { width: 220px; height: 220px; }
  .cardflip-grid { gap: 0.75rem; }
  .mystery-grid { gap: 0.75rem; }
  .doors-container { gap: 0.75rem; }
  .slot-reel { width: 60px; height: 60px; }
  .slot-symbol { width: 60px; height: 60px; font-size: 1.6em; }
  .treasure-icon { width: 40px; height: 40px; font-size: 1.1em; }
  .treasure-path { width: 12px; }
}

/* ===== GAMIFICATION BLOCKS (composable versions inside .blocks-step) ===== */
.game-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ===== BEFORE/AFTER COMPARISON SLIDER ===== */
.compare-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--theme-radius);
  overflow: hidden;
  touch-action: none;
  user-select: none;
  cursor: ew-resize;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.compare-after, .compare-before {
  position: absolute;
  inset: 0;
}

.compare-after img, .compare-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.compare-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #9ca3af;
  font-weight: 700;
  font-size: 0.9em;
}

.compare-label {
  position: absolute;
  top: 10px;
  font-size: 0.7em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  pointer-events: none;
}

.compare-label.left { left: 10px; }
.compare-label.right { right: 10px; }

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.compare-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  color: var(--theme-accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ===== BLOCK-BASED STEP BUILDER ===== */
.blocks-step {
  gap: 1.25rem;
}

.block-step-header {
  margin: -1rem -1rem 0.5rem;
  padding: 0 1rem;
}

.block-header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.25rem 0;
}

.block-back-btn {
  background: none;
  border: none;
  color: var(--theme-text-secondary);
  font-size: 0.85em;
  font-family: var(--font-main);
  cursor: pointer;
  justify-self: start;
  text-align: left;
}

.block-logo {
  height: 28px;
  width: auto;
}

.block-logo-placeholder {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--theme-accent);
  opacity: 0.15;
}

.block-progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.block-progress-fill {
  height: 100%;
  background-color: var(--theme-progress, var(--theme-accent));
  transition: width 0.4s ease;
}

/* ---- Form fields ---- */
.block-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.block-field-label {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--theme-text);
}

.block-field-input-wrap {
  position: relative;
}

.block-field-input {
  width: 100%;
  min-height: var(--theme-element-size);
  padding: 0 1rem;
  border: 2px solid var(--theme-border);
  border-radius: var(--theme-radius);
  font-family: var(--font-main);
  font-size: 0.95em;
  color: var(--theme-text);
  background: #ffffff;
}

.block-field-input:focus {
  outline: none;
  border-color: var(--theme-accent);
}

.block-textarea {
  min-height: 90px;
  padding: 0.75rem 1rem;
  resize: vertical;
}

.block-field-unit {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85em;
  color: var(--theme-text-secondary);
  pointer-events: none;
}

/* ---- Quiz: yes/no ---- */
.block-yesno {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.block-yesno .option-btn {
  justify-content: center;
  text-align: center;
}

/* ---- Video answer ---- */
.block-video-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 120px;
  border: 2px dashed var(--theme-border);
  border-radius: var(--theme-radius);
  color: var(--theme-text-secondary);
  font-size: 0.85em;
  cursor: pointer;
  text-align: center;
  padding: 1rem;
}

.block-video-input {
  display: none;
}

/* ---- Rich text ---- */
.block-text {
  font-size: 0.95em;
  color: var(--theme-text);
  line-height: 1.6;
}

.block-text h1, .block-text h2, .block-text h3 {
  color: var(--theme-heading);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.block-text p { margin-bottom: 0.5rem; }
.block-text ul { padding-left: 1.25rem; margin-bottom: 0.5rem; }
.block-text a { color: var(--theme-accent); }
.block-text mark { padding: 0 2px; border-radius: 3px; }

/* ---- Media ---- */
.block-image {
  width: 100%;
  border-radius: var(--theme-radius);
  display: block;
}

.block-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--theme-radius);
  overflow: hidden;
  background: #000;
}

.block-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.block-audio {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  background: #f9fafb;
}

.block-audio-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--theme-accent);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.block-audio-name {
  font-size: 0.85em;
  color: var(--theme-text-secondary);
}

/* ---- Attention ---- */
.block-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--theme-radius);
  font-size: 0.85em;
  border: 1px solid transparent;
}

.block-alert-info { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.block-alert-warning { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.block-alert-danger { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

.block-notification {
  padding: 0.75rem 1rem;
  border-radius: var(--theme-radius);
  background: #f9fafb;
  border: 1px solid var(--theme-border);
  font-size: 0.85em;
}

.block-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
}

.block-loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--theme-accent);
  border-radius: 50%;
  animation: blockSpin 0.8s linear infinite;
}

@keyframes blockSpin {
  to { transform: rotate(360deg); }
}

.block-level {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.block-level-title {
  font-size: 0.85em;
  font-weight: 600;
}

.block-level-bar {
  height: 10px;
  background: #e5e7eb;
  border-radius: 5px;
  overflow: hidden;
}

.block-level-fill {
  height: 100%;
  background: var(--theme-accent);
  border-radius: 5px;
}

.block-level-label {
  font-size: 0.78em;
  color: var(--theme-text-secondary);
  text-align: right;
}

/* ---- Argumentation ---- */
.block-arguments ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.block-arguments li {
  font-size: 0.9em;
  color: var(--theme-text);
}

.block-testimonials {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.block-testimonial-card {
  padding: 0.85rem 1rem;
  border-radius: var(--theme-radius);
  background: #f9fafb;
  border: 1px solid var(--theme-border);
}

.block-stars {
  color: #f59e0b;
  font-size: 0.85em;
  letter-spacing: 1px;
}

.block-testimonial-text {
  font-size: 0.85em;
  font-style: italic;
  margin: 0.35rem 0;
}

.block-testimonial-name {
  font-size: 0.78em;
  font-weight: 600;
  color: var(--theme-text-secondary);
}

.block-faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.block-faq-item {
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  overflow: hidden;
}

.block-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: none;
  border: none;
  font-family: var(--font-main);
  font-size: 0.88em;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--theme-text);
}

.block-faq-arrow {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.block-faq-open .block-faq-arrow {
  transform: rotate(180deg);
}

.block-faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  font-size: 0.85em;
  color: var(--theme-text-secondary);
  transition: all 0.25s ease;
}

.block-faq-open .block-faq-answer {
  max-height: 300px;
  padding: 0 1rem 0.85rem;
}

.block-price {
  padding: 1.25rem;
  border: 2px solid var(--theme-accent);
  border-radius: var(--theme-radius);
  text-align: center;
  background: #fff;
}

.block-price-plan {
  font-size: 0.85em;
  font-weight: 700;
}

.block-price-original {
  font-size: 0.8em;
  color: var(--theme-text-secondary);
  text-decoration: line-through;
}

.block-price-current {
  font-size: 1.8em;
  font-weight: 800;
  color: var(--theme-accent);
}

.block-price-suffix {
  font-size: 0.75em;
  color: var(--theme-text-secondary);
  margin-bottom: 0.5rem;
}

.block-price-features {
  list-style: none;
  text-align: left;
  font-size: 0.82em;
  color: var(--theme-text);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.75rem 0;
}

.block-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.block-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88em;
}

.block-checklist-box {
  width: 16px;
  height: 16px;
  border: 2px solid var(--theme-accent);
  border-radius: 4px;
  flex-shrink: 0;
}

.block-before-after .block-ba-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.8em;
}

.block-ba-col > div {
  margin-bottom: 0.4rem;
}

.block-carousel-mini {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.block-carousel-mini img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--theme-radius);
  flex-shrink: 0;
}

/* ---- Charts ---- */
.block-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.block-metric {
  padding: 0.85rem;
  border-radius: var(--theme-radius);
  background: #f9fafb;
  border: 1px solid var(--theme-border);
  text-align: center;
}

.block-metric-value {
  font-size: 1.2em;
  font-weight: 800;
  color: var(--theme-accent);
}

.block-metric-label {
  font-size: 0.75em;
  color: var(--theme-text-secondary);
}

.block-charts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.block-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 100px;
}

.block-chart-bar {
  flex: 1;
  background: var(--theme-accent);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
}

.block-chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72em;
  color: var(--theme-text-secondary);
}

/* iOS/Apple-style emoji glyphs (emoji-datasource-apple), replacing native
   OS emoji rendering so the funnel looks consistent on Android/Windows too. */
.ios-emoji {
  height: 1em;
  width: 1em;
  vertical-align: middle;
  display: inline-block;
  object-fit: contain;
}
