/* ==================================================
   GLOBAL INNOVISION SYSTEMS
   CSS PROFESIONAL OPTIMIZADO Y RESPONSIVE
================================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Inter,Segoe UI,sans-serif;
    background:#050816;
    color:#fff;
    overflow-x:hidden;
    width:100%;
}

/* BACKGROUND */

#bg{
    position:fixed;
    inset:0;
    z-index:-2;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;
    background:
        radial-gradient(circle at 20% 20%,rgba(79,70,229,.25),transparent 30%),
        radial-gradient(circle at 80% 70%,rgba(6,182,212,.20),transparent 35%),
        radial-gradient(circle at 50% 50%,rgba(255,255,255,.04),transparent 60%);
    filter:blur(60px);
}

/* NAVBAR */

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

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:1.2rem;
    font-weight:700;
    letter-spacing:1px;
}

.logo img{
    width:60px;
    height:60px;
    object-fit:contain;
}

.menu{
    display:flex;
    gap:30px;
}

.menu a{
    color:#d8d8d8;
    text-decoration:none;
    transition:.3s;
}

.menu a:hover{
    color:#fff;
}

.hamburger{
    display:none;
    flex-direction:column;
    gap:6px;
    cursor:pointer;
}

.hamburger span{
    width:28px;
    height:3px;
    background:#fff;
    transition:.3s;
}

/* HERO */

.hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:120px 20px 60px;
}

.hero-card{
    width:100%;
    max-width:1200px;
    padding:80px;
    border-radius:35px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(25px);
    box-shadow:0 15px 60px rgba(0,0,0,.35);
}

.badge{
    display:inline-flex;
    padding:10px 18px;
    border-radius:50px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12);
    margin-bottom:25px;
}

.hero h1{
    font-size:5rem;
    line-height:1.05;
}

.gradient{
    background:linear-gradient(135deg,#7c3aed,#06b6d4);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    margin-top:25px;
    max-width:700px;
    color:#c6c6c6;
    line-height:1.8;
    font-size:1.15rem;
}

.buttons{
    margin-top:40px;
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:16px 32px;
    border-radius:14px;
    text-decoration:none;
    transition:.3s;
}

.primary{
    color:#fff;
    background:linear-gradient(135deg,#7c3aed,#06b6d4);
}

.secondary{
    color:#fff;
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.03);
}

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

/* PRODUCTS */

.products{
    padding:100px 8%;
}

.section-title{
    text-align:center;
    font-size:3rem;
    margin-bottom:60px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.card{
    padding:35px;
    border-radius:28px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(20px);
}

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

.card img,
.hero-card img{
    max-width:100%;
    height:auto;
}

/* STATS */

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    padding:80px 8%;
}

.stat{
    text-align:center;
    padding:40px;
    border-radius:25px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
}

/* FOOTER */

footer{
    padding:50px 20px;
    text-align:center;
}

/* REDES */

.redes-sociales{
    display:flex;
    justify-content:center;
    gap:20px;
    list-style:none;
}

/* WHATSAPP */

.boton-whatsapp{
    position:fixed;
    right:20px;
    bottom:20px;
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    background:#25D366;
}

/* RESPONSIVE */

@media (max-width:992px){

    .hero-card{
        padding:50px 30px;
    }

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

@media (max-width:768px){

    nav{
        padding:15px;
    }

    .logo{
        font-size:.9rem;
    }

    .logo img{
        width:45px;
        height:45px;
    }

    .menu{
        position:fixed;
        top:80px;
        left:15px;
        right:15px;
        flex-direction:column;
        align-items:center;
        padding:25px;
        background:rgba(5,8,22,.98);
        border-radius:15px;
        opacity:0;
        transform:translateY(-20px);
        pointer-events:none;
        transition:.3s;
    }

    .menu.active{
        opacity:1;
        transform:translateY(0);
        pointer-events:auto;
    }

    .hamburger{
        display:flex;
    }

    .hero-card{
        padding:30px 20px;
    }

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

    .buttons{
        flex-direction:column;
    }

    .buttons .btn{
        width:100%;
    }

    .section-title{
        font-size:2rem;
    }
}

@media (max-width:480px){

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

    .hero-card{
        padding:20px 15px;
    }

    .badge{
        font-size:.8rem;
    }
}

/* ICONO HAMBURGUESA */

.hamburger.active span:nth-child(1){
    transform:rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:rotate(-45deg) translate(6px,-6px);
}
