/* ═══════════════════════════════════════════════════════════════
   TOMCO TECHNOLOGIES - CSS VARIABLES & DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ─────────────────────────────────────────────────────────────
     COULEURS DU LOGO
     ───────────────────────────────────────────────────────────── */
  --blue-electric: #3A4EE1;
  --magenta-tech: #CF1CD5;
  --violet-mid: #6D3DDD;

  /* ─────────────────────────────────────────────────────────────
     BACKGROUNDS
     ───────────────────────────────────────────────────────────── */
  --bg-dark: #0A0A1A;
  --bg-dark-alt: #12122A;
  --bg-card: #1A1A2E;

  /* ─────────────────────────────────────────────────────────────
     TEXTES
     ───────────────────────────────────────────────────────────── */
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0B8;
  --text-muted: #6B6B80;

  /* ─────────────────────────────────────────────────────────────
     GLASS EFFECT - Enhanced for better visibility
     ───────────────────────────────────────────────────────────── */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: 24px;

  /* ─────────────────────────────────────────────────────────────
     SHADOWS & GLOWS
     ───────────────────────────────────────────────────────────── */
  --shadow-glow-blue: 0 0 40px rgba(58, 78, 225, 0.3);
  --shadow-glow-magenta: 0 0 40px rgba(207, 28, 213, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.5);

  /* ─────────────────────────────────────────────────────────────
     GRADIENTS
     ───────────────────────────────────────────────────────────── */
  --gradient-primary: linear-gradient(135deg, #3A4EE1 0%, #6D3DDD 50%, #CF1CD5 100%);
  --gradient-bg: linear-gradient(180deg, #0A0A1A 0%, #12122A 100%);
  --gradient-border: linear-gradient(90deg, #3A4EE1, #CF1CD5, #3A4EE1);
  --gradient-glass: linear-gradient(135deg, rgba(58, 78, 225, 0.1) 0%, rgba(207, 28, 213, 0.05) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(58, 78, 225, 0.5), rgba(207, 28, 213, 0.5));

  /* ─────────────────────────────────────────────────────────────
     TYPOGRAPHY
     ───────────────────────────────────────────────────────────── */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-primary);
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font Sizes */
  --fs-xs: 0.75rem;    /* 12px */
  --fs-sm: 0.875rem;   /* 14px */
  --fs-base: 1rem;     /* 16px */
  --fs-lg: 1.125rem;   /* 18px */
  --fs-xl: 1.25rem;    /* 20px */
  --fs-2xl: 1.5rem;    /* 24px */
  --fs-3xl: 1.875rem;  /* 30px */
  --fs-4xl: 2.25rem;   /* 36px */
  --fs-5xl: 3rem;      /* 48px */
  --fs-6xl: 3.75rem;   /* 60px */
  --fs-7xl: 4.5rem;    /* 72px */

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

  /* Line Heights */
  --lh-tight: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;

  /* ─────────────────────────────────────────────────────────────
     SPACING
     ───────────────────────────────────────────────────────────── */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 0.75rem;  /* 12px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-2xl: 3rem;    /* 48px */
  --space-3xl: 4rem;    /* 64px */
  --space-4xl: 6rem;    /* 96px */
  --space-5xl: 8rem;    /* 128px */

  /* ─────────────────────────────────────────────────────────────
     BORDER RADIUS
     ───────────────────────────────────────────────────────────── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* ─────────────────────────────────────────────────────────────
     TRANSITIONS
     ───────────────────────────────────────────────────────────── */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ─────────────────────────────────────────────────────────────
     Z-INDEX LAYERS
     ───────────────────────────────────────────────────────────── */
  --z-behind: -1;
  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1100;
  --z-fixed: 1200;
  --z-modal-backdrop: 1300;
  --z-modal: 1400;
  --z-popover: 1500;
  --z-tooltip: 1600;

  /* ─────────────────────────────────────────────────────────────
     LAYOUT
     ───────────────────────────────────────────────────────────── */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;

  --navbar-height: 80px;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE ADJUSTMENTS
   ───────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.5rem;    /* 40px */
    --fs-6xl: 3rem;      /* 48px */
    --fs-7xl: 3.5rem;    /* 56px */
    --navbar-height: 70px;
  }
}

@media (max-width: 640px) {
  :root {
    --fs-4xl: 1.875rem;  /* 30px */
    --fs-5xl: 2rem;      /* 32px */
    --fs-6xl: 2.5rem;    /* 40px */
    --fs-7xl: 3rem;      /* 48px */
    --navbar-height: 64px;
  }
}
