:root {
  --primary: #1e3a8a; /* Deep Blue */
  --primary-light: #3b82f6; /* Bright Blue */
  --primary-dark: #1e293b; /* Dark Slate */
  --accent: #f59e0b; /* Amber for highlights */
  --bg: #f8fafc; /* Light Slate Gray Background */
  --surface: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: --bg;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; color: var(--primary); }
h2 { font-size: 1.75rem; color: var(--primary-dark); margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; color: var(--primary-light); margin-bottom: 1rem; }

a { text-decoration: none; color: inherit; }

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-item {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-item:hover, .nav-item.active {
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 2rem;
}

.hero h1 { color: white; margin-bottom: 0.5rem; }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.25rem; }

/* Cards & Content */
.section {
  padding: 3rem 0;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--primary-dark);
}

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Lists */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.bullet-list li::before {
  content: "•";
  color: var(--primary-light);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1.4;
}

/* Tables */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table th, .table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 10;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover {
  background-color: #f1f5f9;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-gray { background: #f1f5f9; color: #475569; }

/* Status Numbers */
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Timeline/Process styles */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
  border-left: 2px solid var(--border);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 4px solid var(--primary-light);
}

.timeline-title {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  display: block;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 2rem 0;
  text-align: center;
  margin-top: 4rem;
}

.footer-text {
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Highlight Card */
.card-highlight {
  background: #f0f9ff;
  border-color: #bae6fd;
}

.card-highlight .card-header {
  border-bottom-color: #bae6fd;
}

.card-highlight .card-title {
  color: #0369a1;
}

/* Table Footer */
.table-footer {
  background: #f8fafc;
  font-weight: 700;
}

/* Typography Utilities */
.h3-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Extended Utilities */
.text-sm { font-size: 0.9rem; }
.text-xl { font-size: 1.5rem; }

.icon-placeholder {
  width: 24px; 
  height: 24px; 
  border-radius: 4px;
  display: inline-block;
}
.bg-primary { background: var(--primary); }

.scroll-y-400 {
  max-height: 400px; 
  overflow-y: auto;
}

.border-l-primary { border-left: 4px solid var(--primary); }
.border-l-accent { border-left: 4px solid var(--accent); }

/* Utility */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.text-primary { color: var(--primary); }
