/* ============================================
   NEURALIVO — Design Tokens
   ============================================ */

:root {
    /* ── Background ── */
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-tertiary: #1a2035;
    --bg-glass: rgba(17, 24, 39, 0.65);
    --bg-glass-hover: rgba(17, 24, 39, 0.85);
    --bg-card: rgba(17, 24, 39, 0.5);
    --bg-card-hover: rgba(26, 32, 53, 0.8);

    /* ── Accent Colors ── */
    --accent-primary: #6366f1;
    --accent-primary-hover: #818cf8;
    --accent-secondary: #06b6d4;
    --accent-secondary-hover: #22d3ee;
    --accent-tertiary: #8b5cf6;
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --accent-gradient-reverse: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    --accent-gradient-warm: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);

    /* ── Text Colors ── */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --text-accent: #06b6d4;
    --text-heading: #e2e8f0;
    --text-gradient: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);

    /* ── Borders ── */
    --border-subtle: rgba(99, 102, 241, 0.12);
    --border-medium: rgba(99, 102, 241, 0.25);
    --border-accent: rgba(6, 182, 212, 0.3);
    --border-glass: rgba(255, 255, 255, 0.06);

    /* ── Shadows & Glows ── */
    --glow-primary: 0 0 40px rgba(99, 102, 241, 0.12);
    --glow-secondary: 0 0 60px rgba(6, 182, 212, 0.08);
    --glow-accent: 0 0 80px rgba(99, 102, 241, 0.2);
    --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-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 8px 40px rgba(99, 102, 241, 0.15);

    /* ── Typography ── */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

    --fs-xs: 0.75rem;     /* 12px */
    --fs-sm: 0.875rem;    /* 14px */
    --fs-base: 1rem;      /* 16px */
    --fs-md: 1.125rem;    /* 18px */
    --fs-lg: 1.25rem;     /* 20px */
    --fs-xl: 1.5rem;      /* 24px */
    --fs-2xl: 2rem;       /* 32px */
    --fs-3xl: 2.5rem;     /* 40px */
    --fs-4xl: 3rem;       /* 48px */
    --fs-5xl: 3.75rem;    /* 60px */
    --fs-hero: clamp(2.5rem, 5vw, 4.5rem);

    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    --lh-tight: 1.2;
    --lh-normal: 1.6;
    --lh-relaxed: 1.8;

    --ls-tight: -0.025em;
    --ls-normal: 0;
    --ls-wide: 0.05em;
    --ls-wider: 0.1em;

    /* ── Spacing ── */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* ── Layout ── */
    --container-max: 1200px;
    --container-wide: 1400px;
    --container-narrow: 800px;
    --header-height: 80px;
    --section-padding: clamp(4rem, 8vw, 8rem);

    /* ── Border Radius ── */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* ── Transitions ── */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ── Z-Index Scale ── */
    --z-behind: -1;
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-header: 500;
    --z-overlay: 900;
    --z-modal: 1000;
}
