/* ==========================================================================
   Design Tokens - Data Centre Academy Asia (DCAA)
   Theme: Precision Mission-Critical Infrastructure Academy
   ========================================================================== */

:root {
  /* Color Palette - Deep Midnight Navy & Architectural Tones */
  --color-brand-primary: #001A2E;       /* Official DCAA Navy */
  --color-brand-dark: #001A2E;          /* Official DCAA Navy for dark sections */
  --color-brand-navy-950: #001A2E;      /* Official DCAA Navy - deepest background */
  --color-brand-navy-900: #001A2E;      /* Official DCAA Navy - primary corporate dark */
  --color-brand-navy-850: #0B192C;      /* Elevated Dark Container */
  --color-brand-navy-800: #0F223D;      /* Secondary Dark Card */
  --color-brand-navy-700: #19355A;      /* Border / Highlight Dark */

  /* Technical Accents - Restrained Electric Cyan & Technical Indicators */
  --color-brand-accent: #0284C7;        /* Technical Cyan / Primary Blue */
  --color-brand-accent-electric: #00B4D8; /* Electric Cyan Indicator */
  --color-brand-accent-bright: #38BDF8; /* Bright Cyan Highlight */
  --color-brand-accent-hover: #0369A1;  /* Darker Accent for Hover */
  --color-brand-accent-light: #E0F2FE;  /* Soft Tint for Light Badges */
  --color-brand-cta: #00E0FF;           /* Official DCAA primary cyan */
  --color-brand-cta-hover: #64C0DB;     /* CTA hover accent */
  --gradient-dcaa-vertical: linear-gradient(180deg, #00E0FF 0%, #087FAF 35%, #0B4F9B 65%, #001A2E 100%); /* Cyan top, navy bottom */
  --color-brand-accent-glow: rgba(0, 180, 216, 0.15); /* Controlled Glow */

  /* Neutral Color Scale */
  --color-text-primary: #0F172A;        /* Slate 900 - High Contrast Body Text */
  --color-text-secondary: #334155;      /* Slate 700 - Balanced Secondary Text */
  --color-text-muted: #64748B;          /* Slate 500 - Captions, Codes & Notes */
  --color-text-inverse: #F8FAFC;        /* Light Text for Dark Sections */
  --color-text-inverse-secondary: #CBD5E1; /* Slate 300 - High Contrast Dark Mode Body */
  --color-text-inverse-muted: #94A3B8;  /* Muted Light Text */

  /* Surface & Background Colors */
  --color-bg-base: #FFFFFF;             /* Pure White Surface */
  --color-bg-warm: #FAFBFD;             /* Warm Editorial Light Surface */
  --color-bg-subtle: #F1F5F9;           /* Slate 100 Background Sub-layer */
  --color-bg-surface: #FFFFFF;          /* Card / Modal Surface */
  --color-bg-dark: #001A2E;             /* Official DCAA Navy - dark background section */
  --color-bg-dark-card: #0B192C;        /* Card inside Dark Section */
  --color-bg-dark-translucent: rgba(7, 19, 36, 0.88); /* Translucent Sticky Header */

  /* Architectural Hairline Borders & Dividers */
  --color-border-subtle: #E2E8F0;       /* Slate 200 - Clean 1px Light Borders */
  --color-border-medium: #CBD5E1;       /* Slate 300 - Input & Hover Borders */
  --color-border-dark: #1E293B;         /* Slate 800 - Borders in Dark Mode */
  --color-border-dark-hairline: rgba(255, 255, 255, 0.08); /* Architectural Hairline on Dark */
  --color-border-light-hairline: rgba(15, 23, 42, 0.08);  /* Architectural Hairline on Light */
  --color-border-cyan-hairline: rgba(0, 180, 216, 0.3);  /* Technical Blueprint Hairline */
  --color-border-focus: #0284C7;        /* Accessible Focus Outline */

  /* Status Colors */
  --color-status-success: #15803D;
  --color-status-error: #B91C1C;
  --color-status-warning: #B45309;

  /* Typography Stack */
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Typographic Scale */
  --font-size-xs: 0.75rem;              /* 12px */
  --font-size-sm: 0.875rem;             /* 14px */
  --font-size-base: 1rem;               /* 16px */
  --font-size-lg: 1.125rem;             /* 18px */
  --font-size-xl: 1.25rem;              /* 20px */
  --font-size-2xl: 1.5rem;              /* 24px */
  --font-size-3xl: 1.875rem;            /* 30px */
  --font-size-4xl: 2.25rem;             /* 36px */
  --font-size-5xl: 3rem;                /* 48px */
  --font-size-hero: clamp(2.35rem, 5.5vw, 4.25rem); /* Editorial Hero Headline */
  --font-size-lead: clamp(1.125rem, 2vw, 1.35rem);  /* Editorial Supporting Copy */

  /* Font Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Line Heights */
  --line-height-hero: 1.12;
  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.75;

  /* Letter Spacings */
  --letter-spacing-tight: -0.025em;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-mono: 0.08em;

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

  /* Layout Constraints */
  --container-max-width: 1240px;
  --container-padding: 20px;
  --header-height: 88px;

  /* Component Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.06);
  --shadow-dark: 0 20px 40px -10px rgba(0, 0, 0, 0.5);

  /* Border Radii */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

