:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Menlo', monospace;
    
    /* Light theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --sidebar-bg: #0f172a;
    --sidebar-text: #94a3b8;
    --sidebar-text-active: #ffffff;
    --sidebar-hover: rgba(255, 255, 255, 0.05);
    --sidebar-active-bg: rgba(59, 130, 246, 0.15);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: #e2e8f0;
    --accent-color: #3b82f6;
    --accent-color-alpha: rgba(59, 130, 246, 0.1);
    --accent-hover: #2563eb;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --code-bg: #1e293b;
    --code-text: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    
    /* Callout colors */
    --callout-info-bg: #eff6ff;
    --callout-info-border: #3b82f6;
    --callout-warning-bg: #fffbeb;
    --callout-warning-border: #f59e0b;
    --callout-success-bg: #f0fdf4;
    --callout-success-border: #22c55e;
    --callout-error-bg: #fef2f2;
    --callout-error-border: #ef4444;
}

[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --border-color: #334155;
    --card-bg: #1e293b;
    --card-border: #334155;
    --code-bg: #0f172a;
    
    --callout-info-bg: rgba(59, 130, 246, 0.1);
    --callout-warning-bg: rgba(245, 158, 11, 0.1);
    --callout-success-bg: rgba(34, 197, 94, 0.1);
    --callout-error-bg: rgba(239, 68, 68, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.docs-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 220px;
    background-color: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    overflow-x: hidden;
    overflow-y: auto;
    transition: width 0.25s ease, transform 0.25s ease;
    /* Hide scrollbar completely */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.sidebar::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}

/* Desktop sidebar collapse button (in footer) - only visible on desktop */
.sidebar-collapse-btn {
    display: none !important;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    color: var(--sidebar-text);
    transition: all 0.15s;
}

.sidebar-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--sidebar-text-active);
}

.sidebar-collapse-btn svg {
    transition: transform 0.25s ease;
}

@media (min-width: 1025px) {
    .sidebar-collapse-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar.collapsed {
        width: 60px;
        overflow: hidden;
    }
    
    .sidebar.collapsed .sidebar-header .logo-text,
    .sidebar.collapsed .sidebar-search,
    .sidebar.collapsed .nav-section-header,
    .sidebar.collapsed .search-shortcut {
        display: none !important;
    }
    
    .sidebar.collapsed .sidebar-header {
        padding: 0.75rem;
        justify-content: center;
    }
    
    .sidebar.collapsed .sidebar-header .logo {
        justify-content: center;
    }
    
    .sidebar.collapsed .nav-link,
    .sidebar.collapsed .footer-link {
        padding: 0.625rem;
        justify-content: center;
        overflow: hidden;
        white-space: nowrap;
    }
    
    /* Hide text in nav links - keep only the icon */
    .sidebar.collapsed .nav-link {
        width: 40px;
        height: 40px;
        margin: 0 auto;
        border-radius: 8px;
        font-size: 0;
    }
    
    .sidebar.collapsed .nav-link .nav-icon {
        margin: 0;
        font-size: 18px;
    }
    
    .sidebar.collapsed .footer-link {
        width: 40px;
        height: 40px;
        margin: 0 auto;
        border-radius: 8px;
        font-size: 0;
    }
    
    .sidebar.collapsed .footer-link svg {
        margin: 0;
    }
    
    .sidebar.collapsed .sidebar-nav {
        padding: 0.5rem 0.5rem;
    }
    
    .sidebar.collapsed .nav-section {
        padding: 0.125rem 0;
    }
    
    .sidebar.collapsed .nav-section-content {
        max-height: none !important;
        opacity: 1 !important;
    }
    
    .sidebar.collapsed .sidebar-footer {
        padding: 0.5rem;
        flex-direction: column;
        gap: 0.25rem;
        align-items: center;
    }

    .docs-layout.sidebar-collapsed .main-content {
        margin-left: 60px;
    }
}

