/* ============================================================
   AMAN BHUTANI DESIGN SYSTEM — COLOR TOKENS (v3, Deep Indigo Ink)
   Base color palette: indigo-tinted ink + a cool indigo neutral scale
   Two semantic themes: dark (default brand) and light

   Variable names below (--color-blue-*) are kept from the previous
   palette so every consumer across the 13 pages keeps working without
   a rename pass — only the values changed, from Tailwind's default
   blue/gray/status scale to a bespoke indigo scale derived for this
   site. Every text/background pairing here was checked against WCAG
   2.2 AA (4.5:1 for body text, 3:1 for large text/UI) — see the note
   on dark-mode button fills below for the one residual gap.
   ============================================================ */

:root {
  /* ── Base Brand Indigo ─────────────────────────────────── */
  --color-blue-royal:   #4B3F9E;   /* Primary CTA/interactive in light theme */
  --color-blue-electric: #8A7FE0;  /* Primary CTA/interactive in dark theme */
  --color-blue-navy:    #0E0F1C;   /* Deepest ink — dark text in light mode */
  --color-blue-mid:     #383C66;   /* Mid-range indigo */
  --color-blue-soft:    #E6E8F3;   /* Tint for glow/glow backgrounds */
  --color-white:        #ffffff;
  --color-black:        #000000;

  /* ── Neutral Scale (indigo-tinted, replaces Tailwind gray) ── */
  --color-neutral-50:  #F3F4FA;
  --color-neutral-100: #E6E8F3;
  --color-neutral-200: #C9CCE3;
  --color-neutral-300: #A3A8CC;
  --color-neutral-400: #7278AC;
  --color-neutral-500: #4F5488;
  --color-neutral-600: #383C66;
  --color-neutral-700: #272A49;
  --color-neutral-800: #191B30;
  --color-neutral-900: #0E0F1C;

  /* ── Status / Feedback (replaces Tailwind green/amber/red-500) ── */
  --color-green-success: #1C7D64;
  --color-green-bg:      rgba(28, 125, 100, 0.10);
  --color-amber-warn:    #9C6E17;
  --color-amber-bg:      rgba(156, 110, 23, 0.10);
  --color-red-error:     #B23A4E;
  --color-red-bg:        rgba(178, 58, 78, 0.10);

  /* ── Work Card Backgrounds (editorial dark, bespoke per project) ── */
  --color-work-bg-1: #191B30;  /* ABC Supply — indigo ink */
  --color-work-bg-2: #1e1245;  /* Bupa Blua — deep violet */
  --color-work-bg-3: #012b20;  /* Nexara Connect — forest */
  --color-work-bg-4: #1c0e06;  /* Academy of Sports — near-black brown */
  --color-work-bg-5: #14152A;  /* Corteva — dark indigo */
}

/* ── Dark Theme (showcase / brand default) ─────────────── */
[data-theme="dark"] {
  --bg-primary:    #0C0D1A;
  --bg-secondary:  #14152A;
  --bg-tertiary:   #1C1E38;
  --bg-card:       #16172E;
  --bg-card-hover: #1E2040;
  --bg-glass:      rgba(20, 21, 42, 0.70);

  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --text-primary:   #F2F1FA;
  --text-secondary: #9B96C9;
  --text-muted:     #8480B5;

  --accent:        #8A7FE0;
  --accent-glow:   rgba(138, 127, 224, 0.25);

  --glow-hero:     radial-gradient(ellipse 80% 60% at 50% -20%, rgba(75, 63, 158, 0.35) 0%, transparent 70%); /* @kind other */

  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.40);
  --shadow-hover:  0 16px 48px rgba(0, 0, 0, 0.60);

  --orb-opacity: 0.14; /* @kind other */
}

/* ── Light Theme ────────────────────────────────────────── */
[data-theme="light"] {
  --bg-primary:    #FAFAFC;
  --bg-secondary:  #F4F4F9;
  --bg-tertiary:   #EBEBF2;
  --bg-card:       #ffffff;
  --bg-card-hover: #F7F7FC;
  --bg-glass:      rgba(255, 255, 255, 0.86);

  --border:        rgba(14, 15, 28, 0.08);
  --border-strong: rgba(14, 15, 28, 0.14);

  --text-primary:   #0E0F1C;
  --text-secondary: #4F5488;
  --text-muted:     #6A6C93;

  --accent:        #4B3F9E;
  --accent-glow:   rgba(75, 63, 158, 0.07);

  --glow-hero:     radial-gradient(ellipse 70% 50% at 50% 0%, rgba(75, 63, 158, 0.06) 0%, transparent 70%); /* @kind other */

  --shadow-card:   0 1px 3px rgba(14, 15, 28, 0.06), 0 4px 12px rgba(14, 15, 28, 0.04);
  --shadow-hover:  0 4px 16px rgba(14, 15, 28, 0.10), 0 1px 3px rgba(14, 15, 28, 0.06);

  --orb-opacity: 0.07; /* @kind other */
}
