/**
 * PT Karisa Solusi Indonesia - Design Tokens
 * Trust & Professional Color Palette
 * Load this file BEFORE main.css
 */

/* ============================================================
   LIGHT THEME - Professional Navy + Emerald Trust
   ============================================================ */
:root {
  /* Primary - Deep Navy Blue (Trust, Stability, Professional) */
  --primary: #0f2c5c;
  --primary-foreground: #ffffff;
  --primary-light: #1a3f7a;
  --primary-dark: #0a1f3d;

  /* Accent - Emerald Teal (Growth, Success, Fresh) */
  --accent: #e6f7f5;
  --accent-foreground: #047857;
  --accent-hover: #065f46;

  /* Neutral Scale - Clean & High Contrast */
  --background: #fafbfc;
  --foreground: #1f2937;
  --card: #ffffff;
  --card-foreground: #1f2937;
  --muted: #f3f4f6;
  --muted-foreground: #4b5563;
  --border: #e5e7eb;
  --input: #e5e7eb;

  /* Secondary */
  --secondary: #f3f4f6;
  --secondary-foreground: #374151;

  /* Destructive */
  --destructive: #dc2626;
  --destructive-foreground: #ffffff;

  /* Popover */
  --popover: #ffffff;
  --popover-foreground: #1f2937;

  /* Ring / Focus */
  --ring: #0f2c5c;

  /* Sidebar */
  --sidebar: #f3f4f6;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-serif: 'Source Serif 4', Georgia, serif;

  /* Layout */
  --max-width: 1200px;
  --navbar-height: 80px;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --section-padding: 96px;

  /* Shadows - Soft & Professional */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.04);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.06), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --shadow-glass: 0 8px 32px 0 rgba(15, 44, 92, 0.08);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   DARK THEME
   ============================================================ */
.dark {
  --primary: #3b82f6;
  --primary-foreground: #ffffff;
  --primary-light: #60a5fa;
  --primary-dark: #1d4ed8;

  --accent: #1e3a5f;
  --accent-foreground: #34d399;
  --accent-hover: #10b981;

  --background: #0f172a;
  --foreground: #f1f5f9;
  --card: #1e293b;
  --card-foreground: #f1f5f9;
  --muted: #1e293b;
  --muted-foreground: #94a3b8;
  --border: #334155;
  --input: #334155;

  --secondary: #1e293b;
  --secondary-foreground: #cbd5e1;

  --destructive: #ef4444;
  --destructive-foreground: #ffffff;

  --popover: #1e293b;
  --popover-foreground: #f1f5f9;

  --ring: #3b82f6;
  --sidebar: #0f172a;
}

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