/* Reset general y tipografía estilo Tus Profes Online */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 60px;
    width: auto;
}

/* Colores personalizados para el Logo */
.color-morado {
    color: #53328f;
}

.color-verde {
    color: #84ce49;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

/* Hover de enlaces ahora es Verde */
.nav-links a:hover {
    color: #84ce49;
}

/* Botones principales ahora son Verde */
.btn-register {
    background-color: #84ce49;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-register:hover {
    background-color: #6eb83d;
    /* Un verde ligeramente más oscuro para el hover */
}

/* Hero Section (Portada) - Degradado Morado */
.hero {
    position: relative;
    background: url('portada.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Degradado usando tu morado */
    background: linear-gradient(135deg, rgba(83, 50, 143, 0.95), rgba(40, 20, 80, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 10px 0;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #84ce49;
    /* Verde para destacar en fondo oscuro */
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Botón WhatsApp mantiene su verde natural o usa el tuyo */
.btn-whatsapp {
    display: inline-block;
    background-color: #84ce49;
    /* Usamos tu verde para unificar */
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 5px 15px rgba(132, 206, 73, 0.4);
}

.btn-whatsapp:hover {
    background-color: #6eb83d;
    transform: scale(1.05);
}

/* IDEA 1: Estilos de la Barra de Beneficios Visuales */
.benefits-bar {
    background-color: #ffffff;
    padding: 50px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-item {
    padding: 20px;
}

.benefit-icon {
    font-size: 2.5rem;
    color: #84ce49;
    /* Verde vivo */
    margin-bottom: 15px;
}

.benefit-item h3 {
    color: #53328f;
    /* Título morado */
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.benefit-item p {
    color: #666;
    font-size: 1rem;
}

/* Reviews Section */
.reviews {
    background-color: #f1f5f9;
    padding: 80px 0;
    text-align: center;
}

.reviews h3 {
    font-size: 1.5rem;
    color: #53328f;
    /* Título morado */
    margin-bottom: 10px;
}

.stars {
    color: #fbbc05;
    /* Se mantiene amarillo Google por reconocimiento visual */
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.review-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    text-align: left;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Características */
.features {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    font-size: 2.2rem;
    color: #53328f;
    /* Título morado */
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    text-align: center;
}

.features-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.features-text {
    flex: 1;
}

.features-image {
    flex: 1;
    text-align: center;
}

.features-image h3 {
    color: #53328f;
    /* Morado */
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Video dentro de la Laptop */
.laptop-mockup {
    position: relative;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
}

.laptop-frame {
    width: 100%;
    display: block;
    height: auto;
}

.video-container {
    position: absolute;
    top: 5%;
    left: 10%;
    width: 80%;
    height: 75%;
    overflow: hidden;
    background: black;
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-box {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-number {
    background: #53328f;
    /* Círculos Morados */
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.feature-box h3 {
    color: #53328f;
    /* Título morado */
    margin-bottom: 10px;
}

/* IDEA 3: Estilos para el Bloque de Emergencia CTA */
.emergency-cta {
    background-color: #53328f;
    /* Fondo Morado Institutional */
    color: white;
    padding: 80px 0;
    text-align: center;
}

.emergency-container h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.emergency-container p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e2e8f0;
}

.btn-emergency {
    display: inline-block;
    background-color: #84ce49;
    /* Botón Verde */
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 5px 15px rgba(132, 206, 73, 0.4);
    /* Sombra verde */
    text-transform: uppercase;
}

.btn-emergency:hover {
    background-color: #6eb83d;
    transform: scale(1.05);
}

/* FAQ Accordion */
.faq {
    padding: 80px 0;
    background: #ffffff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: #f8fafc;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 6px solid #53328f;
    /* Borde Morado */
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

details summary {
    font-weight: 600;
    font-size: 1.1rem;
    outline: none;
    color: #53328f;
    /* Texto Morado */
}

details p {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    color: #555;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #53328f;
    /* Footer Morado Oscuro */
    color: #fff;
    padding: 50px 0 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-left h2 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-left p {
    color: #d8cce8;
    /* Un lila muy claro para contraste */
    margin-bottom: 5px;
}

.footer-right p {
    font-weight: bold;
    margin-bottom: 15px;
}

.socials a {
    color: #53328f;
    /* Ícono morado */
    background: #fff;
    /* Fondo blanco */
    width: 45px;
    height: 45px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    font-size: 1.2rem;
}

.socials a:hover {
    background: #84ce49;
    /* Al pasar el mouse, fondo verde */
    color: #fff;
    /* Ícono blanco */
}

.footer-bottom {
    background: #392263;
    /* Un morado casi negro para el final */
    text-align: center;
    padding: 20px;
    color: #b5a1d1;
    font-size: 0.9rem;
}

/* Adaptación a Móviles (Celulares) */
@media (max-width: 768px) {
    .nav-container {
        padding: 10px 5%;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 40px;
    }

    .nav-links li:not(.nav-cta) {
        display: none;
    }

    .btn-register {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .features-layout {
        flex-direction: column;
        text-align: center;
    }

    .features-image {
        order: -1;
        margin-bottom: 40px;
    }

    .emergency-container h2 {
        font-size: 1.6rem;
    }
}