/* ==========================================================================
   Kajam Labs — Design System & Custom Components
   Synthetic Nexus Theme
   ========================================================================== */

/* Typography & Google Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* Background Gradients & Meshes */
.bg-mesh-radial {
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 144, 255, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 85% 20%, rgba(1, 229, 153, 0.08) 0%, transparent 45%);
}

.hero-mesh {
  background: radial-gradient(circle at 50% 20%, rgba(0, 210, 255, 0.08) 0%, rgba(0, 144, 255, 0.03) 45%, transparent 70%);
}

.hero-glow-radial {
  background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.15) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 80%);
}

.mesh-gradient-hero {
  background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.12) 0%, rgba(1, 229, 153, 0.04) 40%, transparent 70%);
}

.bg-grid-tech {
  background-size: 36px 36px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Glassmorphism Cards */
.card-glass {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-glass:hover {
  border-color: rgba(0, 210, 255, 0.35);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6), 0 0 24px -4px rgba(0, 210, 255, 0.12);
}

/* Buttons & CTA Gradients */
.custom-gradient-cta {
  background: linear-gradient(135deg, #0090FF 0%, #00D2FF 100%);
  color: #070B14;
}

.custom-gradient-cta:hover {
  box-shadow: 0 0 24px rgba(0, 210, 255, 0.45);
}

/* Live Telemetry Pulse Animation */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.telemetry-pulse {
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Pipeline Node Connecting Lines */
.agent-pipeline-node {
  position: relative;
}

@media (min-width: 1024px) {
  .agent-pipeline-node::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -12px;
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 210, 255, 0.5), transparent);
  }
}

/* Custom Interactive Radio Chips */
.custom-radio:checked + label {
  border-color: #00d2ff;
  background-color: rgba(0, 210, 255, 0.08);
  color: #F8FAFC;
}

.custom-radio:checked + label .check-indicator {
  border-color: #00d2ff;
  background-color: #00d2ff;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
}

/* Range Slider Styling for ROI Calculator */
input[type="range"].roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 9999px;
  outline: none;
  transition: all 0.2s;
}

input[type="range"].roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00d2ff;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.7);
  transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="range"].roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 18px rgba(0, 210, 255, 1);
}

input[type="range"].roi-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00d2ff;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.7);
}

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

::-webkit-scrollbar-track {
  background: #070B14;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0090FF;
}

/* Drawer transitions */
.drawer-open {
  transform: translateX(0) !important;
}

/* Active Nav Link Marker */
.nav-link-active {
  color: #00d2ff !important;
  font-weight: 600;
  border-bottom: 2px solid #00d2ff;
  padding-bottom: 2px;
}
