:root {
  --bg: #0a0e17;
  --bg2: #111827;
  --card: #1a2030;
  --border: #2a3245;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #00d4ff;
  --accent2: #7c3aed;
  --green: #10b981;
  --red: #ef4444;
  --orange: #f59e0b;
  --grad: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Nav */
.navbar { background: rgba(10,14,23,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1200px; margin: 0 auto; }
.brand { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; display: flex; align-items: center; gap: 10px; }
.brand i { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { background: var(--grad); color: white !important; padding: 10px 20px; border-radius: 8px; font-weight: 600; }
.nav-cta:hover { text-decoration: none !important; transform: translateY(-1px); }

/* Hero */
.hero { padding: 80px 24px 60px; text-align: center; background: radial-gradient(ellipse at top, rgba(124,58,237,0.15), transparent 60%); }
.hero h1 { font-size: 56px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; max-width: 900px; margin: 0 auto 20px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 19px; color: var(--muted); max-width: 700px; margin: 0 auto 32px; }
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: all 0.2s; }
.btn-primary { background: var(--grad); color: white; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,212,255,0.25); text-decoration: none; }
.btn-secondary { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--text); }
.btn-danger { background: var(--red); color: white; }

/* Sections */
section { padding: 60px 0; }
.section-title { font-size: 36px; font-weight: 800; text-align: center; margin-bottom: 12px; letter-spacing: -0.5px; }
.section-sub { color: var(--muted); text-align: center; margin-bottom: 48px; font-size: 17px; }

/* Feature grid */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .hero h1 { font-size: 36px; } }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 28px; transition: all 0.2s; }
.card:hover { transform: translateY(-2px); border-color: rgba(0,212,255,0.3); }
.card .icon { width: 48px; height: 48px; background: rgba(0,212,255,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card .icon i { font-size: 22px; color: var(--accent); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }
.card ul { margin-top: 12px; padding-left: 18px; color: var(--muted); font-size: 14px; }
.card ul li { margin-bottom: 6px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; position: relative; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 40px rgba(0,212,255,0.12); }
.price-card .badge { position: absolute; top: 16px; right: 16px; background: var(--grad); color: white; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.price-card h3 { font-size: 22px; margin-bottom: 8px; }
.price { font-size: 42px; font-weight: 800; margin: 16px 0 4px; letter-spacing: -1px; }
.price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0; }
.price-card ul li { padding: 8px 0; color: var(--muted); border-bottom: 1px solid var(--border); font-size: 14px; }
.price-card ul li i { color: var(--green); margin-right: 8px; }
.price-card .btn { width: 100%; justify-content: center; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 14px; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Tables */
.table { width: 100%; background: var(--card); border: 1px solid var(--border); border-radius: 10px; border-collapse: collapse; overflow: hidden; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.table th { background: var(--bg2); color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.table tr:last-child td { border-bottom: none; }

/* Badges */
.badge-sev { padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-critical { background: rgba(239,68,68,0.15); color: var(--red); }
.badge-high { background: rgba(245,158,11,0.15); color: var(--orange); }
.badge-medium { background: rgba(0,212,255,0.15); color: var(--accent); }
.badge-low { background: rgba(148,163,184,0.15); color: var(--muted); }
.badge-pass { background: rgba(16,185,129,0.15); color: var(--green); }

.score-circle { width: 120px; height: 120px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; }
.score-A { background: rgba(16,185,129,0.15); color: var(--green); border: 3px solid var(--green); }
.score-B { background: rgba(0,212,255,0.15); color: var(--accent); border: 3px solid var(--accent); }
.score-C { background: rgba(245,158,11,0.15); color: var(--orange); border: 3px solid var(--orange); }
.score-D, .score-F { background: rgba(239,68,68,0.15); color: var(--red); border: 3px solid var(--red); }
.score-circle .grade { font-size: 36px; line-height: 1; }
.score-circle .pct { font-size: 12px; font-weight: 600; opacity: 0.8; }

/* Footer */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 40px 24px; margin-top: 80px; }
footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { footer .container { grid-template-columns: 1fr 1fr; } }
footer h4 { font-size: 14px; margin-bottom: 12px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: var(--muted); font-size: 13px; }
footer .copy { text-align: center; color: var(--muted); font-size: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }

/* Dashboard */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 70px); }
.dash-side { background: var(--bg2); border-right: 1px solid var(--border); padding: 24px 0; }
.dash-side a { display: flex; align-items: center; gap: 10px; padding: 10px 24px; color: var(--muted); font-size: 14px; }
.dash-side a:hover, .dash-side a.active { color: var(--text); background: rgba(0,212,255,0.05); border-left: 3px solid var(--accent); padding-left: 21px; text-decoration: none; }
.dash-main { padding: 32px; }
.dash-main h1 { font-size: 28px; margin-bottom: 24px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.stat .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.stat .value { font-size: 28px; font-weight: 800; margin-top: 6px; }

.alert { padding: 14px 18px; border-radius: 8px; margin: 12px 0; font-size: 14px; }
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid var(--green); color: var(--green); }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid var(--red); color: var(--red); }
.alert-info { background: rgba(0,212,255,0.1); border: 1px solid var(--accent); color: var(--accent); }

code, pre { font-family: 'Fira Code', monospace; background: var(--bg2); padding: 2px 6px; border-radius: 4px; font-size: 13px; }
pre { padding: 16px; overflow-x: auto; line-height: 1.5; }
