*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0a0a0a;
  --fg: #f5f5f5;
  --muted: #888;
  --accent: #00ff88;
  --accent-dim: #00cc6a;
  --surface: #141414;
  --border: #222;
  --danger: #ff4444;
  --warning: #ffaa00;
  --success: #00ff88;
  --info: #4488ff;
}
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav .container { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo { font-weight: 800; font-size: 20px; letter-spacing: -0.5px; text-decoration: none; color: var(--fg); }
.logo span { color: var(--accent); }
nav ul { display: flex; list-style: none; gap: 28px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
nav a:hover, nav a.active { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; color: var(--fg); font-size: 13px; cursor: pointer; font-family: inherit; }
.lang-switch:hover { border-color: var(--accent); }
.hamburger { display: none; background: none; border: none; color: var(--fg); font-size: 24px; cursor: pointer; padding: 4px; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(0,255,136,0.04) 0%, transparent 70%);
  pointer-events: none;
}
#globeCanvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.08;
  margin-bottom: 24px;
}
h1 .accent { color: var(--accent); }
.hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.65;
}
.page-hero {
  min-height: auto;
  padding: 140px 24px 80px;
  min-height: 50vh;
}

/* SCAN INPUT */
.scan-box { max-width: 640px; margin: 0 auto; position: relative; }
.scan-input {
  width: 100%;
  padding: 20px 24px;
  padding-right: 140px;
  font-size: 16px;
  font-family: inherit;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.3s;
}
.scan-input:focus { border-color: var(--accent); }
.scan-input::placeholder { color: #555; }
.scan-btn {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  font-family: inherit;
}
.scan-btn:hover { opacity: 0.9; transform: translateY(-50%) scale(1.02); }
.scan-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: translateY(-50%); }
.scan-btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid #000; border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
.scan-btn.loading .btn-text { display: none; }
.scan-btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* SCAN PROGRESS */
.scan-progress { display: none; max-width: 640px; margin: 32px auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px; }
.scan-progress.active { display: block; }
.progress-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.progress-header h3 { font-size: 18px; font-weight: 600; }
.progress-header .status { color: var(--accent); font-size: 14px; font-weight: 500; }
.progress-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 24px; }
.progress-bar .fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.5s ease; width: 0%; }
.progress-steps { list-style: none; }
.progress-step { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); opacity: 0.4; transition: opacity 0.3s; }
.progress-step:last-child { border-bottom: none; }
.progress-step.active { opacity: 1; }
.progress-step.done { opacity: 0.7; }
.step-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; background: var(--border); flex-shrink: 0; }
.progress-step.active .step-icon { background: var(--accent); color: #000; }
.progress-step.done .step-icon { background: var(--accent-dim); color: #000; }
.step-text { font-size: 14px; font-weight: 500; }
.step-detail { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* RESULTS */
.results { display: none; max-width: 800px; margin: 0 auto; padding: 80px 24px; }
.results.active { display: block; }
.results-header { text-align: center; margin-bottom: 48px; }
.score-circle { width: 120px; height: 120px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 800; margin: 0 auto 16px; position: relative; }
.score-circle::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 4px solid var(--border); }
.score-circle.good { color: var(--success); }
.score-circle.good::before { border-color: var(--success); }
.score-circle.warning { color: var(--warning); }
.score-circle.warning::before { border-color: var(--warning); }
.score-circle.danger { color: var(--danger); }
.score-circle.danger::before { border-color: var(--danger); }
.result-cards { display: grid; gap: 16px; }
.result-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; }
.result-card .icon { font-size: 24px; flex-shrink: 0; }
.result-card .info { flex: 1; }
.result-card .info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.result-card .info p { font-size: 13px; color: var(--muted); }
.result-card .badge { padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.badge.pass { background: rgba(0,255,136,0.15); color: var(--success); }
.badge.warn { background: rgba(255,170,0,0.15); color: var(--warning); }
.badge.fail { background: rgba(255,68,68,0.15); color: var(--danger); }
.badge.info { background: rgba(68,136,255,0.15); color: var(--info); }
.blurred { filter: blur(6px); user-select: none; pointer-events: none; }

/* PAYWALL */
.paywall { background: linear-gradient(135deg, rgba(0,255,136,0.08), rgba(0,255,136,0.02)); border: 2px solid var(--accent); border-radius: 16px; padding: 48px; text-align: center; margin-top: 32px; }
.paywall h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.paywall p { color: var(--muted); margin-bottom: 24px; font-size: 15px; }
.paywall .price { font-size: 48px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.paywall .price-note { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.pay-btn { background: var(--accent); color: #000; border: none; border-radius: 12px; padding: 18px 48px; font-size: 17px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; font-family: inherit; }
.pay-btn:hover { opacity: 0.9; }
.pay-features { display: flex; justify-content: center; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.pay-features span { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* SECTIONS */
.section { padding: 100px 0; border-top: 1px solid var(--border); }
.section-title { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 12px; letter-spacing: -1px; }
.section-subtitle { text-align: center; color: var(--muted); font-size: 17px; max-width: 600px; margin: 0 auto 60px; line-height: 1.6; }

/* FEATURES GRID */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 32px; transition: border-color 0.3s, transform 0.2s; }
.feature-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* TEAM SECTION */
.team-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.team-card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 32px; text-align: center; }
.team-card .team-icon { font-size: 40px; margin-bottom: 16px; opacity: 0.6; }
.team-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.team-badge { display: inline-block; background: rgba(0,255,136,0.1); border: 1px solid rgba(0,255,136,0.2); color: var(--accent); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; margin-top: 16px; }

/* STATS */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 60px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; text-align: center; }
.stat-number { font-size: 36px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.stat-label { font-size: 13px; color: var(--muted); }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 700px; margin: 0 auto; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 40px 32px; text-align: center; position: relative; transition: border-color 0.3s; }
.price-card:hover { border-color: var(--accent); }
.price-card.featured { border-color: var(--accent); }
.price-card.featured::before { content: ''; position: absolute; top: -1px; left: 20%; right: 20%; height: 3px; background: var(--accent); border-radius: 0 0 4px 4px; }
.price-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 16px; }
.price-amount { font-size: 44px; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.price-original { font-size: 16px; color: var(--muted); text-decoration: line-through; margin-bottom: 8px; }
.price-desc { font-size: 14px; color: var(--muted); margin-bottom: 28px; line-height: 1.5; }
.price-features { list-style: none; text-align: left; margin-bottom: 28px; }
.price-features li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.price-btn { width: 100%; background: var(--accent); color: #000; border: none; border-radius: 12px; padding: 16px; font-size: 16px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; font-family: inherit; }
.price-btn:hover { opacity: 0.9; }
.price-btn.outline { background: transparent; border: 2px solid var(--border); color: var(--fg); }
.price-btn.outline:hover { border-color: var(--accent); color: var(--accent); }

/* METHODOLOGY */
.method-steps { display: flex; flex-direction: column; gap: 0; max-width: 700px; margin: 0 auto; }
.method-step { display: flex; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.method-step:last-child { border-bottom: none; }
.method-num { width: 48px; height: 48px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: var(--accent); flex-shrink: 0; }
.method-content h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.method-content p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; background: none; border: none; color: var(--fg); font-size: 16px; font-weight: 600; padding: 24px 0; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.faq-question::after { content: '+'; font-size: 22px; color: var(--muted); transition: transform 0.2s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 0 24px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.faq-item.open .faq-answer { max-height: 300px; }

/* VALUES */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.value-card .val-icon { font-size: 28px; margin-bottom: 12px; }
.value-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 500; color: var(--muted); }
.form-group input, .form-group textarea, .form-group select { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; color: var(--fg); font-size: 15px; font-family: inherit; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.submit-btn { background: var(--accent); color: #000; border: none; border-radius: 12px; padding: 16px 32px; font-size: 16px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; font-family: inherit; align-self: flex-start; }
.submit-btn:hover { opacity: 0.9; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; gap: 16px; }
.contact-item .ci-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--muted); }

/* CTA */
.cta-section { text-align: center; padding: 80px 24px; }
.cta-section h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.cta-section p { color: var(--muted); font-size: 17px; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btn { display: inline-block; background: var(--accent); color: #000; border: none; border-radius: 12px; padding: 18px 48px; font-size: 17px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; text-decoration: none; font-family: inherit; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 48px 0; }
footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer p { font-size: 13px; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
footer a:hover { color: var(--fg); }
.footer-links { display: flex; gap: 24px; }

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .features-grid, .team-grid, .values-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav ul { display: none; }
  nav ul.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(10,10,10,0.98); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 16px; }
  .hamburger { display: block; }
  .scan-input { padding-right: 24px; }
  .scan-btn { position: static; transform: none; width: 100%; margin-top: 12px; border-radius: 12px; }
  .scan-box { display: flex; flex-direction: column; }
  .hero p { font-size: 16px; }
  h1 { letter-spacing: -1.5px; }
}
