/* tokens.css — ElaCloud design tokens */

:root {
  /* Colors — Light Theme */
  --color-bg: #F7F8FA;                    /* Body background: Light grey-blue */
  --color-surface: #FFFFFF;               /* Card/content surfaces: Pure white */
  --color-surface-raised: #FAFBFC;        /* Elevated surfaces: Off-white */
  --color-border: #E1E4E8;                /* Standard borders: Light grey */
  --color-border-subtle: #EDF0F3;         /* Subtle dividers: Very light grey */
  --color-text-primary: #1A1C21;          /* Headings, primary text: Near-black */
  --color-text-secondary: #5B6069;        /* Body text, descriptions: Medium grey */
  --color-text-tertiary: #8A8F98;         /* Captions, meta: Light grey */
  --color-footer-bg: #F0F2F5;             /* Footer background: Slightly darker than body */

  /* Brand accents — drawn from DriverCoach palette */
  --color-accent: #3154DF;                /* Primary brand blue */
  --color-accent-hover: #4F6CE8;          /* Hover state for blue */
  --color-accent-secondary: #89E219;      /* Brand green */
  --color-accent-lavender: #A888FF;       /* Brand lavender */
  --color-green-dark: #2B7A0B;            /* Dark green for light backgrounds */

  /* Brand gradient — Updated for Light Theme */
  --gradient-brand: linear-gradient(135deg, #3154DF 0%, #89E219 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(49,84,223,0.04) 0%, rgba(137,226,25,0.02) 100%);
  --gradient-brand-line: linear-gradient(90deg, transparent, rgba(49,84,223,0.3) 30%, rgba(137,226,25,0.3) 70%, transparent);

  /* Typography */
  --font-family: 'Inter Variable', 'Inter', system-ui, -apple-system, sans-serif;
  --font-size-h1-desktop: 58px;
  --font-size-h1-mobile: 38px;
  --font-size-h2-desktop: 36px;
  --font-size-h2-mobile: 26px;
  --font-size-body: 17px;
  --font-size-body-mobile: 16px;
  --font-size-caption: 13px;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --line-height-h1: 1.08;
  --line-height-h2: 1.2;
  --line-height-body: 1.7;
  --line-height-caption: 1.4;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 128px;

  /* Layout */
  --container-max: 1080px;
  --container-padding: 24px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* Animation */
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 600ms;
  --duration-float: 8s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
