:root {
    --primary: #4f46e5;
    --secondary: #06b6d4;
    --dark: #0f172a;
    --card: rgba(255,255,255,0.93);
}

* { box-sizing: border-box; }
body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #1e3a8a 0, #0f172a 38%, #020617 100%);
    color: #111827;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.bg-blur { position: fixed; width: 300px; height: 300px; border-radius: 999px; filter: blur(70px); opacity: .45; z-index: -1; }
.bg-blur-one { background: #6366f1; top: 80px; left: 5%; }
.bg-blur-two { background: #22d3ee; right: 8%; bottom: 70px; }
.glass-nav { background: rgba(15, 23, 42, .55); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.12); }
.hero-card, .app-card, .feature-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.hero-card { color: #0f172a; }
.mini-title { color: var(--primary); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.chip { background: #eef2ff; color: #3730a3; padding: 10px 14px; border-radius: 999px; font-weight: 700; font-size: .88rem; }
.stats-card { background: #0f172a; color: #fff; border-radius: 24px; padding: 22px; }
.stat-row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.12); padding: 13px 0; }
.stat-row:last-child { border-bottom: none; }
.stat-row span { color: #94a3b8; }
.form-control, .input-group-text { border-color: #dbe3f0; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); border: none; font-weight: 800; }
.btn-primary:hover { filter: brightness(.95); }
.result-panel { border-radius: 24px; padding: 24px; border: 1px solid; }
.result-danger { background: #fff1f2; border-color: #fecdd3; }
.result-success { background: #ecfdf5; border-color: #bbf7d0; }
.score-circle { width: 120px; height: 120px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: inset 0 0 0 9px #eef2ff; }
.score-circle span { font-size: 1.55rem; font-weight: 900; color: #111827; }
.score-circle small { color: #64748b; font-weight: 700; }
.history-list { display: flex; flex-direction: column; gap: 12px; }
.history-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 18px; padding: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.history-item p { max-width: 280px; color: #475569; }
.empty-state { text-align: center; padding: 45px 10px; color: #64748b; }
.empty-icon { font-size: 52px; margin-bottom: 12px; }
.feature-card { padding: 24px; height: 100%; }
.feature-card h5 { font-weight: 900; }
.feature-card p { margin-bottom: 0; color: #475569; }
@media (max-width: 768px) {
    .display-6 { font-size: 2rem; }
    .input-group-lg { flex-direction: column; }
    .input-group-lg .form-control, .input-group-lg .btn, .input-group-lg .input-group-text { width: 100%; border-radius: 14px !important; margin-bottom: 8px; }
}
