:root {
    /* Colors */
    --bg-base: #090b10;
    --bg-surface: #111827;
    --bg-elevated: #1a2234;
    --bg-glass: rgba(17, 24, 39, 0.72);
    --border: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);

    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;

    --primary: #3b82f6;
    --primary-end: #8b5cf6;
    --primary-hover: #2563eb;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1));

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.12);
    --error: #f43f5e;
    --error-bg: rgba(244, 63, 94, 0.12);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.12);

    /* Spacing (8px grid) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 24px rgba(99, 102, 241, 0.25);

    /* Layout */
    --sidebar-width: 72px;
    --topbar-height: 64px;
    --content-max: 1400px;
    --drawer-width: 480px;

    /* Typography */
    --font: "Inter", system-ui, -apple-system, sans-serif;
    --font-mono: ui-monospace, "Cascadia Code", monospace;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 150ms;
    --duration-normal: 220ms;
    --duration-slow: 320ms;
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --duration-fast: 0ms;
        --duration-normal: 0ms;
        --duration-slow: 0ms;
    }
}
