:root {
    --azul-oscuro: #100530;
    --rosa-fuerte: #F71662;
    --blanco: #FFFFFF;
    --fondo-claro: #f7f7f9;
    --texto-principal: #333;
    --texto-secundario: #6c757d;
    --verde-whatsapp: #25D366;
    --borde-suave: #e9ecef;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--texto-principal);
    overflow-x: hidden;
    background-color: var(--fondo-claro);
}

.hero-bg {
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, #1a0a40 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(247,22,98,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
}

.card {
    background: var(--blanco);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(16, 5, 48, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(16, 5, 48, 0.12);
}

.btn-primary {
    background: var(--rosa-fuerte);
    color: var(--blanco);
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    background: #d61456;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(247, 22, 98, 0.3);
    color: var(--blanco);
}

.btn-secondary {
    background: var(--blanco);
    color: var(--azul-oscuro);
    border: 2px solid var(--azul-oscuro);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--azul-oscuro);
    color: var(--blanco);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--verde-whatsapp);
    color: var(--blanco);
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-success:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    color: var(--blanco);
}

.section {
    padding: 80px 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 1000px;
}

.section-alt {
    background: var(--fondo-claro);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(16, 5, 48, 0.15);
}

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

/* Wistia Facade (lazy) */
.wistia-facade {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
    border: 0;
    cursor: pointer;
}
.wistia-facade .play-icon {
    width: 72px;
    height: 72px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    position: relative;
}
.wistia-facade .play-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 18px solid #f71662;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}
.wistia-facade:hover .play-icon {
    background: #ffffff;
}

.faq-item {
    border-bottom: 1px solid var(--borde-suave);
}

.faq-question {
    padding: 24px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s ease;
}
        
.faq-question i {
     transition: transform 0.3s ease;
}

.faq-question:hover {
    color: var(--rosa-fuerte);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0;
}

.faq-answer.active {
    max-height: 300px; /* Adjust as needed */
    padding-bottom: 24px;
}

.testimonial-card {
    background: var(--blanco);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(16, 5, 48, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(16, 5, 48, 0.12);
}

.guarantee-badge {
    background: var(--rosa-fuerte);
    color: var(--blanco);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.urgency-badge {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: var(--blanco);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.sticky-header {
    position: sticky;
    top: 1rem;
    width: 90%;
    max-width: 1200px;
    margin: 1rem auto;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(16, 5, 48, 0.08);
}

.logo-img {
    height: 50px !important;
    width: auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.scarcity-box {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 8px 32px rgba(238, 90, 36, 0.3);
}

.social-proof-badge {
    background: var(--verde-whatsapp);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.price-strike {
    text-decoration: line-through;
    color: var(--texto-secundario);
    font-size: 24px;
}

.price-current {
    color: var(--rosa-fuerte);
    font-size: 36px;
    font-weight: 900;
}

.mobile-menu {
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.placeholder-testimonial {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 16px;
}
        
.footer {
    background-color: var(--azul-oscuro);
    color: var(--blanco);
    border-radius: 16px 16px 0 0;
    padding: 4rem 1rem;
    margin: 0 1rem;
    box-shadow: 0 -8px 32px rgba(16, 5, 48, 0.1);
}
        
.underline-yellow {
    border-bottom: 3px solid #f7c73b;
    padding-bottom: 1px;
}
.underline-pink {
    border-bottom: 3px solid var(--rosa-fuerte);
    padding-bottom: 1px;
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
            
    .btn-primary, .btn-secondary, .btn-success {
        padding: 14px 24px;
        font-size: 16px;
    }
            
    .sticky-header {
        width: 95%;
        margin: 0.5rem auto;
        top: 0.5rem;
    }
    .footer {
        margin: 0;
        border-radius: 0;
    }
}
