/**
 * Design System - Job Tests Portal 2026
 * =====================================
 * 
 * This file defines the design tokens and CSS custom properties
 * for the modern dark-first design system.
 * 
 * Version: 1.0
 * Theme: Modern Dark-First with Light Mode Option
 */

/* ==========================================================================
   1. CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
  /* --------------------------------------------------------------------------
     Color Palette - Dark Theme (Default)
     -------------------------------------------------------------------------- */
  
  /* Backgrounds */
  --bg-primary: #0f0f0f;          /* Main background - pure dark */
  --bg-secondary: #1a1a1a;        /* Cards, sections */
  --bg-tertiary: #262626;         /* Elevated elements */
  --bg-hover: #333333;            /* Hover states */
  --bg-active: #404040;           /* Active/pressed states */
  
  /* Text */
  --text-primary: #ffffff;         /* Headlines, important text */
  --text-secondary: #a3a3a3;       /* Body text */
  --text-muted: #737373;           /* Captions, hints, placeholders */
  --text-inverse: #0f0f0f;         /* Text on light backgrounds */
  
  /* Accent Colors */
  --accent-primary: #2563eb;       /* Primary actions - darker for AA contrast with white text */
  --accent-primary-hover: #1d4ed8;
  --accent-primary-active: #1e40af;
  
  --accent-secondary: #8b5cf6;     /* Secondary - purple */
  --accent-secondary-hover: #7c3aed;
  
  --accent-success: #22c55e;       /* Success - green */
  --accent-success-hover: #16a34a;
  
  --accent-warning: #f59e0b;       /* Warning - amber */
  --accent-warning-hover: #d97706;
  
  --accent-error: #ef4444;         /* Error - red */
  --accent-error-hover: #dc2626;
  
  --accent-info: #06b6d4;          /* Info - cyan */
  --accent-info-hover: #0891b2;
  
  /* Borders */
  --border-default: #333333;
  --border-hover: #525252;
  --border-focus: #3b82f6;
  
  /* Shadows - Dark theme uses subtle shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
  
  /* --------------------------------------------------------------------------
     Category Colors (Consistent across themes)
     -------------------------------------------------------------------------- */
  --category-cognitive: #3b82f6;      /* Blue - Thinking tests */
  --category-engineering: #22c55e;    /* Green - Technical */
  --category-business: #8b5cf6;       /* Purple - Business */
  --category-science: #06b6d4;        /* Cyan - Science */
  --category-it-cert: #ef4444;        /* Red - IT Security */
  --category-professional: #f59e0b;   /* Amber - Professional */
  --category-simulator: #ec4899;      /* Pink - Simulators */
  --category-programming: #14b8a6;    /* Teal - Code */
  --category-career-tools: #6366f1;   /* Indigo - Tools */
  --category-other: #a855f7;          /* Violet - Other */
  
  /* --------------------------------------------------------------------------
     Typography
     -------------------------------------------------------------------------- */
  
  /* Font Families */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
  
  /* 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: 3.75rem;     /* 60px */
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* --------------------------------------------------------------------------
     Spacing System (Based on 4px grid)
     -------------------------------------------------------------------------- */
  --space-0: 0;
  --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 */
  
  /* --------------------------------------------------------------------------
     Border Radius
     -------------------------------------------------------------------------- */
  --radius-none: 0;
  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.375rem;   /* 6px */
  --radius-lg: 0.5rem;     /* 8px */
  --radius-xl: 0.75rem;    /* 12px */
  --radius-2xl: 1rem;      /* 16px */
  --radius-full: 9999px;   /* Pill shape */
  
  /* --------------------------------------------------------------------------
     Transitions
     -------------------------------------------------------------------------- */
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 300ms ease;
  
  /* --------------------------------------------------------------------------
     Z-Index Scale
     -------------------------------------------------------------------------- */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  
  /* --------------------------------------------------------------------------
     Container Widths
     -------------------------------------------------------------------------- */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1400px;
  --container-2xl: 1536px;
}

/* ==========================================================================
   2. Light Theme Override
   ========================================================================== */

