/* Background Gradient */
body {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  font-family: "Inter", sans-serif;
  color: #f8fafc;
}

/* Base Glass Effect */
.glass-panel {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Premium Glass Cards */
.glass-card {
  /* Fallback for browsers that don't support backdrop-filter */
  background-color: rgba(30, 41, 59, 0.7);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* GPU Hinting for Integrated Graphics */
  will-change: transform, opacity;
  transform: translateZ(0);
  /* Subtle 1px white border with 10% opacity simulating light hit */
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* Inset box-shadow to simulate internal reflections */
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Interactive Glass Buttons */
.glass-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Colors specifically requested */
.text-safety-blue {
  color: #2563eb;
}
.bg-safety-blue {
  background-color: #2563eb;
}

.text-emerald {
  color: #10b981;
}
.stroke-emerald {
  stroke: #10b981;
}

.text-amber {
  color: #f59e0b;
}
.text-neon-amber {
  color: #f59e0b;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

/* Hover Evidence Cards */
.delay-card {
  cursor: crosshair;
  transition:
    transform 0.2s,
    background 0.2s;
}

.delay-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

/* Readiness Dashboard Cards */
.readiness-card {
  cursor: default;
  transition:
    transform 0.2s,
    box-shadow 0.3s;
}

.readiness-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Knowledge Center Styles */
#kc-content {
  scroll-behavior: smooth;
}

.kc-nav-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  border-left: 3px solid #3b82f6; /* Tailwind blue-500 */
}

.kc-section {
  scroll-margin-top: 40px; /* Offset for scrolling so header isn't behind anything */
}
