/* =========================================
RESET
========================================= */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins', sans-serif;
    background:#050816;
    color:white;
    overflow-x:hidden;
}

/* =========================================
NAVBAR
========================================= */

.navbar{
    width:100%;
    position:fixed;
    top:0;
    left:0;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 6%;

    background:rgba(0,0,0,0.55);
    backdrop-filter:blur(12px);

    z-index:999;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.nav-logo{
    font-size:1.6rem;
    font-weight:700;
    color:#00ffcc;
    font-family:'Orbitron', sans-serif;
}

.nav-logo span{
    color:#ffcc00;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:25px;
}

.nav-links a{
    text-decoration:none;
    color:white;
    font-weight:500;
    transition:0.3s;
}

.nav-links a:hover{
    color:#00ffcc;
}

.nav-buttons{
    display:flex;
    gap:15px;
}

.btn-login,
.btn-register{
    padding:10px 20px;
    border-radius:30px;
    text-decoration:none;
    font-size:0.9rem;
    font-weight:600;
    transition:0.3s;
}

.btn-login{
    border:1px solid #00ffcc;
    color:#00ffcc;
}

.btn-login:hover{
    background:#00ffcc;
    color:#00111f;
}

.btn-register{
    background:linear-gradient(90deg,#00ffcc,#00bfff);
    color:#00111f;
}

.btn-register:hover{
    transform:scale(1.05);
}

/* =========================================
HERO
========================================= */

.hero{
    min-height:100vh;
    width:100%;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;

    padding:140px 20px 80px;

    background:
    linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
    url("https://images.unsplash.com/photo-1550547660-d9450f859349?q=80&w=1400");

    background-size:cover;
    background-position:center;
}

/* =========================================
LOGO VIDEO
========================================= */

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

.logo-video{
    width:170px;
    max-width:75%;

    border-radius:20px;

    margin-bottom:25px;

    box-shadow:
    0 0 20px #00ffcc,
    0 0 40px rgba(0,255,204,0.3);

    animation:float 4s ease-in-out infinite;
}

@keyframes float{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0);
    }

}

/* =========================================
TEXTOS HERO
========================================= */

.hero h1{
    font-size:clamp(2.2rem,6vw,5.5rem);
    color:#00ffcc;

    text-shadow:
    0 0 15px #00ffcc;

    font-family:'Orbitron', sans-serif;
}

.hero h1 span{
    color:#ffcc00;
    text-shadow:0 0 15px #ffcc00;
}

.hero-subtitle{
    margin-top:15px;
    font-size:1.2rem;
    color:#ffcc00;
}

.hero-text{
    max-width:760px;
    margin-top:20px;

    font-size:1.08rem;
    line-height:1.9;

    color:#d6d6d6;
}

/* =========================================
BOTONES
========================================= */

.hero-buttons{
    margin-top:35px;

    display:flex;
    gap:18px;
    flex-wrap:wrap;
    justify-content:center;
}

.btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;

    padding:15px 30px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    transition:0.3s ease;
}

.btn-primary{
    background:linear-gradient(90deg,#00ffcc,#00bfff);

    color:#00111f;

    box-shadow:0 0 20px #00ffcc;
}

.btn-primary:hover{
    transform:translateY(-4px);
}

.btn-secondary{
    border:2px solid #ffcc00;
    color:#ffcc00;
}

.btn-secondary:hover{
    background:#ffcc00;
    color:#111;
}

/* =========================================
PRODUCTOS
========================================= */

.products{
    padding:100px 20px;
    max-width:1200px;
    margin:auto;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:clamp(2rem,5vw,3rem);

    color:#00ffcc;

    font-family:'Orbitron', sans-serif;

    margin-bottom:15px;
}

.section-title p{
    color:#d2d2d2;
    max-width:700px;
    margin:auto;
    line-height:1.7;
}

/* =========================================
GRID
========================================= */

.product-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

/* =========================================
CARDS
========================================= */

.card{
    background:rgba(255,255,255,0.05);

    border-radius:25px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,0.08);

    transition:0.3s ease;

    display:flex;
    flex-direction:column;
}

.card:hover{
    transform:translateY(-10px);

    box-shadow:
    0 0 25px rgba(0,255,204,0.2);
}

.card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.card-content{
    padding:25px;

    display:flex;
    flex-direction:column;

    flex:1;
}

.card h3{
    color:#ffcc00;
    margin-bottom:15px;
    font-size:1.5rem;
}

.card p{
    color:#d6d6d6;
    line-height:1.7;
}

.price{
    margin-top:18px;

    color:#00ffcc;

    font-size:1.3rem;
    font-weight:bold;
}

.card .btn{
    margin-top:20px;
    width:100%;
}

.stock-disponible,
.stock-agotado{
    display:block;
    margin-top:10px;
    font-size:0.9rem;
    font-weight:600;
}

