* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0a;
    --bg-card: #111111;
    --bg-dark: #080808;
    --surface: #1a1a1a;
    --border: #222222;
    --text: #e4e4e4;
    --muted: #888888;
    --accent: #22c55e;
    --accent-dim: #166534;
    --red: #ef4444;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    background: linear-gradient(135deg, var(--accent), #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-dim);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.accent {
    color: var(--accent);
}

.hero-sub {
    font-size: 17px;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg-dark);
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-sub {
    color: var(--muted);
    margin-bottom: 40px;
}

/* Download Cards */
.download-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: border-color 0.2s;
}

.download-card:hover {
    border-color: #333;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.card-icon {
    font-size: 32px;
}

.card-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.card-badge.stable {
    background: var(--accent-dim);
    color: var(--accent);
}

.download-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.card-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.tag {
    background: var(--surface);
    color: var(--muted);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.card-audit {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #a7f3d0;
}

.audit-icon {
    flex-shrink: 0;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background: #16a34a;
}

/* Audit Table */
.audit-table-wrapper {
    overflow-x: auto;
}

.audit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.audit-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--surface);
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.audit-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
}

.audit-table td.safe {
    color: var(--accent);
    font-weight: 600;
}

.audit-table tr:last-child td {
    border-bottom: none;
}

/* About */
.about-content {
    max-width: 680px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--muted);
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin-bottom: 24px;
}

.about-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--muted);
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.about-list li strong {
    color: var(--text);
}

.about-note {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 16px;
    font-size: 13px;
    color: #fca5a5;
}

.about-note code {
    background: rgba(239, 68, 68, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-num {
        font-size: 22px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 12px;
    }
}
