/* Design System Premium - Simulado Interativo Resumix */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Cores - Identidade Resumix Premium (Dark-First) */
  --bg-primary: #070a13;
  --bg-secondary: #0f1322;
  --card-bg: rgba(20, 26, 46, 0.65);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-glow: rgba(245, 158, 11, 0.08);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --primary: #f59e0b; /* Amarelo-Ouro Resumix */
  --primary-rgb: 245, 158, 11;
  --primary-hover: #d97706;
  --secondary: #6366f1; /* Indigo */
  
  --success: #10b981; /* Verde Acerto */
  --success-bg: rgba(16, 185, 129, 0.1);
  --success-border: rgba(16, 185, 129, 0.25);
  
  --error: #ef4444; /* Vermelho Erro */
  --error-bg: rgba(239, 68, 68, 0.1);
  --error-border: rgba(239, 68, 68, 0.25);

  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --container-width: 1100px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Layout Geral */
.app-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0 25px 0;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 25px;
}

.resumix-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #e81c7f 0%, #8038bf 50%, #126cf4 100%);
  padding: 6px 20px;
  border-radius: 25px 0px 25px 0px; /* Folha diagonal */
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(128, 56, 191, 0.25);
  transition: var(--transition-normal);
}

.resumix-logo:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(128, 56, 191, 0.4);
}

.resumix-logo span {
  letter-spacing: -0.04em;
}

.resumix-logo .logo-x {
  color: #e81c7f;
  margin-left: 0.5px;
  font-weight: 800;
}

/* Telas Gerais */
.screen {
  display: none;
  animation: fadeIn var(--transition-slow);
  width: 100%;
}

.screen.active {
  display: block;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(245, 158, 11, 0.2), transparent);
}

/* Títulos Premium */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-weight: 400;
}

/* TELA 1: CAPTURA DE LEAD */
.lead-screen-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 20px 0;
}

@media (min-width: 900px) {
  .lead-screen-wrapper {
    grid-template-columns: 1.2fr 1fr;
  }
}

.lead-hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.lead-hero-text p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 35px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.2);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.feature-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Formulário Premium */
.lead-form-card h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.lead-form-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.form-group {
  position: relative;
  margin-bottom: 22px;
}

.form-input {
  width: 100%;
  padding: 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-normal);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
  background: rgba(15, 23, 42, 0.8);
}

.form-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-normal);
  font-size: 1rem;
}

/* Animação Floating Label */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -2px;
  left: 10px;
  transform: translateY(-50%) scale(0.85);
  background: var(--bg-secondary);
  padding: 0 6px;
  color: var(--primary);
  font-weight: 500;
}

/* Botões */
.btn-primary {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #fb923c 100%);
  border: none;
  border-radius: var(--radius-md);
  color: #070a13;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Efeito Shimmer de Brilho */
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(30deg);
  transition: none;
  animation: shimmerEffect 4s infinite linear;
}

@keyframes shimmerEffect {
  0% { left: -60%; }
  25% { left: 150%; }
  100% { left: 150%; }
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 15px;
}

/* TELA 2: INTERAÇÃO DO SIMULADO */
.quiz-top-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.quiz-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  background: rgba(245, 158, 11, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.quiz-progress-text {
  font-weight: 500;
  color: var(--text-secondary);
}

/* Barra de Progresso Superior */
.progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 30px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--primary), var(--success));
  border-radius: var(--radius-sm);
  transition: width var(--transition-normal);
}

/* Layout Dividido (Split Layout) */
.quiz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

@media (min-width: 960px) {
  .quiz-grid.has-base-text {
    grid-template-columns: 1.1fr 1.2fr;
  }
}

/* Painel de Texto de Apoio */
.base-text-panel {
  display: flex;
  flex-direction: column;
  max-height: 70vh;
}

.base-text-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 16px;
}

.base-text-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-resize-controls {
  display: flex;
  gap: 8px;
}

.btn-resize {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-resize:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--primary);
}

.base-text-content {
  overflow-y: auto;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  padding-right: 10px;
  white-space: pre-line;
  max-height: 50vh;
}

/* Custom Scrollbar */
.base-text-content::-webkit-scrollbar {
  width: 6px;
}
.base-text-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 3px;
}
.base-text-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
.base-text-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Acordeão Mobile para o Texto-Base */
.mobile-accordion {
  display: none;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
}

.mobile-accordion-trigger {
  width: 100%;
  padding: 14px 20px;
  background: none;
  border: none;
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-accordion-icon {
  transition: transform var(--transition-normal);
}

.mobile-accordion.open .mobile-accordion-icon {
  transform: rotate(180deg);
}

.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 20px;
}

.mobile-accordion.open .mobile-accordion-content {
  padding-bottom: 20px;
  max-height: 300px;
  overflow-y: auto;
}

/* Questão Panel */
.question-container {
  display: flex;
  flex-direction: column;
}

.question-statement {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 24px;
}

