/* ============================================================
   MEUEV — CSS NOVO (FLUXO DE 2 MINUTOS)
   Mobile-first, visual clean, foco em conversão
============================================================ */

:root {
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --secondary: #22d3ee;
  --bg-dark: #0a0f1a;
  --bg-card: #111827;
  --text-light: #f9fafb;
  --text-muted: #9ca3af;
  --border: rgba(148, 163, 184, 0.2);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #0a0f1a 0%, #1a1f2e 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  padding: 0;
  overflow-x: hidden;
  font-size: 16px;
}

.app {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

/* Desktop: aumenta largura máxima e ajusta proporções */
@media (min-width: 768px) {
  .app {
    max-width: 900px;
  }
  
  body {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .app {
    max-width: 1100px;
  }
}

/* ============================================================
   TELAS (SCREENS)
============================================================ */
.screen {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.screen.active {
  display: block;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   TELA 1: WELCOME
============================================================ */
.welcome-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 24px;
  text-align: center;
  background: 
    radial-gradient(circle at top, rgba(34, 197, 94, 0.15), transparent 60%),
    radial-gradient(circle at bottom, rgba(34, 211, 238, 0.1), transparent 60%),
    var(--bg-dark);
}

.logo-badge {
  margin-bottom: 24px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-title .highlight {
  color: var(--primary);
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 32px;
}

.hero-subtitle strong {
  color: var(--primary);
  font-weight: 600;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.benefit-icon {
  font-size: 1.2rem;
}

.trust-badge {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.badge-icon {
  color: var(--primary);
  font-weight: 700;
}

/* ============================================================
   TELA 2: QUIZ
============================================================ */
#screen-quiz {
  padding: 32px 24px;
  min-height: 100vh;
}

@media (min-width: 768px) {
  #screen-quiz {
    padding: 48px 40px;
  }
}

.quiz-header {
  margin-bottom: 32px;
  text-align: center;
}

.screen-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .screen-title {
    font-size: 2.2rem;
  }
}

.screen-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .screen-subtitle {
    font-size: 1.1rem;
  }
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 999px;
  transition: width 0.4s ease;
}

.progress-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Perguntas */
.question {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.question.active {
  display: block;
}

.question-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.question-hint {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Grid de opções */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

/* Tablet: 2 colunas */
@media (min-width: 500px) {
  .options-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* Desktop: 3 colunas se houver 3+ opções */
@media (min-width: 900px) {
  .options-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
}

.option-card {
  position: relative;
  display: block;
  cursor: pointer;
  transition: var(--transition);
}

.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  transition: var(--transition);
}

.option-card:hover .option-content {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2);
}

.option-card.selected .option-content,
.option-card input[type="radio"]:checked + .option-content {
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.option-emoji {
  font-size: 2rem;
}

.option-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}

.option-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Navegação do Quiz */
.quiz-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ============================================================
   TELA 3: PRÉVIA
============================================================ */
#screen-preview {
  padding: 32px 24px;
  min-height: 100vh;
}

@media (min-width: 768px) {
  #screen-preview {
    padding: 48px 40px;
  }
}

.preview-header {
  text-align: center;
  margin-bottom: 32px;
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--primary);
}

/* Card de Recomendação */
.recommendation-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 211, 238, 0.1));
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.rec-score {
  margin-bottom: 16px;
}

.score-circle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid;
  position: relative;
}

.score-circle.high {
  border-color: var(--primary);
  background: rgba(34, 197, 94, 0.2);
}

.score-circle.medium {
  border-color: #facc15;
  background: rgba(250, 204, 21, 0.2);
}

.score-circle.low {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.2);
}

.score-value {
  font-size: 2rem;
  font-weight: 700;
}

.score-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.rec-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.rec-description {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Insights */
.insights-preview {
  margin-bottom: 32px;
}

.insights-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.insight-item {
  display: flex;
  gap: 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

.insight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.insight-content strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-light);
}

.insight-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Teaser Premium */
.premium-teaser {
  position: relative;
  margin-bottom: 24px;
}

.teaser-blur {
  background: linear-gradient(to bottom, transparent, var(--bg-card) 70%);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.teaser-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.teaser-text {
  color: var(--text-muted);
  font-size: 1rem;
}

.teaser-text strong {
  color: var(--text-light);
}

/* ============================================================
   TELA 4: PAYWALL
============================================================ */
#screen-paywall {
  padding: 32px 24px;
  min-height: 100vh;
}

@media (min-width: 768px) {
  #screen-paywall {
    padding: 48px 40px;
  }
}

