/* ============================================
   DESIGN TOKENS — Dev Davda Portfolio
   Premium dark theme with neon accents
   ============================================ */

:root {
    /* ─── Color Palette ─── */
    --color-bg-primary: #050510;
    --color-bg-secondary: #0a0a1f;
    --color-bg-tertiary: #0f0f2e;
    --color-bg-card: rgba(15, 15, 46, 0.6);
    --color-bg-glass: rgba(15, 15, 46, 0.35);
    --color-bg-glass-hover: rgba(20, 20, 60, 0.5);

    /* Neon Accents */
    --color-neon-blue: #00d4ff;
    --color-neon-purple: #7b2ff7;
    --color-neon-cyan: #00fff0;
    --color-neon-magenta: #ff006e;
    --color-neon-pink: #f72fff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 50%, #ff006e 100%);
    --gradient-blue-purple: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    --gradient-cyan-blue: linear-gradient(135deg, #00fff0 0%, #00d4ff 100%);
    --gradient-purple-magenta: linear-gradient(135deg, #7b2ff7 0%, #ff006e 100%);
    --gradient-dark: linear-gradient(180deg, #050510 0%, #0a0a1f 50%, #0f0f2e 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --gradient-border: linear-gradient(135deg, rgba(0,212,255,0.5), rgba(123,47,247,0.5), rgba(255,0,110,0.5));
    --gradient-text: linear-gradient(90deg, #00d4ff, #7b2ff7, #00fff0);

    /* Text Colors */
    --color-text-primary: #e8e8f0;
    --color-text-secondary: #a0a0c0;
    --color-text-muted: #6060a0;
    --color-text-accent: #00d4ff;
    --color-text-white: #ffffff;

    /* Glow Effects */
    --glow-blue: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 40px rgba(0, 212, 255, 0.1);
    --glow-purple: 0 0 20px rgba(123, 47, 247, 0.3), 0 0 40px rgba(123, 47, 247, 0.1);
    --glow-cyan: 0 0 20px rgba(0, 255, 240, 0.3), 0 0 40px rgba(0, 255, 240, 0.1);
    --glow-neon: 0 0 10px rgba(0, 212, 255, 0.5), 0 0 30px rgba(0, 212, 255, 0.2), 0 0 60px rgba(0, 212, 255, 0.1);
    --glow-text: 0 0 10px rgba(0, 212, 255, 0.8), 0 0 20px rgba(0, 212, 255, 0.4);
    --glow-card: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --glow-card-hover: 0 16px 48px rgba(0, 212, 255, 0.15), 0 0 0 1px rgba(0, 212, 255, 0.2);

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

    /* Font Sizes — fluid clamp */
    --fs-hero: clamp(3rem, 8vw, 8rem);
    --fs-hero-sub: clamp(1rem, 2.5vw, 1.8rem);
    --fs-h1: clamp(2rem, 5vw, 4rem);
    --fs-h2: clamp(1.5rem, 3.5vw, 3rem);
    --fs-h3: clamp(1.2rem, 2.5vw, 1.8rem);
    --fs-h4: clamp(1rem, 2vw, 1.4rem);
    --fs-body: clamp(0.9rem, 1.2vw, 1.1rem);
    --fs-small: clamp(0.75rem, 1vw, 0.9rem);
    --fs-tiny: clamp(0.65rem, 0.8vw, 0.8rem);

    /* Font Weights */
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --fw-black: 900;

    /* Line Heights */
    --lh-tight: 1.1;
    --lh-snug: 1.3;
    --lh-normal: 1.6;
    --lh-relaxed: 1.8;

    /* Letter Spacing */
    --ls-tight: -0.02em;
    --ls-normal: 0;
    --ls-wide: 0.05em;
    --ls-wider: 0.1em;
    --ls-widest: 0.2em;

    /* ─── Spacing (8px grid) ─── */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.5rem;    /* 24px */
    --space-6: 2rem;      /* 32px */
    --space-7: 2.5rem;    /* 40px */
    --space-8: 3rem;      /* 48px */
    --space-10: 4rem;     /* 64px */
    --space-12: 5rem;     /* 80px */
    --space-16: 6rem;     /* 96px */
    --space-20: 8rem;     /* 128px */
    --space-24: 10rem;    /* 160px */

    /* Section Padding */
    --section-padding-y: clamp(4rem, 10vh, 8rem);
    --section-padding-x: clamp(1rem, 5vw, 4rem);
    --container-max: 1400px;
    --container-narrow: 900px;

    /* ─── Borders ─── */
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --border-glow: 1px solid rgba(0, 212, 255, 0.2);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-2xl: 32px;
    --border-radius-full: 9999px;

    /* ─── Glass Morphism ─── */
    --glass-blur: blur(20px);
    --glass-blur-heavy: blur(40px);
    --glass-bg: rgba(15, 15, 46, 0.4);
    --glass-bg-light: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* ─── Transitions ─── */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 800ms;
    --duration-slowest: 1200ms;

    /* ─── Z-Index Layers ─── */
    --z-background: -1;
    --z-default: 1;
    --z-cards: 10;
    --z-sticky: 100;
    --z-navbar: 1000;
    --z-modal-backdrop: 2000;
    --z-modal: 2500;
    --z-cursor: 9000;
    --z-preloader: 10000;

    /* ─── Noise Texture ─── */
    --noise-opacity: 0.03;
}