.sidebar-header {
    padding: 0.75rem 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #8b5cf6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

/* Header Tabs */
.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-tabs {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    background: var(--bg-secondary);
    padding: 0.125rem;
    border-radius: 6px;
}

.header-tab {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.15s;
    background: transparent;
}

.header-tab:hover {
    color: var(--text-primary);
}

.header-tab.active {
    color: var(--text-primary);
    background-color: var(--bg-primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-weight: 600;
}

.header-divider {
    width: 1px;
    height: 16px;
    background: var(--border-color);
}

/* Sidebar Search */
.sidebar-search {
    padding: 0.5rem 0.75rem;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.04);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    transition: all 0.2s;
}

.search-box:focus-within {
    background-color: rgba(255, 255, 255, 0.08);
}

.search-icon {
    color: var(--sidebar-text);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: white;
    font-size: 0.875rem;
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--sidebar-text);
}

.search-shortcut {
    font-size: 0.75rem;
    color: var(--sidebar-text);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 0.25rem 0;
    overflow: visible;
}

.nav-section {
    padding: 0.125rem 0;
}

.nav-section-title {
    padding: 0.5rem 1rem 0.375rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sidebar-text);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 450;
    transition: all 0.15s;
    border-left: 2px solid transparent;
    margin: 0.125rem 0;
}

.nav-link:hover {
    color: var(--sidebar-text-active);
    background-color: var(--sidebar-hover);
}

.nav-link.active {
    color: var(--sidebar-text-active);
    background-color: var(--sidebar-active-bg);
    border-left-color: var(--accent-color);
}

.nav-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.nav-link.active .nav-icon,
.nav-link:hover .nav-icon {
    opacity: 1;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 0.5rem 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.15s;
}

.footer-link:hover {
    color: var(--sidebar-text-active);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 220px;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.25s ease;
    min-height: 100vh;
}

/* Content Header */
.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 50;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.breadcrumb span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumb svg {
    width: 12px;
    height: 12px;
    opacity: 0.5;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.15s;
}

.header-search:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--accent-color-alpha);
}

.header-search-icon {
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.header-search-input {
    border: none;
    background: none;
    outline: none;
    font-size: 0.75rem;
    color: var(--text-primary);
    width: 120px;
    font-family: inherit;
}

.header-search-input::placeholder {
    color: var(--text-tertiary);
}

.header-search-shortcut {
    font-size: 0.625rem;
    color: var(--text-tertiary);
    background: var(--bg-tertiary);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-family: var(--font-mono);
}

@media (max-width: 640px) {
    .header-search-input {
        width: 80px;
    }
    
    .header-search-shortcut {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-search {
        display: none;
    }
}

.dashboard-pill {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.15s ease;
    border: 1px solid var(--border-color);
}

.dashboard-pill:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border-color: var(--text-tertiary);
}

.dashboard-pill svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
}

@media (max-width: 480px) {
    .dashboard-pill span {
        display: none;
    }
    
    .dashboard-pill {
        padding: 0.25rem;
    }
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.theme-toggle:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.theme-toggle svg {
    width: 14px;
    height: 14px;
}

.moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block;
}

/* Content Body */
.content-body {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
}

.page-header {
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.page-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.content-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.content-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.content-section ul,
.content-section ol {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.content-section a {
    color: var(--accent-color);
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

/* Inline Code */
.content-section code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background-color: var(--bg-tertiary);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    color: var(--text-primary);
}

/* Code Blocks */
.code-block {
    margin: 1.5rem 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--code-bg);
    border: 1px solid var(--border-color);
}

.code-header {
    padding: 0.625rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--code-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.code-block pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--code-text);
    background: none;
    padding: 0;
    border-radius: 0;
}

/* Method Badges */
.method {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    margin-right: 0.5rem;
}

