/* ============================================================
   JHI CAPITAL — Design System Variables
   Join Hands International | E-Learning Platform
   ============================================================ */

/* ── Light Mode (Blue & White) ── */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f0f6ff;
  --bg-tertiary: #dbeafe;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f6ff;
  --bg-nav: rgba(255, 255, 255, 0.95);
  --bg-footer: #0a1628;
  --bg-hero-overlay: rgba(10, 22, 60, 0.55);

  --text-primary: #0a1628;
  --text-secondary: #1e3a6e;
  --text-muted: #4a6fa5;
  --text-inverse: #ffffff;
  --text-footer: #cbd5e1;

  --accent-primary: #1a56db;
  --accent-secondary: #1e40af;
  --accent-gold: #f59e0b;
  --accent-light: #eff6ff;
  --accent-hover: #1d4ed8;

  --border-color: #bfdbfe;
  --border-subtle: #e0eeff;
  --divider: #dbeafe;

  --shadow-sm: 0 1px 4px rgba(26, 86, 219, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 86, 219, 0.12);
  --shadow-lg: 0 12px 40px rgba(26, 86, 219, 0.18);
  --shadow-card: 0 2px 16px rgba(10, 22, 60, 0.08);

  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #1a3a8f 50%, #1e56db 100%);
  --gradient-accent: linear-gradient(135deg, #1a56db, #1e40af);
  --gradient-section: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  --gradient-card: linear-gradient(135deg, #ffffff, #f0f6ff);

  --nav-height: 76px;
  --section-padding: 96px;
}

/* ── Dark Mode (Blue Variations) ── */
[data-theme="dark"] {
  --bg-primary: #070d1a;
  --bg-secondary: #0d1b33;
  --bg-tertiary: #102040;
  --bg-card: #0f1f3d;
  --bg-card-hover: #142650;
  --bg-nav: rgba(7, 13, 26, 0.96);
  --bg-footer: #050b15;
  --bg-hero-overlay: rgba(7, 13, 26, 0.6);

  --text-primary: #e8f0fe;
  --text-secondary: #93b4e8;
  --text-muted: #5a82c0;
  --text-inverse: #070d1a;
  --text-footer: #5a82c0;

  --accent-primary: #3b82f6;
  --accent-secondary: #60a5fa;
  --accent-gold: #fbbf24;
  --accent-light: #102040;
  --accent-hover: #60a5fa;

  --border-color: #1e3a6e;
  --border-subtle: #142650;
  --divider: #1a3060;

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.4);

  --gradient-hero: linear-gradient(135deg, #070d1a 0%, #0d1b33 50%, #142a5e 100%);
  --gradient-accent: linear-gradient(135deg, #1d4ed8, #3b82f6);
  --gradient-section: linear-gradient(180deg, #0d1b33 0%, #070d1a 100%);
  --gradient-card: linear-gradient(135deg, #0f1f3d, #142650);

  --nav-height: 76px;
  --section-padding: 96px;
}

/* ── Typography Scale ── */
:root {
  --font-display: 'Playfair Display', serif;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
  --transition-spring: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
