/**
 * Intensive Driving Institute - Design System Tokens & Variables
 */
:root {
  /* Brand Color Palette - Modern White + Red Identity */
  --color-primary: #0F172A;         /* Slate / Dark Charcoal for headings & contrast */
  --color-primary-light: #1E293B;   /* Slate 800 */
  --color-primary-dark: #090D16;    /* Deep Midnight Charcoal */
  --color-primary-rgb: 15, 23, 42;
  
  --color-accent: #D94732;          /* Primary Red */
  --color-accent-hover: #BF3622;    /* Darker Red on hover */
  --color-accent-soft: rgba(217, 71, 50, 0.08); /* Subtle red tint */
  --color-accent-soft-border: rgba(217, 71, 50, 0.22);
  --color-accent-rgb: 217, 71, 50;

  /* Semantic Status Colors (WCAG 2.2 AA compliant) */
  --color-success: #16A34A;         /* Verified / Success green */
  --color-success-bg: #DCFCE7;
  --color-success-border: #86EFAC;
  --color-success-text: #14532D;
  --color-success-soft: rgba(22, 163, 74, 0.12);

  --color-warning: #D97706;         /* Attention / Pending amber */
  --color-warning-bg: #FEF3C7;
  --color-warning-border: #FDE68A;
  --color-warning-text: #78350F;
  --color-gold: #D97706;            /* Warm Amber for ratings */
  --color-gold-soft: rgba(217, 119, 6, 0.12);

  --color-error: #DC2626;           /* Form validation error red */
  --color-error-bg: #FEE2E2;
  --color-error-border: #FCA5A5;
  --color-error-text: #7F1D1D;

  --color-info: #2563EB;            /* Informational blue */
  --color-info-bg: #DBEAFE;
  --color-info-border: #93C5FD;
  --color-info-text: #1E3A8A;
  
  --color-whatsapp: #25D366;        /* Official WhatsApp Green */
  --color-whatsapp-hover: #1EBE5D;
  --color-whatsapp-soft: rgba(37, 211, 102, 0.15);

  /* Accessible Focus System */
  --focus-ring-color: #D94732;
  --focus-ring-shadow: 0 0 0 3px rgba(217, 71, 50, 0.35);

  /* Skeleton Shimmer Tokens */
  --skeleton-base: #F1F5F9;
  --skeleton-highlight: #E2E8F0;
  --skeleton-speed: 1.5s;

  /* Pricing Table Reference Tokens */
  --color-table-header-bg: #FEEAE6;
  --color-table-header-text: #D94732;
  --color-tab-dark: #222222;
  --color-tab-light: #F1F5F9;

  /* Surface & Background Colors */
  --color-bg-body: #FFFFFF;         /* Clean White as dominant background */
  --color-bg-surface: #FFFFFF;      /* Clean White Cards & Surfaces */
  --color-bg-alt: #F8FAFC;          /* Very light grey for alternating sections */
  --color-bg-subtle: #F1F5F9;       /* Light cool grey */
  --color-bg-dark: #0F172A;         /* Slate 900 for dark contrast footer */
  --color-bg-dark-card: #1E293B;

  /* Typography Colors */
  --color-text-main: #0F172A;       /* High-contrast Slate 900 */
  --color-text-body: #334155;       /* Slate 700 for optimal readability */
  --color-text-muted: #64748B;      /* Slate 500 for captions & metadata */
  --color-text-light: #F8FAFC;      /* White for dark backgrounds */
  --color-text-light-muted: #94A3B8;

  /* Borders & Dividers */
  --color-border: #E2E8F0;
  --color-border-hover: #CBD5E1;
  --color-border-dark: #1E293B;

  /* Typography System */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Fluid Spacing Scale */
  --space-2xs: 0.25rem;  /* 4px */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 0.75rem;   /* 12px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4.5rem;   /* 72px */
  --space-4xl: 6rem;     /* 96px */

  /* Radius Tokens */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Elevation / Shadow Tokens */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.10), 0 4px 10px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);
  --shadow-accent: 0 8px 24px rgba(217, 71, 50, 0.28);

  /* Layout Container */
  --container-max: 1240px;
  --container-padding: 1.25rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Sticky Navigation Height */
  --nav-height: 82px;
  --topbar-height: 42px;
}
