:root {
    --bg-dark: #07090e;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-indigo: #6366f1;
    --accent-purple: #a855f7;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.ambient-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.25;
}

.glow-1 { top: -100px; left: -100px; background: #6366f1; }
.glow-2 { top: 300px; right: -100px; background: #a855f7; }

.site-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px;
    position: relative;
    z-index: 1;
}

/* Nav */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.github-btn {
    background: var(--gradient-primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-pill {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s, filter 0.2s;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

/* Code Preview */
.hero-code-block {
    width: 100%;
    max-width: 620px;
    text-align: left;
    padding: 20px;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: 8px;
}

pre {
    font-family: monospace;
    font-size: 0.9rem;
    color: #a5b4fc;
    line-height: 1.6;
}

.comment { color: #64748b; }

/* Features */
.features-section {
    padding: 60px 0;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 48px;
}

.section-title-wrap h2 {
    font-size: 2rem;
    font-weight: 700;
}

.section-title-wrap p {
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-icon {
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.15rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Quick Start */
.quickstart-section {
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.os-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
    text-align: left;
}

.os-card {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 12px;
}

.os-card h4 {
    margin-bottom: 12px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--glass-border);
}

.footer a { color: var(--accent-indigo); }
