/* ============================================
   UNICRYX DESIGN TOKENS
   Professional B2B SaaS/Agency Theme
   ============================================ */

:root {
  /* ===== BRAND COLORS (UniCryx Theme) ===== */
  --color-brand-primary: #7F00FF;          /* Electric Purple */
  --color-brand-secondary: #00BFFF;        /* Cyber Blue */
  --color-brand-accent: #C77DFF;           /* Light Purple Accent */
  
  /* ===== NEUTRAL COLORS ===== */
  --color-neutral-900: #0A0A0A;            /* Deep Black */
  --color-neutral-800: #1A1A1A;            /* Dark Gray */
  --color-neutral-700: #2A2A2A;            /* Medium Dark */
  --color-neutral-600: #3A3A3A;            /* Medium */
  --color-neutral-400: #B3B3B3;            /* Muted Text */
  --color-neutral-300: #CCCCCC;            /* Light Text */
  --color-neutral-100: #E6E6E6;            /* Primary Text */
  --color-neutral-50: #F5F5F5;             /* Off White */
  
  /* ===== SEMANTIC COLORS ===== */
  --color-success: #00FF9F;                /* Success Green */
  --color-warning: #FFB800;                /* Warning Yellow */
  --color-error: #FF3864;                  /* Error Red */
  
  /* ===== GRADIENTS ===== */
  --gradient-primary: linear-gradient(135deg, #7F00FF 0%, #00BFFF 100%);
  --gradient-primary-hover: linear-gradient(135deg, #9333EA 0%, #00D4FF 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(127, 0, 255, 0.1) 0%, rgba(0, 191, 255, 0.1) 100%);
  --gradient-dark: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(127, 0, 255, 0.2) 0%, transparent 70%);
  
  /* ===== GLASS EFFECTS ===== */
  --glass-bg: rgba(26, 26, 26, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  
  /* ===== SHADOWS ===== */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.6);
  --shadow-2xl: 0 24px 48px rgba(0, 0, 0, 0.7);
  
  /* ===== NEON GLOWS ===== */
  --glow-primary: 0 0 20px rgba(127, 0, 255, 0.4), 0 0 40px rgba(127, 0, 255, 0.2);
  --glow-secondary: 0 0 20px rgba(0, 191, 255, 0.4), 0 0 40px rgba(0, 191, 255, 0.2);
  --glow-subtle: 0 0 10px rgba(127, 0, 255, 0.2);
  --glow-hover: 0 0 30px rgba(127, 0, 255, 0.6), 0 0 60px rgba(0, 191, 255, 0.4);
  
  /* ===== TYPOGRAPHY ===== */
  /* Font Families */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Orbitron', 'Courier New', monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  --text-7xl: 4.5rem;      /* 72px */
  
  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-black: 900;
  
  /* Line Heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  
  /* ===== SPACING SCALE ===== */
  --space-0: 0;
  --space-1: 0.25rem;     /* 4px */
  --space-2: 0.5rem;      /* 8px */
  --space-3: 0.75rem;     /* 12px */
  --space-4: 1rem;        /* 16px */
  --space-5: 1.25rem;     /* 20px */
  --space-6: 1.5rem;      /* 24px */
  --space-8: 2rem;        /* 32px */
  --space-10: 2.5rem;     /* 40px */
  --space-12: 3rem;       /* 48px */
  --space-16: 4rem;       /* 64px */
  --space-20: 5rem;       /* 80px */
  --space-24: 6rem;       /* 96px */
  --space-32: 8rem;       /* 128px */
  --space-40: 10rem;      /* 160px */
  
  /* ===== BORDER RADIUS ===== */
  --radius-none: 0;
  --radius-sm: 0.375rem;   /* 6px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;
  
  /* ===== TRANSITIONS ===== */
  --transition-fast: 150ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-base: 300ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 500ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slower: 800ms cubic-bezier(0.22, 1, 0.36, 1);
  
  /* ===== Z-INDEX SCALE ===== */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-fixed: 30;
  --z-modal: 40;
  --z-popover: 50;
  --z-tooltip: 60;
  
  /* ===== CONTAINER WIDTHS ===== */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1400px;
  
  /* ===== SECTION PADDING ===== */
  --section-padding-mobile: var(--space-16);
  --section-padding-tablet: var(--space-20);
  --section-padding-desktop: var(--space-24);
  
  /* ===== ANIMATION DURATIONS (for scroll animations) ===== */
  --animation-fade-in: 600ms;
  --animation-slide-up: 700ms;
  --animation-scale: 500ms;
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
    --transition-slower: 0ms;
    --animation-fade-in: 0ms;
    --animation-slide-up: 0ms;
    --animation-scale: 0ms;
  }
  
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== DARK MODE ADJUSTMENTS (if needed later) ===== */
@media (prefers-color-scheme: light) {
  /* Keep dark theme as primary, but can add light variants later if needed */
}
