/* PYRA Design System CSS Variables */
/* Based on PYRA Brand Manual 2025 */

:root {
  /* Primary Brand Colors */
  --pyra-warm-red: #ff3333;
  --pyra-rouge: #650207;
  --pyra-black: #190000;
  --pyra-whisper: #ede4e4;
  
  /* Extended Color Palette */
  --pyra-primary-50: #fef2f2;
  --pyra-primary-100: #fee2e2;
  --pyra-primary-200: #fecaca;
  --pyra-primary-300: #fca5a5;
  --pyra-primary-400: #f87171;
  --pyra-primary-500: #ff3333;
  --pyra-primary-600: #dc2626;
  --pyra-primary-700: #b91c1c;
  --pyra-primary-800: #991b1b;
  --pyra-primary-900: #7f1d1d;
  
  /* Secondary Colors */
  --pyra-secondary-500: #650207;
  --pyra-secondary-600: #5c0206;
  --pyra-secondary-700: #4d0205;
  --pyra-secondary-800: #3e0204;
  --pyra-secondary-900: #2f0203;
  
  /* Neutral Colors */
  --pyra-neutral-50: #f9fafb;
  --pyra-neutral-100: #f3f4f6;
  --pyra-neutral-200: #e5e7eb;
  --pyra-neutral-300: #d1d5db;
  --pyra-neutral-400: #9ca3af;
  --pyra-neutral-500: #6b7280;
  --pyra-neutral-600: #4b5563;
  --pyra-neutral-700: #374151;
  --pyra-neutral-800: #1f2937;
  --pyra-neutral-900: #111827;
  
  /* Text Colors */
  --pyra-text-primary: #190000;
  --pyra-text-secondary: #6b7280;
  --pyra-text-tertiary: #9ca3af;
  --pyra-text-inverse: #ffffff;
  --pyra-text-on-red: #ffffff;
  
  /* Background Colors */
  --pyra-bg-primary: #ffffff;
  --pyra-bg-secondary: #ede4e4;
  --pyra-bg-tertiary: #f3f4f6;
  --pyra-bg-dark: #190000;
  --pyra-bg-rouge: #650207;
  
  /* Typography - Fustat Font */
  --pyra-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --pyra-font-mono: 'JetBrains Mono', Monaco, Menlo, monospace;
  
  /* Font Sizes */
  --pyra-text-xs: 0.75rem;
  --pyra-text-sm: 0.875rem;
  --pyra-text-base: 1rem;
  --pyra-text-lg: 1.125rem;
  --pyra-text-xl: 1.25rem;
  --pyra-text-2xl: 1.5rem;
  --pyra-text-3xl: 1.875rem;
  --pyra-text-4xl: 2.25rem;
  --pyra-text-5xl: 3rem;
  --pyra-text-6xl: 3.75rem;
  --pyra-text-7xl: 4.5rem;
  --pyra-text-8xl: 6rem;
  
  /* Font Weights */
  --pyra-font-light: 300;
  --pyra-font-normal: 400;
  --pyra-font-medium: 500;
  --pyra-font-semibold: 600;
  --pyra-font-bold: 700;
  --pyra-font-extrabold: 800;
  --pyra-font-black: 900;
  
  /* Line Heights */
  --pyra-leading-tight: 1.25;
  --pyra-leading-normal: 1.5;
  --pyra-leading-relaxed: 1.625;
  --pyra-leading-loose: 2;
  
  /* Letter Spacing */
  --pyra-tracking-tight: -0.025em;
  --pyra-tracking-normal: 0;
  --pyra-tracking-wide: 0.025em;
  --pyra-tracking-wider: 0.05em;
  --pyra-tracking-widest: 0.1em;
  
  /* Spacing */
  --pyra-space-0: 0;
  --pyra-space-1: 0.25rem;
  --pyra-space-2: 0.5rem;
  --pyra-space-3: 0.75rem;
  --pyra-space-4: 1rem;
  --pyra-space-5: 1.25rem;
  --pyra-space-6: 1.5rem;
  --pyra-space-8: 2rem;
  --pyra-space-10: 2.5rem;
  --pyra-space-12: 3rem;
  --pyra-space-16: 4rem;
  --pyra-space-20: 5rem;
  --pyra-space-24: 6rem;
  --pyra-space-32: 8rem;
  --pyra-space-40: 10rem;
  --pyra-space-48: 12rem;
  --pyra-space-56: 14rem;
  --pyra-space-64: 16rem;
  
  /* Border Radius */
  --pyra-radius-none: 0;
  --pyra-radius-sm: 0.125rem;
  --pyra-radius-base: 0.25rem;
  --pyra-radius-md: 0.375rem;
  --pyra-radius-lg: 0.5rem;
  --pyra-radius-xl: 0.75rem;
  --pyra-radius-2xl: 1rem;
  --pyra-radius-3xl: 1.5rem;
  --pyra-radius-full: 9999px;
  --pyra-radius-organic: 0.625rem;
  
  /* Box Shadows */
  --pyra-shadow-sm: 0 1px 2px 0 rgb(25 0 0 / 0.05);
  --pyra-shadow-base: 0 1px 3px 0 rgb(25 0 0 / 0.1), 0 1px 2px -1px rgb(25 0 0 / 0.1);
  --pyra-shadow-md: 0 4px 6px -1px rgb(25 0 0 / 0.1), 0 2px 4px -2px rgb(25 0 0 / 0.1);
  --pyra-shadow-lg: 0 10px 15px -3px rgb(25 0 0 / 0.1), 0 4px 6px -4px rgb(25 0 0 / 0.1);
  --pyra-shadow-xl: 0 20px 25px -5px rgb(25 0 0 / 0.1), 0 8px 10px -6px rgb(25 0 0 / 0.1);
  --pyra-shadow-2xl: 0 25px 50px -12px rgb(25 0 0 / 0.25);
  --pyra-shadow-inner: inset 0 2px 4px 0 rgb(25 0 0 / 0.05);
  
  /* Animation */
  --pyra-duration-fast: 150ms;
  --pyra-duration-normal: 250ms;
  --pyra-duration-slow: 350ms;
  --pyra-duration-organic: 400ms;
  --pyra-duration-squarespace: 900ms;
  
  --pyra-easing-default: cubic-bezier(0.4, 0, 0.2, 1);
  --pyra-easing-in: cubic-bezier(0.4, 0, 1, 1);
  --pyra-easing-out: cubic-bezier(0, 0, 0.2, 1);
  --pyra-easing-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --pyra-easing-organic: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Z-Index Layers */
  --pyra-z-hide: -1;
  --pyra-z-base: 0;
  --pyra-z-docked: 10;
  --pyra-z-dropdown: 1000;
  --pyra-z-sticky: 1100;
  --pyra-z-banner: 1200;
  --pyra-z-overlay: 1300;
  --pyra-z-modal: 1400;
  --pyra-z-popover: 1500;
  --pyra-z-tooltip: 1800;
  
  /* Breakpoints */
  --pyra-screen-sm: 640px;
  --pyra-screen-md: 768px;
  --pyra-screen-lg: 1024px;
  --pyra-screen-xl: 1280px;
  --pyra-screen-2xl: 1536px;
  
  /* Container Widths */
  --pyra-container-sm: 640px;
  --pyra-container-md: 768px;
  --pyra-container-lg: 1024px;
  --pyra-container-xl: 1280px;
  --pyra-container-2xl: 1536px;
  --pyra-container-fluid: 100%;
  
  /* Logo Specifications */
  --pyra-logo-min-isologo: 10px;
  --pyra-logo-min-reduction: 25px;
  --pyra-logo-min-complete: 120px;
  --pyra-logo-inclination: 286deg;
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --pyra-bg-primary: #190000;
  --pyra-bg-secondary: #2f0203;
  --pyra-text-primary: #ffffff;
  --pyra-text-secondary: #d1d5db;
}

/* Utility Classes */
.text-pyra-red {
  color: var(--pyra-warm-red);
}

.text-pyra-rouge {
  color: var(--pyra-rouge);
}

.bg-pyra-red {
  background-color: var(--pyra-warm-red);
}

.bg-pyra-rouge {
  background-color: var(--pyra-rouge);
}

.bg-pyra-black {
  background-color: var(--pyra-black);
}

.bg-pyra-whisper {
  background-color: var(--pyra-whisper);
}