/* ============================================
   XR-CALL — Design Tokens & CSS Variables
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* ── Core Palette ── */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --bg-elevated: #1a2332;

    /* ── Accent Colors ── */
    --accent-primary: #818cf8;
    --accent-secondary: #6366f1;
    --accent-tertiary: #a78bfa;
    --accent-glow: rgba(129, 140, 248, 0.4);
    --accent-glow-strong: rgba(129, 140, 248, 0.6);

    /* ── Neon Accents ── */
    --neon-cyan: #22d3ee;
    --neon-pink: #f472b6;
    --neon-green: #34d399;
    --neon-amber: #fbbf24;
    --neon-red: #f87171;

    /* ── Text ── */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #818cf8;

    /* ── Glass ── */
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-bg-hover: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(129, 140, 248, 0.15);
    --glass-border-hover: rgba(129, 140, 248, 0.3);
    --glass-blur: 20px;
    --glass-blur-heavy: 40px;

    /* ── Shadows ── */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(129, 140, 248, 0.15);
    --shadow-neon: 0 0 20px rgba(129, 140, 248, 0.3), 0 0 60px rgba(129, 140, 248, 0.1);

    /* ── Spacing ── */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* ── Border Radius ── */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* ── Typography ── */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;

    /* ── Transitions ── */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ── Z-Index Scale ── */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    /* Dock needs to be high but below modals */
    --z-dock: 400;
    --z-modal: 800;
    /* Must be > chat sidebar (610) */
    --z-toast: 900;
}