/* ==========================================================================
   ADITYA GUPTA | MODERN GROWTH MARKETING & PERFORMANCE PORTFOLIO
   Design System: Remitly Modernized Fintech / Next-Gen Performance UI
   ========================================================================== */

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

:root {
  /* Remitly Core Brand Palettes */
  --remitly-navy: #092047;
  --remitly-navy-dark: #051329;
  --remitly-navy-light: #0d2a5d;
  --remitly-blue: #004DE6;
  --remitly-blue-hover: #003bb8;
  --remitly-blue-light: #EBF2FF;
  --remitly-blue-glow: rgba(0, 77, 230, 0.25);
  
  /* Success & Accent Colors */
  --remitly-emerald: #10B981;
  --remitly-emerald-dark: #059669;
  --remitly-emerald-light: #ECFDF5;
  --remitly-emerald-glow: rgba(16, 185, 129, 0.25);
  
  --accent-cyan: #06B6D4;
  --accent-cyan-light: #ECFEFF;
  --accent-amber: #F59E0B;
  --accent-amber-light: #FFFBEB;
  --accent-purple: #8B5CF6;
  --accent-purple-light: #F5F3FF;
  
  /* Neutral Tokens - Light Mode Default */
  --bg-primary: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-surface-subtle: #F1F5F9;
  --bg-surface-translucent: rgba(255, 255, 255, 0.85);
  
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-highlight: rgba(0, 77, 230, 0.3);
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 25px rgba(0, 77, 230, 0.18);
  --shadow-emerald: 0 0 25px rgba(16, 185, 129, 0.2);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Overrides */
[data-theme="dark"] {
  --bg-primary: #070F1E;
  --bg-surface: #0C1B33;
  --bg-surface-elevated: #112547;
  --bg-surface-subtle: #142B52;
  --bg-surface-translucent: rgba(12, 27, 51, 0.88);
  
  --border-subtle: #1E3A6B;
  --border-medium: #274D8C;
  --border-highlight: rgba(0, 110, 255, 0.45);
  
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  
  --remitly-blue-light: rgba(0, 77, 230, 0.18);
  --remitly-emerald-light: rgba(16, 185, 129, 0.18);
  --accent-cyan-light: rgba(6, 182, 212, 0.18);
  --accent-amber-light: rgba(245, 158, 11, 0.18);
  --accent-purple-light: rgba(139, 92, 246, 0.18);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

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

.mono {
  font-family: var(--font-mono);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header & Sticky Nav */
.header-glass {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--remitly-blue), var(--remitly-navy));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px var(--remitly-blue-glow);
}

.brand-info h2 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--text-primary);
}

.brand-info p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--remitly-blue);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 6px;
  list-style: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--remitly-blue);
  background: var(--remitly-blue-light);
}

.nav-link.active {
  color: var(--remitly-blue);
  background: var(--remitly-blue-light);
  border-color: var(--border-highlight);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--remitly-blue);
  border-color: var(--remitly-blue);
  background: var(--remitly-blue-light);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--remitly-blue);
  color: white !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--remitly-blue-glow);
  transition: all var(--transition-smooth);
}

.btn-primary:hover {
  background: var(--remitly-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--remitly-blue-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-surface);
  color: var(--text-primary) !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-secondary:hover {
  border-color: var(--remitly-blue);
  color: var(--remitly-blue) !important;
  background: var(--remitly-blue-light);
}

.btn-emerald {
  background: var(--remitly-emerald);
  color: white !important;
  box-shadow: 0 4px 14px var(--remitly-emerald-glow);
}
.btn-emerald:hover {
  background: var(--remitly-emerald-dark);
  box-shadow: 0 6px 20px var(--remitly-emerald-glow);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-menu-drawer {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  gap: 8px;
}

.mobile-menu-drawer.open {
  display: flex;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 77, 230, 0.12) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--remitly-blue-light);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--remitly-blue);
  margin-bottom: 1.5rem;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--remitly-emerald);
  box-shadow: 0 0 8px var(--remitly-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  max-width: 920px;
}

