/* ==========================================================================
   DESIGN SYSTEM - eesier
   Single source of truth for all design tokens
   ========================================================================== */

:root {
  /* -------------------------------------------------------------------------
     COLORS
     ------------------------------------------------------------------------- */

  /* Primary - Main brand blue */
  --color-primary-50: #eef7ff;
  --color-primary-100: #d8efff;
  --color-primary: #1c91e4;
  --color-primary-600: #167ac3;
  --color-primary-700: #11639f;

  /* Secondary - Light cyan accent */
  --color-secondary-50: #e8f8ff;
  --color-secondary-100: #d0f0ff;
  --color-secondary: #4fbefe;

  /* Accent - Orange for CTAs */
  --color-accent-50: #fff4f0;
  --color-accent-100: #ffe8e0;
  --color-accent: #ff6f3c;
  --color-accent-600: #e55a2b;
  --color-accent-700: #cc4a1f;

  /* Neutrals */
  --color-background: #f6f7fc;
  --color-surface: #ffffff;
  --color-ink: #0f172a;
  --color-muted: #475569;
  --color-border: #e2e8f0;

  /* -------------------------------------------------------------------------
     TYPOGRAPHY
     ------------------------------------------------------------------------- */

  --font-family: 'Quicksand', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Font weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* Letter spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;

  /* -------------------------------------------------------------------------
     BORDERS & RADIUS
     ------------------------------------------------------------------------- */

  --radius-sm: 0.375rem;   /* 6px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.25rem;   /* 20px */
  --radius-full: 9999px;

  /* -------------------------------------------------------------------------
     SHADOWS
     ------------------------------------------------------------------------- */

  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lift: 0 18px 55px rgba(15, 23, 42, 0.14);
  --shadow-focus: 0 0 0 4px rgba(28, 145, 228, 0.25);

  /* -------------------------------------------------------------------------
     TRANSITIONS
     ------------------------------------------------------------------------- */

  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* -------------------------------------------------------------------------
     Z-INDEX
     ------------------------------------------------------------------------- */

  --z-dropdown: 10;
  --z-sticky: 20;
  --z-fixed: 30;
  --z-modal-backdrop: 40;
  --z-modal: 50;
  --z-tooltip: 60;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--color-ink);
  background:
    radial-gradient(1200px 500px at 10% 5%, rgba(79, 190, 254, 0.10), transparent 55%),
    radial-gradient(900px 480px at 95% 2%, rgba(28, 145, 228, 0.12), transparent 50%),
    radial-gradient(1000px 600px at 85% 50%, rgba(79, 190, 254, 0.08), transparent 50%),
    radial-gradient(800px 500px at 5% 60%, rgba(28, 145, 228, 0.06), transparent 45%),
    radial-gradient(900px 520px at 50% 100%, rgba(255, 111, 60, 0.06), transparent 45%),
    var(--color-surface);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(79, 190, 254, 0.25);
}

/* ==========================================================================
   FOCUS STATES
   ========================================================================== */

.focus-ring:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}
