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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .ventas-banner {
       
        color: #333;
        padding: 18px 40px;
        text-align: center;
        font-size: 13px;
        font-weight: 400;
        font-style: italic;
        background-color: #fff;
        border-bottom: 1px solid #ebebeb;
    
    }
    
    .ventas-banner__content p {
        margin: 0;
        color: #656363;
        line-height: 18px;
    }
    
    .top-banner {
        background: #000;
        color: #fff;
        height: 35px;
        overflow: hidden;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        display: flex;
        align-items: center;
    }

    .top-banner__content {
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .top-banner__text {
        display: flex;
        animation: slide 12s linear infinite;
        white-space: nowrap;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.3px;
        width: max-content;
    }

    .top-banner__text span {
        margin-right: 30px;
        display: inline-block;
        flex-shrink: 0;
    }

    @keyframes slide {
        0% {
            transform: translateX(100vw);
        }
        100% {
            transform: translateX(-100%);
        }
    }

    .header {
        background: #fff;
        position: fixed;
        top: 35px;
        left: 0;
        right: 0;
        z-index: 1000;
        padding-top: 30px;
    }

    .nav__container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 120px;
        position: relative;
    }

    .nav__logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo__image {
        height: 130px;
        min-height: 110px;
        width: auto;
        object-fit: contain;
        transition: all 0.3s ease;
    }

    .logo__image.scrolled {
        height: 100px;
        min-height: 80px;
    }

    .nav__toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
        position: absolute;
        right: 20px;
    }

    .nav__toggle-line {
        width: 25px;
        height: 3px;
        background: #000;
        transition: 0.3s;
    }

    .main {
        max-width: 100%;
        margin: 0 auto;
        margin-top: 217px;
    }

    .seccion-video {
        width: 100%;
        padding: 0;
        background: #fff;
        margin: 0;
        position: relative;
        overflow: hidden;
    }

    .video-principal {
        width: 100%;
        height: auto;
        display: block;
        clip-path: polygon(
            30% 0%, 70% 0%, 70% 30%, 100% 30%, 100% 70%, 70% 70%, 70% 100%, 30% 100%, 30% 70%, 0% 70%, 0% 30%, 30% 30%
        );
    }

    .seccion-producto {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        padding: 20px 0;
        min-height: 350px;
        text-align: center;
    }
    
    .seccion-producto:first-of-type {
        padding-top: 0;
    }

    .imagen-producto {
        position: relative;
        background: #fff;
        border-radius: 15px;
        padding: 20px 20px 0px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 200px;
        margin-bottom: 20px;
    }

    .badge-precio {
        position: absolute;
        top: 90px;
        background: #000;
        color: #fff;
        padding: 8px 12px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 600;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        animation: pulso-precio 2s infinite;
    }

    .badge-precio--derecha {
        right: 20px;
    }

    .badge-precio--izquierda {
        left: 20px;
    }

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

    .img-producto {
        max-width: 80%;
        height: auto;
        object-fit: contain;
    }

    .contenido-producto {
        padding: 0px 60px;
    }

    .titulo-producto {
        font-size: 14px;
        font-weight: 600;
        color: #5c5c5c;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .descripcion-producto {
        font-size: 16px;
        color: #8d8d8d;
        line-height: 1.2;
        margin-bottom: 25px;
        text-align: center;
    }

    .btn {
        display: inline-block;
        padding: 12px 30px;
        background: #000;
        color: #fff;
        text-decoration: none;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
        width: 100%;
        max-width: 200px;
    }

    .btn--primary:hover {
        background: #333;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .footer {
        background: #000;
        margin-top: 40px;
        padding: 40px 0 20px;
    }

    .footer__content {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
        text-align: center;
    }

    .footer__brand h3 {
        font-size: 20px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .footer__brand p {
        color: #ccc;
        font-size: 12px;
    }

    .footer__contact h4,
    .footer__social h4 {
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        margin-bottom: 15px;
    }

    .footer__contact p {
        color: #ccc;
        margin-bottom: 8px;
        font-size: 9px;
    }

    .social__links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }

    .social__link {
        color: #ccc;
        text-decoration: none;
        font-size: 12px;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .social__link:hover {
        color: #fff;
        transform: translateY(-2px);
    }

    .social__link svg {
        width: 32px;
        height: 32px;
        transition: all 0.3s ease;
    }

    .social__link:hover svg {
        transform: scale(1.1);
    }

    .footer__bottom {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid #333;
        color: #ccc;
        font-size: 10px;
    }
}

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

