/* Karvaan Labs Platform - Design System Core Tokens */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Blue Spectrum Light Mode */
  --bg-main: #f6f9fc;
  --bg-card: #ffffff;
  --bg-subtle: #edf4fc;
  --bg-input: #ffffff;

  --border-subtle: #e0ecf8;
  --border-medium: #b8d5f2;
  --border-focus: #0066ff;

  --text-primary: #04044a;
  --text-secondary: #1b2a59;
  --text-muted: #52698f;
  --text-inverse: #ffffff;

  /* Palette Core Colors */
  --brand-navy: #04044a;
  --brand-royal: #000675;
  --brand-panel: #0066ff;
  --brand-sky: #00a4ff;
  --brand-neon: #00e7ff;
  --brand-white: #ffffff;

  /* Primary Interactive Tokens */
  --primary-navy: #04044a;
  --primary-navy-hover: #000675;
  --primary-blue: #0066ff;
  --primary-blue-hover: #0052cc;

  /* Accent Compatibility Aliases */
  --accent-purple: #0066ff;
  --accent-purple-light: #e8f4ff;

  /* Gradients */
  --brand-gradient: linear-gradient(135deg, #04044a 0%, #000675 40%, #0066ff 80%, #00a4ff 100%);
  --brand-gradient-mesh: linear-gradient(135deg, #00e7ff 0%, #00a4ff 35%, #0066ff 70%, #04044a 100%);
  --brand-gradient-accent: linear-gradient(135deg, #0066ff 0%, #00a4ff 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(0, 231, 255, 0.08) 0%, rgba(0, 164, 255, 0.06) 50%, rgba(4, 4, 74, 0.03) 100%);

  --success-green: #059669;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;

  --warning-amber: #d97706;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;

  --danger-red: #dc2626;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;

  /* Typography - Modern Geometric Plus Jakarta Sans */
  --font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;

  /* Spacing & Layout */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 3px 0 rgba(4, 4, 74, 0.05), 0 1px 2px -1px rgba(4, 4, 74, 0.04);
  --shadow-card: 0 4px 6px -1px rgba(4, 4, 74, 0.05), 0 2px 4px -2px rgba(4, 4, 74, 0.03);
  --shadow-md: 0 6px 14px -2px rgba(4, 4, 74, 0.07), 0 3px 6px -3px rgba(4, 4, 74, 0.04);
  --shadow-lg: 0 14px 28px -4px rgba(4, 4, 74, 0.09), 0 6px 12px -4px rgba(4, 4, 74, 0.05);
  --shadow-xl: 0 24px 38px -6px rgba(4, 4, 74, 0.12), 0 8px 16px -6px rgba(4, 4, 74, 0.06);

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  min-height: 100%;
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  text-decoration: none;
  color: #0052cc;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

/* Lucide Icon Standard Utilities */
i[data-lucide], svg.lucide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
  stroke-width: 2px;
  width: 18px;
  height: 18px;
}

.icon-xxs { width: 12px !important; height: 12px !important; }
.icon-xs { width: 14px !important; height: 14px !important; }
.icon-sm { width: 16px !important; height: 16px !important; }
.icon-md { width: 20px !important; height: 20px !important; }
.icon-lg { width: 24px !important; height: 24px !important; }
.icon-xl { width: 32px !important; height: 32px !important; }

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #edf4fc;
}

::-webkit-scrollbar-thumb {
  background: #b8d5f2;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00a4ff;
}

