:root {
    --deep-slate: #1E293B;
    --neutral-white: #FFFFFF;
    --tech-blue: #3B82F6;
    --border-color: #E2E8F0;
    --text-main: #334155;
    --text-muted: #64748B;
    --bg-sidebar: #F8FAFC;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--neutral-white);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--deep-slate);
    margin-bottom: 2.5rem;
    display: block;
    text-decoration: none;
}

.nav-group {
    margin-bottom: 2rem;
}

.nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 0.375rem;
    font-size: 0.9375rem;
    transition: all 0.2s;
    margin-bottom: 0.25rem;
}

.nav-link:hover {
    background-color: #F1F5F9;
    color: var(--tech-blue);
}

.nav-link.active {
    background-color: #EFF6FF;
    color: var(--tech-blue);
    font-weight: 500;
}

/* Main Content Area */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 0;
}

header {
    height: 64px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.btn-primary {
    background-color: var(--tech-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

h1 {
    font-size: 2.25rem;
    color: var(--deep-slate);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 1.5rem;
    color: var(--deep-slate);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: border-color 0.2s;
}

.card:hover {
    border-color: var(--tech-blue);
}

.card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--deep-slate);
}

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

code {
    background-color: #F1F5F9;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.875em;
}

pre {
    background-color: var(--deep-slate);
    color: #F8FAFC;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .main-content {
        margin-left: 0;
    }
}
