/* ============================================================
   The Net — Design System
   Color + Type Tokens (canonical)
   Derived from DESIGN.md v1.0

   DEPLOY NOTE: font URLs are "fonts/..." (not "../fonts/...") because
   this file sits at the site root alongside index.html on Cloudflare
   Pages. In the design project it lives in landing/, one level down.
   ============================================================ */

/* ---------- SHARE TECH MONO (self-hosted) ---------- */
@font-face {
  font-family: "Share Tech Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ShareTechMono-Regular.ttf") format("truetype");
}

/* ---------- ORBITRON (self-hosted brand font) ---------- */
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Orbitron-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Orbitron-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Orbitron-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/Orbitron-Black.ttf") format("truetype");
}

/* ---------- EXO 2 (self-hosted; full family 100–900 + italics) ---------- */
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("fonts/Exo2-Thin.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 100;
  font-display: swap;
  src: url("fonts/Exo2-ThinItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("fonts/Exo2-ExtraLight.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url("fonts/Exo2-ExtraLightItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/Exo2-Light.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/Exo2-LightItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Exo2-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Exo2-Italic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Exo2-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Exo2-MediumItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Exo2-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Exo2-SemiBoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Exo2-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Exo2-BoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/Exo2-ExtraBold.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/Exo2-ExtraBoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/Exo2-Black.ttf") format("truetype");
}
@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/Exo2-BlackItalic.ttf") format("truetype");
}

/* ---------- RAJDHANI (self-hosted; full family 300–700) ---------- */
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/Rajdhani-Light.ttf") format("truetype");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Rajdhani-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Rajdhani-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Rajdhani-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Rajdhani-Bold.ttf") format("truetype");
}