[data-theme="light"],
.theme-light {
  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-tertiary: #e5e5e5;
  --bg-hover: #d4d4d4;
  --bg-active: #c4c4c4;
  
  /* Text */
  --text-primary: #171717;
  --text-secondary: #525252;
  --text-muted: #737373;
  --text-inverse: #ffffff;
  
  /* Accent Colors - Slightly darker for light mode */
  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-primary-active: #1e40af;
  
  --accent-secondary: #7c3aed;
  --accent-secondary-hover: #6d28d9;
  
  --accent-success: #16a34a;
  --accent-success-hover: #15803d;
  
  --accent-warning: #d97706;
  --accent-warning-hover: #b45309;
  
  --accent-error: #dc2626;
  --accent-error-hover: #b91c1c;
  
  --accent-info: #0891b2;
  --accent-info-hover: #0e7490;
  
  /* Borders */
  --border-default: #e5e5e5;
  --border-hover: #d4d4d4;
  --border-focus: #2563eb;
  
  /* Shadows - Light theme uses softer shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   3. Base Styles
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  margin: 0;
  padding: 0;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ==========================================================================
   4. Typography Utilities
   ========================================================================== */

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }

.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

/* ==========================================================================
   5. Card Component
   ========================================================================== */

.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.card-header {
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-default);
}

.card-title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0;
}

.card-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* ==========================================================================
   6. Button Components
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Primary Button */
.btn-primary {
  background-color: var(--accent-primary);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--accent-primary-hover);
}

.btn-primary:active:not(:disabled) {
  background-color: var(--accent-primary-active);
}

/* Secondary Button */
.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--bg-hover);
  border-color: var(--border-hover);
}

