/* ============================================
   DESIGN TOKENS — Variables
   Edutech Junior Hub
   All colors, fonts, spacing in one place
   ============================================ */

:root {
  /* ── Primary Colors ── */
  --clr-primary:        #053afb;
  --clr-primary-dark:   #0230d0;
  --clr-primary-light:  #3a64fc;
  --clr-primary-bg:     #eef2ff;
  --clr-primary-rgb:    5, 58, 251;

  /* ── Accent Colors ── */
  --clr-accent:         #f92374;
  --clr-accent-dark:    #d41a63;
  --clr-accent-light:   #ff5a9d;
  --clr-accent-bg:      #fff1f5;
  --clr-accent-rgb:     249, 35, 116;

  /* ── Base / Neutral Colors ── */
  --clr-white:          #ffffff;
  --clr-bg:             #ffffff;
  --clr-bg-alt:         #f8fafc;
  --clr-bg-section:     #f1f5f9;
  --clr-surface:        #ffffff;

  /* ── Text Colors ── */
  --clr-text:           #1e293b;
  --clr-text-secondary: #475569;
  --clr-text-muted:     #94a3b8;
  --clr-text-inverse:   #ffffff;

  /* ── Border / Divider ── */
  --clr-border:         #e2e8f0;
  --clr-border-light:   #f1f5f9;

  /* ── Semantic Colors ── */
  --clr-success:        #10b981;
  --clr-warning:        #f59e0b;
  --clr-error:          #ef4444;
  --clr-info:           #3b82f6;

  /* ── Typography ── */
  --ff-heading:  'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ff-body:     'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --fs-xs:     0.875rem;   /* 14px */
  --fs-sm:     0.9375rem;  /* 15px */
  --fs-base:   1rem;       /* 16px */
  --fs-md:     1.125rem;   /* 18px */
  --fs-lg:     1.25rem;    /* 20px */
  --fs-xl:     1.5rem;     /* 24px */
  --fs-2xl:    1.875rem;   /* 30px */
  --fs-3xl:    2.25rem;    /* 36px */
  --fs-4xl:    3rem;       /* 48px */
  --fs-5xl:    3.75rem;    /* 60px */

  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;

  --lh-tight:   1.2;
  --lh-normal:  1.6;
  --lh-relaxed: 1.8;

  /* ── Spacing Scale ── */
  --sp-1:  0.25rem;   /* 4px */
  --sp-2:  0.5rem;    /* 8px */
  --sp-3:  0.75rem;   /* 12px */
  --sp-4:  1rem;      /* 16px */
  --sp-5:  1.25rem;   /* 20px */
  --sp-6:  1.5rem;    /* 24px */
  --sp-8:  2rem;      /* 32px */
  --sp-10: 2.5rem;    /* 40px */
  --sp-12: 3rem;      /* 48px */
  --sp-16: 4rem;      /* 64px */
  --sp-20: 5rem;      /* 80px */
  --sp-24: 6rem;      /* 96px */
  --sp-32: 8rem;      /* 128px */

  /* ── Borders & Radius ── */
  --radius-sm:   0.375rem;   /* 6px */
  --radius-md:   0.5rem;     /* 8px */
  --radius-lg:   0.75rem;    /* 12px */
  --radius-xl:   1rem;       /* 16px */
  --radius-2xl:  1.5rem;     /* 24px */
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-xs:   0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:   0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl:   0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-2xl:  0 25px 50px rgba(0,0,0,0.15);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 8px 30px rgba(0,0,0,0.12);

  /* ── Transitions ── */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;

  /* ── Layout ── */
  --container-max:   1280px;
  --container-narrow: 960px;
  --nav-height:      80px;

  /* ── Z-index Scale ── */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
}

/* ── Dark mode ready (optional future) ── */
@media (prefers-color-scheme: dark) {
  :root {
    /* Currently override nothing — light only */
  }
}
