/* =====================================================
   CGE VOX - INTERFAZ PRINCIPAL (COMPLETA CON ILUMINACIÓN NEÓN)
   ===================================================== */

:root {
  --fondo: #030712;
  --superficie: rgba(10, 25, 55, 0.88);
  --azul-cge: #003366;
  --azul: #2563eb;
  --azul-claro: #38bdf8;
  --cyan: #06b6d4;
  --borde: rgba(56, 189, 248, 0.45);
  --texto: #f8fafc;
  --texto-2: #94a3b8;
  --ok: #22c55e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

/* =====================================================
   FONDO TECNOLÓGICO Y DE RED CON ILUMINACIÓN
   ===================================================== */
/* =====================================================
   FONDO DE RED TECNOLÓGICA Y NEÓN (CSS PURO)
   ===================================================== */
body {
  background-color: var(--fondo);
  /* Colocamos la imagen SL.jpg con un degradado oscuro encima para mantener la legibilidad */
  background-image: linear-gradient(rgba(3, 7, 18, 0.82), rgba(3, 7, 18, 0.88)), url('SL.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--texto);
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================
   FONDO ANIMADO CON MÁS CÍRCULOS Y LUZ DE NEÓN
   ========================================== */
.fondo-animado {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.circulo {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.5;
  animation: flotarConstante 12s ease-in-out infinite alternate;
}

.c1 { width: 300px; height: 300px; background: rgba(6, 182, 212, 0.7); top: 5%; left: 5%; animation-duration: 9s; }
.c2 { width: 350px; height: 350px; background: rgba(37, 99, 235, 0.6); bottom: 5%; right: 5%; animation-duration: 12s; animation-direction: alternate-reverse; }
.c3 { width: 250px; height: 250px; background: rgba(56, 189, 248, 0.65); top: 25%; left: 55%; animation-duration: 10s; }
.c4 { width: 320px; height: 320px; background: rgba(14, 116, 144, 0.6); top: 50%; left: 8%; animation-duration: 11s; animation-direction: alternate-reverse; }
.c5 { width: 280px; height: 280px; background: rgba(59, 130, 246, 0.6); top: 10%; right: 20%; animation-duration: 13s; }
.c6 { width: 340px; height: 340px; background: rgba(6, 182, 212, 0.55); bottom: 15%; left: 30%; animation-duration: 14s; animation-direction: alternate-reverse; }
.c7 { width: 220px; height: 220px; background: rgba(37, 99, 235, 0.65); top: 15%; right: 10%; animation-duration: 9.5s; }
.c8 { width: 300px; height: 300px; background: rgba(56, 189, 248, 0.55); bottom: 20%; left: 12%; animation-duration: 11.5s; }
.c9 { width: 270px; height: 270px; background: rgba(14, 116, 144, 0.6); top: 40%; right: 35%; animation-duration: 12.5s; animation-direction: alternate-reverse; }
.c10 { width: 330px; height: 330px; background: rgba(59, 130, 246, 0.55); top: 70%; right: 15%; animation-duration: 10.5s; }
/* Nuevas bolitas adicionales para mayor densidad lumínica */
.c11 { width: 240px; height: 240px; background: rgba(6, 182, 212, 0.65); top: 80%; left: 25%; animation-duration: 11s; }
.c12 { width: 290px; height: 290px; background: rgba(56, 189, 248, 0.6); top: 60%; right: 60%; animation-duration: 13.5s; animation-direction: alternate-reverse; }
.c13 { width: 210px; height: 210px; background: rgba(37, 99, 235, 0.7); top: 5%; left: 45%; animation-duration: 9.5s; }
.c14 { width: 260px; height: 260px; background: rgba(14, 116, 144, 0.65); bottom: 40%; right: 5%; animation-duration: 12s; }
.c15 { width: 310px; height: 310px; background: rgba(59, 130, 246, 0.6); top: 35%; left: 25%; animation-duration: 14s; animation-direction: alternate-reverse; }

@keyframes flotarConstante {
  0% { transform: translate(0px, 0px); }
  50% { transform: translate(140px, -110px); }
  100% { transform: translate(-110px, 140px); }
}
/* =====================================================
   CABECERA (CON ILUMINACIÓN NEÓN MEJORADA)
   ===================================================== */
/* =====================================================
   CABECERA CON IMAGEN DE FONDO (SL.jpg) Y NEÓN
   ===================================================== */
.cabecera {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  margin-bottom: 24px;
  /* Capa oscura translúcida para que resalten los textos sobre SL.jpg */
  background-image: linear-gradient(135deg, rgba(3, 7, 18, 0.75), rgba(5, 20, 48, 0.75)), url('and.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.25), inset 0 0 15px rgba(56, 189, 248, 0.15), 0 20px 50px rgba(0,0,0,.45);
}

.marca {
  display: flex;
  align-items: center;
  gap: 300px;
}

.logo-contenedor {
  width: 90px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 160%;
  height: 160%;
  object-fit: contain;
}

.marca-texto h1 {
  font-size: 30px;
  letter-spacing: .5px;
  font-weight: 800;
  color: #ffffff;
}

.marca-texto h1 span {
  color: var(--azul-claro);
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.sub {
  margin-top: 3px;
  font-size: 13px;
  color: var(--texto-2);
}

/* ESTADO IA */
.pastilla {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 30px;
  color: #e2e8f0;
  font-size: 13px;
  background: rgba(3,7,18,.65);
  border: 1px solid rgba(56,189,248,.40);
  box-shadow: 0 0 10px rgba(56,189,248,0.15);
}

.punto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.punto.ok {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e, 0 0 16px rgba(34,197,94,.7);
}

/* =====================================================
   CONTENEDOR
   ===================================================== */
.contenedor-principal {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =====================================================
   TARJETA PRINCIPAL (CON RESPLANDOR NEÓN EXTERIOR E INTERIOR)
   ===================================================== */
.tarjeta-inicio {
  position: relative;
  width: 100%;
  padding: 40px 45px 30px;
  overflow: hidden;
  /* Combinamos el degradado oscuro con tu imagen de fondo en una sola regla */
  background-image: linear-gradient(135deg, rgba(3, 7, 18, 0.75), rgba(5, 20, 48, 0.75));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1.5px solid rgba(56,189,248,0.45);
  border-radius: 25px;
  box-shadow: 0 0 45px rgba(56, 189, 248, 0.22), inset 0 0 25px rgba(56, 189, 248, 0.12), 0 30px 70px rgba(0,0,0,.55);
}
/* Estructura Grid de Dos Columnas */
.grid-inicio {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 35px;
  align-items: center;
  margin-bottom: 25px;
}

.columna-textos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.columna-textos .badge-prevencion {
  align-self: flex-start;
}

.badge-prevencion {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 30px;
  color: #38bdf8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  background: rgba(14,165,233,.12);
  border: 1px solid rgba(56,189,248,.40);
  box-shadow: 0 0 12px rgba(56,189,248,0.2);
}

.icono-escudo {
  font-size: 16px;
}

.columna-textos h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.8px;
  color: #f8fafc;
  margin-bottom: 14px;
}

.columna-textos h2 span {
  color: #38bdf8;
  text-shadow: 0 0 25px rgba(56,189,248,.5);
}

.columna-textos .ayuda {
  font-size: 15px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
}

/* =====================================================
   IMAGEN IA (COLUMNA DERECHA)
   ===================================================== */
.contenedor-imagen-boceto {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(2, 8, 23, 0);
  border: 1px solid rgba(56, 191, 248, 0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0), 0 0 25px rgba(14, 116, 144, 0);
}

.brillo-imagen {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 175, 239, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.columna-derecha-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
}

#pantalla-4:not(.oculto) div[style*="background: rgba(15,23,42"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Estilos modernos para el contenedor del reproductor y reflexión en Pantalla 4 */
.contenedor-reproductor-final {
  margin: 20px auto;
  padding: 15px 20px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(56, 189, 248, 0.15);
}

#audio-final-salida {
  width: 100%;
  height: 40px;
  outline: none;
}

.caja-reflexion-ia {
  max-width: 550px;
  margin: 20px auto;
  padding: 20px;
  background: rgba(30, 41, 59, 0.75);
  border-left: 4px solid #38bdf8;
  border-radius: 0 12px 12px 0;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), 0 0 15px rgba(56, 189, 248, 0.1);
}

.reflexion-titulo {
  color: #38bdf8;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.reflexion-texto {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.reflexion-texto strong {
  color: #f8fafc;
}

.oculto {
  display: none !important;
}

.imagen-ilustrativa-ia {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.98;
  transition: transform .5s ease;
}

.contenedor-imagen-boceto:hover .imagen-ilustrativa-ia {
  transform: scale(1.025);
}

/* =====================================================
   TARJETAS DE INFORMACIÓN FIJA
   ===================================================== */
.iconos-guia {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item-guia {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(15,23,42,.75);
  border: 1px solid rgba(56,189,248,.30);
  transition: all .3s ease;
}

.item-guia:hover {
  transform: translateY(-2px);
  border-color: rgba(56,189,248,.6);
  background: rgba(14,165,233,.12);
  box-shadow: 0 8px 25px rgba(0,0,0,.3), 0 0 15px rgba(56,189,248,0.2);
}

.header-item-guia {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.icono-guia {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(14,165,233,.15);
  border: 1px solid rgba(56,189,248,.45);
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(56,189,248,0.25);
}

.item-guia strong {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 700;
}

.texto-info-fijo {
  color: #94a3b8;
  font-size: 12.5px;
  line-height: 1.45;
  margin: 2px 0 0 48px;
}

/* =====================================================
   BOTÓN COMENZAR (CON BRILLO INTENSO DE NEÓN)
   ===================================================== */
.zona-comenzar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 25px;
}

.btn-grande {
  min-width: 320px;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primario {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  border: 1px solid rgba(125,211,252,.75);
  color: white;
  box-shadow: 0 0 25px rgba(14,116,144,.7), inset 0 1px 0 rgba(255,255,255,.4);
}

.btn-primario:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(56,189,248,.9), 0 10px 30px rgba(0,0,0,.35);
  background: linear-gradient(135deg, #38bdf8 0%, #1d4ed8 100%);
}

.icono-microfono {
  margin-right: 10px;
  font-size: 18px;
}

.flecha {
  margin-left: 12px;
  font-size: 20px;
}

.duracion-aviso {
  margin-top: 10px;
  color: #64748b;
  font-size: 12px;
}

.duracion-aviso strong {
  color: #94a3b8;
}

/* =====================================================
   PROGRESO
   ===================================================== */
.progreso-experiencia {
  width: 100%;
  max-width: 900px;
  margin: 28px auto 0;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2,8,23,.7);
  border: 1px solid rgba(56,189,248,.3);
  border-radius: 18px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

.paso {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 80px;
}

.numero-paso {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(37,99,235,.5);
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  background: #071126;
}

.paso span {
  color: #64748b;
  font-size: 11px;
}

.paso.activo .numero-paso {
  color: white;
  border-color: #38bdf8;
  background: #0b3b72;
  box-shadow: 0 0 20px rgba(56,189,248,.6);
}

.paso.activo span {
  color: #38bdf8;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(56,189,248,0.4);
}

.linea-progreso {
  width: 90px;
  height: 1px;
  margin: 0 5px 24px;
  background: linear-gradient(90deg, rgba(56,189,248,.6), rgba(37,99,235,.3));
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 950px) {
  .grid-inicio {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .columna-textos {
    text-align: center;
    align-items: center;
  }
  .columna-textos .badge-prevencion {
    align-self: center;
  }
  .contenedor-imagen-boceto {
    height: 250px;
    }
  .texto-info-fijo {
    margin-left: 0;
  }
}

@media (max-width: 750px) {
  body {
    padding: 15px;
    overflow-y: auto;
  }
  .cabecera {
    padding: 12px 16px;
  }
  .logo-contenedor {
    width: 65px;
    height: 50px;
  }
  .marca-texto h1 {
    font-size: 20px;
  }
  .sub {
    font-size: 11px;
  }
  .tarjeta-inicio {
    padding: 25px 18px 20px;
  }
  .progreso-experiencia {
    padding: 15px 5px;
  }
  .linea-progreso {
    width: 20px;
  }
  .paso {
    min-width: 55px;
  }
  .paso span {
    font-size: 9px;
  }
  .btn-grande {
    min-width: 250px;
  }
}