/*! © 2026 UltrAgentes-IA — Todos los derechos reservados.
 *  HYPERION LAYER v14 — NOVA Voice (mic + TTS) · red neuronal hero
 *  Prohibida su copia, reproducción o distribución sin autorización escrita. */

/* ═══════════════ BOTONES DE VOZ EN NOVA ═══════════════ */
.nova-voice-btn {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, .2);
  background: rgba(255, 255, 255, .05);
  color: #9beaff;
  font-size: 15px;
  cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .25s, background .25s, color .25s, transform .25s;
}
.nova-voice-btn:hover { border-color: rgba(99, 230, 255, .5); transform: translateY(-1px); }

/* Micrófono escuchando: anillo pulsante */
.nova-voice-btn.listening {
  color: #031018;
  background: linear-gradient(135deg, #63e6ff, #3b82f6);
  border-color: transparent;
  animation: novaMicPulse 1.4s ease-in-out infinite;
}
@keyframes novaMicPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 230, 255, .45); }
  50%      { box-shadow: 0 0 0 9px rgba(99, 230, 255, 0); }
}

/* TTS activado */
.nova-voice-btn.tts-on {
  color: #52e5a1;
  border-color: rgba(82, 229, 161, .45);
  background: rgba(82, 229, 161, .1);
}

/* La zona de input de NOVA acomoda los nuevos botones */
.nova-input { display: flex; align-items: center; gap: 8px; }
.nova-input input { flex: 1; min-width: 0; }

/* ═══════════════ RED NEURONAL DEL HERO ═══════════════ */
#neuralNet { mix-blend-mode: screen; }
/* El contenido del hero siempre por encima del canvas */
#hero .hero-content { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .nova-voice-btn.listening { animation: none; }
  #neuralNet { display: none; }
}