.method.get {
    background-color: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.method.post {
    background-color: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.method.put {
    background-color: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.method.patch {
    background-color: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.method.delete {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* API Tables */
.api-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.9375rem;
}

.api-table th,
.api-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.api-table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.api-table td {
    color: var(--text-secondary);
}

.api-table td code {
    font-size: 0.8125rem;
}

.api-table tr:hover td {
    background-color: var(--bg-secondary);
}

/* Callouts */
.callout {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

.callout-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.callout p {
    margin: 0;
    color: var(--text-secondary);
}

.callout-info {
    background-color: var(--callout-info-bg);
    border-color: var(--callout-info-border);
}

.callout-warning {
    background-color: var(--callout-warning-bg);
    border-color: var(--callout-warning-border);
}

.callout-success {
    background-color: var(--callout-success-bg);
    border-color: var(--callout-success-border);
}

.callout-error {
    background-color: var(--callout-error-bg);
    border-color: var(--callout-error-border);
}

/* Feature Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.card-content p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.5;
}

.card-arrow {
    color: var(--text-tertiary);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.feature-card:hover .card-arrow {
    transform: translateX(4px);
    color: var(--accent-color);
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.capability-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background-color: var(--bg-secondary);
    border-radius: 10px;
}

.capability-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.capability-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.375rem;
}

.capability-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Content Footer */
.content-footer {
    border-top: 1px solid var(--border-color);
    padding: 1rem 2rem;
    margin-top: auto;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-nav-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: background-color 0.15s;
    font-size: 0.8125rem;
}

.footer-nav-item a:hover {
    background-color: var(--bg-secondary);
}

.footer-nav-item.next a {
    text-align: right;
}

.nav-label {
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 500;
}

.nav-title {
    color: var(--accent-color);
    font-weight: 500;
}

.footer-meta {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .content-header {
        padding-left: 4rem;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header-left {
        gap: 0.5rem;
    }
    
    .header-divider {
        display: none;
    }
    
    .breadcrumb {
        display: none;
    }
}

@media (max-width: 768px) {
    .content-body {
        padding: 2rem 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-arrow {
        display: none;
    }

    .api-table {
        font-size: 0.8125rem;
    }

    .api-table th,
    .api-table td {
        padding: 0.5rem;
    }
}

/* Scrollbar - Dark theme for all scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Firefox scrollbar for main content */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--text-tertiary) var(--bg-secondary);
}

/* Foldable sidebar sections */
.nav-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem 0.375rem;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s;
    border-radius: 4px;
    margin: 0 0.5rem;
}

.nav-section-header:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.nav-section-header .nav-section-title {
    padding: 0;
    margin: 0;
}

.nav-section-toggle {
    width: 16px;
    height: 16px;
    color: var(--sidebar-text);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.nav-section.collapsed .nav-section-toggle {
    transform: rotate(-90deg);
}

.nav-section-content {
    overflow: hidden;
    transition: max-height 0.25s ease-out, opacity 0.2s ease;
    max-height: 500px;
    opacity: 1;
}

.nav-section.collapsed .nav-section-content {
    max-height: 0;
    opacity: 0;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 101;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex;
    }
}

/* Site-wide Footer */
.site-footer {
    margin-top: 4rem;
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.site-footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-footer-column {
    display: flex;
    flex-direction: column;
}

.site-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.footer-brand-text {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.site-footer-tagline {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.site-footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin: 0 0 1rem;
}

.site-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s;
}

.site-footer-links a:hover {
    color: var(--accent-color);
}

.site-footer-links a svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.site-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s;
}

.site-footer-contact a:hover {
    color: var(--accent-color);
}

.site-footer-contact a svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.site-footer-social {
    display: flex;
    gap: 0.75rem;
}

.site-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.15s;
}

.site-footer-social a:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.site-footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    margin: 0;
}

.site-footer-legal {
    display: flex;
    gap: 1.5rem;
}

.site-footer-legal a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.15s;
}

.site-footer-legal a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .site-footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .site-footer-column:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .site-footer-brand {
        justify-content: center;
    }
    
    .site-footer-links,
    .site-footer-contact {
        align-items: flex-start;
    }
    
    .site-footer-social {
        justify-content: flex-start;
    }
    
    .site-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .site-footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .site-footer-links,
    .site-footer-contact {
        align-items: center;
    }
    
    .site-footer-social {
        justify-content: center;
    }
}
