/* ==========================================================================
   variables.css — Design Tokens
   Huawai Vexis Inc Official Website

   Single source of truth for all design tokens: colors, typography,
   spacing, breakpoints, shadows, transitions, and border-radius.
   All other CSS files reference these custom properties.
   ========================================================================== */

:root {
  /* ----------------------------------------------------------------------
     Colors
     Prefix: --color-{role}-{variant}
     ---------------------------------------------------------------------- */

  /* Background colors */
  --color-bg-dark: #0A1929;
  --color-bg-dark-alt: #0D2235;
  --color-bg-light: #F0F9FF;
  --color-bg-white: #FFFFFF;

  /* Brand colors */
  --color-brand: #0EA5E9;
  --color-brand-dark: #0284C7;
  --color-accent: #14B8A6;
  --color-accent-alt: #06B6C4;
  --color-secondary-accent: #10B981;

  /* Text colors */
  --color-text-dark: #0F172A;
  --color-text-light: #E2E8F0;
  --color-text-muted-dark: #64748B;
  --color-text-muted-light: #94A3B8;

  /* Border colors */
  --color-border: #E2E8F0;
  --color-border-dark: #1E293B;

  /* Gradients */
  --color-gradient-cta: linear-gradient(135deg, #0EA5E9, #14B8A6);
  --color-gradient-hero: radial-gradient(ellipse at top right, rgba(14, 165, 233, 0.15), transparent 60%),
                         radial-gradient(ellipse at bottom left, rgba(20, 184, 166, 0.08), transparent 50%);

  /* Status colors */
  --color-success: #10B981;
  --color-error: #EF4444;

  /* ----------------------------------------------------------------------
     Typography
     ---------------------------------------------------------------------- */

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font sizes — fluid typography using clamp() */
  --fs-hero: clamp(2.5rem, 5vw, 4rem);       /* 40px - 64px */
  --fs-h2: clamp(2rem, 3.5vw, 2.5rem);       /* 32px - 40px */
  --fs-h3: clamp(1.25rem, 2vw, 1.625rem);    /* 20px - 26px */
  --fs-body: 1rem;                            /* 16px */
  --fs-small: 0.875rem;                       /* 14px */
  --fs-xs: 0.75rem;                           /* 12px */

  /* Font weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Line heights */
  --lh-heading: 1.15;
  --lh-body: 1.6;
  --lh-tight: 1.1;

  /* Letter spacing */
  --ls-heading: -0.02em;
  --ls-eyebrow: 0.08em;

  /* ----------------------------------------------------------------------
     Spacing — 8px base grid
     ---------------------------------------------------------------------- */

  --space-1: 0.5rem;    /* 8px */
  --space-2: 1rem;      /* 16px */
  --space-3: 1.5rem;    /* 24px */
  --space-4: 2rem;      /* 32px */
  --space-5: 3rem;      /* 48px */
  --space-6: 4rem;      /* 64px */
  --space-7: 6rem;      /* 96px */
  --space-8: 8rem;      /* 128px */

  /* ----------------------------------------------------------------------
     Layout
     ---------------------------------------------------------------------- */

  --container-max: 1280px;
  --container-padding: 1.5rem;
  --grid-gap: 2rem;
  --grid-gap-sm: 1rem;

  /* Breakpoints — reference only (CSS media queries use literal values) */
  --bp-xl: 1280px;
  --bp-lg: 1024px;
  --bp-md: 768px;
  --bp-sm: 480px;

  /* ----------------------------------------------------------------------
     Shadows
     ---------------------------------------------------------------------- */

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.06);
  --shadow-nav-dark: 0 2px 20px rgba(0, 0, 0, 0.3);
  --shadow-cta: 0 4px 24px rgba(14, 165, 233, 0.3);

  /* ----------------------------------------------------------------------
     Transitions
     ---------------------------------------------------------------------- */

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* ----------------------------------------------------------------------
     Border Radius
     ---------------------------------------------------------------------- */

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* ----------------------------------------------------------------------
     Navbar
     ---------------------------------------------------------------------- */

  --navbar-height: 72px;
}
