:root {
    --bg-primary: #000000;
    --bg-sidebar: #050505;
    --bg-card: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent: #A855F7;
    --accent-glow: rgba(168, 85, 247, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --code-bg: #111;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.docs-sidebar {
    width: 260px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.logo img {
    height: 24px;
}

.nav-group {
    margin-bottom: 24px;
}

.nav-title {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-left: 12px;
}

.nav-link {
    display: block;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s;
    border-left: 2px solid transparent;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.nav-link.active {
    color: var(--accent);
    background: rgba(168, 85, 247, 0.05);
    border-left-color: var(--accent);
}

/* Main Content */
.docs-content {
    margin-left: 260px;
    flex: 1;
    padding: 40px 60px;
    max-width: 1000px;
}

h1 {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 700;
}

h2 {
    font-size: 24px;
    margin-top: 48px;
    margin-bottom: 16px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

h3 {
    font-size: 18px;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 8px;
    vertical-align: middle;
}

.badge.enterprise {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

/* API Elements */
.endpoint-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 32px;
    overflow: hidden;
}

.endpoint-header {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.method {
    font-family: monospace;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.method.get {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.method.post {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.url {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    color: var(--text-primary);
}

.endpoint-body {
    padding: 24px;
}

.param-table {
    width: 100%;
    margin-bottom: 24px;
    border-collapse: collapse;
}

.param-table th {
    text-align: left;
    color: var(--text-primary);
    font-size: 13px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.param-table td {
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.param-name {
    font-family: 'Fira Code', monospace;
    color: var(--accent);
    font-size: 13px;
}

.param-type {
    font-size: 12px;
    color: #52525b;
    margin-left: 8px;
}

/* Code Blocks */
.code-block {
    background: var(--code-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    position: relative;
    margin: 16px 0;
}

.code-header {
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
}

pre {
    padding: 16px;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    color: #e4e4e7;
    line-height: 1.5;
}

.token-highlight {
    color: var(--accent);
}

.string {
    color: #a5b4fc;
}

.key {
    color: #f472b6;
}

.number {
    color: #fcd34d;
}

.boolean {
    color: #fdba74;
}

/* Responsive */
@media (max-width: 768px) {
    .docs-sidebar {
        display: none;
        /* Mobile menu needed if complex, but keeping simple for now */
    }

    .docs-content {
        margin-left: 0;
        padding: 20px;
    }
}