/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   Palette, 8px Grid, Typography & Transitions
   ========================================================================== */

:root {
  /* --- Strict 4-Color Luxury Brand Palette --- */
  --color-primary: #F67280;          /* Coral Pink - Primary CTA & Accent */
  --color-primary-hover: #ff8592;    /* Tinted Coral for subtle highlights */
  --color-secondary: #C06C84;        /* Dusty Rose - Secondary accent & border glow */
  --color-surface: #6C5B7B;          /* Muted Plum - Cards & surface backdrop */
  --color-base: #355C7D;             /* Steel Blue - Deep headers & footer */

  /* --- Supporting Neutrals --- */
  --color-ink: #0F1B2A;              /* Darkest neutral - Background & text on Coral */
  --color-ink-light: #16263b;        /* Surface elevation neutral */
  --color-ivory: #F8F3F1;            /* Ivory - Primary body text on dark */
  --color-ivory-muted: rgba(248, 243, 241, 0.72); /* Secondary muted text */
  --color-ivory-dim: rgba(248, 243, 241, 0.45);   /* Dim metadata text */

  /* --- Glassmorphism & Surface Tokens --- */
  --bg-page: #0F1B2A;
  --bg-card: rgba(108, 91, 123, 0.28);
  --bg-card-hover: rgba(108, 91, 123, 0.42);
  --bg-glass: rgba(15, 27, 42, 0.75);
  --bg-glass-heavy: rgba(15, 27, 42, 0.92);
  --border-glass: rgba(192, 108, 132, 0.22);
  --border-glass-hover: rgba(246, 114, 128, 0.55);

  /* --- Brand Gradients --- */
  --gradient-brand: linear-gradient(135deg, #F67280 0%, #C06C84 35%, #6C5B7B 70%, #355C7D 100%);
  --gradient-cta: linear-gradient(135deg, #F67280 0%, #C06C84 100%);
  --gradient-cta-hover: linear-gradient(135deg, #ff8592 0%, #d47a93 100%);
  --gradient-hero-bg: radial-gradient(circle at 50% 20%, rgba(108, 91, 123, 0.35) 0%, rgba(53, 92, 125, 0.2) 40%, rgba(15, 27, 42, 0.98) 85%);
  --gradient-card: linear-gradient(145deg, rgba(108, 91, 123, 0.35) 0%, rgba(53, 92, 125, 0.2) 100%);
  --gradient-accent-line: linear-gradient(90deg, #F67280, #C06C84, #6C5B7B, #355C7D);

  /* --- 8px Grid Spacing System (Mandatory) --- */
  --space-0-5: 4px;   /* 0.5 unit */
  --space-1: 8px;     /* 1 unit */
  --space-2: 16px;    /* 2 units */
  --space-3: 24px;    /* 3 units */
  --space-4: 32px;    /* 4 units */
  --space-5: 40px;    /* 5 units */
  --space-6: 48px;    /* 6 units (min touch target size) */
  --space-8: 64px;    /* 8 units */
  --space-10: 80px;   /* 10 units */
  --space-12: 96px;   /* 12 units */
  --space-16: 128px;  /* 16 units */

  /* --- Border Radius (8px Grid Aligned) --- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* --- Shadows & Glows --- */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --glow-coral: 0 0 24px rgba(246, 114, 128, 0.35);
  --glow-coral-lg: 0 0 48px rgba(246, 114, 128, 0.5);
  --glow-plum: 0 0 32px rgba(108, 91, 123, 0.4);

  /* --- Typography --- */
  --font-family-cairo: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --line-height-tight: 1.25;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* --- Transitions --- */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Layout Constrains --- */
  --container-max: 1240px;
  --container-wide: 1400px;
  --header-height: 80px;
  --mobile-bar-height: 68px;
}