.paywall-header {
  text-align: center;
  margin-bottom: 32px;
}

.premium-benefits {
  margin-bottom: 32px;
}

.benefits-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item-full {
  display: flex;
  gap: 12px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

.benefit-check {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.benefit-item-full strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-light);
}

.benefit-item-full p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Pricing */
.pricing-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 211, 238, 0.15));
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-bottom: 24px;
  overflow: hidden;
  box-sizing: border-box;
}

.price-tag {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 16px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 8px;
  margin-right: 4px;
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}

@media (min-width: 600px) {
  .price-value {
    font-size: 3.5rem;
  }
}

@media (min-width: 900px) {
  .price-value {
    font-size: 4rem;
  }
}

.price-cents {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 8px;
}

@media (min-width: 600px) {
  .price-cents {
    font-size: 1.8rem;
  }
}

@media (min-width: 900px) {
  .price-cents {
    font-size: 2rem;
  }
}

.price-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.price-note {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Trust Section */
.trust-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.trust-item {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.back-link {
  text-align: center;
  margin-top: 16px;
}

.back-link a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.back-link a:hover {
  color: var(--primary);
}

/* ============================================================
   TELA 5: ENHANCE PROFILE (PÓS-CHECKOUT)
============================================================ */
#screen-enhance {
  padding: 32px 24px;
  min-height: 100vh;
}

@media (min-width: 768px) {
  #screen-enhance {
    padding: 48px 40px;
  }
}

.enhance-header {
  text-align: center;
  margin-bottom: 32px;
}

.enhance-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.enhance-section {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.enhance-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-light);
}

.form-input {
  width: 100%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--text-light);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 500px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition);
}

.radio-option:hover {
  border-color: var(--primary);
  background: rgba(34, 197, 94, 0.05);
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

.radio-option input[type="radio"]:checked ~ span {
  color: var(--primary);
  font-weight: 500;
}

.enhance-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 500px) {
  .enhance-nav {
    flex-direction: row;
    justify-content: center;
  }
}

.enhance-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 16px;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius);
}

.enhance-prompt {
  margin-top: 16px;
  padding: 16px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid var(--secondary);
  border-radius: var(--radius);
  text-align: center;
}

.enhance-prompt p {
  margin: 4px 0;
  color: var(--text-muted);
}

.enhance-prompt a {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 500;
}

.enhanced-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid var(--secondary);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

/* ============================================================
   TELA 6: PREMIUM CONTENT
============================================================ */
#screen-premium {
  padding: 32px 24px;
  min-height: 100vh;
}

@media (min-width: 768px) {
  #screen-premium {
    padding: 48px 40px;
  }
}

.premium-header {
  text-align: center;
  margin-bottom: 32px;
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.premium-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

@media (min-width: 600px) {
  .premium-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .premium-actions button {
    flex: 0 1 auto;
    min-width: 240px;
  }
}

.premium-section {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  overflow: hidden;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .premium-section {
    padding: 32px;
    margin-bottom: 32px;
  }
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
}

/* Score Breakdown */
.score-breakdown {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.score-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.score-category {
  font-size: 0.9rem;
  min-width: 120px;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .score-category {
    min-width: 150px;
    font-size: 1rem;
  }
  
  .score-item {
    flex-wrap: nowrap;
  }
}

.score-bar {
  flex: 1;
  height: 12px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 999px;
  transition: width 0.6s ease;
}

.score-number {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 40px;
  text-align: right;
}

/* Cost Comparison */
.cost-comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .cost-comparison {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
}

.cost-card {
  flex: 1;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.cost-card.highlight {
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--primary);
}

.cost-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cost-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 768px) {
  .cost-value {
    font-size: 1.8rem;
  }
}

.cost-period {
  font-size: 1rem;
  font-weight: 400;
}

.cost-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.cost-divider {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  padding: 8px 0;
}

/* Savings Summary */
.savings-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 500px) {
  .savings-summary {
    grid-template-columns: repeat(3, 1fr);
  }
}

.savings-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px;
}

.savings-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.savings-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.savings-value.positive {
  color: var(--primary);
}

.savings-value.negative {
  color: #ef4444;
}

/* Recommendation Full */
.recommendation-full {
  border-radius: var(--radius);
  padding: 20px;
  border: 2px solid;
}

.recommendation-full.high {
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--primary);
}

.recommendation-full.medium {
  background: rgba(250, 204, 21, 0.1);
  border-color: #facc15;
}

.recommendation-full.low {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}

.rec-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.recommendation-full h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.recommendation-full p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.recommendation-full p:last-child {
  margin-bottom: 0;
}