:root {
  /* ---------- BACKGROUNDS ---------- */
  --bg-void:        #030508;  /* deepest canvas */
  --bg-deep:        #060C14;  /* primary page */
  --bg-surface:     #0D1B2A;  /* cards, panels */
  --bg-elevated:    #132236;  /* modals, popovers */
  --bg-overlay:     #1C3050;  /* hover overlays */

  /* ---------- GLOBAL ACCENTS ---------- */
  --accent-cyan:      #00F0FF;
  --accent-cyan-dim:  #0099AA;
  --accent-white:     #E8F4FF;
  --accent-muted:     #94A3B8;
  --accent-faint:     #4A5568;

  /* ---------- ECHO · Violet · Jynx13 · Wolf ---------- */
  --echo-dark:       #3B0764;
  --echo-mid:        #7C3AED;
  --echo-glow:       #C084FC;
  --echo-highlight:  #E9D5FF;

  /* ---------- KAZM · Matrix Green · Krypton1t3 ---------- */
  --kazm-dark:        #064E2A;
  --kazm-mid:         #16A34A;
  --kazm-glow:        #4ADE80;
  --kazm-highlight:   #DCFCE7;
  --kazm-accent-red:  #DC2626;

  /* ---------- OMEGA · Crimson · SkorpiOm · Scorpion ---------- */
  --omega-dark:       #450A0A;
  --omega-mid:        #B91C1C;
  --omega-glow:       #F87171;
  --omega-highlight:  #FEE2E2;

  /* ---------- SHADE · Steel Blue · EagleEye11 · Eagle ---------- */
  --shade-dark:       #0F2A52;
  --shade-mid:        #1D4ED8;
  --shade-glow:       #60A5FA;
  --shade-highlight:  #DBEAFE;

  /* ---------- TAGLINE TRIAD ---------- */
  --learn-color:    #A855F7;   /* violet/purple   */
  --protect-color:  #4ADE80;   /* cyber green     */
  --empower-color:  #EC4899;   /* hot pink        */

  /* ---------- SEMANTIC / UI ---------- */
  --success:  #22C55E;
  --warning:  #FBBF24;
  --danger:   #EF4444;
  --info:     #38BDF8;

  /* ---------- TEXT ROLES ---------- */
  --text-hero:      #FFFFFF;
  --text-default:   #CBD5E1;
  --text-muted:     #94A3B8;
  --text-faint:     #4A5568;
  --text-code:      #4ADE80;

  /* ---------- FONT FAMILIES ---------- */
  --font-display: "Orbitron", "Rajdhani", system-ui, sans-serif;
  --font-name:    "Exo 2", "Rajdhani", "Impact", sans-serif;
  --font-ui:      "Rajdhani", "Inter", system-ui, sans-serif;
  --font-mono:    "Share Tech Mono", "Fira Code", "Courier New", monospace;

  /* ---------- TYPE SCALE ---------- */
  --fs-hero:   96px;
  --fs-h1:     48px;
  --fs-h2:     36px;
  --fs-h3:     28px;
  --fs-h4:     22px;
  --fs-body:   16px;
  --fs-sm:     14px;
  --fs-label:  12px;
  --fs-code:   14px;

  /* ---------- LETTER SPACING ---------- */
  --ls-hero:   -0.02em;
  --ls-head:   -0.01em;
  --ls-label:   0.12em;
  --ls-code:    0.02em;

  /* ---------- LINE HEIGHT ---------- */
  --lh-hero:   1.05;
  --lh-head:   1.10;
  --lh-label:  1.20;
  --lh-body:   1.60;
  --lh-code:   1.70;

  /* ---------- SPACING (8px base) ---------- */
  --space-1:    4px;
  --space-2:    8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   24px;
  --space-6:   32px;
  --space-7:   48px;
  --space-8:   64px;
  --space-9:   96px;
  --space-10: 128px;

  /* ---------- RADII ---------- */
  --r-1:    4px;   /* badges, labels */
  --r-2:    8px;   /* small chips, buttons */
  --r-3:   12px;   /* cards */
  --r-4:   16px;   /* hero cards */
  --r-pill: 999px;

  /* ---------- GLOWS / SHADOWS ---------- */
  --glow-sm-echo:  0 0 8px  rgba(124, 58, 237, 0.40);
  --glow-md-echo:  0 0 20px rgba(124, 58, 237, 0.50);
  --glow-lg-echo:  0 0 40px rgba(124, 58, 237, 0.60);

  --glow-sm-kazm:  0 0 8px  rgba( 22,163, 74, 0.40);
  --glow-md-kazm:  0 0 20px rgba( 22,163, 74, 0.50);
  --glow-lg-kazm:  0 0 40px rgba( 22,163, 74, 0.60);

  --glow-sm-omega: 0 0 8px  rgba(185, 28, 28, 0.40);
  --glow-md-omega: 0 0 20px rgba(185, 28, 28, 0.50);
  --glow-lg-omega: 0 0 40px rgba(185, 28, 28, 0.60);

  --glow-sm-shade: 0 0 8px  rgba( 29, 78,216, 0.40);
  --glow-md-shade: 0 0 20px rgba( 29, 78,216, 0.50);
  --glow-lg-shade: 0 0 40px rgba( 29, 78,216, 0.60);

  --glow-sm-cyan:  0 0 8px  rgba(  0,240,255, 0.40);
  --glow-md-cyan:  0 0 20px rgba(  0,240,255, 0.50);
  --glow-lg-cyan:  0 0 40px rgba(  0,240,255, 0.60);

  /* ---------- MOTION ---------- */
  --motion-fast:  150ms;
  --motion-base:  250ms;
  --motion-slow:  400ms;
  --motion-pulse: 2000ms;
  --motion-scan:  3000ms;
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:      cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================================
   Semantic type roles — drop-in classes
   ============================================================ */
.t-hero {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-hero);
  line-height: var(--lh-hero);
  letter-spacing: var(--ls-hero);
  color: var(--text-hero);
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.25);
}
.t-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: var(--lh-head);
  letter-spacing: var(--ls-head);
  color: var(--text-hero);
}
.t-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  letter-spacing: var(--ls-head);
  color: var(--text-hero);
}
.t-h3 {
  font-family: var(--font-name);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: var(--lh-head);
  letter-spacing: var(--ls-head);
}
.t-h4 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--fs-h4);
  line-height: var(--lh-head);
  color: var(--text-hero);
}
.t-body {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-default);
}
.t-sm {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.t-label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.t-code {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--fs-code);
  letter-spacing: var(--ls-code);
  line-height: var(--lh-code);
  color: var(--text-code);
}

/* ============================================================
   Tagline triad helper
   ============================================================ */
.tagline { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; }
.tagline .learn   { color: var(--learn-color); }
.tagline .protect { color: var(--protect-color); }
.tagline .empower { color: var(--empower-color); }
.tagline .sep     { color: var(--accent-muted); margin: 0 0.4em; }

/* ============================================================
   Reduced-motion guard
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
