/* File: iimgaap/assets/themes/default/theme.css */
/*
 * THEME: "default" for www.iimgaap.com
 *
 * A theme supplies LOOK only: fonts, colours, gradients, shadows, radii and
 * motion. It contains no layout. site.css reads every value below through
 * var(), so a theme is changed by:
 *   1. copying this folder to assets/themes/<new-name>/,
 *   2. changing the token values (keep every token name),
 *   3. pointing the one <link> in each page at the new folder.
 *
 * TOKEN CONTRACT - every theme MUST define all of these, in light and dark:
 *   Fonts      --font-body --font-head
 *   Surfaces   --bg --bg-alt --surface --surface-raised
 *   Text       --ink --ink-soft --ink-muted --on-brand
 *   Lines      --line --line-strong
 *   Brand      --brand --brand-strong --brand-soft --accent --accent-soft
 *   Gradients  --grad-brand --grad-hero --grad-card-edge --grad-cta
 *   Glow       --glow-1 --glow-2
 *   Shape      --radius-sm --radius --radius-lg --radius-pill
 *   Depth      --shadow-sm --shadow --shadow-lg --shadow-brand
 *   Motion     --ease --speed
 */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap");

:root {
  /* Fonts */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  /* Surfaces */
  --bg: #fbfcfe;
  --bg-alt: #f2f5fb;
  --surface: #ffffff;
  --surface-raised: #ffffff;

  /* Text */
  --ink: #0b1630;
  --ink-soft: #44516b;
  --ink-muted: #6b7890;
  --on-brand: #ffffff;

  /* Lines */
  --line: #e3e8f1;
  --line-strong: #cdd5e3;

  /* Brand */
  --brand: #3a4ff0;
  --brand-strong: #2a3bd0;
  --brand-soft: #eceffe;
  --accent: #0eb5a6;
  --accent-soft: #e2f7f4;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #3a4ff0 0%, #6a4cf5 55%, #0eb5a6 100%);
  --grad-hero: radial-gradient(1200px 600px at 85% -10%, #e6e9ff 0%, transparent 60%),
               radial-gradient(900px 500px at -10% 20%, #dff7f3 0%, transparent 55%),
               linear-gradient(180deg, #fbfcfe 0%, #f2f5fb 100%);
  --grad-card-edge: linear-gradient(90deg, #3a4ff0, #6a4cf5, #0eb5a6);
  --grad-cta: linear-gradient(135deg, #1d2a8f 0%, #3a4ff0 50%, #6a4cf5 100%);

  /* Decorative glows behind the hero */
  --glow-1: rgba(106, 76, 245, 0.28);
  --glow-2: rgba(14, 181, 166, 0.22);

  /* Shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Depth */
  --shadow-sm: 0 1px 2px rgba(11, 22, 48, 0.06);
  --shadow: 0 1px 2px rgba(11, 22, 48, 0.05), 0 8px 24px rgba(11, 22, 48, 0.06);
  --shadow-lg: 0 2px 6px rgba(11, 22, 48, 0.06), 0 22px 48px rgba(11, 22, 48, 0.12);
  --shadow-brand: 0 10px 28px rgba(58, 79, 240, 0.32);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --speed: 220ms;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1d;
    --bg-alt: #0f1628;
    --surface: #131b30;
    --surface-raised: #18223b;

    --ink: #eaf0fb;
    --ink-soft: #b2bdd3;
    --ink-muted: #8794ad;
    --on-brand: #ffffff;

    --line: #222d47;
    --line-strong: #2f3b5a;

    --brand: #7186ff;
    --brand-strong: #5c72f5;
    --brand-soft: rgba(113, 134, 255, 0.14);
    --accent: #2fd3c3;
    --accent-soft: rgba(47, 211, 195, 0.14);

    --grad-brand: linear-gradient(135deg, #7186ff 0%, #9a7bff 55%, #2fd3c3 100%);
    --grad-hero: radial-gradient(1200px 600px at 85% -10%, rgba(113, 134, 255, 0.18) 0%, transparent 60%),
                 radial-gradient(900px 500px at -10% 20%, rgba(47, 211, 195, 0.12) 0%, transparent 55%),
                 linear-gradient(180deg, #0a0f1d 0%, #0f1628 100%);
    --grad-card-edge: linear-gradient(90deg, #7186ff, #9a7bff, #2fd3c3);
    --grad-cta: linear-gradient(135deg, #18236e 0%, #3a4ff0 55%, #6a4cf5 100%);

    --glow-1: rgba(154, 123, 255, 0.22);
    --glow-2: rgba(47, 211, 195, 0.16);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.45), 0 24px 54px rgba(0, 0, 0, 0.5);
    --shadow-brand: 0 10px 30px rgba(113, 134, 255, 0.35);

    color-scheme: dark;
  }
}
