/* ==========================================
   FIX YOUR KYC - ULTIMATE EDITION
   ========================================== */

:root {
  --bg: #0a0f1a;
  --bg-card: rgba(255,255,255,0.02);
  --bg-card-hover: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.08);
  --emerald: #10b981;
  --emerald-glow: rgba(16,185,129,0.15);
  --cyan: #06b6d4;
  --text: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --red: #ef4444;
  --yellow: #f59e0b;
}

[data-theme="light"] {
  --bg: #f8fafc;
  --bg-card: rgba(255,255,255,0.8);
  --bg-card-hover: rgba(255,255,255,0.95);
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }

/* Background Effects */
.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16,185,129,0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(6,182,212,0.08), transparent);
}

/* Floating Particles */
.particles {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--emerald);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 20s infinite;
}
.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 80%; top: 40%; animation-delay: -5s; }
.particle:nth-child(3) { left: 30%; top: 60%; animation-delay: -10s; }
.particle:nth-child(4) { left: 70%; top: 80%; animation-delay: -15s; }
.particle:nth-child(5) { left: 50%; top: 30%; animation-delay: -7s; }
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-100px) translateX(20px); opacity: 0.6; }
  50% { transform: translateY(-50px) translateX(-20px); opacity: 0.3; }
  75% { transform: translateY(-150px) translateX(10px); opacity: 0.5; }
}

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 24px;
  background: rgba(10,15,26,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .header { background: rgba(248,250,252,0.9); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; transition: opacity 0.2s; }
.logo:hover { opacity: 0.8; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--text-secondary); font-size: 14px; transition: color 0.2s; position: relative; }
.nav a:hover, .nav a.active { color: var(--emerald); }
.nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--emerald); transition: width 0.2s; }
.nav a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 50px;
  padding: 10px; cursor: pointer; transition: all 0.3s;
}
.theme-toggle:hover { border-color: var(--emerald); transform: rotate(180deg); }
.theme-toggle svg { width: 18px; height: 18px; color: var(--text-secondary); display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px; font-weight: 600; font-size: 14px;
  border: none; cursor: pointer; transition: all 0.3s; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: white; box-shadow: 0 4px 20px var(--emerald-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--emerald-glow); }
.btn-secondary { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-card-hover); border-color: var(--emerald); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 16px; }

/* Cards */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 24px; transition: all 0.3s;
}
.card:hover { border-color: rgba(16,185,129,0.2); }
.glass-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
}
[data-theme="light"] .glass-card { background: rgba(255,255,255,0.7); }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 100px; font-size: 14px; font-weight: 500;
}
.badge-emerald {
  background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(6,182,212,0.15));
  color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3);
}
.file-badge {
  font-size: 12px; color: var(--text-muted);
  background: var(--bg-card); padding: 6px 12px; border-radius: 8px;
  border: 1px solid var(--border);
}
.progress-badge {
  font-size: 14px; font-weight: 700; color: var(--emerald);
  min-width: 48px; text-align: right;
}

.gradient-text {
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Spinner */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.spin { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Pulse Ring */
.pulse-ring { display: inline-block; position: relative; }
.pulse-ring::before {
  content: ''; position: absolute; inset: -8px;
  border-radius: 100px; background: var(--emerald);
  opacity: 0; animation: pulse-out 2s ease-out infinite;
}
@keyframes pulse-out {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Analysis Grid */
.analysis-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}

/* Preview Box */
.preview-box {
  position: relative; background: linear-gradient(180deg, #0d1321 0%, #0a0f1a 100%);
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  min-height: 220px; display: flex; align-items: center; justify-content: center;
}
.preview-box img { max-width: 100%; max-height: 260px; object-fit: contain; position: relative; z-index: 1; }
.scan-line {
  position: absolute; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--emerald), var(--cyan), transparent);
  box-shadow: 0 0 20px var(--emerald), 0 0 40px var(--emerald);
  animation: scan 2.5s ease-in-out infinite;
}
@keyframes scan { 0%, 100% { top: 10%; opacity: 0; } 10%, 90% { opacity: 1; } 50% { top: 90%; } }

.scan-corners { position: absolute; inset: 12px; pointer-events: none; z-index: 2; }
.scan-corner {
  position: absolute; width: 20px; height: 20px;
  border: 2px solid var(--emerald); opacity: 0.6;
}
.scan-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 4px 0 0 0; }
.scan-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 4px 0 0; }
.scan-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; border-radius: 0 0 0 4px; }
.scan-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; border-radius: 0 0 4px 0; }

