:root {
  --color-bg-primary: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-primary: #0f4c81;
  --color-accent: #007aff;
  --color-journey-1: #3b82f6;
  --color-journey-2: #0ea5e9;
  --color-journey-3: #10b981;
  --color-journey-4: #84cc16;
  --color-journey-5: #eab308;
  --color-journey-6: #f97316;
  --color-journey-7: #a855f7;
  --color-journey-8: #6366f1;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-text-main);
  overflow-x: hidden;
}

/* Glassmorphism & Elevation */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.glow-hover {
  transition: all 0.3s ease;
}
.glow-hover:hover {
  box-shadow: 0 10px 25px -5px rgba(15, 76, 129, 0.15), 0 8px 10px -6px rgba(15, 76, 129, 0.1);
  transform: translateY(-2px);
}

.img-hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.img-hover-effect:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.mobile-nav-link {
  transition: all 0.2s ease;
}

/* Chart Container */
.chart-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  height: 350px;
  max-height: 400px;
}
@media (min-width: 768px) {
  .chart-container { height: 400px; }
}

/* Navigation Overrides */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* Tab UI */
.tab-btn {
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}
.tab-btn.active {
  background-color: rgba(0, 122, 255, 0.05);
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

/* Mobile swipe optimizations */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; scroll-snap-type: x mandatory; }
.swipe-item { scroll-snap-align: start; }

/* Interactive Journey Nodes */
.journey-node {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
}
.journey-node:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.journey-node.active {
  transform: scale(1.05);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}
