@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFPRODISPLAYBOLD.OTF') format('opentype');
  font-style: normal;
  font-weight: 700;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  background: radial-gradient(ellipse at 0% 25%, rgba(255, 102, 204, 0.5), rgba(125, 63, 207, 0.3), transparent 90%);
  z-index: 0;
  pointer-events: none;
}

body {
  font-family: 'SF Pro Display', sans-serif;
  background: radial-gradient(circle at center, #850ba0 0%, rgb(231, 114, 56) 40%, #4009ae 70%, #570083 100%);
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  line-height: 1.6;
  font-weight: 400;
}

.hero h1 {
  font-family: 'SF Pro Display', sans-serif;
  font-weight: 700; /* usa la versión bold real */
}


.icono-check {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
  color: #a4a0ff; /* o el color que prefieras */
}


/* RIPPLE */
.hero {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.ripple-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 73, 240, 0.265);
  transform: scale(0.8);       /* Estado inicial */
  opacity: 0.4;                /* Estado inicial */
  animation: rippleAnimation 6s infinite ease-in-out;
}


.ripple-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 30%;
  animation-delay: 0s;
}

.ripple-2 {
  width: 250px;
  height: 250px;
  top: 50%;
  left: 60%;
  animation-delay: 2s;
}

.ripple-3 {
  width: 300px;
  height: 300px;
  top: 70%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes rippleAnimation {
  0% {
    transform: scale(0.8);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.2;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.4;
  }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 29px 40px 25px; /* ↑ Más espacio arriba */
    background: rgba(47, 33, 71, 0); /* Ajustado a la nueva paleta */
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

header {
  transform: translateY(10px); /* ⬇️ Baja el header al inicio */
  transition: all 0.3s ease;
}


header.scrolled {
  transform: translateY(0); /* ⬆️ Vuelve a su sitio natural */
}



header.scrolled .logo,
header.scrolled .que-es-link,
header.scrolled nav ul li {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* espacio entre logo y texto */
    font-size: 23px;
    font-weight: 700;
    color: white;
}

.logo-img {
    height: 38px; /* ajusta el tamaño del logo */
    width: auto;
}


nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.que-es-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    margin-right: auto; /* Empuja todo a la derecha */
    padding: 8px 12px;
    margin-left: 20px; /* Espacio después del logo */
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.037); /* Ajustado a #a4a0ff */
}

/* Añade esto en tu archivo CSS */
nav ul li.highlight {
    background: linear-gradient(135deg, #a4a0ff, #7d3fcf);
    border-radius: 30px;
    margin-left: 10px;
    transition: all 0.3s ease;
    animation: subtlePulse 3s infinite alternate;
}
nav ul li.highlight a {
    color: #1a0933; /* Azul oscuro */    
    font-weight: 600;
    padding: 12px 24px;
    display: inline-block;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

nav ul li.highlight:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(125, 63, 207, 0.4);
}


.highlight a {
    background: linear-gradient(to right, #a4a0ff, #7d3fcf); /* Nuevo gradiente */
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
}

.highlight a:hover {
    background: linear-gradient(to right, #8a85e6, #6b34c5); /* Versión más oscura */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(125, 63, 207, 0.4); /* Ajustado a #7d3fcf */
}

/* Transición para ambos botones */
.highlight, .cta-button {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Botón Acceder - Mismo estilo que "Empieza ahora gratis" */
.cta-button-nav {
    background: linear-gradient(to right, #a4a0ff, #7d3fcf);
    border-radius: 50px; /* Bordes redondeados igual que el CTA */
    margin-left: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(125, 63, 207, 0.4);
    list-style: none; /* Elimina el bullet point */
}

.cta-button-nav a {
    color: white !important;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 16px; /* ← Igual al resto de enlaces */
    display: inline-block;
    text-decoration: none;
    line-height: 1.2;
}


.cta-button-nav:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(164, 160, 255, 0.7);
    animation: none;
}

section {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

h1 {
    color: rgb(229, 221, 221);
    font-size: 42px;
    margin-bottom: 30px;
    max-width: 830px;
    line-height: 1.2;

    margin-left: auto;
    margin-right: auto;
    text-align: center; /* ← esto asegura que el texto esté centrado */
}

h2 {
    color: rgb(229, 221, 221);
    font-size: 33px;
    margin-bottom: 20px;
    text-align: center;
}

h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.puntos{
    font-size: 20px;
    margin-bottom: 50px;
    text-align: center;
    margin: 0; /* Elimina márgenes del párrafo */
    padding: 0; /* Elimina paddings del párrafo */
    line-height: 1.2; /* Reduce el interlineado si es necesario */
}


.subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(196, 184, 184, 0.9);
    max-width: 890px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
}


.cta-button {
    background: linear-gradient(to right, #a4a0ff, #7d3fcf); /* Nuevo gradiente */
    color: white;
    border: none;
    padding: 18px 48px;
    font-size: 21px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    animation: pulse 2s infinite alternate;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(125, 63, 207, 0.4); /* Ajustado a #7d3fcf */
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-button:hover {
    transform: scale(1.08) translateY(-3px);
    animation: none; /* Detiene la animación al hacer hover */
    box-shadow: 0 8px 25px rgba(164, 160, 255, 0.7);
}

.cta-button.secondary {
    background: white;
    color: #7d3fcf; /* Ajustado a #7d3fcf */
    margin-top: 60px;
    animation: pulseScale 1.5s infinite alternate;
}

a.cta-button {
    text-decoration: none;
}


@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.03);
    }
}

@keyframes subtlePulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.03);
    }
}

