/* BODY General del Index */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background: #001f2d;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
} 

/* Diseito del Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #001f2d;
  padding: 25px 95px;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: nowrap;
  min-height: 60px;
  box-sizing: border-box;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: default;
}

/* Navegación principal, lo primerito */
.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.nav-links a:hover,
.sidebar a:hover {
  background-color: #0BF069;
  color: black;
}

.nav-links a.active,
.sidebar a.active {
  background-color: #0BF069;
  color: black;
  font-weight: 600;
}

/* Menú hamburguesa */
.menu-container {
  display: none;
  flex-shrink: 0;
  z-index: 1001;
}

.hamburger {
  font-size: 30px;
  cursor: pointer;
  padding: 10px 10px;
  color: white;
  z-index: 101;
}

.sidebar {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 50px;
  right: 0;
  background-color: #00293a;
  border: 1px solid #0BF069;
  border-radius: 8px;
  padding: 10px;
  z-index: 999;
  font-weight: bold;
  min-width: 140px;
}

.sidebar.active {
  display: flex;
}

.sidebar a {
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}

.sidebar a.active {
  background-color: #0BF069;
  color: black;
  font-weight: 600;
}

/* Main layouut dividido en 2 columnas, de lo de el textos y logo */
.main-layout {
  flex: 1 0 auto;
  display: flex;
  max-width: 1400px;
  margin: 40px auto 40px auto;
  gap: 50px;
  padding: 0 40px;
  box-sizing: border-box;
}

/* Contenedor izquierdo para textos y formularios */
.container {
  flex: 1;
  min-width: 300px;
  max-width: 700px;
}

/* Diseño Logo grande a la derecha  */
.logo-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img {
  max-height: 400px;
  width: auto;
  max-width: 100%;
  user-select: none;
}

/* Secciones ocultas por defecto */
.seccion {
  display: none;
}

/* Contenido inicio visible */
.main-content {
  display: block;
}

/* Textos en contenedorr */
.main-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.2;
}

.main-title span {
  display: block;
}

.main-description {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Botón principal, de entrar ahora */
.main-button-form input[type='submit'] {
  width: 40%;
  background-color: #0BF069;
  color: white;
  padding: 20px 21px;
  font-size: 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  transition: background-color 0.4s ease;
}

.main-button-form input[type='submit']:hover {
  background-color: #04c252;
}

/* Secciones adicionales (suscripciones, acerca, contacto), osea lo de mi navbar */
.section-content h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-top: 0 !important;
  margin-bottom: 30px;
  color: #0BF069;
}

.section-content p,
.section-content ul {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 35px;
  line-height: 1.6;
  color: white;
}

.section-content ul {
  padding-left: 20px;
}

.section-content ul li {
  margin-bottom: 10px;
}

/* Diseño de la sección de contacto */
.section-content form input[type='text'],
.section-content form input[type='email'],
.section-content form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  resize: vertical;
}

.section-content form textarea {
  height: 120px;
}

.section-content form input[type='submit'] {
  width: auto;
  padding: 15px 30px;
  margin: 0;
  background-color: #0BF069;
  color: black;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.4s ease;
}

.section-content form input[type='submit']:hover {
  background-color: #04c252;
}

/* Estilo del botoncito enviar */
.btn-enviar {
  position: relative;
  background-color: #0BF069;
  color: white;
  padding: 15px 19px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  transition: background-color 0.4s ease;
}

.btn-enviar:hover {
  background-color: #04c252;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}



/* Animaciones fade */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(15px);
  }
}

.fade-in {
  animation: fadeIn 0.4s forwards;
}

.fade-out {
  animation: fadeOut 0.4s forwards;
}

/* De lo Responsivo */
@media (max-width: 900px) {
  .main-layout {
    flex-direction: column;
    padding: 0 20px;
  }

  .logo-container {
    margin-top: 40px;
  }

  .logo-img {
    max-height: 450px; 
    width: auto;
    max-width: 100%;
  }

  .main-button-form input[type='submit'] {
    width: 80%;
  }
}


/* Responsive menú hamburguesa */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-container {
    display: block;
  }
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background-color: #001f2d;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  margin-top: auto;
  width: 100%;
}



/* DISEÑO SECCIÓN DE PLANES */
#suscripciones {
  padding-top: 0px;
  margin-top: 0px;
  width: 100%;
  box-sizing: border-box;
}

.titulo-suscripciones {
  font-size: 2em;
  color: #0BF069;
  margin-bottom: 1rem;
  text-align: center;
}

.item-beneficio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 1rem;
  color: #d9f0e7;
  text-align: left;
  width: 100%;
}

.item-beneficio i {
  font-size: 1.1rem;
  min-width: 20px;
}

