/* CSS Custom Properties - Design Tokens */
/* Inspired by refined dark-first design systems */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  /* ========================================
     SURFACES
     ======================================== */
  --bg-primary: #0A0A0B;
  --bg-secondary: #111113;
  --bg-tertiary: #191A1F;
  --surface-elevated: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);

  /* ========================================
     ACCENT COLORS
     ======================================== */
  --accent-primary: #5E6AD2;
  --accent-hover: #7C85E3;
  --accent-secondary: #8A6FE8;
  --accent-glow: rgba(94, 106, 210, 0.15);

  /* Feature colors */
  --color-blue: #4D9BF0;
  --color-purple: #8A6FE8;
  --color-green: #4DAA6E;
  --color-amber: #D4A04A;
  --color-red: #D44A4A;

  /* ========================================
     TEXT COLORS
     ======================================== */
  --text-primary: #F1F1F3;
  --text-secondary: #B4B4BD;
  --text-tertiary: #7C7C89;
  --text-quaternary: #4E4E59;

  /* ========================================
     BORDERS
     ======================================== */
  --border-default: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(94, 106, 210, 0.4);

  /* ========================================
     TYPOGRAPHY
     ======================================== */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Title scale */
  --title-hero: 4.5rem;    /* 72px */
  --title-1: 3.5rem;       /* 56px */
  --title-2: 2.5rem;       /* 40px */
  --title-3: 1.75rem;      /* 28px */
  --title-4: 1.25rem;      /* 20px */

  /* Text scale */
  --text-large: 1.125rem;  /* 18px */
  --text-regular: 1rem;    /* 16px */
  --text-small: 0.875rem;  /* 14px */
  --text-mini: 0.75rem;    /* 12px */
  --text-micro: 0.6875rem; /* 11px */

  /* Weights */
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  /* Line heights */
  --leading-tight: 1.1;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;

  /* ========================================
     SPACING
     ======================================== */
  --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 */
  --space-40: 10rem;    /* 160px */

  /* ========================================
     LAYOUT
     ======================================== */
  --container-max: 1200px;
  --container-padding: var(--space-6);
  --section-gap: var(--space-32);
  --section-gap-mobile: var(--space-12);

  /* ========================================
     BORDER RADIUS
     ======================================== */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  /* ========================================
     SHADOWS
     ======================================== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 0 3px var(--accent-glow);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* ========================================
     TRANSITIONS
     ======================================== */
  --ease-micro: 120ms ease;
  --ease-fast: 150ms ease;
  --ease-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-reveal: 500ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: 150ms ease-in;

  /* ========================================
     Z-INDEX
     ======================================== */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 50;
  --z-fixed: 100;
  --z-overlay: 500;
  --z-modal: 1000;
  --z-noise: 9999;
}
