/* ================================
   EkNaam Studios - CSS Variables
   Design System Foundation
   ================================ */

:root {
  /* === COLOR PALETTE (Charcoal Luxury) === */

  /* Backgrounds */
  --bg-primary: #0F1115;
  /* Deep Charcoal Black */
  --bg-secondary: #141820;
  /* Soft Charcoal Gradient */
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-footer: #0A0B0D;
  /* Darkest */

  /* Accents */
  --accent-red: #E63946;
  /* Premium Red from Logo */
  --accent-glow: rgba(230, 57, 70, 0.45);
  --accent-glow-strong: rgba(230, 57, 70, 0.7);

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #A5ACB8;
  --text-muted: #6B7280;

  /* Glass Effects */
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(230, 57, 70, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);

  /* === TYPOGRAPHY === */

  /* Font Families */
  --font-primary: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  --font-fallback: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* 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: 4rem;
  /* 64px */

  /* Font Weights */
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 900;

  /* Line Heights */
  --leading-tight: 1.15;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;

  /* === SPACING SYSTEM (4px base grid) === */
  --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 */

  /* === BORDER RADIUS === */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* === SHADOWS (Elevation System) === */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px var(--accent-glow);
  --shadow-glow-strong: 0 0 40px var(--accent-glow-strong);

  /* === ANIMATION TIMINGS === */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 350ms;
  --duration-slower: 500ms;

  /* === Z-INDEX SYSTEM === */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* === LAYOUT === */
  --container-max: 1400px;
  --container-padding: var(--space-6);
  --header-height: 80px;
  --announcement-bar-height: 40px;
}

/* === RESPONSIVE BREAKPOINTS === */
/* These are used in media queries throughout */
/* Mobile: < 768px */
/* Tablet: 768px - 1199px */
/* Desktop: 1200px+ */

/* Mobile Typography Overrides */
@media (max-width: 767px) {
  :root {
    --text-4xl: 2rem;
    /* 32px on mobile */
    --text-5xl: 2.5rem;
    /* 40px on mobile */
    --text-6xl: 2.25rem;
    /* 36px on mobile */
    --container-padding: var(--space-4);
  }
}