/* ==========================================================================
   LinkTec Design System - CSS Variables
   ========================================================================== */

:root {
  /* ─────────────────────────────────────────────────────────────────────────
     COLOR PALETTE
     ───────────────────────────────────────────────────────────────────────── */
  
  /* Primary Colors */
  --color-gold: #b48e67;
  --color-gold-light: #c9a882;
  --color-gold-dark: #96754f;
  --color-gold-glow: rgba(180, 142, 103, 0.3);
  
  /* Neutral Colors */
  --color-black: #1c1c1e;
  --color-black-pure: #000000;
  --color-black-soft: #2c2c2e;
  --color-black-lighter: #3a3a3c;
  
  --color-white: #ffffff;
  --color-white-soft: #f5f5f7;
  --color-white-muted: #e5e5e7;
  
  --color-gray: #545454;
  --color-gray-light: #8e8e93;
  --color-gray-lighter: #aeaeb2;
  --color-gray-dark: #3a3a3c;
  
  /* Semantic Colors */
  --color-success: #34c759;
  --color-success-soft: rgba(52, 199, 89, 0.15);
  --color-warning: #ff9f0a;
  --color-warning-soft: rgba(255, 159, 10, 0.15);
  --color-error: #ff3b30;
  --color-error-soft: rgba(255, 59, 48, 0.15);
  --color-info: #5ac8fa;
  --color-info-soft: rgba(90, 200, 250, 0.15);
  
  /* ─────────────────────────────────────────────────────────────────────────
     TYPOGRAPHY
     ───────────────────────────────────────────────────────────────────────── */
  
  /* Font Families */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;
  
  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 2vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  --text-5xl: clamp(3rem, 2rem + 4vw, 5rem);
  
  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Line Heights */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
  
  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  
  /* ─────────────────────────────────────────────────────────────────────────
     SPACING
     ───────────────────────────────────────────────────────────────────────── */
  
  --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 */
  
  /* ─────────────────────────────────────────────────────────────────────────
     LAYOUT
     ───────────────────────────────────────────────────────────────────────── */
  
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;
  
  --gutter: clamp(1rem, 2vw + 0.5rem, 2rem);
  
  /* ─────────────────────────────────────────────────────────────────────────
     BORDERS & RADIUS
     ───────────────────────────────────────────────────────────────────────── */
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  --border-thin: 1px;
  --border-medium: 2px;
  --border-thick: 3px;
  
  /* ─────────────────────────────────────────────────────────────────────────
     SHADOWS
     ───────────────────────────────────────────────────────────────────────── */
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  --shadow-gold: 0 4px 14px rgba(180, 142, 103, 0.25);
  --shadow-gold-lg: 0 8px 30px rgba(180, 142, 103, 0.35);
  
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  
  /* ─────────────────────────────────────────────────────────────────────────
     TRANSITIONS
     ───────────────────────────────────────────────────────────────────────── */
  
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-slower: 600ms ease;
  
  --ease-in-out-quad: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* ─────────────────────────────────────────────────────────────────────────
     Z-INDEX
     ───────────────────────────────────────────────────────────────────────── */
  
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  
  /* ─────────────────────────────────────────────────────────────────────────
     GLASSMORPHISM
     ───────────────────────────────────────────────────────────────────────── */
  
  --glass-bg: rgba(28, 28, 30, 0.8);
  --glass-bg-light: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(20px);
}

/* Dark Mode Adjustments (default is dark) */
[data-theme="light"] {
  --color-black: #ffffff;
  --color-white: #1c1c1e;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.1);
}