/* Alternativas */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 25px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: left;
  width: 100%;
}

.option-card:hover:not(.disabled) {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.03);
  transform: translateX(4px);
}

.option-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.option-text {
  font-size: 0.98rem;
  color: var(--text-primary);
  font-weight: 400;
  flex: 1;
}

.option-card:hover:not(.disabled) .option-badge {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(245, 158, 11, 0.1);
}

/* Estado: Selecionada / Correta / Incorreta */
.option-card.correct {
  background: var(--success-bg) !important;
  border-color: var(--success) !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.option-card.correct .option-badge {
  background: var(--success) !important;
  border-color: var(--success) !important;
  color: #070a13 !important;
}

.option-card.incorrect {
  background: var(--error-bg) !important;
  border-color: var(--error) !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

.option-card.incorrect .option-badge {
  background: var(--error) !important;
  border-color: var(--error) !important;
  color: #fff !important;
}

.option-card.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Painel de Explicação / Comentário Didático */
.explanation-panel {
  display: none;
  margin-top: 10px;
  animation: slideUp var(--transition-normal);
}

.explanation-card {
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 1px solid var(--card-border);
}

.explanation-card.correct-feedback {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.2);
}

.explanation-card.incorrect-feedback {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
}

.feedback-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.explanation-card.correct-feedback .feedback-tag {
  background: var(--success);
  color: #070a13;
}

.explanation-card.incorrect-feedback .feedback-tag {
  background: var(--error);
  color: #fff;
}

.explanation-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.explanation-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.explanation-body strong {
  color: var(--text-primary);
}

.quiz-action-area {
  display: flex;
  justify-content: flex-end;
}

/* TELA 3: RESULTADOS E RANKING */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 900px) {
  .results-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.results-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Círculo do Score Radial */
.score-circle-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.score-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 10;
}

.score-circle-fill {
  fill: none;
  stroke: linear-gradient(135deg, var(--primary), var(--success));
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 471.2;
  stroke-dashoffset: 471.2;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-value {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.score-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.performance-status {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.performance-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 340px;
}

/* Métricas Rápidas */
.metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  margin-bottom: 20px;
}

.metric-card {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--card-border);
  padding: 15px;
  border-radius: var(--radius-md);
  text-align: center;
}

.metric-card h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.metric-card p {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Oferta Premium (Super CTA) */
.premium-cta-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.premium-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #6366f1, #a855f7, #ec4899);
}

.cta-tag {
  background: rgba(168, 85, 247, 0.25);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #d8b4fe;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.premium-cta-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  background: linear-gradient(to right, #fff, #f3e8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.premium-cta-card p {
  font-size: 0.98rem;
  color: #c084fc;
  margin-bottom: 25px;
}

.btn-cta {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  color: #fff;
  border: none;
  font-size: 1.15rem;
  box-shadow: 0 5px 25px rgba(236, 72, 153, 0.4);
  animation: pulseGlow 2s infinite alternate;
}

.btn-cta:hover {
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.6);
  transform: translateY(-2px);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 5px 20px rgba(236, 72, 153, 0.4); }
  100% { box-shadow: 0 5px 30px rgba(236, 72, 153, 0.7), 0 0 10px rgba(139, 92, 246, 0.3); }
}

.btn-secondary {
  width: 100%;
  margin-top: 15px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-secondary);
}

/* Leaderboard / Ranking Geral */
.leaderboard-container {
  display: flex;
  flex-direction: column;
}

.leaderboard-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.leaderboard-table-wrapper {
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ranking-table th {
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-weight: 600;
  border-bottom: 1px solid var(--card-border);
}

.ranking-table td {
  padding: 14px 16px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ranking-table tr:last-child td {
  border-bottom: none;
}

/* Linha Destaque do Usuário Atual */
.ranking-table tr.current-user {
  background: rgba(245, 158, 11, 0.06);
  position: relative;
}

.ranking-table tr.current-user td {
  color: var(--primary);
  font-weight: 600;
}

/* Medalhas e Posições */
.rank-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.ranking-table tr:nth-child(1) .rank-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #070a13;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.ranking-table tr:nth-child(2) .rank-badge {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  color: #070a13;
}

.ranking-table tr:nth-child(3) .rank-badge {
  background: linear-gradient(135deg, #b45309, #78350f);
  color: #fff;
}

/* Animações Auxiliares */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Responsividade de Fontes e Layouts */
@media (max-width: 600px) {
  .app-container {
    padding: 12px;
  }
  
  .glass-card {
    padding: 20px;
    border-radius: var(--radius-md);
  }
  
  .lead-hero-text h1 {
    font-size: 2.1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .ranking-table th, .ranking-table td {
    padding: 10px 8px;
    font-size: 0.85rem;
  }
  
  .metrics-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Rodapé */
footer {
  text-align: center;
  padding: 40px 0 20px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: auto;
  border-top: 1px solid var(--card-border);
}
