/* =========================
   NEXA STORE — ESTILOS
========================= */

:root {
    --black: #05070b;
    --black-2: #0a0d14;
    --black-3: #111722;
    --blue: #2563eb;
    --blue-light: #3b82f6;
    --white: #ffffff;
    --gray: #9ca3af;
    --border: rgba(255,255,255,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--black);
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 7, 11, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--white);
    text-shadow: 0 0 15px rgba(37,99,235,.8);
}

.navbar nav {
    display: flex;
    gap: 30px;
}

.navbar nav a {
    color: var(--gray);
    font-size: 14px;
    font-weight: bold;
    transition: .3s;
}

.navbar nav a:hover {
    color: var(--white);
}

.cart-button {
    padding: 11px 18px;
    border: 1px solid var(--blue);
    border-radius: 8px;
    color: var(--white) !important;
    box-shadow: 0 0 15px rgba(37,99,235,.25);
}

/* HERO */

.hero {
    min-height: 100vh;
    padding: 150px 7% 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    background:
        radial-gradient(circle at 80% 40%, rgba(37,99,235,.22), transparent 35%),
        var(--black);
}

.hero-label {
    color: var(--blue-light);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 85px);
    line-height: .95;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--blue-light);
    text-shadow: 0 0 25px rgba(37,99,235,.7);
}

.hero p {
    max-width: 550px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-button {
    display: inline-block;
    padding: 15px 25px;
    background: var(--blue);
    border-radius: 8px;
    font-weight: bold;
    transition: .3s;
    box-shadow: 0 0 20px rgba(37,99,235,.35);
}

.hero-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(37,99,235,.6);
}

/* PRODUCTO DESTACADO */

.hero-product {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: var(--blue);
    filter: blur(100px);
    opacity: .25;
}

.product-card {
    position: relative;
    width: 330px;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(145deg, #111722, #080b11);
    text-align: center;
    transform: rotate(-3deg);
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    transition: .4s;
}

.product-card:hover {
    transform: rotate(0deg) translateY(-10px);
}

.product-image {
    height: 220px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    background: linear-gradient(135deg, #172554, #0f172a);
    margin-bottom: 25px;
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.product-card p {
    color: var(--gray);
    margin-bottom: 15px;
}

.price {
    font-size: 25px;
    font-weight: bold;
}

/* SECCIONES */

.section {
    padding: 100px 7%;
}

.section-label {
    color: var(--blue-light);
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: bold;
    margin-bottom: 15px;
}

.section h2 {
    font-size: clamp(35px, 5vw, 60px);
    margin-bottom: 50px;
}

/* PRODUCTOS */

.products {
    background: var(--black-2);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.shop-card {
    background: var(--black-3);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: .35s;
}

.shop-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37,99,235,.6);
    box-shadow: 0 15px 40px rgba(0,0,0,.4);
}

.shop-image {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 90px;
    background: linear-gradient(135deg, #111827, #172554);
}

.shop-content {
    padding: 25px;
}

.shop-content h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.shop-content p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.shop-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop-price {
    font-size: 20px;
    font-weight: bold;
}

.buy-button {
    border: none;
    cursor: pointer;
    padding: 11px 16px;
    border-radius: 7px;
    background: var(--blue);
    color: white;
    font-weight: bold;
    transition: .3s;
}

.buy-button:hover {
    background: var(--blue-light);
    transform: scale(1.05);
}

/* BENEFICIOS */

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit {
    padding: 30px;
    background: var(--black-2);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.benefit span {
    font-size: 30px;
    display: block;
    margin-bottom: 15px;
}

.benefit h3 {
    margin-bottom: 10px;
}

.benefit p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

/* CTA */

.cta {
    text-align: center;
    background:
        radial-gradient(circle, rgba(37,99,235,.18), transparent 50%),
        var(--black);
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    color: var(--gray);
    margin-bottom: 30px;
}

/* FOOTER */

footer {
    padding: 35px 7%;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--gray);
    font-size: 13px;
}

/* ANIMACIONES */

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: .7s ease;
}

.hidden.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .navbar {
        padding: 0 20px;
    }

    .navbar nav {
        display: none;
    }

    .hero {
        padding: 130px 20px 60px;
    }

    .section {
        padding: 75px 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .product-card {
        width: 100%;
    }
}
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hidden.visible {
    opacity: 1;
    transform: translateY(0);
}