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

:root {
  --background: #ffffff;
  --foreground: #172858;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #283d83;
  --primary-hover: #1d306b;
  --brand-navy: #172858;
  --brand-orange: #f97316;

  --color-brand-navy-50: #f0f3ff;
  --color-brand-navy-100: #e0e7ff;
  --color-brand-navy-200: #c7d2fe;
  --color-brand-navy-300: #a5b4fc;
  --color-brand-navy-400: #818cf8;
  --color-brand-navy-500: #566bb5;
  --color-brand-navy-600: #384f9d;
  --color-brand-navy-700: #283d83;
  --color-brand-navy-800: #1d306b;
  --color-brand-navy-900: #172858;
  --color-brand-navy-950: #101d43;

  --color-brand-orange-50: #fff7ed;
  --color-brand-orange-100: #ffedd5;
  --color-brand-orange-200: #fed7aa;
  --color-brand-orange-300: #fdba74;
  --color-brand-orange-400: #fb923c;
  --color-brand-orange-500: #f97316;
  --color-brand-orange-600: #ea580c;
  --color-brand-orange-700: #c2410c;
  --color-brand-orange-800: #9a3412;
  --color-brand-orange-900: #7c2d12;
  --color-brand-orange-950: #431407;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

/* Rich Content Section Typography */
.rich-content {
  color: #334155;
  font-size: 0.975rem;
  line-height: 1.7;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5 {
  font-weight: 800;
  color: #0f172a;
  margin-top: 1.15rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.rich-content h2 {
  font-size: 1.35rem;
}

.rich-content h3 {
  font-size: 1.15rem;
}

.rich-content h4,
.rich-content h5 {
  font-size: 1.025rem;
  color: #1d306b;
}

.rich-content p {
  margin-bottom: 0.75rem;
}

.rich-content ul,
.rich-content ol {
  margin-left: 1.25rem;
  margin-bottom: 0.95rem;
  padding-left: 0.25rem;
}

.rich-content ul {
  list-style-type: disc;
}

.rich-content ol {
  list-style-type: decimal;
}

.rich-content li {
  margin-bottom: 0.35rem;
  padding-left: 0.2rem;
}

.rich-content li::marker {
  color: #ea580c;
  font-weight: 700;
}

.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  overflow: hidden;
}

.rich-content th {
  background-color: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
}

.rich-content td {
  padding: 0.65rem 0.85rem;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
}

.rich-content tr:nth-child(even) td {
  background-color: #f8fafc;
}

/* Glass cards & ambient glow */
.ambient-glow-sky {
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0) 70%);
}

.ambient-glow-emerald {
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0) 70%);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Smooth modal transitions */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

