/* ========================================
   RESET & BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors - Quantye (Cyan/Azul claro) */
  --primary: #00D9FF;
  --primary-dark: #00B8D4;
  --primary-light: #4DFFFF;
  --secondary: #7C6FFF;
  --secondary-light: #9B8FFF;
  --accent: #FFD600;
  --success: #00FF88;
  --warning: #FFD600;
  --danger: #FF4757;
  
  --bg-dark: #0A0E27;
  --bg-card: rgba(20, 25, 50, 0.75);
  --bg-card-hover: rgba(30, 35, 65, 0.85);
  --bg-overlay: rgba(10, 14, 39, 0.85);
  
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.6);
  
  --border-color: rgba(0, 217, 255, 0.2);
  --border-color-light: rgba(0, 217, 255, 0.4);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 217, 255, 0.3);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Typography */
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-heading: 'Segoe UI', system-ui, sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Melhorias para touch */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ========================================
   BACKGROUND
   ======================================== */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: url('bkg_hero.jpg') center/cover;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease;
}

.background-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.75) 0%, rgba(20, 25, 50, 0.85) 100%);
}

.bg-image {
  display: none; /* Não usar mais as imagens pesadas */
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: rgba(10, 14, 39, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* ========================================
   WIZARD CONTAINER
   ======================================== */
.wizard-container {
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 4rem;
}

.screen {
  display: none;
  animation: fadeIn 0.5s ease;
}

.screen.active {
  display: block;
}

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

/* ========================================
   WELCOME SCREEN
   ======================================== */
.welcome-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  padding-top: 10rem;
}

.planet-container {
  margin-bottom: 2rem;
  animation: float 6s ease-in-out infinite;
}

.planet-animation {
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 0 30px rgba(108, 99, 255, 0.5));
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.welcome-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.welcome-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Typing Animation */
.typing-animation {
  display: inline-block;
  min-width: 280px;
  text-align: left;
}

.cursor {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  animation: blink 0.7s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.welcome-subtitle {
  font-size: 1.8rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.welcome-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.welcome-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  font-size: 1.5rem;
}

.feature-text {
  font-size: 1rem;
  color: var(--text-secondary);
}

.privacy-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary,
.btn-secondary,
.btn-whatsapp {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-main);
  /* Touch-friendly */
  min-height: 44px;
  -webkit-user-select: none;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #0A0E27;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.5);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.8);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 2px solid var(--border-color-light);
  font-weight: 600;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(5px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

/* ========================================
   PROGRESS BAR
   ======================================== */
.progress-container {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  transition: width 0.5s ease;
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.8);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ========================================
   CATEGORY NAVIGATION
   ======================================== */
.category-nav {
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.category-nav::-webkit-scrollbar {
  height: 6px;
}

.category-nav::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.category-nav::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.category-item {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-item.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.category-item.completed {
  border-color: var(--success);
  color: var(--success);
}

.category-item .category-icon {
  margin-right: 0.5rem;
}

/* ========================================
   WIZARD SCREEN
   ======================================== */
#wizardScreen {
  position: relative;
  min-height: 100vh;
}

/* ========================================
   STEP CONTAINER
   ======================================== */
.step-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  backdrop-filter: blur(10px);
  position: relative;
}

.step-header::after {
  content: '';
  position: absolute;
  right: 1rem;
  width: 60px;
  height: 60px;
  background: url('planeta_mapa.svg') center/contain no-repeat;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

.step-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 15px rgba(0, 217, 255, 0.6));
  flex-shrink: 0;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: var(--primary-light);
  flex: 1;
}

.step-description {
  display: none; /* Remover descrição para economizar espaço */
}

/* ========================================
   AI FEEDBACK
   ======================================== */
.ai-feedback {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(0, 217, 255, 0.1) 100%);
  border: 1px solid var(--primary);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.ai-avatar {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.ai-message {
  flex: 1;
}

.ai-message p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
}

/* ========================================
   FIELDS CONTAINER
   ======================================== */
.fields-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.field-group {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.field-group:hover {
  border-color: var(--border-color-light);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
  transform: translateY(-2px);
}

.field-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

.field-required {
  color: var(--danger);
  margin-left: 0.25rem;
}

.field-guidance {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-style: italic;
  line-height: 1.4;
}

.field-input,
.field-textarea,
.field-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: all 0.3s ease;
  /* Touch-friendly */
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}

/* Corrigir autocomplete do Chrome */
.field-input:-webkit-autofill,
.field-input:-webkit-autofill:hover,
.field-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(30, 35, 65, 0.9) inset !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  border: 2px solid var(--primary) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.field-input:focus,
.field-textarea:focus,
.field-select:focus {
  outline: none;
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.2);
}

.field-textarea {
  min-height: 100px;
  resize: vertical;
}

.field-select {
  cursor: pointer;
}

.field-select option {
  background: var(--bg-dark);
  color: var(--text-primary);
}

/* Multiselect */
.multiselect-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.multiselect-option {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.multiselect-option:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.multiselect-option.selected {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-color: var(--primary-light);
  color: #0A0E27;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.5);
  transform: translateY(-2px);
}

.multiselect-option .check-icon {
  margin-right: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.multiselect-option.selected .check-icon {
  opacity: 1;
}

/* ========================================
   STEP ACTIONS
   ======================================== */
.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
}

.step-actions button {
  flex: 1;
  max-width: 200px;
}

.step-actions button:only-child {
  margin-left: auto;
}

/* ========================================
   LOADING OVERLAY
   ======================================== */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 24px;
  z-index: 100;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  margin-top: 2rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.loading-subtext {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  opacity: 0.8;
}

/* ========================================
   REPORT SCREEN
   ======================================== */
.report-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.report-header {
  text-align: center;
  margin-bottom: 3rem;
}

.success-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: scaleIn 0.5s ease;
  color: var(--primary);
}

/* Lucide Icons */
.icon-large {
  width: 80px;
  height: 80px;
  stroke-width: 1.5;
}

.icon-btn {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.icon-inline {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.icon-feature {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}

.icon-arrow {
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.icon-avatar {
  width: 40px;
  height: 40px;
  stroke-width: 2;
}

.icon-step {
  width: 48px;
  height: 48px;
  stroke-width: 2;
  color: var(--primary);
}

.icon-category {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* ========================================
   CUSTOM ALERT
   ======================================== */
.custom-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease;
}

.custom-alert {
  background: linear-gradient(135deg, rgba(30, 35, 65, 0.98), rgba(20, 25, 55, 0.98));
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}

.custom-alert-icon {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.custom-alert-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.custom-alert-message {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.custom-alert-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.custom-alert-actions button {
  min-width: 120px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.report-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.report-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.report-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
}

.report-section {
  margin-bottom: 2.5rem;
}

.report-section:last-child {
  margin-bottom: 0;
}

.report-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.report-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.report-stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.report-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.report-list {
  list-style: none;
  padding: 0;
}

.report-list li {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--success);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.report-list.risks li {
  border-left-color: var(--warning);
}

.report-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.next-steps {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(0, 217, 255, 0.1) 100%);
  border: 1px solid var(--primary);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.next-steps h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.next-steps p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: rgba(10, 14, 39, 0.9);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet e Mobile Landscape (768px - 1024px) */
@media (max-width: 1024px) {
  .wizard-container {
    padding: 1rem;
  }
  
  .fields-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .report-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .answers-summary-content {
    grid-template-columns: 1fr;
  }
}

/* Mobile Portrait e Landscape (max 768px) */
@media (max-width: 768px) {
  /* Welcome Screen */
  .welcome-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .typing-animation {
    min-width: 200px;
  }
  
  .welcome-subtitle {
    font-size: 1.1rem;
  }
  
  .welcome-description {
    font-size: 0.95rem;
  }
  
  .welcome-features {
    flex-direction: column;
    gap: 1rem;
  }
  
  .feature-item {
    justify-content: center;
  }
  
  .btn-large {
    width: 100%;
    padding: 1rem 2rem;
  }
  
  /* Progress Bar */
  .progress-container {
    padding: 1rem;
  }
  
  .progress-info {
    font-size: 0.85rem;
  }
  
  /* Category Navigation */
  .category-nav {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  
  .category-item {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  
  /* Step Container */
  .step-container {
    padding: 0 1rem;
  }
  
  .step-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .step-icon {
    margin: 0 auto;
  }
  
  .step-title {
    font-size: 1.5rem;
  }
  
  .step-description {
    font-size: 0.9rem;
  }
  
  /* Fields */
  .fields-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .field-label {
    font-size: 0.9rem;
  }
  
  .field-input,
  .field-textarea,
  .field-select {
    font-size: 1rem;
  }
  
  /* AI Feedback */
  .ai-feedback {
    flex-direction: column;
    text-align: center;
  }
  
  .ai-avatar {
    margin: 0 auto 1rem;
  }
  
  /* Actions */
  .step-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .step-actions button {
    max-width: 100%;
    width: 100%;
  }
  
  /* Report Screen */
  .report-container {
    padding: 2rem 1rem;
  }
  
  .report-title {
    font-size: 2rem;
  }
  
  .report-subtitle {
    font-size: 1rem;
  }
  
  .report-content {
    padding: 2rem 1.5rem;
  }
  
  .report-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .report-stat-value {
    font-size: 1.5rem;
  }
  
  .report-actions {
    flex-direction: column;
  }
  
  .report-actions button {
    width: 100%;
  }
  
  /* Review Screen */
  .review-container {
    padding: 2rem 1rem;
  }
  
  .review-title {
    font-size: 2rem;
  }
  
  .review-subtitle {
    font-size: 1rem;
  }
  
  .ai-analysis,
  .answers-summary {
    padding: 1.5rem;
  }
  
  .answers-summary-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .review-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .review-actions button {
    width: 100%;
    min-width: auto;
  }
  
  /* Custom Alert */
  .custom-alert {
    width: 95%;
    padding: 2rem 1.5rem;
  }
  
  .custom-alert-actions {
    flex-direction: column;
  }
  
  .custom-alert-actions button {
    width: 100%;
    min-width: auto;
  }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
  .welcome-title {
    font-size: 1.75rem;
  }
  
  .typing-animation {
    min-width: 150px;
  }
  
  .welcome-subtitle {
    font-size: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .step-title {
    font-size: 1.25rem;
  }
  
  .report-title {
    font-size: 1.75rem;
  }
  
  .review-title {
    font-size: 1.75rem;
  }
  
  .icon-large {
    width: 60px;
    height: 60px;
  }
  
  .icon-step {
    width: 36px;
    height: 36px;
  }
  
  .category-nav {
    font-size: 0.8rem;
  }
  
  .progress-info {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }
}

/* Landscape Mobile (max height 500px) */
@media (max-height: 500px) and (orientation: landscape) {
  .welcome-content {
    padding: 2rem 1rem;
  }
  
  .welcome-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
  
  .welcome-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .welcome-features {
    margin: 1rem 0;
  }
  
  .step-header {
    padding: 0.5rem 1rem;
  }
  
  .ai-analysis,
  .answers-summary {
    padding: 1rem;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   REVIEW SCREEN
   ======================================== */
#reviewScreen {
  position: relative;
  min-height: 100vh;
}

.review-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.review-header {
  text-align: center;
  margin-bottom: 3rem;
}

.review-header .icon-large {
  color: var(--primary);
  margin-bottom: 1rem;
}

.review-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.review-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.ai-analysis {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(124, 111, 255, 0.1));
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  animation: slideInUp 0.5s ease;
}

.ai-analysis-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ai-analysis-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.ai-analysis-content {
  color: var(--text-primary);
  line-height: 1.8;
}

.ai-insight {
  background: rgba(0, 217, 255, 0.05);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.ai-insight-label {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.ai-insight-text {
  color: var(--text-secondary);
}

.answers-summary {
  background: rgba(30, 35, 65, 0.5);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.answers-summary-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.answers-summary-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.answers-summary-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.answer-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
}

.answer-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  display: block;
}

.answer-value {
  font-size: 1rem;
  color: var(--text-primary);
  word-break: break-word;
}

.review-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
}

.review-actions button {
  min-width: 200px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

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