.stock-disponible{
    color:#7cff6b;
}

.stock-agotado,
.estado-error{
    color:#ff7777;
}

.btn-agotado{
    background:#4b5563;
    color:#d1d5db;
    cursor:not-allowed;
    box-shadow:none;
}

.estado-catalogo{
    grid-column:1 / -1;
    padding:35px;
    text-align:center;
    color:#d6d6d6;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:20px;
}

/* =========================================
BENEFITS
========================================= */

.benefits{
    padding:100px 20px;
    background:#07101f;
}

.benefits-grid{
    max-width:1200px;
    margin:auto;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:25px;
}

.benefit-card{
    background:rgba(255,255,255,0.05);

    padding:30px;

    border-radius:20px;

    border:1px solid rgba(255,255,255,0.08);

    text-align:center;

    transition:0.3s;
}

.benefit-card:hover{
    transform:translateY(-8px);
}

.benefit-card h3{
    color:#ffcc00;
    margin-bottom:15px;
}

/* =========================================
NEWSLETTER
========================================= */

.newsletter{
    padding:100px 20px;
    text-align:center;
}

.newsletter-content{
    max-width:700px;
    margin:auto;
}

.newsletter h2{
    font-size:2.2rem;
    color:#00ffcc;
    margin-bottom:20px;
}

.newsletter p{
    color:#d0d0d0;
    margin-bottom:30px;
}

.newsletter-form{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    justify-content:center;
}

.newsletter-form input{
    padding:15px;
    width:280px;

    border:none;
    border-radius:12px;

    outline:none;
}

.newsletter-form button{
    padding:15px 30px;

    border:none;
    border-radius:12px;

    background:linear-gradient(90deg,#00ffcc,#00bfff);

    font-weight:bold;

    cursor:pointer;
}

/* =========================================
CTA
========================================= */

.cta{
    padding:90px 20px;

    text-align:center;

    background:
    linear-gradient(135deg,#00111f,#00263f);
}

.cta h2{
    font-size:clamp(2rem,5vw,4rem);
    margin-bottom:20px;
    color:#00ffcc;
}

.cta p{
    max-width:700px;
    margin:auto auto 30px;
    line-height:1.8;
    color:#d7d7d7;
}

/* =========================================
INFO
========================================= */

.info{
    padding:100px 20px;

    max-width:1200px;
    margin:auto;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:25px;
}

.info-box{
    background:rgba(255,255,255,0.05);

    border-radius:20px;

    padding:30px;

    text-align:center;

    border:1px solid rgba(255,255,255,0.08);
}

.info-box h3{
    color:#ffcc00;
    margin-bottom:15px;
}

/* =========================================
FOOTER
========================================= */

footer{
    padding:35px 20px;

    text-align:center;

    background:#03060f;

    border-top:1px solid rgba(255,255,255,0.08);
}

.footer-content h3{
    color:#00ffcc;
    margin-bottom:10px;
}

/* =========================================
RESPONSIVE TABLET
========================================= */

@media(max-width:992px){

    .navbar{
        flex-direction:column;
        gap:15px;
        padding:15px 20px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .nav-buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

    .hero{
        padding-top:240px;
    }

}

/* =========================================
RESPONSIVE CELULAR
========================================= */

@media(max-width:768px){

    .navbar{

        padding:12px 15px;

        gap:12px;
    }

    .nav-logo{
        font-size:1.3rem;
    }

    .nav-links{

        gap:12px;

        font-size:14px;

        justify-content:center;

        flex-wrap:wrap;
    }

    .nav-buttons{

        width:100%;

        display:flex;

        justify-content:center;

        gap:10px;

        flex-wrap:wrap;
    }

    .btn-login,
    .btn-register{

        padding:8px 16px;

        font-size:13px;
    }

    /* 🔥 AQUI SE SOLUCIONA EL LOGO TAPADO */

    .hero{

        padding:
        280px 20px 80px;
    }

    .hero h1{
        font-size:2.4rem;
    }

    .hero-text{
        font-size:1rem;
        line-height:1.8;
    }

    .logo-video{
        width:135px;
        margin-top:10px;
    }

    .btn{
        width:100%;
        max-width:320px;
    }

    .newsletter-form{
        flex-direction:column;
        align-items:center;
    }

    .newsletter-form input,
    .newsletter-form button{

        width:100%;
        max-width:320px;
    }

}

/* =========================================
CELULARES PEQUEÑOS
========================================= */

@media(max-width:480px){

    .hero{

        padding:
        300px 15px 70px;
    }

    .hero h1{
        font-size:1.9rem;
    }

    .hero-text{
        font-size:0.95rem;
    }

    .logo-video{
        width:115px;
    }

    .nav-links{
        gap:10px;
        font-size:13px;
    }

}

