/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Anta', sans-serif;
}

/* Variables de color */
:root {
    --color-primary: #ff6b35;
    --color-secondary: rgb(9, 167, 240);
    --color-accent: #7b2cbf;
    --color-background: #f7fff7;
    --color-text: #2b2d42;
    --color-black-transparent: rgba(0, 0, 0, 0.651);
    --color-pinky: #ee156c;
}

/* Contenedor principal */
body {
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
    padding-top: 0;
    /* Espacio para el header fijo */
}

/* Contenedor */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Encabezado */
.header {
    background-color: transparent;
    /* Cambiado a transparente */
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
    /* Añadido para suavizar la transición */
    background-color: var(--color-black-transparent);
    box-shadow: 0 1px 3px var(--color-secondary),
        /* Sombra principal cian */
        0 0 20px rgba(0, 195, 255, 0.5),
        /* Efecto neón */
        0 0 40px rgba(0, 187, 255, 0.3);

}

/* Clase para cuando se hace scroll */
.header.scrolled {
    background-color: var(--color-black-transparent);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    flex: 0 0 auto;

}

.logo-img {
    max-height: 60px;
    width: auto;
    margin-left: 20px;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.3s ease;
    font-family: "Anta", sans-serif;
}

.nav-links a:hover {
    background: linear-gradient(to right, #ee156c, #5705e3);
    border-radius: 5px;
}

/* Menú Hamburguesa */
.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background-color: transparent;
}

.menu-icon .bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: 0.4s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Hero/Banner Principal */
.hero {
    background: url(../img/tv.jpg) no-repeat center center/cover;
    color: #fff;
    height: 100vh;
    /* Cambiado a 100vh para cubrir toda la altura de la ventana */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.7) 75%,
            rgba(0, 0, 0, 0.9) 90%,
            rgba(0, 0, 0, 1) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    margin-top: 120px;
    z-index: 2;
    position: relative;
}

.hero-content {
    flex: 1;
    padding: 0 20px;
    text-align: center;
}

.hero h1 {
    font-size: 90px;
    color: var(--color-background);
    text-shadow:
        2px 2px 0px var(--color-text),
        /* Sombra derecha-abajo */
        -2px 2px 0px var(--color-text),
        /* Sombra izquierda-abajo */
        2px -2px 0px var(--color-text),
        /* Sombra derecha-arriba */
        -2px -2px 0px var(--color-text);
    /* Sombra izquierda-arriba */
    margin-bottom: 40px;
    font-family: "Anta", sans-serif;

}

.glass {
    background: rgba(0, 151, 230, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 151, 230, 0.3);
    padding: 20px;
    color: white;
    text-align: center;
}

.glass h2 {
    margin-bottom: 10px;
}

.glass .hero-dis {
    margin-bottom: 50px;
}

.glass .btn {
    background-color: #0097e6;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.hero-dis {
    color: var(--color-background);
    text-shadow:
        2px 2px 0px var(--color-text),
        /* Sombra derecha-abajo */
        -2px 2px 0px var(--color-text),
        /* Sombra izquierda-abajo */
        2px -2px 0px var(--color-text),
        /* Sombra derecha-arriba */
        -2px -2px 0px var(--color-text);
    /* Sombra izquierda-arriba */
    font-size: 24px;
    margin-top: 50px;
    margin-bottom: 50px;
}

p {
    color: var(--color-background);
    font-family: "Anta", sans-serif;
}

.hero h2 {
    color: var(--color-background);
    font-size: 30px;
    text-shadow:
        2px 2px 0px var(--color-text),
        /* Sombra derecha-abajo */
        -2px 2px 0px var(--color-text),
        /* Sombra izquierda-abajo */
        2px -2px 0px var(--color-text),
        /* Sombra derecha-arriba */
        -2px -2px 0px var(--color-text);
    /* Sombra izquierda-arriba */
}

