
/*===================================
TIENDA FITNESS
Landing
Autor: Agus Pascal para LandingPro
===================================*/

/*============================
GOOGLE FONTS
=============================*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

:root {
    --negro: #000;
    --gris-oscuro: #111;
    --gris-medio: #2C2C2C;
    --rojo: #FF3B3B;
    --rojo-hover: #d62b2b;
    --blanco: #fff;
    --texto-secundario: #ddd;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background: var(--negro);
    color: var(--blanco);
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

/* BOTON */

.boton {
    display: inline-block;
    background: var(--rojo);
    color: var(--blanco);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--rojo);
}

.boton:hover {
    background: transparent;
    color: var(--rojo);
    transform: translateY(-2px);
}

/* NAV */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

nav a:hover {
    color: #FF3B3B;
}

/* HERO */

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px 20px;
    position: relative;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #111 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 59, 59, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 59, 59, 0.05) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-5%, -5%); }
}

.hero-texto {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.logo {
    width: 280px;
    margin: 0 auto 30px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 35px;
    color: var(--texto-secundario);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* BENEFICIOS */

.beneficios {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 100px 10%;
    background: var(--gris-medio);
}

.beneficio {
    flex: 1;
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.beneficio:hover {
    border-color: rgba(255, 59, 59, 0.2);
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-5px);
}

.beneficio h3 {
    margin-bottom: 15px;
    color: var(--rojo);
    font-size: 22px;
    font-weight: 700;
}

.beneficio p {
    color: var(--texto-secundario);
    font-size: 16px;
}

/* PRODUCTOS */

#productos {
    padding: 100px 15%;
}

#productos h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
}

.contenedor-productos {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.producto {
    background: var(--gris-medio);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 35px;
    transition: all 0.4s ease;
    flex: 1;
    max-width: 350px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.producto:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 59, 59, 0.3);
    box-shadow: 0 20px 60px rgba(255, 59, 59, 0.1);
}

.producto img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.producto:hover img {
    transform: scale(1.05);
}

.producto h3 {
    margin: 20px 0 10px;
    font-size: 18px;
    font-weight: 600;
}

.precio {
    font-size: 28px;
    font-weight: 800;
    color: var(--rojo);
    margin-bottom: 20px;
}

.producto .boton {
    padding: 12px 30px;
    font-size: 14px;
}

/* COMO FUNCIONA */

.funciona {
    background: var(--gris-oscuro);
    padding: 100px 10%;
    text-align: center;
}

.funciona h2 {
    margin-bottom: 60px;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
}

.pasos {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.paso {
    flex: 1;
    max-width: 250px;
}

.paso span {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--rojo);
    font-size: 32px;
    font-weight: 800;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 59, 59, 0.3);
}

.paso:hover span {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(255, 59, 59, 0.4);
}

.paso h3 {
    font-size: 18px;
    font-weight: 600;
}

/* TESTIMONIOS */

.testimonios {
    padding: 100px 10%;
}

.testimonios h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
}

.contenedor-testimonios {
    display: flex;
    gap: 30px;
}

blockquote {
    background: var(--gris-medio);
    padding: 40px 35px;
    border-left: 4px solid var(--rojo);
    border-radius: 10px;
    flex: 1;
    font-size: 18px;
    font-style: italic;
    line-height: 1.7;
    color: var(--texto-secundario);
    transition: all 0.3s ease;
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 60px;
    color: var(--rojo);
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.3;
    font-style: normal;
    line-height: 1;
}

blockquote:hover {
    border-left-color: var(--blanco);
    transform: translateY(-3px);
}

/* CTA */

.cta {
    background: linear-gradient(135deg, var(--rojo) 0%, #cc2e2e 100%);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta h2 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
}

.cta .boton {
    background: var(--negro);
    border-color: var(--negro);
    position: relative;
    z-index: 1;
    font-size: 16px;
    padding: 18px 45px;
}

.cta .boton:hover {
    background: transparent;
    color: var(--negro);
    border-color: var(--negro);
}

/* HAMBURGUESA */

.hamburguesa {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburguesa span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburguesa span + span {
    margin-top: 6px;
}

/* MODAL PRUEBA */

.modal-prueba {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-prueba.visible {
    display: flex;
}

.modal-prueba-contenido {
    background: var(--gris-medio);
    border: 1px solid rgba(255, 59, 59, 0.3);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.modal-prueba-contenido p {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--blanco);
}

.modal-prueba-cerrar {
    background: var(--rojo);
    color: var(--blanco);
    border: none;
    padding: 12px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-prueba-cerrar:hover {
    background: var(--rojo-hover);
    transform: translateY(-2px);
}

/* BOTON FLOTANTE */

#btn-subir {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--rojo);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 59, 59, 0.3);
}

#btn-subir.visible {
    opacity: 1;
    visibility: visible;
}

#btn-subir:hover {
    background: var(--rojo-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 59, 59, 0.4);
}

/* RESPONSIVE */

@media (max-width: 768px) {
    nav {
        padding: 15px 5%;
        justify-content: center;
    }

    .hamburguesa {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        transition: right 0.4s ease;
        z-index: 1000;
    }

    nav.active ul {
        right: 0;
    }

    nav a {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .beneficios,
    .contenedor-productos,
    .pasos,
    .contenedor-testimonios {
        flex-direction: column;
        align-items: center;
    }

    .beneficio {
        max-width: 400px;
    }

    .producto {
        max-width: 100%;
    }

    .paso {
        max-width: 100%;
    }

    .cta h2 {
        font-size: 38px;
    }

    #productos h2,
    .funciona h2,
    .testimonios h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .beneficios,
    #productos,
    .funciona,
    .testimonios {
        padding: 60px 5%;
    }

    .cta {
        padding: 80px 20px;
    }
}