.security-note {
  display: flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 12px; color: var(--text-muted);
}
.security-note svg { color: var(--emerald); flex-shrink: 0; }

/* Progress */
.progress-container { margin-bottom: 20px; }
.progress-bar {
  height: 6px; background: var(--border); border-radius: 3px; overflow: hidden;
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
  border-radius: 3px; transition: width 0.4s ease;
  position: relative;
}
.progress-fill::after {
  content: ''; position: absolute; right: 0; top: -2px; bottom: -2px; width: 20px;
  background: linear-gradient(90deg, transparent, white); opacity: 0.3;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% { opacity: 0; } 50% { opacity: 0.5; } 100% { opacity: 0; } }

/* Steps */
.step-list { display: flex; flex-direction: column; gap: 12px; }
.step-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border);
  transition: all 0.4s;
}
.step-item.pending { opacity: 0.5; }
.step-item.active {
  opacity: 1; background: rgba(16,185,129,0.08);
  border-color: rgba(16,185,129,0.3);
  transform: translateX(4px);
}
.step-item.done { opacity: 1; }
.step-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.3s;
}
.step-item.active .step-icon { background: var(--emerald); border-color: var(--emerald); }
.step-item.active .step-icon svg { color: white; }
.step-item.done .step-icon { background: rgba(16,185,129,0.15); border-color: var(--emerald); }
.step-item.done .step-icon svg { color: var(--emerald); }
.step-icon svg { color: var(--text-muted); }
.step-content { flex: 1; }
.step-text { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.step-status { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.step-item.active .step-status { color: var(--emerald); }
.step-item.done .step-status { color: var(--emerald); }

.ai-note {
  display: flex; align-items: center; gap: 10px; margin-top: 20px;
  padding: 12px 14px; background: rgba(16,185,129,0.05);
  border-radius: 10px; border: 1px solid rgba(16,185,129,0.1);
}
.ai-avatar {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  display: flex; align-items: center; justify-content: center;
}
.ai-avatar svg { color: white; width: 14px; height: 14px; }
.ai-note span { font-size: 12px; color: var(--text-secondary); }

/* Score Ring */
.score-container { text-align: center; margin-bottom: 32px; }
.score-ring {
  width: 180px; height: 180px; margin: 0 auto 24px;
  border-radius: 50%; position: relative;
  background: conic-gradient(var(--emerald) calc(var(--score, 0) * 1%), var(--border) 0);
  display: flex; align-items: center; justify-content: center;
  animation: score-appear 0.6s ease;
}
@keyframes score-appear { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.score-ring::before {
  content: ''; position: absolute; inset: 10px;
  background: var(--bg); border-radius: 50%;
}
.score-value {
  position: relative; z-index: 1;
  font-size: 56px; font-weight: 800; line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.score-value small { font-size: 20px; color: var(--text-muted); font-weight: 600; }

/* Results Card */
.results-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 28px; padding: 48px; text-align: center;
  animation: results-appear 0.5s ease;
}
@keyframes results-appear { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Checks Grid */
.checks-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px; margin: 32px 0;
}
.check-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 12px;
  font-size: 13px; transition: all 0.3s;
}
.check-item:hover { transform: translateY(-2px); }
.check-item.pass { border-color: rgba(16,185,129,0.2); }
.check-item.pass .check-icon { color: var(--emerald); }
.check-item.warning { border-color: rgba(245,158,11,0.2); }
.check-item.warning .check-icon { color: var(--yellow); }
.check-item.critical { border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.05); }
.check-item.critical .check-icon { color: #ef4444; }
.check-item.critical .check-status { color: #ef4444; font-weight: 700; }
.check-status { margin-left: auto; font-size: 11px; font-weight: 600; }

@keyframes pulse-critical {
  0%, 100% { box-shadow: 0 4px 20px rgba(239,68,68,0.3); transform: translateY(0); }
  50% { box-shadow: 0 8px 40px rgba(239,68,68,0.5); transform: translateY(-2px); }
}
.check-item.pass .check-status { color: var(--emerald); }
.check-item.warning .check-status { color: var(--yellow); }

/* Comparison Slider */
.comparison-wrapper { max-width: 480px; margin: 32px auto; }
.comparison-title {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 16px; font-weight: 600; margin-bottom: 16px;
}
.comparison-title svg { color: var(--emerald); }
.comparison-container {
  position: relative; width: 100%; border-radius: 16px;
  overflow: hidden; border: 2px solid var(--border);
  background: #0d1321; cursor: ew-resize;
}
.comparison-container .after-img { display: block; width: 100%; height: auto; }
.comparison-container .before-img {
  position: absolute; top: 0; left: 0; width: 100%; height: auto;
  clip-path: inset(0 50% 0 0);
}
.comparison-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 48px; margin-left: -24px; cursor: ew-resize; z-index: 10;
  display: flex; align-items: center; justify-content: center;
}
.comparison-handle::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; margin-left: -1.5px;
  background: linear-gradient(180deg, var(--emerald), var(--cyan));
  box-shadow: 0 0 10px var(--emerald);
}
.comparison-handle::after {
  content: '⟷'; width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 18px; font-weight: bold;
  box-shadow: 0 4px 20px rgba(16,185,129,0.4); z-index: 1;
}
.comparison-labels {
  display: flex; justify-content: space-between; margin-top: 12px; padding: 0 8px;
}
.comparison-labels span {
  font-size: 12px; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.05em; font-weight: 500;
}

/* Download Buttons */
.download-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.btn-download {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: white; border: none; border-radius: 12px;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,185,129,0.3); }
.btn-download.secondary { background: var(--bg-card); border: 1px solid var(--border); color: var(--text); }
.btn-download.secondary:hover { border-color: var(--emerald); }