/* Payback Card */
.payback-card {
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid var(--secondary);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.payback-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.payback-result {
  margin-bottom: 16px;
}

.payback-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.payback-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
}

/* Next Steps */
.next-steps {
  font-size: 0.95rem;
}

.steps-list {
  padding-left: 20px;
  color: var(--text-muted);
}

.steps-list li {
  margin-bottom: 12px;
}

/* ============================================================
   BOTÕES
============================================================ */
.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .btn-cta {
    max-width: 400px;
    font-size: 1.2rem;
  }
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

.btn-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-cta-large {
  font-size: 1.2rem;
  padding: 20px 40px;
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 24px;
  border: 2px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  width: auto;
  min-width: 140px;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.arrow {
  font-size: 1.2rem;
}

/* Animação de pulse no CTA */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 4px 24px rgba(34, 197, 94, 0.6);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* ============================================================
   NOVO: RELATÓRIO PREMIUM APRIMORADO
============================================================ */

/* Sumário Executivo */
.executive-summary {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 211, 238, 0.1));
  border: 2px solid var(--primary);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 600px) {
  .summary-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (min-width: 900px) {
  .summary-grid {
    gap: 20px;
  }
}

.summary-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.summary-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.summary-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  word-break: break-word;
}

@media (min-width: 600px) {
  .summary-value {
    font-size: 1.2rem;
  }
}

@media (min-width: 900px) {
  .summary-value {
    font-size: 1.3rem;
  }
}

.summary-value.high {
  color: var(--primary);
}

.summary-value.medium {
  color: #facc15;
}

.summary-value.low {
  color: #ef4444;
}

/* Seções com introdução */
.section-intro {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Score com explicação */
.score-explanation {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* Grid de Insights */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1000px) {
  .insights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.insight-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  overflow: hidden;
  box-sizing: border-box;
  height: 100%;
}

.insight-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.insight-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.insight-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-light);
}

.insight-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Blocos Financeiros */
.financial-block {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.block-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Comparação Financeira Aprimorada */
.cost-comparison-enhanced {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 700px) {
  .cost-comparison-enhanced {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
  }
}

.cost-card-enhanced {
  background: rgba(239, 68, 68, 0.05);
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius);
  padding: 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.cost-card-enhanced.ev {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.5);
}

.cost-header {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.cost-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cost-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.cost-line .cost-value {
  font-weight: 600;
  font-size: 1.1rem;
}

.cost-line .cost-value.highlight {
  font-size: 1.3rem;
  color: var(--text-light);
}

.vs-divider {
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-muted);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 700px) {
  .vs-divider {
    padding: 0;
  }
}

/* Manutenção */
.maintenance-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .maintenance-comparison {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.maintenance-item {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.maintenance-item.ev {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.3);
}

.maintenance-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.maintenance-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .maintenance-value {
    font-size: 1.5rem;
  }
}

.maintenance-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.maintenance-savings {
  grid-column: 1 / -1;
  text-align: center;
  padding: 16px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 12px;
  margin-top: 8px;
}

/* Impostos */
.tax-info {
  font-size: 0.95rem;
  line-height: 1.6;
}

.tax-info p {
  margin-bottom: 12px;
}

.tax-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Tabela de Economia */
.total-savings {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 211, 238, 0.1));
  border: 2px solid var(--primary);
}

.savings-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.savings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-dark);
  border-radius: 8px;
}

.savings-row.total {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--primary);
  font-size: 1.1rem;
}

.savings-row .value {
  font-weight: 600;
}

.savings-row .value.big {
  font-size: 1.5rem;
}

/* Payback */
.payback-analysis {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(34, 197, 94, 0.1));
  border: 2px solid var(--secondary);
}

.payback-intro {
  margin-bottom: 16px;
}

.payback-result-box {
  background: var(--bg-dark);
  border: 2px solid var(--secondary);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
}

.payback-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.payback-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}

@media (min-width: 600px) {
  .payback-value {
    font-size: 2.5rem;
  }
}

@media (min-width: 900px) {
  .payback-value {
    font-size: 3rem;
  }
}

.payback-details {
  font-size: 0.95rem;
  line-height: 1.6;
}

.payback-details p {
  margin-bottom: 12px;
}

/* Mercado */
.market-context {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(34, 211, 238, 0.05));
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .market-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (min-width: 900px) {
  .market-stats {
    gap: 20px;
  }
}

.market-stat {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .market-stat {
    padding: 20px 16px;
  }
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  word-break: break-word;
}

@media (min-width: 600px) {
  .stat-value {
    font-size: 1.5rem;
  }
}

