@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --background: #f8fafc;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --primary-light: #f3e8ff;
  --secondary: #2563eb;
  --secondary-light: #dbeafe;
  --accent: #d97706;
  --accent-light: #fef3c7;
  --border: #e2e8f0;
  --muted: #64748b;
  --muted-bg: #f1f5f9;
}

body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, .font-heading, .font-sans {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* High Contrast Slate Color Utility Enforcement */
.text-slate-900 { color: #0f172a !important; }
.text-slate-800 { color: #1e293b !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-500 { color: #64748b !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-purple-600 { color: #7c3aed !important; }
.text-purple-700 { color: #6d28d9 !important; }
.text-purple-800 { color: #5b21b6 !important; }
.text-purple-900 { color: #4c1d95 !important; }

/* Light Glassmorphism */
.glass-light {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: #ffffff;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  border: 1px solid #e2e8f0;
}

.glow-purple {
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.25);
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  background-color: #7c3aed;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7c3aed;
}
