/* ==============================================
   Hoja de Estilos para la Sección de Ingreso de Información
   ============================================== */

#ingreso-informacion {
  padding: 100px 0;
  background: transparent; /* Fondo transparente para una mejor integración */
  position: relative;
  overflow: hidden;
}

#ingreso-informacion .section-header {
  margin-bottom: 40px; /* Reducimos margen para acercar al nuevo contenido */
}

.section-sub-text {
  max-width: 700px;
  margin: 20px auto 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(224, 247, 255, 0.7);
  text-align: center;
}

.info-steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  text-align: center;
  /* Se elimina el margen inferior, ahora lo controla el wrapper del botón */
}

.step-item {
  background: rgba(10, 25, 47, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid;
  border-image-source: linear-gradient(to bottom right, rgba(0, 191, 255, 0.6), rgba(0, 191, 255, 0.1));
  border-image-slice: 1;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 15px rgba(0, 191, 255, 0.1);
}

.step-item:hover {
  transform: translateY(-10px);
  background: rgba(10, 25, 47, 0.7);
  border-image-source: linear-gradient(to bottom right, rgba(0, 191, 255, 1), rgba(0, 191, 255, 0.3));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 191, 255, 0.2);
}

.step-number {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 191, 255, 0.08);
  z-index: 0;
  transition: color 0.3s ease;
}

.step-item:hover .step-number {
  color: rgba(0, 191, 255, 0.15);
}

.step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.step-description {
  font-size: 0.95rem;
  color: rgba(224, 247, 255, 0.8);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.info-entry-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 80px; /* Añadimos espacio debajo del botón, antes de los pasos */
}

.tech-plate-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #e0f7ff;
  background-color: rgba(255, 82, 82, 0.3);
  border: 2px solid transparent;
  padding: 18px 35px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  font-family: 'Inter', sans-serif;
  animation: pulse-glow 3s infinite ease-in-out;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
}

.plate-logo-img {
  height: 55px;
  width: 55px;
  margin-right: 25px;
  animation: slow-rotate 20s linear infinite;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform;
}



.plate-text {
  display: flex; /* Use flex to align text and dot */
  align-items: center;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 8px;
  white-space: nowrap;
}

.plate-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ffb3b3;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.tech-plate-button:hover .plate-text::after {
  transform: scaleX(1);
}

.tech-plate-button::before,
.tech-plate-button::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  border-color: var(--accent-cyan);
  border-style: solid;
  transition: all 0.4s ease-in-out;
}

.tech-plate-button::before {
  top: -6px;
  left: -6px;
  border-width: 2px 0 0 2px;
}

.tech-plate-button::after {
  bottom: -6px;
  right: -6px;
  border-width: 0 2px 2px 0;
}

.tech-plate-button:hover {
  background-color: rgba(255, 82, 82, 0.5);
  border: 2px solid #ff5252;
  box-shadow: 0 0 15px rgba(255, 82, 82, 0.8), 
              0 0 30px rgba(255, 82, 82, 0.5),
              inset 0 0 15px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #fff;
  animation: border-pulse 1.5s infinite alternate;
}

.tech-plate-button:hover::before {
  width: calc(100% + 10px);
  height: calc(100% + 10px);
}

.tech-plate-button:hover::after {
  width: calc(100% + 10px);
  height: calc(100% + 10px);
}

.tech-plate-button:hover .plate-logo-img {
  transform: scale(1.1);
  animation-play-state: paused; /* Pausamos la rotación en hover para enfocar */
}

/* --- Responsive Design for Info Entry --- */
@media (max-width: 768px) {
  .info-entry-wrapper {
    padding: 0 15px;
  }

  .tech-plate-button {
    display: grid;
    justify-items: center;
    gap: 10px; /* Reduced gap */
    padding: 15px; /* Reduced padding */
    width: 100%;
    box-sizing: border-box;
  }

  .plate-logo-img {
    height: 35px; /* Reduced size */
    width: 35px; /* Reduced size */
    margin: 0;
  }

  .plate-text {
    font-size: 0.85rem; /* Reduced font size */
    white-space: normal;
    line-height: 1.4;
    text-align: center;
  }

  .cta-arrow {
    font-size: 1.1rem; /* Reduced font size */
    margin: 0;
  }

  .tech-plate-button:hover .cta-arrow {
    transform: translateX(5px);
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
  }

  .step-item {
    flex-basis: 100%;
  }
}

@media (max-width: 480px) {
  .tech-plate-button {
    padding: 15px 20px;
  }
  .plate-text {
    font-size: 1rem;
  }
}

/* Animación de rotación para el logo */
/* --- CTA Arrow Indicator --- */
.cta-arrow {
  font-size: 1.2rem;
  color: #ffb3b3;
  margin-left: 12px;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  text-shadow: 0 0 8px rgba(255, 82, 82, 0.7);
}

.tech-plate-button:hover .cta-arrow {
  transform: translateX(8px);
}

/* Animación de rotación para el logo */
@keyframes slow-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Animación de pulso para el botón */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px rgba(255, 82, 82, 0.5);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 82, 82, 0.8);
  }
}

@keyframes border-pulse {
  0% {
    box-shadow: 0 0 15px rgba(255, 82, 82, 0.8), 
                0 0 30px rgba(255, 82, 82, 0.5),
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    border-color: #ff5252;
  }
  100% {
    box-shadow: 0 0 25px rgba(255, 82, 82, 1), 
                0 0 40px rgba(255, 82, 82, 0.7),
                inset 0 0 20px rgba(255, 255, 255, 0.5);
    border-color: #ff8a8a;
  }
}
