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

:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --bg: #F9FAFB;
    --card: #FFFFFF;
    --text: #1F2937;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --sidebar-width: 280px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--card);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    padding: 2rem 1.5rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.logo p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9375rem;
}

.nav-menu a:hover {
    background: var(--bg);
    color: var(--primary);
}

.nav-menu a.active {
    background: var(--primary);
    color: white;
    font-weight: 500;
}

.content {
    margin-left: var(--sidebar-width);
    padding: 3rem 4rem;
    max-width: 900px;
}

section {
    margin-bottom: 4rem;
    scroll-margin-top: 2rem;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

p {
    margin-bottom: 1rem;
    color: var(--text);
}

.lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.info-box {
    background: #EFF6FF;
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.info-box h3,
.info-box h4 {
    color: var(--primary);
    margin-top: 0;
}

.warning-box {
    background: #FEF3C7;
    border-left: 4px solid var(--warning);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.warning-box strong {
    color: #B45309;
}

.contact-box {
    background: var(--card);
    border: 2px solid var(--primary);
    padding: 2rem;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}

.contact-box h3 {
    color: var(--primary);
    margin-top: 0;
}

.contact-box ul {
    list-style: none;
    margin-left: 0;
}

.contact-box li {
    padding: 0.5rem 0;
    font-size: 1.0625rem;
}

.faq-item {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

.faq-item h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.faq-item p {
    margin-bottom: 0;
    color: var(--text-muted);
}

code {
    background: #F3F4F6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'Courier New', monospace;
    color: var(--danger);
}

strong {
    font-weight: 600;
    color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: static;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .content {
        margin-left: 0;
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* Scrollbar styling */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