/* Ghost Button */
.btn-ghost {
  background-color: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover:not(:disabled) {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

/* Success Button */
.btn-success {
  background-color: var(--accent-success);
  color: white;
}

.btn-success:hover:not(:disabled) {
  background-color: var(--accent-success-hover);
}

/* Danger Button */
.btn-danger {
  background-color: var(--accent-error);
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background-color: var(--accent-error-hover);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
}

/* ==========================================================================
   7. Form Components
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-primary);
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

/* ==========================================================================
   8. Badge Component
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  border-radius: var(--radius-full);
}

.badge-primary {
  background-color: rgba(59, 130, 246, 0.2);
  color: var(--accent-primary);
}

.badge-success {
  background-color: rgba(34, 197, 94, 0.2);
  color: var(--accent-success);
}

.badge-warning {
  background-color: rgba(245, 158, 11, 0.2);
  color: var(--accent-warning);
}

.badge-error {
  background-color: rgba(239, 68, 68, 0.2);
  color: var(--accent-error);
}

/* Category Badges */
.badge-cognitive { background-color: rgba(59, 130, 246, 0.15); color: var(--category-cognitive); }
.badge-engineering { background-color: rgba(34, 197, 94, 0.15); color: var(--category-engineering); }
.badge-business { background-color: rgba(139, 92, 246, 0.15); color: var(--category-business); }
.badge-science { background-color: rgba(6, 182, 212, 0.15); color: var(--category-science); }
.badge-it-cert { background-color: rgba(239, 68, 68, 0.15); color: var(--category-it-cert); }
.badge-professional { background-color: rgba(245, 158, 11, 0.15); color: var(--category-professional); }
.badge-simulator { background-color: rgba(236, 72, 153, 0.15); color: var(--category-simulator); }
.badge-programming { background-color: rgba(20, 184, 166, 0.15); color: var(--category-programming); }
.badge-career-tools { background-color: rgba(99, 102, 241, 0.15); color: var(--category-career-tools); }

/* Nav Icon Category Colors */
.nav-icon-career-tools { color: var(--category-career-tools); }
.nav-icon-career-paths { color: #8b5cf6; }
.nav-icon-cognitive { color: var(--category-cognitive); }
.nav-icon-languages { color: #dc2626; }
.nav-icon-engineering { color: var(--category-engineering); }
.nav-icon-business { color: var(--category-business); }
.nav-icon-it-cert { color: var(--category-it-cert); }
.nav-icon-professional { color: var(--category-professional); }
.nav-icon-license { color: #f59e0b; }
.nav-icon-simulator { color: var(--category-simulator); }
.nav-icon-programming { color: var(--category-programming); }
.nav-icon-science { color: var(--category-science); }

/* ==========================================================================
   9. Module Card (for Bundle Builder)
   ========================================================================== */

.module-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.module-card:hover {
  border-color: var(--accent-primary);
  background-color: var(--bg-tertiary);
}

.module-card.selected {
  border-color: var(--accent-primary);
  background-color: rgba(59, 130, 246, 0.1);
}

.module-card__icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}

.module-card__name {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.module-card__category {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.module-card__price {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--accent-primary);
}

/* ==========================================================================
   10. Bundle Cart Sidebar
   ========================================================================== */

.bundle-cart {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: sticky;
  top: var(--space-6);
}

.bundle-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-default);
}

.bundle-cart__title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.bundle-cart__count {
  background-color: var(--accent-primary);
  color: white;
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
}

.bundle-cart__items {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: var(--space-4);
}

.bundle-cart__item {
  display: grid;
  grid-template-columns: 1fr 5rem 1.75rem;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-default);
}

.bundle-cart__item:last-child {
  border-bottom: none;
}

.bundle-cart__item-name {
  font-size: var(--text-sm);
  color: var(--text-primary);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bundle-cart__item-price {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bundle-cart__item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--space-1);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.bundle-cart__item-remove:hover {
  color: var(--accent-error);
}

.bundle-cart__summary {
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-default);
}

.bundle-cart__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}

.bundle-cart__row.discount {
  color: var(--accent-success);
}

.bundle-cart__total {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 2px solid var(--border-default);
}

/* ==========================================================================
   11. Category Filter Pills
   ========================================================================== */

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.category-pill {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.category-pill:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

.category-pill.active {
  background-color: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

/* Category-specific active states */
.category-pill[data-category="cognitive"].active { background-color: var(--category-cognitive); border-color: var(--category-cognitive); }
.category-pill[data-category="engineering"].active { background-color: var(--category-engineering); border-color: var(--category-engineering); }
.category-pill[data-category="business"].active { background-color: var(--category-business); border-color: var(--category-business); }
.category-pill[data-category="science"].active { background-color: var(--category-science); border-color: var(--category-science); }
.category-pill[data-category="it-cert"].active { background-color: var(--category-it-cert); border-color: var(--category-it-cert); }
.category-pill[data-category="professional"].active { background-color: var(--category-professional); border-color: var(--category-professional); }
.category-pill[data-category="simulator"].active { background-color: var(--category-simulator); border-color: var(--category-simulator); }
.category-pill[data-category="programming"].active { background-color: var(--category-programming); border-color: var(--category-programming); }
.category-pill[data-category="career-tools"].active { background-color: var(--category-career-tools); border-color: var(--category-career-tools); }

/* ==========================================================================
   12. Price Display
   ========================================================================== */

.price {
  font-weight: var(--font-bold);
}

.price-original {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: var(--font-normal);
}

.price-discounted {
  color: var(--accent-success);
}

.price-per-month {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: var(--font-normal);
}

/* ==========================================================================
   13. Duration Selector
   ========================================================================== */

.duration-selector {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-1);
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-lg);
}

.duration-option {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  text-align: center;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.duration-option:hover {
  color: var(--text-primary);
}

.duration-option.active {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.duration-option__label {
  display: block;
}

.duration-option__multiplier {
  font-size: var(--text-xs);
  color: var(--accent-success);
  margin-top: var(--space-1);
}

/* ==========================================================================
   14. Theme Toggle
   ========================================================================== */

.theme-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.theme-toggle__icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.theme-toggle__icon.active {
  color: var(--accent-primary);
}

/* ==========================================================================
   15. Layout Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }
.container-2xl { max-width: var(--container-2xl); }

.grid {
  display: grid;
  gap: var(--space-4);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
}

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* Spacing Utilities */
.m-0 { margin: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }

/* ==========================================================================
   16. All-Access Promo Banner
   ========================================================================== */

.all-access-banner {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.all-access-banner__text {
  color: white;
}

.all-access-banner__title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-1);
}

.all-access-banner__subtitle {
  font-size: var(--text-sm);
  opacity: 0.9;
}

.all-access-banner__price {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: white;
  white-space: nowrap;
}

.all-access-banner__price span {
  font-size: var(--text-sm);
  font-weight: var(--font-normal);
  opacity: 0.8;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Hidden utility - use instead of inline display:none */
.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
