:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --accent: #38bdf8;
    --accent-hover: #0ea5e9;
    --border: #334155;
    --shadow: 0 10px 30px rgba(0,0,0,0.3);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: light) {
    :root {
        --bg-primary: #f8fafc;
        --bg-secondary: #e2e8f0;
        --text-primary: #0f172a;
        --text-secondary: #475569;
        --border: #e2e8f0;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav h1 {
    font-size: 1.5rem;
    color: var(--accent);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--accent);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    background: var(--bg-secondary);
    margin-bottom: 3rem;
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--accent);
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.section ul {
    list-style: none;
    padding-left: 0;
}

.section li {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.section li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

footer {
    background: var(--bg-secondary);
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        text-align: center;
    }
    
    .nav ul {
        gap: 1rem;
    }
    
    .section {
        padding: 2rem 1.5rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
}