/* ==========================================================================
   PataconTech Official Design System — Design Tokens (Single Source of Truth)
   Palette Architecture: 60% Cloud Alabaster / 30% Deep Infrastructure / 10% Zulia & Catatumbo Accents
   ========================================================================== */

:root {
  /* 1. Base Colors (Light Mode - 60%) */
  --bg-page: #F8FAFC;                 /* Cloud Alabaster */
  --bg-surface: #FFFFFF;              /* Pure Crisp */
  --bg-surface-subtle: #F1F5F9;       /* Slate 100 for nested technical wells */
  --border-light: #E2E8F0;            /* Crisp structural border */
  --border-subtle: rgba(226, 232, 240, 0.7);

  /* 2. Primary Colors (30%) */
  --text-primary: #0F172A;            /* Deep Infrastructure */
  --bg-dark: #0F172A;                 /* Deep Infrastructure (Dark contrast blocks) */
  --text-secondary: #475569;          /* Slate Steel */
  --text-muted: #64748B;              /* Muted technical captions */
  --surface-dark: #1E293B;            /* Contrast block surface */
  --border-dark: #334155;             /* Contrast block border */
  --text-on-dark: #F8FAFC;
  --text-on-dark-muted: #94A3B8;

  /* 3. Accents & States (10%) */
  --accent-primary: #D97706;          /* Zulia Amber — Primary CTAs */
  --accent-primary-hover: #B45309;    /* Zulia Amber Hover */
  --accent-primary-soft: rgba(217, 119, 6, 0.10);
  --accent-solar-gradient: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%);
  --accent-tech: #0284C7;             /* Catatumbo Electric — Tech badges, data flows, links */
  --accent-tech-soft: rgba(2, 132, 199, 0.10);
  --status-ok: #10B981;               /* Emerald Uptime — Operational indicators */
  --status-ok-soft: rgba(16, 185, 129, 0.12);

  /* 4. Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --tracking-display: -0.02em;
  --leading-body: 1.6;

  /* 5. Radii & Elevation */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.14);
  --shadow-amber: 0 8px 20px -4px rgba(217, 119, 6, 0.35);

  /* 6. Motion & Layout */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 160ms var(--ease-out);
  --transition-base: 260ms var(--ease-out);
  --transition-slow: 420ms var(--ease-out);

  --container-max: 1200px;
  --nav-height: 72px;
}
