/**
 * ATS Scanner v7 - Modern Style with Privacy Modal
 * Privacy modal added, original v6 results presentation preserved
 */

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

.ats-scanner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Hero Section - Unique Cyan/Teal Gradient */
.hero-section {
  text-align: center;
  margin-bottom: 40px;
  padding: 50px 30px;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  border-radius: 16px;
  color: white;
}

.hero-section h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-section .subtitle {
  font-size: 20px;
  opacity: 0.95;
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-section .description {
  font-size: 16px;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

/* Privacy Badge with Info Icon (v7 Update) */
.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  position: relative;
}

/* Privacy Info Icon */
.privacy-info-icon {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  margin-left: 4px;
  opacity: 0.9;
  transition: all 0.3s ease;
  position: relative;
}

.privacy-info-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Desktop Tooltip */
@media (min-width: 769px) {
  .privacy-info-icon::after {
    content: "✓ 100% client-side processing\A✓ No server uploads\A✓ Zero data storage\A✓ Data deleted on page close";
    white-space: pre-line;
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.8;
    width: 280px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: left;
  }

  .privacy-info-icon::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f2937;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .privacy-info-icon:hover::after,
  .privacy-info-icon:hover::before {
    opacity: 1;
  }
}

/* Privacy Modal (v7 New) */
.privacy-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.privacy-modal.active {
  display: flex;
}

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

.privacy-modal-content {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.privacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid #e5e7eb;
}

.privacy-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
}

.privacy-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.privacy-modal-close:hover {
  background: #f3f4f6;
  color: #1f2937;
}

.privacy-modal-body {
  padding: 28px;
}

.privacy-feature {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.privacy-feature:last-child {
  margin-bottom: 0;
}

.privacy-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
}

