/* Overlay visual para product-card */
.product-card {
    position: relative;
    cursor: pointer;
}

.product-card .product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
    pointer-events: none;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
    pointer-events: auto;
}

.product-card .product-card-overlay .play-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Modal de video para productos */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    background: #181818;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 0;
    max-width: 800px;
    width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.video-modal-iframe-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    position: relative;
}

.video-modal-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: #ff4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(120deg, #6a3bc2 0%, #e94e1b 100%);
    color: #fff;
    min-height: 100vh;
}

body .hero {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    /*background: linear-gradient(120deg, #6a3bc2 0%, #e94e1b 100%);*/
    color: #fff;
    /*min-height: 100vh;*/
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 48px 0 48px;
}


.navbar-sticky {
    position: sticky;
    top: 0;
    background: #853f9e;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.3s, box-shadow 0.3s;
}


.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.img-logo {
    width: 200px;
}

.join-btn {
    background: #ff6a33;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.join-btn:hover {
    background: #e94e1b;
}

.hero {
    /*display: flex;*/
    align-items: center;
    justify-content: space-between;
    padding: 48px;
    gap: 40px;
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
}

.hero-content {
    max-width: 90%;
    margin: 0px auto;
    z-index: 0;
    background-image: url("../assets/images/reclaim_web.png");
    background-size: cover;
    /* Asegura que la imagen cubra todo el contenedor */
    background-position: center;
    /* Centra la imagen dentro del contenedor */
    background-repeat: no-repeat;
    /* Evita que la imagen se repita */
    height: 500px;

    /* Sombra para dar profundidad */
    display: flex;
    /* Flexbox para alinear contenido interno */
    align-items: center;
    /* Centra verticalmente el contenido */
    justify-content: center;
    /* Centra horizontalmente el contenido */
    color: #fff;
    /* Texto blanco para contraste */
    text-align: center;
    /* Espaciado interno */
    transition: all 0.3s ease;
    /* Transiciones suaves */
}

/* Ajustes para pantallas grandes */
@media (min-width: 1200px) {
    .hero-content {
        height: 600px;
        /* Aumenta la altura en pantallas grandes */
        background-size: contain;
        /* Ajusta la imagen para que no se recorte */
    }
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 1000px) {
    .hero-content {
        /* Reduce la altura en pantallas pequeñas */
        background-size: contain;
        /* Mantén la imagen cubriendo el contenedor */
        margin: 20px auto;
        /* Reduce el margen */
    }
}


@media (max-width: 800px) {
    .hero-content {
        background-image: none;
        height: 900px;
    }


}

.hero-mobile {
    display: none;
}

@media (max-width: 800px) {
    .hero-mobile {
        display: block;
        margin-top: 150px;
        padding: 30px;
    }
}

.hero-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 2px;
}

.reclaim-word {
    font-size: 16vw;
    font-weight: 900;
    letter-spacing: 8px;
    margin: 0 0 12px 0;
    line-height: 1;
}

.hero-subtitle {
    font-size: 2.6rem;
    margin-bottom: 32px;
    letter-spacing: 2px;
    display: flex;
    gap: 42px;
}

.span-width-img {
    width: 500px;
}

@media (max-width: 1700px) {
    .hero-subtitle {
        font-size: 1.6rem;
    }
}

@media (max-width: 1200px) {
    .span-width-img {
        width: 300px;
    }
}

@media (max-width: 1200px) and (min-width: 1000px) {
    .hero-image {
        margin-right: 200px !important;
    }
}

@media (max-width: 1100px) {
    .hero-image {
        display: none !important;
    }

    .hero-image-center {
        display: flex !important;
    }

    .hero-image-center img {
        max-width: 90%;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        max-width: 80vw;
        margin-top: 32px;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-image-center {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .hero-subtitle {
        font-size: 0.8rem;
    }

    .reclaim-word {
        font-size: 12vw;
    }

    .span-width-img {
        width: 1px;
        display: none;
    }

    .hero-image-center {
        padding: 15px;
    }

    .hero-image-center img {
        width: 250px;
    }

    .join-btn-text {
        display: none;
    }

    .join-btn {
        padding: 14px 16px;
        min-width: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.features {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;
    margin: 15px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.feature-icon {
    font-size: 2rem;
    margin-top: 2px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: 1.1rem;
}

.feature-desc {
    font-size: 1rem;
    color: #e0e0e0;
}

.hero-image {
    max-width: 35vw;
    min-width: 260px;
    align-self: flex-end;
    z-index: 1;
    position: absolute;
    margin-right: 450px;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
}

.hero-image-center {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-image-center img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    width: 250px;
}

/* Language Toggle Styles */
.language-toggle {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 40px;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: #ff6a33;
    color: #fff;
}

@media (max-width: 768px) {
    .language-toggle {
        order: -1;
    }
}

@media (max-width: 600px) {
    .img-logo {
        width: 100px;
    }

    .join-btn-text {
        display: none;
    }

    .join-btn {
        padding: 5px 10px;
        min-width: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 500px) {
    .lang-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
        min-width: 35px;
    }
}

@media (max-width: 400px) {
    .navbar {
        padding: 16px 24px 0 24px;
    }

    .img-logo {
        width: 120px;
    }

    /* Ecosystem image responsive rule */
    img[src="./assets/images/Grupo72.png"] {
        width: 200px !important;
    }
}