@media (min-width: 900px) {
  .stat-value {
    font-size: 1.8rem;
  }
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 0.85rem;
  }
}

.market-analysis {
  background: var(--bg-dark);
  border-radius: var(--radius);
  padding: 20px;
}

.market-analysis h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.market-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.market-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .market-list li {
    font-size: 0.95rem;
  }
}

.market-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.market-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(34, 211, 238, 0.1);
  border-left: 3px solid var(--secondary);
  padding: 12px;
  border-radius: 4px;
}

/* Veículos */
.vehicles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 600px) {
  .vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .vehicles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.vehicle-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: var(--transition);
  overflow: hidden;
  box-sizing: border-box;
  height: 100%;
  position: relative;
}

.vehicle-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.2);
}

.vehicle-card.out-of-budget {
  background: rgba(211, 47, 47, 0.05);
  border: 1px solid rgba(211, 47, 47, 0.3);
  opacity: 0.85;
}

.vehicle-card.out-of-budget:hover {
  border-color: #d32f2f;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(211, 47, 47, 0.2);
}

.vehicle-header {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.vehicle-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.vehicle-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.vehicle-type,
.vehicle-autonomy,
.vehicle-category {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
}

.vehicle-rating {
  font-size: 0.9rem;
  color: var(--primary);
}

/* Recomendação Aprimorada */
.rec-content {
  line-height: 1.7;
}

.rec-content p {
  margin-bottom: 16px;
}

.rec-cta {
  background: rgba(34, 197, 94, 0.1);
  border-left: 4px solid var(--primary);
  padding: 16px;
  border-radius: 4px;
  margin-top: 16px;
}

/* Plano de Ação */
.action-plan {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.action-step {
  display: flex;
  gap: 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  overflow: hidden;
  box-sizing: border-box;
}

.action-step:hover {
  border-color: var(--primary);
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-content h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-light);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Disclaimer */
.disclaimer {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.disclaimer h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-style: normal;
  color: var(--text-light);
}

/* ============================================================
   CHECKOUT TRANSPARENTE
============================================================ */
.checkout-header {
  text-align: center;
  padding: 30px 20px 20px;
  border-bottom: 1px solid var(--border);
}

.checkout-container {
  padding: 30px 20px;
  max-width: 500px;
  margin: 0 auto;
}

#pix-qr-area {
  animation: fadeIn 0.5s ease;
}

#pix-code-text {
  transition: var(--transition);
}

#pix-code-text:focus {
  outline: 2px solid var(--primary);
  border-color: var(--primary);
}

#btn-copy-pix:hover {
  background: rgba(34, 197, 94, 0.1);
  color: var(--primary);
}

#countdown-timer {
  font-weight: 600;
  animation: pulse 2s ease-in-out infinite;
}

#payment-loading {
  padding: 15px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--primary);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
}

/* ============================================================
   ELEMENTOS DE CONVERSÃO (Social Proof, Urgency, Scarcity)
============================================================ */

/* Social Proof Badge */
.social-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.badge-icon {
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

.badge-text strong {
  color: var(--primary);
  font-weight: 600;
}

/* Urgency Badge */
.urgency-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.3);
  padding: 8px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: #facc15;
}

.urgency-icon {
  font-size: 1rem;
  animation: pulse 1.5s infinite;
}

.urgency-text strong {
  color: #fbbf24;
  font-weight: 600;
}

/* Guarantee Badge */
.guarantee-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 10px 16px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--secondary);
}

.guarantee-icon {
  font-size: 1.2rem;
  color: var(--primary);
}

.guarantee-text {
  line-height: 1.4;
}

/* Live Activity Badge */
.live-activity-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.live-text strong {
  color: #ef4444;
  font-weight: 600;
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

/* Badge de Simulações Restantes */
.simulations-badge-container {
  margin-bottom: 24px;
}

.simulations-badge {
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 12px;
  padding: 12px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.sim-icon {
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

.sim-text strong {
  color: var(--secondary);
  font-weight: 600;
}

.btn-new-simulation {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-new-simulation:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

/* Centralização universal de botões */
.btn-container,
.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

/* Garantir que todos os cards tenham box-sizing correto */
.summary-card,
.cost-card,
.maintenance-item,
.market-stat,
.savings-item {
  box-sizing: border-box;
  overflow: hidden;
}

/* ============================================================
   RESPONSIVO
============================================================ */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn-cta {
    font-size: 1rem;
    padding: 14px 24px;
  }
  
  .screen-title {
    font-size: 1.5rem;
  }
}
