/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg: #0a0a0f;
    --surface: #12121a;
    --border: #1e1e2e;
    --text: #e4e4e7;
    --muted: #71717a;
    --accent: #6366f1;
    --accent-glow: rgba(99,102,241,0.3);
    --green: #22c55e;
    --yellow: #eab308;
    --orange: #f97316;
    --red: #ef4444;
    --radius: 12px;
}
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); text-decoration: none; }
.hidden { display: none !important; }

/* === Nav === */
.nav { padding: 20px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(10,10,15,0.9); backdrop-filter: blur(12px); z-index: 100; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; }
.accent { color: var(--accent); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* === Hero === */
.hero { padding: 80px 0 60px; text-align: center; }
.hero h1 { font-size: 3rem; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px; }
.strike { text-decoration: line-through; color: var(--red); }
.subtitle { color: var(--muted); font-size: 1.2rem; max-width: 560px; margin: 0 auto 40px; }
.audit-form { max-width: 560px; margin: 0 auto; }
.input-row { display: flex; gap: 8px; }
.input-row input {
    flex: 1; padding: 16px 20px; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--surface);
    color: var(--text); font-size: 1rem; outline: none; transition: border-color 0.2s;
}
.input-row input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.btn-primary {
    padding: 16px 28px; border-radius: var(--radius); border: none;
    background: var(--accent); color: #fff; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.btn-primary:hover { background: #4f46e5; transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow); }
.btn-premium {
    padding: 16px 32px; border-radius: var(--radius); border: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
    font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.btn-premium:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-outline {
    padding: 14px 28px; border-radius: var(--radius);
    border: 1px solid var(--border); background: transparent;
    color: var(--text); font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; width: 100%;
}
.btn-outline:hover { border-color: var(--accent); background: rgba(99,102,241,0.1); }
.trust-text { color: var(--muted); font-size: 0.8rem; margin-top: 12px; }

/* === Score Section === */
.score-section { padding: 40px 0 60px; }
.score-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 40px; }
.score-header { text-align: center; margin-bottom: 32px; }
.score-header h2 { font-size: 1.5rem; margin-bottom: 8px; }
.score-url { color: var(--accent); font-size: 0.9rem; word-break: break-all; }
.score-display { display: flex; align-items: center; gap: 48px; justify-content: center; flex-wrap: wrap; }
.score-ring { position: relative; width: 160px; height: 160px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-bg { fill: none; stroke: var(--border); stroke-width: 8; }
.score-fill { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1.5s ease, stroke 0.5s; }
.score-number { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); font-size: 3rem; font-weight: 800; }
.score-grade { position: absolute; top: 50%; left: 50%; transform: translate(-50%, 30%); font-size: 1rem; font-weight: 600; color: var(--muted); }
.score-breakdown { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }
.breakdown-item { display: flex; align-items: center; gap: 12px; }
.breakdown-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.breakdown-label { flex: 1; font-size: 0.9rem; }
.breakdown-val { font-weight: 600; font-size: 0.9rem; }
.quick-findings { margin-top: 32px; border-top: 1px solid var(--border); padding-top: 24px; }
.finding { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.finding:last-child { border-bottom: none; }
.finding-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.finding-text h4 { font-size: 0.95rem; margin-bottom: 4px; }
.finding-text p { font-size: 0.85rem; color: var(--muted); }
.cta-box { text-align: center; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.cta-box h3 { font-size: 1.3rem; margin-bottom: 8px; }
.cta-box p { color: var(--muted); margin-bottom: 20px; }

/* === How It Works === */
.how { padding: 80px 0; }
.how h2 { text-align: center; font-size: 2rem; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; padding: 32px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; margin: 0 auto 16px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* === Pricing === */
.pricing { padding: 80px 0; }
.pricing h2 { text-align: center; font-size: 2rem; margin-bottom: 48px; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; position: relative; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 40px var(--accent-glow); }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 16px; border-radius: 20px; }
.price-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.price { font-size: 2.5rem; font-weight: 800; margin-bottom: 24px; }
.price-card ul { list-style: none; margin-bottom: 24px; }
.price-card li { padding: 6px 0; font-size: 0.9rem; color: var(--muted); }
.price-card li.muted { opacity: 0.4; }

/* === Footer === */
footer { padding: 40px 0; border-top: 1px solid var(--border); text-align: center; }
.footer-inner p { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }

/* === Loading === */
.loading { display: inline-flex; align-items: center; gap: 8px; }
.spinner { width: 20px; height: 20px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === Responsive === */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .input-row { flex-direction: column; }
    .steps { grid-template-columns: 1fr; }
    .price-cards { grid-template-columns: 1fr; }
    .score-display { flex-direction: column; }
    .score-breakdown { min-width: auto; }
}
