/* ==========================================================================
   TSG AI - Design Tokens / CSS Custom Properties
   ========================================================================== */

:root {
  /* Brand Colors */
  --tsg-white: #FFFFFF;
  --tsg-black: #1A1A1A;
  --tsg-gray-50: #FAFBFC;
  --tsg-gray-100: #F4F6F8;
  --tsg-gray-200: #E9ECEF;
  --tsg-gray-300: #DEE2E6;
  --tsg-gray-400: #ADB5BD;
  --tsg-gray-500: #8C939A;
  --tsg-gray-600: #6C757D;
  --tsg-gray-700: #495057;
  --tsg-gray-800: #2D3436;
  --tsg-gray-900: #1A1A2E;

  /* Accent Colors */
  --tsg-teal: #00A4A6;
  --tsg-teal-dark: #008587;
  --tsg-teal-light: #E0F7F7;
  --tsg-teal-glow: rgba(0, 164, 166, 0.15);
  --tsg-blue: #0077B6;
  --tsg-blue-dark: #005A8C;

  /* Gradients */
  --gradient-teal: linear-gradient(135deg, var(--tsg-teal), var(--tsg-blue));
  --gradient-dark: linear-gradient(135deg, var(--tsg-gray-800), var(--tsg-gray-900));
  --gradient-hero: linear-gradient(135deg, #00A4A6 0%, #0077B6 50%, #005A8C 100%);

  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes - Mobile First */
  --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: 2rem;       /* 32px */
  --text-4xl: 2.5rem;     /* 40px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.5rem;     /* 56px */

  /* Line Heights */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;

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

  /* Spacing Scale (8px base) */
  --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 */

  /* Section Padding */
  --section-py: var(--space-16);
  --section-py-lg: var(--space-24);

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-wide: 1400px;
  --container-px: var(--space-6);

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
  --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.08);

  /* Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-reveal: 800ms;
  --duration-loader: 2000ms;

  /* Z-index scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-nav: 500;
  --z-overlay: 900;
  --z-loader: 9999;
}