.benefits {
    background: linear-gradient(135deg, rgba(164, 160, 255, 0.05), rgba(125, 63, 207, 0.08));
    backdrop-filter: blur(8px);
    border-radius: 24px;
    margin: 60px auto;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(164, 160, 255, 0.1);
    transition: all 0.4s ease;
}


.benefit-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 10px; /* Tamaño del icono */
    height: 10px;
    color: #ffd166; /* Color del icono (opcional) */
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5; /* Grosor del trazo */
}

.benefit-card {
    position: relative; /* Necesario para posicionar el SVG de forma absoluta */
    padding-top: 10px; /* Espacio extra arriba para el icono */
}

.benefit-card h3 {
    padding-right: 30px; /* Evita que el texto se solape con el icono */
    position: relative; /* Contenedor de referencia para el SVG */
}

.benefit-card h3 svg {
    position: absolute; /* Lo sacamos del flujo normal */
    top: 0; /* Lo pegamos arriba */
    right: 0; /* Lo pegamos a la derecha */
    width: 36px !important; /* Tamaño pequeño (cambia el valor) */
    height: 36px !important; /* Tamaño pequeño (cambia el valor) */
    margin-left: 0; /* Eliminamos el margen que tenía */
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.benefit-card {
    background: linear-gradient(145deg, rgba(26, 9, 51, 0.4), rgba(40, 20, 75, 0.4));
    padding: 40px 30px;
    border-radius: 18px;
    border: 1px solid rgba(125, 63, 207, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    color: white;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 24px rgba(125, 63, 207, 0.3);
    border: 1px solid rgba(164, 160, 255, 0.3);
    background: linear-gradient(145deg, rgba(40, 20, 75, 0.6), rgba(64, 32, 100, 0.5));
}



/* FAQ */
.faq {
  margin-top: 70px;
  background-color: rgba(26, 9, 51, 0.3);
  border-radius: 20px;
  padding: 40px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background-color: rgba(164, 160, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(125, 63, 207, 0.2);
}

.faq-question {
  font-weight: 600;
}

.faq-answer {
  display: none;
  padding-top: 15px;
  font-weight: 400;
  color: #d1c4e9;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item:hover {
  background-color: rgba(164, 160, 255, 0.2);
  transform: translateY(-3px);
}

footer {
    background: linear-gradient(to right, #330e60, #5c21d2); /* Ajustado a la nueva paleta */
    padding: 60px 50px 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #a4a0ff; /* Ajustado a #a4a0ff */
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 15px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #a4a0ff; /* Ajustado a #a4a0ff */
    padding-left: 5px;
}

.newsletter p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
    background-color: rgba(255, 255, 255, 0.9);
}

.newsletter button {
    background: linear-gradient(to right, #a4a0ff, #7d3fcf); /* Nuevo gradiente */
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter button:hover {
    background: linear-gradient(to right, #8a85e6, #6b34c5); /* Versión más oscura */
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    font-size: 17px;
    padding-top: 30px;
    border-top: 1px solid rgba(125, 63, 207, 0.3); /* Ajustado a #7d3fcf */
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
    
    h1 {
        font-size: 42px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .benefits-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
}

.key-points {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
  margin: 20px auto;
}


.point {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  padding: 0; /* Quitamos el fondo, padding y borde */
  background: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  margin: 0; /* Elimina márgenes externos */
  padding: 0; /* Elimina paddings internos */
}

.check-icon {
  color: #a4a0ff; /* O el color que usas en los botones */
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

/* Botón Acceder - Versión cuadrada */
.cta-button-square {
    background: linear-gradient(to right, #a4a0ff, #7d3fcf);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 0; /* Bordes cuadrados */
    cursor: pointer;
    animation: pulse 2s infinite alternate;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(125, 63, 207, 0.4);
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-left: 15px; /* Espaciado del menú */
}

.cta-button-square a {
    color: white !important;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.cta-button-square:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(164, 160, 255, 0.6);
    animation: none;
}

