/* General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0b0f1c;
    color: #ffffff;
}

/* Footer */ 
footer { 
    text-align: center; 
    padding: 2rem 1rem; 
    border-top: 1px solid #00ff66; 
    color: #aaa; 
    font-size: 0.9em;
    background-color: #0f1324;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Texto principal */
.footer-content p {
    color: #00ff66;
    font-weight: 500;
    margin: 0;
}

/* Links */
.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #00ff66;
}

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

footer-social {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.footer-social a {
    color: #aaa;
    font-size: 1.4rem;
    transition: color 0.3s, transform 0.3s;
}

.footer-social a:hover {
    color: #00ff66;
    transform: scale(1.2);
}


/* Encabezado */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #0b0f1c;
  display: flex;
  justify-content: space-between;
  align-items: center; 
  padding: 0 40px;
  z-index: 10;
}

/* Logo */
.logo {
  display: flex;
  align-items: center; 
}

.logo img {
  height: 40px;      
  width: auto;
  display: block;    
}

/* Encabezado */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
}

nav a:hover {
    color: #00ff66;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: url(images/hero-image5.jpg) center/cover no-repeat;
  padding: 0;
}

.hero h1 {
    color: #fff;
    font-size: 1.8rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 6px;
}

.hero h1::after {
  content: '|';
  display: inline-block;
  margin-left: 4px;
  animation: blink 0.8s infinite;
  color: #fff;
  vertical-align: baseline; /* mantiene la altura del texto */
  transform: translateY(-2px); /* ajusta posición fina si aún queda desfasado */
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Botón General*/
.btn-principal {
    margin-top: 1.5rem;
    margin-bottom: 0;
    padding: 12px 30px;
    border: 1px solid #00ff66;
    border-radius: 6px;
    background: transparent;
    color: #00ff66;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-principal:hover {
    background: #00ff66;
    color: #000;
}

/* Sección protege */
.protege {
    text-align: center;
    padding: 4rem 8%;
}

.protege h2 {
    font-size: 2.5rem;
    color: #00ff66;
}

.protege p {
    margin-top: 1rem;
    color: #ccc;
    font-size: 1.2rem;
}

/* Sección Funciones */
.funciones {
    background-color: #12172b; 
    text-align: center;
    padding: 4rem 8%;
    scroll-margin-top: 105px; 
}

.funciones h2 {
    color: #00ff66;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

/* Contenedor Funciones */
.funciones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Cards Funciones */
.card {
    background: #0f1324;
    border: 1px solid #00ff66;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-4px);
}

.card h3 {
    color: #00ff66;
    margin-bottom: 0.8rem;
}

.card p {
    color: #bbb;
}

/* Sección Nosotros */
.nosotros {
    text-align: center;
    margin-bottom: 0px;
    margin-top: 60px;
    padding: 0rem 8% 4rem 8%;
}

.nosotros h2 {
    color: #00ff66;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.nosotros p {
  font-size: 1.2rem;
}

.nosotros-imagen {
    background: url(images/nos-image3.jpg) center/cover no-repeat;
    width: 100%;
    height:500px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    max-height: 500px;
    object-fit: cover;
}

/* Sección Centro de ayuda */
.ayuda {
    text-align: center;
    margin:0 auto;
    padding: 0rem 8% 10rem 8%;
}

.ayuda h2 {
    color: #00ff66;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

/* Contenedor Preguntas */
.faq {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Preguntas */
.pregunta {
    display: block;
    text-align: left;
    padding: 15px;
    border: 1px solid #00ff66;
    border-radius: 6px;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
}

.pregunta:hover {
    background: #00ff66;
    color: #000;
}

/* Página descargas */
.navegadores { 
    text-align: center;
    padding: 6rem 8%;
}

.navegadores h2 {
    color: #00ff66;
    margin-bottom: 1rem;
    font-size: 2.1rem;
}

/* Contenedor descargas */
.navs-grid {
    background-color: #1a1f2e; 
    padding: 3rem 3rem;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    justify-content: center;
    max-width: 1000px;
    margin: 2.5rem auto 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Cards Descargas */
.d-cards {
    background: #0f1324;
    border: 1px solid #00ff66;
    border-radius: 8px;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.d-cards:hover {
    transform: translateY(-4px);
}

.d-cards img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.d-cards h3 {
    color: #00ff66;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.d-cards p {
    color: #bbb;
}

.d-cards .btn-principal {
    margin-top: 0; 
}

/* Página Centro de ayuda */
.p-ayuda {
  padding: 5rem 8%;
  background-color: #0b0f1c;
  color: #fff;
}

/* Contenedor Centro de ayuda */
.ayuda-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Preguntas Centro de ayuda */
.a-card {
  background-color: #12172b;
  border: 1px solid #00ff66;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.a-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.15);
}

.a-card h2 {
  color: #00ff66;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: left;
}

.a-card p {
  color: #ccc;
  line-height: 1.6;
  font-size: 1rem;
  text-align: justify;
}

.a-card {
  scroll-margin-top: 80px;
}

/* Página Sobre Nosotros */
.p-nosotros {
  padding: 5rem 8%;
  background-color: #0b0f1c;
  color: #fff;
  text-align: center;
}

/* Contenedor Sobre Nosotros */
.txt-nosotros {
  background-color: #12172b;
  border: 1px solid #00ff66;
  border-radius: 10px;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  text-align: left;
}

/* Texto Sobre Nosotros */
.txt-nosotros h2 {
  color: #00ff66;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.txt-nosotros p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}

.txt-nosotros:hover {
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.1);
  transition: box-shadow 0.3s ease;
}

/* Página Planes */
.planes-premium {
  text-align: center;
  color: #e0e0e0;
  padding: 80px 20px;
  background-color: #0e1622;
}

.header-planes h2 {
  color: #33ff99;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.header-planes p {
  color: #b3b3b3;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

/* CONTENEDOR PLANES*/
.planes-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card {
  background-color: #1a2433;
  border: 1px solid #33ff99;
  border-radius: 12px;
  padding: 25px 20px;
  width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #33ff9950;
}

.destacado {
  background-color: #122030;
  border: 2px solid #33ff99;
  position: relative;
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #33ff99;
  color: #0e1622;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.plan-card h3 {
  color: #33ff99;
  margin-bottom: 10px;
  text-align: center;
}

.plan-card .price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

.plan-card .price span {
  font-size: 1rem;
  color: #bbb;
}

.ahorro {
  color: #33ff99;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 10px;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 12px 0;
  font-size: 0.95rem;
  color: #ccc;
}

.plan-card li {
  margin-bottom: 8px;
}

.plan-card button {
  background-color: transparent;
  color: #33ff99;
  border: 1px solid #33ff99;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
}

.plan-card button:hover {
  background-color: #33ff99;
  color: #0e1622;
}

.plan-card {
  min-height: 470px;
}

.contacto-container {
  color: #e0e0e0;
  text-align: center;
  padding: 80px 20px;
  background-color: #0e1622;
}

/* Página Contactos */
.contacto-header h2 {
  color: #00ff99;
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.contacto-header p {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #b0b0b0;
  font-size: 1.1rem;
}

/* Cards Soporte */
.soporte-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 60px;
  padding: 2rem 0;
}

.soporte-card {
  background-color: #1a2433;
  border: 1px solid #33ff99;
  border-radius: 12px;
  padding: 25px 20px;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.soporte-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #33ff9950;
}

.soporte-card h3 {
  color: #33ff99;
  margin-bottom: 10px;
}

.soporte-card p {
  color: #b0b0b0;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* Botones Contactos*/
.soporte-card button {
  background: transparent;
  border: 1px solid #33ff99;
  color: #33ff99;
  padding: 8px 12px;
  border-radius: 8px;
  margin: 6px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.soporte-card button:hover {
  background-color: #33ff99;
  color: #0e1622;
}

/* Formulario Contactos */
.formulario-contacto {
  background-color: #1a2433;
  border: 1px solid #33ff99;
  border-radius: 12px;
  padding: 40px 30px;
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: left;
}

.formulario-contacto h3 {
  text-align: center;
  color: #33ff99;
  margin-bottom: 50px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  color: #33ff99;
  font-weight: bold;
  margin-bottom: 8px;
}

input, select, textarea {
  background-color: transparent;
  border: 1px solid #33ff99;
  color: #e0e0e0;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.95rem;
}

select option {
  background-color: #0f172a;
  color: #e0e0e0;
}

select {
  padding-right: 60px;
}
textarea {
  height: 100px;
  resize: none;
}


/* Seccion Info Adicional */
.info-adicional {
  text-align: center;
}

.info-adicional h3 {
  color: #33ff99;
  margin-bottom: 30px;
}

.info-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.info-card {
  background-color: #1a2433;
  border: 1px solid #33ff99;
  border-radius: 12px;
  width: 280px;
  padding: 25px 20px;
  text-align: left;
}

.info-card h4 {
  color: #33ff99;
  margin-bottom: 10px;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #ccc;
  font-size: 0.95rem;
}

.info-card li {
  margin-bottom: 6px;
}