/* Universal Tier C Master Blueprint - Light Theme Glassmorphism */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --bg-slate-ice: #f8fafc;
  --indigo-primary: #4f46e5;
  --violet-royal: #7c3aed;
  --indigo-glow: rgba(99, 102, 241, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(226, 232, 240, 0.8);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-slate-ice);
  color: #0f172a;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Ambient Radial Indigo/Violet Radial Blurs (#EEF2FF to #F3E8FF) */
.bg-radial-blur {
  background: 
    radial-gradient(circle at 15% 10%, #eef2ff 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, #f3e8ff 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, #eef2ff 0%, transparent 50%);
}

.glass-card-tier-c {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  border-radius: 1.25rem;
}

.glass-card-hover {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.12), 0 8px 10px -4px rgba(99, 102, 241, 0.08);
}

/* Electric Indigo to Royal Violet Gradient Buttons */
.btn-gradient-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gradient-primary:hover {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
  box-shadow: 0 12px 25px -4px rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}

/* Strategy Buttons */
.strategy-btn {
  background: transparent;
  color: #64748b;
  border: none;
  transition: all 0.2s ease;
}

.strategy-btn.active {
  background: #ffffff;
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.12);
}

/* Gauge SVG Animation */
#gauge-circle {
  transition: stroke-dashoffset 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), stroke 0.4s ease;
  filter: drop-shadow(0px 0px 6px currentColor);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Toast popup */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
  border: 2px solid #f8fafc;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
