:root {
  /* ═══════════════════════════════════════════════════════════════
     IMPEX LOGISTICS - Design Tokens
     Global Trade Solutions - Professional Navy/Gold Palette
     ═══════════════════════════════════════════════════════════════ */

  /* ─────────────────────────────────────────────────────────────────
     COLORS - Navy Professional Palette
     ───────────────────────────────────────────────────────────────── */
  --color-void: #000000;
  --color-bg: #0A1628;
  --color-surface: #0F2140;
  --color-elevated: #1E3A5F;
  --color-overlay: #2A4A70;

  /* Primary - Trust Blue (lighter shade) */
  --color-primary: #3B82F6;
  --color-primary-rgb: 59, 130, 246;
  --color-primary-light: #60A5FA;
  --color-primary-dark: #2563EB;
  --color-primary-glow: rgba(59, 130, 246, 0.4);
  --color-primary-muted: rgba(59, 130, 246, 0.12);

  /* Accent - Gold */
  --color-accent: #D4A853;
  --color-accent-rgb: 212, 168, 83;
  --color-accent-light: #E8C878;
  --color-accent-dark: #B8923A;
  --color-accent-glow: rgba(212, 168, 83, 0.4);

  /* Action - Orange */
  --color-action: #E85D04;
  --color-action-rgb: 232, 93, 4;

  /* Semantic */
  --color-success: #10B981;
  --color-success-rgb: 16, 185, 129;
  --color-warning: #F59E0B;
  --color-warning-rgb: 245, 158, 11;
  --color-error: #EF4444;
  --color-error-rgb: 239, 68, 68;

  /* Text - WCAG AA Compliant */
  --color-text: #FFFFFF;
  --color-text-secondary: rgba(255, 255, 255, 0.80);
  --color-text-tertiary: rgba(255, 255, 255, 0.60);
  --color-text-muted: rgba(255, 255, 255, 0.40);

  /* Borders */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.12);
  --color-border-focus: rgba(37, 99, 235, 0.5);

  /* ─────────────────────────────────────────────────────────────────
     TYPOGRAPHY - Professional Sans
     ───────────────────────────────────────────────────────────────── */
  --font-display: 'Archivo Black', 'SF Pro Display', -apple-system, sans-serif;
  --font-sans: 'Outfit', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Size Scale */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --text-5xl: 48px;
  --text-6xl: 60px;
  --text-hero: clamp(40px, 10vw, 64px);

  /* Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* Letter Spacing */
  --tracking-tighter: -0.04em;
  --tracking-tight: -0.02em;
  --tracking-normal: -0.01em;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.05em;

  /* ─────────────────────────────────────────────────────────────────
     SPACING - 8px Grid
     ───────────────────────────────────────────────────────────────── */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Layout */
  --page-padding: 20px;
  --section-gap: 64px;
  --card-gap: 16px;
  --component-padding: 20px;

  /* ─────────────────────────────────────────────────────────────────
     BORDER RADIUS
     ───────────────────────────────────────────────────────────────── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-3xl: 48px;
  --radius-full: 9999px;

  /* ─────────────────────────────────────────────────────────────────
     SHADOWS - 5-Tier Elevation System (Awwwards-tier)
     ───────────────────────────────────────────────────────────────── */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-2: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-3: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
  --shadow-4: 0 16px 48px rgba(0, 0, 0, 0.16), 0 8px 16px rgba(0, 0, 0, 0.08);
  --shadow-5: 0 24px 64px rgba(0, 0, 0, 0.24), 0 12px 24px rgba(0, 0, 0, 0.12);

  /* Glow Shadows */
  --shadow-glow-primary: 0 0 24px rgba(var(--color-primary-rgb), 0.3);
  --shadow-glow-accent: 0 0 24px rgba(var(--color-accent-rgb), 0.3);
  --shadow-glow-success: 0 0 24px rgba(var(--color-success-rgb), 0.3);

  /* Premium Nav Shadow */
  --shadow-nav:
    0 -1px 0 rgba(255, 255, 255, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.05),
    0 -8px 32px rgba(0, 0, 0, 0.4),
    0 8px 32px rgba(0, 0, 0, 0.2);

  /* ─────────────────────────────────────────────────────────────────
     ANIMATION - Spring Physics
     ───────────────────────────────────────────────────────────────── */
  --ease-linear: linear;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);

  /* Durations */
  --duration-instant: 100ms;
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 500ms;
  --duration-slower: 700ms;
  --duration-cinematic: 1000ms;

  /* ─────────────────────────────────────────────────────────────────
     GLASS MORPHISM - Premium Frosted Glass
     ───────────────────────────────────────────────────────────────── */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-strong: rgba(255, 255, 255, 0.10);
  --glass-bg-subtle: rgba(255, 255, 255, 0.03);
  --glass-blur: blur(24px) saturate(180%);
  --glass-blur-strong: blur(40px) saturate(180%);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-border-light: 1px solid rgba(255, 255, 255, 0.12);
  --glass-inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --glass-outer-glow: 0 0 40px rgba(var(--color-primary-rgb), 0.1);

  /* ─────────────────────────────────────────────────────────────────
     GRADIENTS
     ───────────────────────────────────────────────────────────────── */
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  --gradient-accent: linear-gradient(135deg, #D4A853 0%, #B8923A 100%);
  --gradient-surface: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  --gradient-hero-glow: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37,99,235,0.2) 0%, transparent 70%);
  --gradient-fade-down: linear-gradient(180deg, transparent 0%, var(--color-bg) 100%);
  --gradient-ocean: linear-gradient(180deg, #0A1628 0%, #1E3A5F 50%, #0A1628 100%);

  /* ─────────────────────────────────────────────────────────────────
     Z-INDEX LAYERS
     ───────────────────────────────────────────────────────────────── */
  --z-base: 0;
  --z-elevated: 10;
  --z-sticky: 100;
  --z-nav: 200;
  --z-fab: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-sheet: 600;
  --z-toast: 700;
  --z-max: 9999;

  /* ─────────────────────────────────────────────────────────────────
     COMPONENT SIZES
     ───────────────────────────────────────────────────────────────── */
  --touch-target-min: 48px;
  --touch-target-comfortable: 56px;
  --btn-height: 48px;
  --btn-height-lg: 56px;
  --btn-height-xl: 64px;
  --input-height: 52px;
  --nav-height: 64px;
  --fab-size: 64px;
  --header-height: 44px;
  --bottom-nav-height: 72px;

  /* ─────────────────────────────────────────────────────────────────
     SAFE AREAS (iOS)
     ───────────────────────────────────────────────────────────────── */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-instant: 0ms;
    --duration-fast: 0ms;
    --duration-normal: 0ms;
    --duration-slow: 0ms;
    --duration-slower: 0ms;
    --duration-cinematic: 0ms;
  }
}