.imagen-producto:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .descripcion-producto {
        color: #000;
    }
    
    .footer__contact p,
    .footer__brand p {
        color: #000;
    }
}

/* Mobile Styles - Hide desktop elements */
.desktop-only-container {
    display: none;
}

/* Desktop Styles */
@media (min-width: 769px) {
    /* Hide mobile elements */
    .top-banner,
    .header,
    .main,
    .footer {
        display: none;
    }
    
    /* Show desktop elements */
    .desktop-only-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
    }
    
    .desktop-only-logo-container {
        text-align: center;
    }
    
    .desktop-only-logo-image {
        max-width: 300px;
        height: auto;
        margin-bottom: 30px;
    }
    
    .desktop-only-message {
        font-size: 10px;
        color: #666;
        margin: 0 0 20px 0;
        font-weight: 100;
    }
    
    .desktop-only-social-links {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    
    .desktop-only-social-link {
        color: #666;
        text-decoration: none;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #f5f5f5;
        transition: all 0.3s ease;
    }
    
    .desktop-only-social-link:hover {
        color: #007bff;
        background: #e3f2fd;
        transform: translateY(-2px);
    }
    
    .desktop-only-social-link svg {
        width: 20px;
        height: 20px;
    }
}

/* WhatsApp Floating Button - Mobile Only */
@media (max-width: 768px) {
    .whatsapp-float {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        display: block;
    }
    
    .whatsapp-float__link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        background: #000;
        border-radius: 50%;
        color: #fff;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        transition: all 0.3s ease;
        animation: pulse 2s infinite;
    }
    
    .whatsapp-float__link:hover {
        background: #333;
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    }
    
    .whatsapp-float__link svg {
        width: 28px;
        height: 28px;
    }
    
    @keyframes pulse {
        0% {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        }
        50% {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 10px rgba(0, 0, 0, 0.1);
        }
        100% {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        }
    }
}

/* Hide WhatsApp float on desktop */
@media (min-width: 769px) {
    .whatsapp-float {
        display: none;
    }
    
    .seccion-video {
        display: none;
    }
}

/* Silicon Case Three Images Layout */
@media (max-width: 768px) {
    .seccion-silicon-case {
        overflow: hidden;
    }
    
    .silicon-case-container {
        position: relative;
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .silicon-case-images {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        perspective: 1000px;
        transform-style: preserve-3d;
    }
    
    .silicon-case-main {
        position: relative;
        z-index: 3;
        max-width: 60%;
        height: auto;
        object-fit: contain;
        transition: all 1s ease-in-out;
        transform: translateZ(0);
    }
    
    .silicon-case-side {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 47%;
        height: auto;
        object-fit: contain;
        opacity: 0;
        transition: all 1s ease-in-out;
        z-index: 1;
    }
    
    /* Estados cuando se activa el scroll */
    
    .silicon-case-left.scroll-visible {
        opacity: 1;
        left: 28%;
        transform: translate(-50%, -50%) translateZ(-20px) scale(1);
        z-index: 1;
    }
    
    .silicon-case-right.scroll-visible {
        opacity: 1;
        left: 75%;
        transform: translate(-50%, -50%) translateZ(-20px) scale(1);
        z-index: 1;
    }
}

/* Battery Pack Scroll Effect */
@media (max-width: 768px) {
    .seccion-battery-pack {
        overflow: hidden;
    }
    
    .battery-pack-container {
        position: relative;
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .battery-pack-images {
        position: relative;
        width: 100%;
        height: 95%;
        display: flex;
        align-items: center;
        justify-content: center;
        perspective: 1000px;
        transform-style: preserve-3d;
    }
    
    .battery-pack-main {
        position: absolute;
        top: 50%;
        left: 60%;
        transform: translate(-50%, -50%);
        z-index: 1;
        max-width: 95%;
        height: auto;
        object-fit: contain;
        transition: all 1s ease-in-out;
        transform: translate(-50%, -50%) translateZ(-20px);
    }
    
    .battery-pack-side {
        position: absolute;
        top: 45%;
        left: 46%;
        transform: translate(-50%, -50%);
        max-width: 85%;
        height: auto;
        object-fit: contain;
        opacity: 1;
        transition: all 1s ease-in-out;
        z-index: 3;
    }
    
    /* Estados cuando se activa el scroll */
    .battery-pack-main.scroll-active {
        left: 50%;
        transform: translate(-50%, -50%) translateZ(-20px) scale(1);
    }
    
    .battery-pack-side.scroll-visible {
        opacity: 1;
        left: 50%;
        transform: translate(-50%, -50%) translateZ(0) scale(1);
        z-index: 3;
    }
}