.hero .btn {
    background: linear-gradient(to right, #fe5196, #7c3aed);
    color: var(--color-background);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background: linear-gradient(to right, #ee156c, #5705e3);
}

/* Sección de Servicios */
.services {
    margin-top: -50px;
    padding-top: 100px;
    background-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            hsl(226deg 75% 8%) 10%,
            hsl(229deg 50% 9%) 20%,
            hsl(230deg 37% 9%) 30%,
            hsl(230deg 27% 10%) 40%,
            hsl(231deg 37% 12%) 50%,
            hsl(229deg 59% 16%) 60%,
            hsl(228deg 70% 19%) 70%,
            hsl(227deg 79% 21%) 80%,
            hsl(226deg 80% 21%) 90%,
            hsl(226deg 77% 20%) 100%);
    padding: 40px 0;
    text-align: center;
    margin-bottom: 0;
    /* Asegura que no haya margen inferior */
}

.services h2 {
    margin-bottom: 20px;
    font-size: 36px;
    background: linear-gradient(to right, #fe5196, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.pricing-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    /* Para que las cards se ajusten en pantallas pequeñas */
}

.card {
    background-color: #141c29;
    color: white;
    border-radius: 20px;
    padding: 20px;
    width: 350px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--color-secondary);
    transition: border 0.3s ease, transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.gradient {
    background: linear-gradient(to right, #fe5196, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            var(--color-secondary),
            var(--color-accent),
            transparent 30%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #141c29;
    border-radius: 16px;
    z-index: 0;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 4px 8px 12px var(--color-accent);
    border-color: transparent;
}

.card:hover::before {
    opacity: 1;
    animation: rotate 4s linear infinite;
}

.card>* {
    position: relative;
    z-index: 1;
}

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}


h2,
h3,
p {
    margin: 10px 10px;
    color: var(--color-background);
    font-family: "Anta", sans-serif;
}

.button {
    background: linear-gradient(to right, #fe5196, #7c3aed);
    color: white;
    padding: 10px 20px;
    border: none; /* No se necesita para un enlace, pero puedes dejarlo por consistencia */
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    margin-top: 20px;
    text-decoration: none; /* Quita el subrayado del enlace */
    display: inline-block; /* Hace que el enlace se comporte como un botón */
    transition: background 0.3s; /* Suaviza la transición del color de fondo */
}

.button:hover {
    background: linear-gradient(to right, #ee156c, #5705e3);
}


ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    text-align: left;
    padding: 5px 0;
}

.card ul li::before {
    content: '● ';
    color: var(--color-secondary);
}

/*Sección información*/

.movies-section {
    min-height: 100vh;
    background: linear-gradient(180deg, hsl(226deg 77% 20%), #4a0e78);
    width: 100%;
    padding: 40px 0;
    margin-top: 0;
    margin-bottom: 0;
}

.movies {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.movies h2 {
    font-size: 36px;
    text-align: center;
    color: var(--color-background);
    
}

.content-description {
    color: white;
    padding: 20px;
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.content-description ul li {
    text-align: center;
    padding: 5px 0;
    font-size: 16px;
    color: var(--color-background);
    font-family: "Anta", sans-serif;
}


/* Ajusta el estilo del Swiper si es necesario */
.swiper {
    width: 100%;
    max-width: 1000px;
    
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 250px;
    height: 375px;
    /* Ajusta esto según el aspecto que desees para tus carátulas */
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sección de Trabaja con Nosotros */
.work-with-us {
    padding: 40px 0;
    background:linear-gradient(360deg, hsl(265, 57%, 21%), #4a0e78); 
    text-align: center;
}

.work-with-us h2 {
    margin-bottom: 20px;
    font-size: 36px;
    color: var(--color-accent);
}

.reseller-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.reseller-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
    max-width: calc(33.333% - 20px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid var(--color-secondary);
}

.reseller-card h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

.reseller-card p {
    font-size: 16px;
    margin-bottom: 10px;
}

.reseller-card .btn,
.card .btn {
    background: linear-gradient(to right, #fe5196, #7c3aed);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.reseller-card .btn:hover,
.card .btn:hover {
    background-color: var(--color-primary);
}

.how-it-works {
    
    background: linear-gradient(360deg, #4a0e78, hsl(265, 57%, 21%));
    padding: 60px 0;
    color: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    background: linear-gradient(to right, #fe5196, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.device-slider .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 170px;
    background: rgba(255, 255, 255, 0.132); /* Fondo semi-transparente */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Borde ligero */
    border-radius: 10px; /* Bordes redondeados */
    backdrop-filter: blur(10px); /* Desenfoque de fondo */
    -webkit-backdrop-filter: blur(10px); /* Soporte para Safari */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.device-slider .swiper-slide img {
    width: 70px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 10px;
}

.devices-swiper .swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(8, 140, 210, 0.781);
}

.devices-swiper .swiper-slide i {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 36px;
}

.device-slider .swiper-slide span {
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
}

/* Ajustes para el contenedor del slider */
.device-slider {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 40px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
}

/* Asegúrate de que el Swiper tenga suficiente espacio entre slides */
.devices-swiper {
    padding: 20px 40px;
    overflow: hidden; 
}


.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 50px;
}

.feature {
    flex-basis: calc(20% - 40px);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
    
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--color-pinky);
}

.feature h3 {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 10px;
    color: var(--color-background);
}

.feature p {
    font-size: 14px;
    color: var(--color-background);
}

/* Sección de Contacto */
.contact {
    padding: 40px 0;
    background-color: #ffffff;
    text-align: center;
}

.contact h2 {
    margin-bottom: 20px;
    font-size: 36px;
    color: var(--color-accent);
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact button {
    background-color: var(--color-accent);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 20px auto;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

/* Pie de página */
.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    color: #333;
    text-decoration: none;
}

.social-icon i {
    font-size: 20px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.social-icon::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    transition: height 0.8s ease;
    z-index: 1;
}

.social-icon:hover::before {
    height: 100%;
}

.social-icon:hover i {
    color: #fff;
}

#facebook::before { background-color: #1877F2; }
#instagram::before { background-color: #E4405F; }
#whatsapp::before { background-color: #25D366; }

#facebook:hover { border-color: #1877F2; }
#instagram:hover { border-color: #E4405F; }
#whatsapp:hover { border-color: #25D366; }

.footer p {
    color: #000000;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-icon {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
        padding: 20px;
    }

    .nav-links.active li {
        margin: 10px 0;
    }

    .card {
        width: calc(50% - 20px);
        padding: 15px;
    }
    
    .card h2 {
        font-size: 1.5em;
    }
    
    .card h3 {
        font-size: 1.2em;
    }
    
    .card p, .card ul li {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .card {
        width: calc(100% - 20px);
    }
}

@media (max-width: 768px) {
    .reseller-card {
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .reseller-card {
        max-width: 100%;
    }
}


@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero .btn {
        display: block;
        width: 80%;
        margin: 20px auto 0;
    }

    .hero-content .glass {
        display: none;
    }
}



@media(max-width:780px) {

    .movies {
        padding: 30px;
    }
}

.swiper-container {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 210px;
    height: 350px;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .swiper-container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .swiper-slide {
        width: 200px;
        height: 300px;
        margin: 0 10px;
    }

    /* Ajuste del espacio entre slides */
    .swiper-wrapper {
        align-items: center;
    }

    /* Mejorar la visibilidad de las imágenes */
    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    /* Ajustar el tamaño de los botones de navegación si los tienes */
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    /* Ajustar la paginación si la tienes */
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}

/* Para pantallas aún más pequeñas */
@media (max-width: 480px) {
    .swiper-slide {
        width: 150px;
        height: 225px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    h2 {
        font-size: 1.8em;
    }
    
    h3 {
        font-size: 1.4em;
    }
    
    p {
        font-size: 1em;
    }
}

/* Mejoras para el slider de dispositivos */
.devices-swiper .swiper-slide {
    width: 150px;
    height: auto;
}

@media (max-width: 768px) {
    .devices-swiper .swiper-slide {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .devices-swiper .swiper-slide {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        width: 100%;
        max-width: 300px;
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    .feature {
        flex-basis: calc(33.333% - 40px);
    }
}

@media (max-width: 480px) {
    .feature {
        flex-basis: calc(50% - 40px);
    }
}