/* Share Buttons */
.share-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.share-title { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.share-buttons { display: flex; gap: 10px; justify-content: center; }
.share-btn {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s; color: var(--text-secondary);
}
.share-btn:hover { border-color: var(--emerald); color: var(--emerald); transform: translateY(-2px); }

/* Upload Zone */
.upload-zone {
  position: relative; border: 2px dashed rgba(255,255,255,0.15); border-radius: 24px;
  padding: 48px; text-align: center; cursor: pointer; transition: all 0.3s; background: var(--bg-card);
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--emerald); background: var(--emerald-glow); }
.upload-icon {
  width: 80px; height: 80px; margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--emerald-glow), rgba(6,182,212,0.15));
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
}
.upload-icon svg { color: var(--emerald); }
.upload-formats { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.upload-formats span {
  padding: 6px 14px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; font-size: 12px; color: var(--text-muted);
}

.corners { position: absolute; inset: 16px; pointer-events: none; }
.corner { position: absolute; width: 24px; height: 24px; border-color: rgba(16,185,129,0.4); border-style: solid; border-width: 0; }
.corner-tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-radius: 8px 0 0 0; }
.corner-tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-radius: 0 8px 0 0; }
.corner-bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-radius: 0 0 0 8px; }
.corner-br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-radius: 0 0 8px 0; }

