/* Navigation Tabs */
.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid var(--color-line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.nav-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 16px;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav-tab:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.03);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
}

.nav-tab.active {
  color: var(--color-nexus);
  border-bottom-color: var(--color-nexus);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.55);
  background: rgba(0, 255, 65, 0.04);
}

/* Focus state for keyboard navigation */
.nav-tab:focus-visible {
  outline: 2px solid var(--color-nexus);
  outline-offset: -2px;
  background: rgba(0, 255, 65, 0.08);
}

.nav-tab.tab-highlight {
  color: var(--color-text);
}

.nav-tab.tab-highlight::after {
  content: attr(data-hint);
  display: block;
  font-size: 0.45rem;
  color: rgba(0, 255, 65, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1px;
}

/* Status Bar */
.status-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 10px 20px;
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  border-bottom: 1px solid var(--color-line);
  text-align: center;
  flex-wrap: wrap;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  will-change: opacity;
}

.status-dot.nexus {
  --dot-rgb: 0, 255, 65;
  background: var(--color-nexus);
  box-shadow: 0 0 8px var(--color-nexus), 0 0 16px rgba(0, 255, 65, 0.3);
  animation: dotPulse 2s ease-in-out infinite;
}

.status-dot.cipher {
  --dot-rgb: 191, 64, 255;
  background: var(--color-cipher);
  box-shadow: 0 0 8px var(--color-cipher), 0 0 16px rgba(191, 64, 255, 0.3);
  animation: dotPulse 2s ease-in-out infinite;
  animation-delay: 0.7s;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 6px currentColor; }
  50%       { box-shadow: 0 0 12px currentColor, 0 0 24px rgba(var(--dot-rgb), 0.4); }
}