/* Colores por tipo de íconito */
.icono-servidor    { color: #b1422f; }   
.icono-analisis    { color: #21923e; }  
.icono-descarga    { color: #f39c12; }  
.icono-tiempo      { color: #b5babd; }   
.icono-update      { color: #9b59b6; }   
.icono-descripcion { color: #2574ce96; }  


.texto-suscripciones {
  font-size: 1.1em;
  line-height: 1.7;
  color: white;
  max-width: 900px;
  margin: 0 auto 1rem auto;
  text-align: center;
}

#suscripciones h2,
#suscripciones p {
  margin-top: 0 !important;
}

#suscripciones .planes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  padding: 0 3vw;
  box-sizing: border-box;
}

#suscripciones .plan {
  background-color: #1a2b38;
  border: 1px solid #2f3e4b;
  border-radius: 12px;
  padding: 30px 20px;
  box-sizing: border-box;
  box-shadow: 0 8px 20px rgba(0, 191, 105, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  position: relative;
  text-align: center;
  min-height: 500px; /*mismo alto para todas las divisionesde los recuadros */
  justify-content: space-between; /* aqui alineo el botoncito para abajo */
}

#suscripciones .plan .etiqueta {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0BF069;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/*
#suscripciones .etiqueta-mas-vendido {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #0BF069;
  color: black;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  box-shadow: 0 3px 6px rgba(0, 191, 105, 0.4);
} */

#suscripciones .precio-anterior {
  font-size: 0.9rem;
  color: #5e7d72;
  text-decoration: line-through;
  margin-bottom: 8px;
}

#suscripciones .precio {
  font-size: 1.7rem;
  font-weight: 700;
  color: #0BF069;
  margin-bottom: 15px;
}

#suscripciones .plan p:not(.precio):not(.precio-anterior):not(.etiqueta) {
  font-size: 1rem;
  color: #d9f0e7;
  margin-bottom: 25px;
  min-height: 48px;
}

#suscripciones .btn-suscribirse {
  background-color: #0BF069;
  color: black;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  max-width: 220px;
  box-shadow: 0 5px 15px rgba(11, 240, 105, 0.4);
}

#suscripciones .btn-suscribirse:hover {
  background-color: #0BF069;
}

#suscripciones .destacado {
  background: linear-gradient(135deg, #0BF069, #04c252);
  box-shadow: 0 7px 10px rgba(11, 240, 105, 0.6);
  transform: scale(1);
  color: black;
}

#suscripciones .destacado .etiqueta,
#suscripciones .destacado .precio {
  color: black;
}

#suscripciones .destacado .precio-anterior {
  color: rgba(0, 0, 0, 0.5);
}

#suscripciones .destacado .btn-suscribirse {
  background-color: rgb(10, 10, 10);
  color: #0BF069;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.6);
}

#suscripciones .destacado .btn-suscribirse:hover {
  background-color: #111;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  #suscripciones .planes {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 25px;
  }

  #suscripciones .plan {
    width: 100%;
    max-width: 100%;
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 30px;
  }

  #suscripciones .plan:last-child {
    margin-bottom: 0;
  }
}


/* DISEÑO SECCIÓN ACERCA DEE */
.titulo-acerca {
  font-size: 2em;
  color: #0BF069;
  margin-bottom: 1rem;
  text-align: center;
}

.texto-acerca {
  font-size: 1.1em;
  line-height: 1.7;
  color: white;
  max-width: 900px;
  margin: 0 auto 1rem auto;
  text-align: justify;
}

.beneficios-acerca {
  list-style: none;
  padding: 0;
  margin: 0;
}

.beneficios-acerca li {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.beneficios-acerca li i {
  margin-right: 10px;
  font-size: 1.1rem;
}

/* Colores para cada iconito de beneficio */
.icono-precision {
  color: #00bfff; 
}

.icono-sesgo {
  color: #f44336; 
}

.icono-objetividad {
  color: #4caf50;
}

.icono-tiempo {
  color: #b5babd; 
}

.icono-usabilidad {
  color: #c343da; 
}



.contenedor-video {
  text-align: left;
  margin-top: 1.5rem;
}

.gif-readmotion {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 255, 136, 0.2);
}
 
.acerca-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.acerca-texto {
  flex: 1;
  min-width: 300px;
  text-align: justify;
}

.contenedor-video {
  flex: 1;
  text-align: left;
}

.subtitulo-acerca {
  text-align: center;
  color: #0bf069;
  margin-top: 3rem;
  font-size: 2em;
}

.contenedor-mvv {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  flex-wrap: wrap;  
  padding: 1.5rem;
  overflow-x: hidden;
  max-width: 1200px;
  margin: 0 auto;
}


.card-mvv {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.2rem; 
  width: 100%;
  min-width: 100%;  
  font-size: 0.85rem;
  text-align: center;
  box-shadow: 0 4px 7px rgba(11, 240, 105, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.card-mvv:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(11, 240, 105, 0.2);
}

.icono-mvv {
  font-size: 2.2em;
  margin-bottom: 0rem;
}
.card-mvv h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: rgb(71, 24, 24);
}

.card-mvv p {
  font-size: 1rem;
  line-height: 1.3;
  text-align: justify;
  color: rgb(0, 0, 0);
}


.mision .icono-mvv { color: #3498db; }
.vision .icono-mvv { color: #2ecc71; }
.valores .icono-mvv { color: #e67e22; }

@media (max-width: 768px) {
  .contenedor-mvv {
    flex-direction: column;
    align-items: center;
  }

  .card-mvv {
    width: 90%;
  }
}


/*DISEÑO DE REES SOCIALES*/
.titulo-contacto {
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #0BF069;
  margin-bottom: 25px;
  text-align: center;
}

.contacto-redes a.red-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  background: #012a3d;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  transition: background 0.3s ease;
}

.contacto-redes a.red-item:hover {
  background: #01425d;
}

.contacto-redes a.red-item img {
  width: 30px;
  height: 30px;
  margin-right: 12px;
}

.contacto-redes a.red-item span {
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

.red-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.red-item img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

.red-item a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  transition: color 0.3s;
}