/* QR */
.qr-upload-section { margin-top: 24px; text-align: center; padding: 20px; border-top: 1px dashed var(--border); }
.qr-upload-section p { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
.qr-code-box { background: white; padding: 12px; border-radius: 12px; display: inline-block; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.faq-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; transition: all 0.3s;
}
.faq-card:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-2px); }
.faq-card h4 {
  font-size: 15px; font-weight: 600; margin-bottom: 10px; color: var(--text);
  display: flex; align-items: flex-start; gap: 12px; line-height: 1.4;
}
.faq-card h4 svg { color: var(--emerald); flex-shrink: 0; margin-top: 2px; }
.faq-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin: 0; }

/* Social Proof */
.social-proof {
  position: fixed; bottom: 24px; left: 24px;
  background: var(--bg-card); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  transform: translateX(-150%); transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000; max-width: 320px;
}
[data-theme="light"] .social-proof { background: white; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.social-proof.show { transform: translateX(0); }
.social-proof-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.social-proof-icon svg { color: white; width: 20px; height: 20px; }
.social-proof-text strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 2px; }
.social-proof-text span { font-size: 12px; color: var(--text-muted); }

/* Confetti */
.confetti-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9999; overflow: hidden; }
.confetti { position: absolute; width: 10px; height: 10px; opacity: 0; }
@keyframes confettiFall { 0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; } 100% { transform: translateY(100vh) rotate(720deg); opacity: 0; } }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--bg-card); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 24px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3); z-index: 10000; opacity: 0; transition: all 0.3s ease;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-success { border-color: rgba(16,185,129,0.3); }
.toast-error { border-color: rgba(239,68,68,0.3); }

/* Forms */
input, textarea, select {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--text); font-size: 15px; font-family: inherit; transition: all 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(16,185,129,0.1); }
textarea { resize: vertical; min-height: 120px; }

/* Chat Button */
.chat-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  display: flex; align-items: center; gap: 8px; padding: 14px 24px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: white; font-weight: 600; font-size: 14px; border-radius: 100px;
  box-shadow: 0 4px 24px var(--emerald-glow); transition: all 0.3s;
}
.chat-btn:hover { transform: scale(1.05); }

/* Mobile Nav */
.menu-btn { display: none; }
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--bg); z-index: 999; padding: 80px 24px 24px; }
.mobile-nav.active { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav a { display: block; padding: 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; color: var(--text-secondary); font-size: 16px; }
.mobile-nav a:hover { background: var(--emerald-glow); color: var(--emerald); }

/* Animations */
.fade-in { animation: fadeIn 0.6s ease; }
.fade-up { animation: fadeUp 0.6s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Footer */
.footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--emerald), var(--cyan), transparent) 1;
  position: relative; margin-top: 80px;
}
[data-theme="light"] .footer { background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); }
.footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 100px;
  background: radial-gradient(ellipse, rgba(16,185,129,0.1) 0%, transparent 70%); pointer-events: none;
}
.footer-content { position: relative; z-index: 1; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { padding-right: 24px; }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-logo img { border-radius: 12px; }
.footer-logo span {
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-tagline { color: #94a3b8; font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.footer-email a { color: #64748b; font-size: 14px; display: inline-flex; align-items: center; gap: 10px; transition: color 0.2s; }
.footer-email a:hover { color: var(--emerald); }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #f8fafc; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; }
.footer-col a { color: #94a3b8; font-size: 14px; transition: all 0.2s; display: inline-block; }
.footer-col a:hover { color: var(--emerald); transform: translateX(4px); }
.footer-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); margin-bottom: 28px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-copy { color: #64748b; font-size: 13px; }
.footer-copy a { color: var(--emerald); }
.footer-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-badge {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.03em;
}
.footer-badge svg { color: var(--emerald); }

/* Responsive */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .section { padding: 60px 0; }
  h1 { font-size: 28px !important; }
  h2 { font-size: 24px !important; }
  .analysis-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-col { text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hide-mobile { display: none !important; }
  .comparison-wrapper { max-width: 100%; }
  .results-card { padding: 32px 24px; }
  .checks-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .checks-grid { grid-template-columns: 1fr; }
  .footer-badges { justify-content: center; }
  .download-buttons { flex-direction: column; }
  .btn-download { width: 100%; justify-content: center; }
}