.privacy-text strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.privacy-text p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.privacy-modal-footer {
  padding: 20px 28px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.privacy-modal-button {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

.privacy-modal-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.privacy-modal-button:active {
  transform: translateY(0);
}

/* How It Works - Modern Card Style */
.how-it-works {
  background: white;
  border: 2px solid #e0e7ff;
  padding: 20px 24px;
  margin-bottom: 30px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.how-it-works:hover {
  border-color: #667eea;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

.how-it-works h3 {
  margin: 0 0 12px 0;
  color: #1e293b;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.how-it-works-content {
  display: none;
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin-top: 16px;
}

.how-it-works-content.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.how-it-works-content p {
  margin: 8px 0;
}

.how-it-works-content ul {
  margin: 12px 0;
  padding-left: 24px;
}

.how-it-works-content li {
  margin: 6px 0;
}

.how-it-works-content strong {
  color: #1e293b;
  font-weight: 600;
}

/* Language Selection - Modern Card */
.language-selection {
  background: white;
  border: 2px solid #e0e7ff;
  padding: 20px 24px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.language-selection__label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  color: #1e293b;
  font-weight: 600;
}

.language-selection input[type="checkbox"] {
  margin-right: 12px;
  width: 22px;
  height: 22px;
  cursor: pointer;
  accent-color: #667eea;
}

.language-selection__note {
  font-size: 14px;
  color: #64748b;
  margin: 12px 0 0 34px;
  line-height: 1.6;
}

/* Upload Area - Uniformized with Text Extractor */
.upload-area {
  border: 3px dashed #cbd5e1;
  border-radius: 16px;
  padding: 80px 40px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.upload-area:hover {
  border-color: #667eea;
  background: #f0f4ff;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
}

.upload-area.drag-over {
  border-color: #667eea;
  background: #e0e7ff;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
}

.upload-icon {
  font-size: 64px;
  color: #667eea;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

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

.upload-text {
  font-size: 24px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 12px;
}

.upload-subtext {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 24px;
}

.file-types {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.file-type-badge {
  background: #e0e7ff;
  color: #4c1d95;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Loading - Modern Spinner */
.loading {
  display: none;
  text-align: center;
  padding: 80px 40px;
}

.spinner {
  border: 5px solid #f3f4f6;
  border-top: 5px solid #667eea;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading p {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.loading-subtext {
  font-size: 14px;
  color: #64748b;
}

/* Results */
.results {
  display: none;
}

/* Overall Score - Enhanced Gradient */
.overall-score {
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  color: white;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.overall-score:hover {
  transform: translateY(-4px);
}

.score-number {
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  margin: 16px 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.score-label {
  font-size: 20px;
  opacity: 0.95;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.score-description {
  font-size: 18px;
  margin-top: 12px;
  opacity: 0.95;
  font-weight: 500;
}

.weight-note {
  font-size: 14px;
  margin-top: 16px;
  opacity: 0.85;
  font-style: italic;
}

/* Badges - Modern Pills */
.badges-section {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.badge-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.badge-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.badge-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

/* Meta Panel - Modern Card */
.ats-meta-grid {
  display: block;
  margin-bottom: 30px;
}

.ats-meta-card {
  background: white;
  border: 2px solid #e0e7ff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ats-meta-title {
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ats-meta-line {
  font-size: 14px;
  color: #475569;
  margin: 8px 0;
  line-height: 1.6;
}

.ats-meta-line strong {
  color: #1e293b;
  font-weight: 600;
}

/* ATS Preview - Modern Card */
.ats-preview {
  background: white;
  border: 2px solid #e0e7ff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ats-preview h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 2px solid #e0e7ff;
}

.ats-preview-content {
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.8;
  max-height: 400px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.ats-preview-content::-webkit-scrollbar {
  width: 8px;
}

.ats-preview-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.ats-preview-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.ats-preview-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.toggle-preview {
  background: #667eea;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.toggle-preview:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.ats-preview-note {
  font-size: 13px;
  color: #64748b;
  margin-top: 12px;
  font-style: italic;
}

/* Category Cards - Modern Style */
.category {
  background: white;
  border: 2px solid #e0e7ff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.category:hover {
  border-color: #667eea;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.category-name {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
}

.category-weight {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-left: 8px;
}

.category-score {
  font-size: 28px;
  font-weight: 800;
}

/* Progress Bar - Modern Style */
.progress-bar-container {
  width: 100%;
  height: 14px;
  background: #f1f5f9;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-bar {
  height: 100%;
  border-radius: 50px;
  transition: width 0.6s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Score Colors - Vibrant */
.score-green { color: #10b981; }
.score-yellow { color: #f59e0b; }
.score-orange { color: #f97316; }
.score-red { color: #ef4444; }

.bg-green { background: linear-gradient(90deg, #10b981 0%, #059669 100%); }
.bg-yellow { background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%); }
.bg-orange { background: linear-gradient(90deg, #f97316 0%, #ea580c 100%); }
.bg-red { background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%); }

/* Feedback - Clean Typography */
.feedback {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

.feedback strong {
  color: #1e293b;
  font-weight: 600;
  font-size: 16px;
}

.feedback ul {
  margin: 12px 0;
  padding-left: 24px;
}

.feedback li {
  margin: 8px 0;
}

.feedback h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin: 16px 0 8px 0;
}

/* Sections Display */
.sections-detected {
  background: #f8fafc;
  padding: 18px;
  border-radius: 10px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
}

.sections-detected h4 {
  margin: 0 0 12px 0;
  font-size: 15px;
  color: #1e293b;
  font-weight: 600;
}

.sections-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.section-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.section-tag.found {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.section-tag.missing {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

/* Tips Section - Modern Card */
.tips-section {
  background: white;
  border: 2px solid #e0e7ff;
  border-radius: 12px;
  padding: 24px;
  margin-top: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tips-section h3 {
  margin-top: 0;
  color: #1e293b;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.tips-section ul {
  margin: 12px 0;
  padding-left: 24px;
}

.tips-section li {
  margin: 10px 0;
  line-height: 1.7;
  color: #475569;
}

.tips-section li strong {
  color: #1e293b;
  font-weight: 600;
}

/* Disclaimer - Info Box Style */
.disclaimer {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 20px;
  margin-top: 30px;
  border-radius: 8px;
  font-size: 14px;
  color: #1e3a8a;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.disclaimer strong {
  font-weight: 700;
  color: #1e40af;
}

/* Action Buttons - Modern Style */
.action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.btn {
  flex: 1;
  padding: 16px 24px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  color: white;
}

.btn-secondary:hover {
  box-shadow: 0 6px 20px rgba(100, 116, 139, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  text-decoration: none;
}

.btn-success:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  text-decoration: none;
}

.btn-ghost {
  background: #f1f5f9;
  color: #475569;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
}

.btn-ghost:hover {
  background: #cbd5e1;
  color: #1e293b;
  border-color: #94a3b8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-templates-link {
  display: block;
  text-align: center;
  margin-top: 24px;
}

/* Cross-Promo Box */
.cross-promo {
  background: white;
  border: 2px solid #e0e7ff;
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cross-promo h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  color: #1e293b;
  font-weight: 700;
}

.cross-promo p {
  margin: 0 0 20px 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

/* Messages - Modern Alerts */
.error-message {
  display: none;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 2px solid #fca5a5;
  color: #991b1b;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
  animation: slideDown 0.3s ease;
}

.success-message {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 2px solid #6ee7b7;
  color: #065f46;
  padding: 16px 20px;
  border-radius: 10px;
  margin-top: 16px;
  display: none;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
  animation: slideDown 0.3s ease;
}

/* Overall Score Buckets - Enhanced Gradients */
.overall-score.score-excellent {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.overall-score.score-good {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.overall-score.score-fair {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.overall-score.score-poor {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .ats-scanner-container {
    padding: 20px 15px;
  }

  .hero-section {
    padding: 40px 20px;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .hero-section .subtitle {
    font-size: 18px;
  }

  .privacy-notice h3 {
    font-size: 18px;
  }

  .upload-area {
    padding: 60px 30px;
  }

  .upload-icon {
    font-size: 48px;
  }

  .upload-text {
    font-size: 20px;
  }

  .score-number {
    font-size: 64px;
  }

  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .category-score {
    margin-top: 4px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .badges-section {
    flex-direction: column;
  }

  .badge {
    width: 100%;
    justify-content: center;
  }

  .ats-preview h3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .toggle-preview {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 28px;
  }

  .score-number {
    font-size: 56px;
  }

  .category-name {
    font-size: 18px;
  }

  .upload-area {
    padding: 50px 20px;
  }
}