/* === Service Tabs: PCB Fabrication === */

.scrollbar-none::-webkit-scrollbar { display: none; }
.scrollbar-none { scrollbar-width: none; }

.service-tab-btn {
  position: relative;
  border-color: #E2E8F0;
  background-color: #FFFFFF;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.service-tab-btn:hover {
  border-color: rgba(8, 145, 178, 0.4);
  color: #0891B2;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.service-tab-btn .service-tab-tag {
  color: #059669;
}
.service-tab-btn.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, #2563EB, #0891B2);
  color: #FFFFFF;
  box-shadow: 0 4px 20px -4px rgba(8, 145, 178, 0.5);
}
.service-tab-btn.is-active .service-tab-tag {
  color: rgba(255, 255, 255, 0.7);
}

.glass-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.pcb-glow-frame {
  box-shadow: inset 0 0 0 1px rgba(8, 145, 178, 0.15);
  opacity: 0;
  transition: opacity 0.8s ease, box-shadow 0.8s ease;
  z-index: 1;
  pointer-events: none;
}
.pcb-glow-frame.is-visible {
  opacity: 1;
  box-shadow:
    inset 0 0 0 1px rgba(8, 145, 178, 0.3),
    0 12px 32px -8px rgba(37, 99, 235, 0.2);
}

.spec-dot {
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5);
  animation: specPulse 2.4s ease-in-out infinite;
}
@keyframes specPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(5, 150, 105, 0); }
}

.trace-grid { animation: traceDrift 30s linear infinite alternate; }
.trace-path { stroke-dasharray: 12 8; animation: traceFlow 6s linear infinite; }
.trace-path--2 { animation-duration: 8s; animation-direction: reverse; }

@keyframes traceFlow { to { stroke-dashoffset: -400; } }
@keyframes traceDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

.service-panel { animation: panelFadeIn 0.45s ease both; }
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .trace-path, .trace-grid, .spec-dot, .service-panel { animation: none !important; }
}