.hero-title span.highlight-blue {
  color: var(--remitly-blue);
  background: linear-gradient(135deg, var(--remitly-blue) 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.highlight-emerald {
  color: var(--remitly-emerald);
  background: linear-gradient(135deg, var(--remitly-emerald) 0%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 860px;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.hero-badge svg {
  color: var(--remitly-blue);
}

/* Metric Cards Grid */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.metric-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--remitly-blue), var(--remitly-navy));
  opacity: 0.9;
}

.metric-card.success-card::before {
  background: linear-gradient(90deg, var(--remitly-emerald), #34D399);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-highlight);
}

.metric-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.metric-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pill-success {
  background: var(--remitly-emerald-light);
  color: var(--remitly-emerald-dark);
}

.pill-blue {
  background: var(--remitly-blue-light);
  color: var(--remitly-blue);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.metric-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Sections Styling */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-alt {
  background: var(--bg-surface);
}

.section-header {
  margin-bottom: 2.75rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--remitly-blue);
  background: var(--remitly-blue-light);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.6;
}

/* Modern Tabs Navigation */
.tab-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  scrollbar-width: none;
}

.tab-nav-wrapper::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  color: var(--remitly-blue);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

/* Comparison Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}

table.modern-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

table.modern-table th {
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

table.modern-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 500;
  vertical-align: middle;
}

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

table.modern-table tr:hover td {
  background: var(--bg-primary);
}

.td-highlight-win {
  color: var(--remitly-emerald) !important;
  font-weight: 700;
}

.td-mono {
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Testing Lab Card System */
.testing-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.75rem;
}

.filter-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--remitly-blue);
  color: var(--remitly-blue);
}

.filter-btn.active {
  background: var(--remitly-blue);
  color: white;
  border-color: var(--remitly-blue);
  box-shadow: 0 2px 10px var(--remitly-blue-glow);
}

.experiments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

.experiment-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
}

.experiment-card:hover {
  transform: translateY(-4px);
  border-color: var(--remitly-blue);
  box-shadow: var(--shadow-lg);
}

.exp-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.exp-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--remitly-blue-light);
  color: var(--remitly-blue);
}

.exp-status-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--remitly-emerald-light);
  color: var(--remitly-emerald-dark);
}

.exp-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.exp-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.exp-kpi-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--bg-surface-subtle);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.kpi-box small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.kpi-box strong {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.kpi-box.winner-kpi strong {
  color: var(--remitly-emerald);
}

.exp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.exp-view-btn {
  font-weight: 700;
  color: var(--remitly-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Interactive Simulators */
.simulator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .sim-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.slider-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.slider-group label span.val-badge {
  font-family: var(--font-mono);
  color: var(--remitly-blue);
  background: var(--remitly-blue-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.sim-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-medium);
  outline: none;
  -webkit-appearance: none;
}

.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--remitly-blue);
  cursor: pointer;
  box-shadow: 0 0 10px var(--remitly-blue-glow);
  border: 2px solid white;
}

.sim-results-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.sim-verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.05rem;
}

.verdict-significant {
  background: var(--remitly-emerald-light);
  color: var(--remitly-emerald-dark);
  border: 1px solid var(--remitly-emerald);
}

.verdict-not-significant {
  background: var(--accent-amber-light);
  color: var(--accent-amber);
  border: 1px solid var(--accent-amber);
}

/* 4 Canadian Colleges Section */
.college-brand-switcher {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.campus-tab-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.campus-tab-card:hover {
  border-color: var(--remitly-blue);
}

.campus-tab-card.active {
  background: var(--remitly-blue-light);
  border-color: var(--remitly-blue);
  box-shadow: 0 4px 12px var(--remitly-blue-glow);
}

.campus-tab-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.campus-tab-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.college-details-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

/* AI Architecture Flow */
.ai-agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.agent-node-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.agent-node-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.agent-node-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-purple), var(--remitly-blue));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.agent-node-title h4 {
  font-size: 1.1rem;
  margin: 0;
}

.agent-node-title span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-purple);
  text-transform: uppercase;
}

/* Modal System */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 32, 71, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 2.25rem;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--border-medium);
}

/* Footer */
.footer-main {
  background: var(--remitly-navy);
  color: white;
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main h3, .footer-main h4 {
  color: white;
}

.footer-main p {
  color: #A0B3D6;
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #8397B8;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .experiments-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics-grid {
    grid-template-columns: 1fr;
  }
  .modal-dialog {
    padding: 1.5rem;
  }
}
