/* Crisp White Architectural Drafting Grid */
.drafting-grid-bg {
  background-color: #FFFFFF;
  background-size: 36px 36px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
}

/* Brand Gradients & Shadows */
.bg-crimson-gradient {
  background: linear-gradient(135deg, #E60914 0%, #7A0006 100%);
}

.bg-crimson-gradient-hover:hover {
  background: linear-gradient(135deg, #F5141F 0%, #940008 100%);
}

.text-crimson-gradient {
  background: linear-gradient(135deg, #E60914 0%, #8A0007 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shadow-crimson {
  box-shadow: 0 10px 28px -6px rgba(200, 8, 21, 0.28);
}

.card-elevate {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-elevate:hover {
  border-color: #DC2626;
  box-shadow: 0 14px 34px -8px rgba(200, 8, 21, 0.12);
  transform: translateY(-3px);
}

/* Frosted Sticky Executive Header */
.frosted-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Terminal Scrollbar */
.terminal-scroll::-webkit-scrollbar {
  width: 5px;
}
.terminal-scroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
.terminal-scroll::-webkit-scrollbar-thumb {
  background: rgba(220, 38, 38, 0.45);
  border-radius: 4px;
}

/* Custom Range Slider in Brand Red */
input[type="range"].crimson-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: #E2E8F0;
  border-radius: 999px;
  outline: none;
}
input[type="range"].crimson-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E60914 0%, #7A0006 100%);
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(200, 8, 21, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}
input[type="range"].crimson-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

/* Pulse ring for live telemetry status */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.85; }
  50% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}
.telemetry-pulse {
  animation: pulse-ring 2.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}
