/* ===============================================
   STYLES-LANDING.CSS
   Estilos para Landing VSL de AltChat
   =============================================== */

/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    /* Degradado diagonal unificado: negro predominante → azul abajo derecha */
    background: linear-gradient(135deg, #000000 0%, #000000 40%, #235DA9 100%);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === HEADER === */
.main-header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo-header img {
    height: 50px;
    transition: all 0.3s ease;
}

.logo-header img:hover {
    transform: scale(1.05);
}

/* === HERO VSL === */
.hero-vsl {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    padding: 4rem 0 3rem;
    position: relative;
}

.hero-vsl::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(35, 93, 169, 0.1) 0%, transparent 50%);
}

.hero-vsl .container {
    position: relative;
    z-index: 1;
}

.headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.highlight {
    color: #235DA9;
    background: linear-gradient(135deg, #235DA9, #4a9fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subheadline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.scroll-indicator {
    margin-top: 3rem;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.scroll-indicator button {
    background: linear-gradient(135deg, #235DA9, #4a9fff);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 10px 30px rgba(35, 93, 169, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scroll-indicator button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 40px rgba(35, 93, 169, 0.6);
    background: linear-gradient(135deg, #4a9fff, #235DA9);
}

.scroll-indicator button:active {
    transform: scale(0.98);
}

.scroll-indicator p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* === VIDEO SECTION === */
.video-section {
    padding: 6rem 0;
    background: transparent;
}

.video-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    font-weight: 700;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(35, 93, 169, 0.3);
    background: #0a0a0a;
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* === BENEFICIOS === */
.beneficios {
    padding: 7rem 0;
    background: transparent;
}

.beneficios h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 4rem;
}

.beneficios-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.beneficio-item {
    flex: 1 1 22%; /* Aproximadamente 4 por fila con espacio */
    max-width: 22%;
    min-width: 220px;
    margin-bottom: 0;
    box-sizing: border-box;
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(35, 93, 169, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.beneficio-item:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #235DA9;
    transform: translateX(10px);
}

.beneficio-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.beneficio-texto h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.beneficio-texto p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* === PROBLEMA VS SOLUCIÓN === */
.problema-solucion {
    padding: 6rem 0;
    background: transparent;
}

.comparacion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.problema,
.solucion {
    padding: 3rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.problema {
    background: rgba(255, 50, 50, 0.15);
    border: 2px solid rgba(255, 50, 50, 0.4);
}

.solucion {
    background: rgba(50, 255, 150, 0.15);
    border: 2px solid rgba(50, 255, 150, 0.4);
}

.problema h2 {
    color: #ff5555;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.solucion h2 {
    color: #50ff96;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.problema ul,
.solucion ul {
    list-style: none;
    padding: 0;
}

.problema li,
.solucion li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.problema li:last-child,
.solucion li:last-child {
    border-bottom: none;
}

.problema li::before {
    content: '❌';
    position: absolute;
    left: 0;
}

.solucion li::before {
    content: '✅';
    position: absolute;
    left: 0;
}

/* === CTA SECTION === */
.cta-section {
    padding: 7rem 0;
    background: transparent;
    position: relative;
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(35, 93, 169, 0.2);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(35, 93, 169, 0.3);
}

.cta-preheadline {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.cta-headline {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.5rem;
    color: #fff;
}

.cta-headline .highlight {
    color: #235DA9;
    background: linear-gradient(135deg, #235DA9, #4a9fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Botones CTA */
.btn-cta {
    display: inline-block;
    width: 100%;
    max-width: 550px;
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
    margin: 0.75rem 0;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: scale(1.05);
}

.btn-form {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
}

.btn-form:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cta-divider {
    margin: 2rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* === FORMULARIO === */
.formulario-container {
    margin-top: 2rem;
    animation: slideDown 0.3s ease-out;
}

.form-demo {
    max-width: 550px;
    margin: 0 auto;
}

.form-demo input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

.form-demo input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-demo input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-submit {
    width: 100%;
    padding: 1.5rem;
    background: #000;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #1a1a1a;
    transform: scale(1.02);
}

/* Mensaje de éxito */
.mensaje-exito {
    background: rgba(37, 211, 102, 0.2);
    border: 2px solid #25D366;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.mensaje-exito h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #25D366;
}

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

/* === FOOTER === */
.landing-footer {
    padding: 3rem 0;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.landing-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffeb3b;
}

/* === ANIMACIONES === */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .logo-header img {
        height: 40px;
    }
    
    .hero-vsl {
        min-height: auto;
        padding: 3rem 0 2rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    .headline {
        font-size: 1.75rem;
    }
    
    .subheadline {
        font-size: 1.05rem;
    }
    
    .video-section {
        padding: 4rem 0;
    }
    
    .beneficios {
        padding: 5rem 0;
    }
    
    .beneficio-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .beneficio-icon {
        font-size: 2.5rem;
    }
    
    .comparacion {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .problema,
    .solucion {
        padding: 2rem;
    }
    
    .cta-section {
        padding: 5rem 0;
    }
    
    .cta-box {
        padding: 2rem;
    }
    
    .btn-cta {
        font-size: 1rem;
        padding: 1.2rem 2rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 1.5rem;
    }
    
    .subheadline {
        font-size: 1rem;
    }
    
    .btn-cta {
        font-size: 0.95rem;
        padding: 1rem 1.5rem;
    }
}

/* === HERO VSL: Imagen a la derecha en desktop, abajo en móvil === */
.hero-vsl .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    text-align: left;
}

.hero-vsl .hero-text {
    flex: 0.8;
}

.hero-vsl .hero-img {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-vsl .hero-img img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(35,93,169,0.15);
}

/* Responsive: imagen debajo del texto en móvil */
@media (max-width: 768px) {
    .hero-vsl .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .hero-vsl .hero-text {
        flex: none;
        width: 100%;
    }
    .hero-vsl .hero-img img {
        max-width: 90vw;
    }
    .hero-vsl .hero-img.hero-video {
        width: 100%;
        flex: none;
    }
}

.hero-vsl .hero-video .video-responsive {
    position: relative;
    width: 100%;
    max-width: 1200px;
    min-width: 300px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(35,93,169,0.15);
    background: #000;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.hero-vsl .hero-video .video-responsive iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: none;
    border-radius: 18px;
}

/* Responsive: video debajo del texto en móvil y más ancho */
@media (max-width: 768px) {
    .hero-vsl .hero-video .video-responsive {
        max-width: 95vw;
        min-width: 0;
    }
}

/* HERO: que el video ocupe más espacio */
.hero-vsl .container {
    max-width: 1600px;
}

/* === FAQ SECTION === */
.faq-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
    color: #fff;
    background: transparent;
}

.faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #fff;
}

.faq-section h3 {
    font-size: 2rem;
    margin: 3rem 0 2rem;
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
    overflow-y: auto;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.faq-answer ol {
    margin: 0;
    padding-left: 1.2rem;
}

.faq-answer li {
    margin: 0.5rem 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Estilos para FAQs padre-hijo */
.faq-parent > .faq-question {
    background: rgba(35, 93, 169, 0.1);
    font-size: 1.3rem;
}

.faq-parent > .faq-question:hover {
    background: rgba(35, 93, 169, 0.2);
}

.faq-parent > .faq-answer {
    background: rgba(255, 255, 255, 0.02);
    padding: 0;
}

.faq-parent > .faq-answer.active {
    padding: 1rem;
}

.faq-child {
    margin: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-child .faq-question {
    font-size: 1rem;
    padding: 1.2rem;
}

.faq-child .faq-question:hover {
    background: rgba(255, 255, 255, 0.08);
}

.faq-child:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-child .faq-answer {
    padding: 0 1.2rem;
}

.faq-child .faq-answer.active {
    padding: 0 1.2rem 1.2rem;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 1rem;
        margin: 2rem auto;
    }

    .faq-section h2 {
        font-size: 2rem;
    }

    .faq-section h3 {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-answer.active {
        max-height: 350px;
        overflow-y: auto;
    }
    
    .faq-parent > .faq-question {
        font-size: 1.2rem;
    }

    .faq-child .faq-question {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .faq-child {
        margin: 0.4rem;
    }

    .faq-child .faq-answer {
        padding: 0 1rem;
    }

    .faq-child .faq-answer.active {
        padding: 0 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .faq-section h2 {
        font-size: 1.75rem;
    }

    .faq-section h3 {
        font-size: 1.25rem;
    }
    
    .faq-parent > .faq-question {
        font-size: 1.1rem;
    }

    .faq-child .faq-question {
        font-size: 0.9rem;
    }
}
.btn-cta-video {
    display: block;
    margin: 2rem auto 0 auto; /* centra horizontal */
    text-align: center;
}
