:root {
  /* Color Palette - Based on Figma design */
  --color-primary: #f16b50;        /* Coral primary brand color */
  --color-primary-light: #f59785;  /* Lighter shade */
  --color-primary-dark: #c94808;   /* Dark coral shade for hover states */
  --color-secondary: #1d2d3a;      /* CHARCOAL - Dark blue for headers */
  --color-secondary-dark: #0F2436;  /* Darker blue */
  --color-accent: #F8F9FA;         /* Light gray for backgrounds */
  --color-text-primary: #1d2d3a;   /* CHARCOAL - Main text color */
  --color-text-secondary: #515861; /* STEEL - Secondary text color */
  --color-text-light: #999999;     /* Light text */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-100: #F8F9FA;
  --color-gray-200: #E9ECEF;
  --color-gray-300: #DEE2E6;
  --color-gray-400: #CED4DA;
  --color-gray-500: #ADB5BD;
  --color-border: #E0E0E0;
  --color-success: #28A745;
  --color-error: #DC3545;
  --color-warning: #FFC107;

  --color-steel: #515861;
  --color-coral: #f16b50;
  --color-eee: #eee;
  --color-melon: #f8b095;
  --color-light-melon: #FCEEE7;
  --color-dedede: #dedede;
  --color-charcol: #1D2D3A;

  --silver-gradient: linear-gradient(
    90deg,
    rgba(222, 225, 227, 1) 0%,
    rgba(255, 251, 230, 1) 25.4807710647583%,
    rgba(212, 203, 191, 1) 59.61538553237915%,
    rgba(237, 236, 236, 1) 79.80769276618958%,
    rgba(214, 212, 186, 1) 100%
  );


  /* Additional utility colors */
  --color-placeholder: #ff00b7;        /* Placeholder/debug color - should be replaced in production */
  --color-border-light: #eeeeee;       /* Light border color */
  --color-overlay-dark: rgba(0, 0, 0, 0.5);  /* Dark overlay */
  --color-overlay-light: rgba(255, 255, 255, 0.5);  /* Light overlay */


  /* Typography */
  --font-family-primary: 'agenda', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-family-secondary: 'Tilt Neon', Georgia, 'Times New Roman', serif;
  --font-family-mono: 'SF Mono', Monaco, 'Courier New', monospace;

  /* Figma Design System Typography */
  --font-agenda: 'agenda', 'Inter', Arial, sans-serif;
  --font-tilt-neon: 'Tilt Neon', Georgia, serif;

  /* Font Sizes - Fluid Typography */
  --font-size-xs: clamp(0.75rem, 0.7vw, 0.875rem);    /* 12-14px */
  --font-size-sm: clamp(0.875rem, 0.9vw, 1rem);       /* 14-16px */
  --font-size-base: clamp(1rem, 1vw, 1.125rem);       /* 16-18px */
  --font-size-lg: clamp(1.125rem, 1.2vw, 1.25rem);    /* 18-20px */
  --font-size-xl: clamp(1.25rem, 1.5vw, 1.5rem);      /* 20-24px */
  --font-size-2xl: clamp(1.5rem, 2vw, 2rem);          /* 24-32px */
  --font-size-3xl: clamp(2rem, 2.5vw, 2.5rem);        /* 32-40px */
  --font-size-4xl: clamp(2.5rem, 3vw, 3rem);          /* 40-48px */
  --font-size-5xl: clamp(3rem, 4vw, 4rem);            /* 48-64px */

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  --line-height-loose: 2;

  /* Spacing System (8px base) */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 2.5rem;   /* 40px */
  --space-3xl: 3rem;     /* 48px */
  --space-4xl: 4rem;     /* 64px */
  --space-5xl: 5rem;     /* 80px */
  --space-6xl: 6rem;     /* 96px */
  --footer-links: 60px;
  --section-margin: 60px;
  /* Layout Variables */
  --container-max-width: 1200px;
  --container-padding: var(--space-lg);
  --header-height: 80px;
  --header-height-mobile: 72px;
  --sidebar-width: 300px;
  --content-max-width: 65ch;

  /* Grid & Flexbox */
  --grid-gap: var(--space-lg);
  --grid-columns: 12;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --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);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
/* Custom shadows found in components */
  --shadow-card: 0px 8px 24px -4px rgba(81, 88, 97, 0.16);
  --shadow-section: 0px -4px 24px -4px rgba(81, 88, 97, 0.08);
  --shadow-focus-primary: 0 0 0 3px rgba(241, 107, 80, 0.1);
  --shadow-focus-error: 0 0 0 3px rgba(220, 53, 69, 0.1);
  --shadow-glow-primary: 0px 0px 8px 0px var(--color-primary-dark), 0px 0px 8px 0px var(--color-primary-light);

  /* Border Radius */
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  --transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;

  /* Z-index Scale */
  --z-negative: -1;
  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* Breakpoints */
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --breakpoint-2xl: 1400px;
}

/* Tablet adjustments */
@media (min-width: 768px) {
  :root {
    --container-padding: var(--space-xl);
  }
}

/* Desktop adjustments */
@media (min-width: 1250px) {
  :root {
    --container-padding: 0;
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  :root {
    /* Dark mode overrides can be added here */
  }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
  }
}
