/* ====================================
   HERO YACHAY SaaS 2026
==================================== */

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:60px;

    padding:140px 8% 100px;

    overflow:hidden;

    background:
    linear-gradient(
    135deg,
    #2a65ee 0%,
    #1ba83e 50%,
    #055810 100%
    );

}

/* ====================================
   FONDOS DECORATIVOS
==================================== */

.hero::before{

    content:'';

    position:absolute;

    width:650px;
    height:650px;

    border-radius:50%;

    background:
    radial-gradient(
    circle,
    rgba(0,184,212,.25),
    transparent 70%
    );

    top:-200px;
    right:-200px;

    filter:blur(50px);

}

.hero::after{

    content:'';

    position:absolute;

    width:500px;
    height:500px;

    border-radius:50%;

    background:
    radial-gradient(
    circle,
    rgba(255,255,255,.08),
    transparent 70%
    );

    left:-200px;
    bottom:-200px;

}

/* ====================================
   CONTENIDO IZQUIERDO
==================================== */

.hero-content{

    flex:1;

    position:relative;

    z-index:5;

    color:white;

    max-width:650px;

}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 20px;

    margin-bottom:25px;

    border-radius:50px;

    background:
    rgba(255,255,255,.12);

    backdrop-filter:blur(10px);

    border:
    1px solid rgba(255,255,255,.15);

}

.hero-badge i{

    color:var(--acento);

}

.hero h1{

    font-size:4rem;

    line-height:1.1;

    margin-bottom:25px;

    font-weight:700;

}

.hero h1 span{

    color:var(--acento);

}

.hero p{

    font-size:1.1rem;

    line-height:1.9;

    color:#dbeafe;

    margin-bottom:35px;

}

/* ====================================
   BENEFICIOS HERO
==================================== */

.hero-benefits{

    display:grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:15px;

    margin-bottom:40px;

}

.hero-benefits div{

    display:flex;

    align-items:center;

    gap:12px;

}

.hero-benefits i{

    color:var(--acento);

    font-size:1.2rem;

}

/* ====================================
   BOTONES
==================================== */

.hero-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

}


.hero-buttons .btn-primary:hover{

    transform:
    translateY(-6px);

}

.hero-buttons .btn-secondary{

    background:  #FF6B00;

    backdrop-filter:blur(10px);

}

.hero-buttons .btn-secondary:hover{

    background:#FF6B00;

}

/* ====================================
   DASHBOARD
==================================== */

.hero-image{

    flex:1;

    display:flex;

    justify-content:center;

    position:relative;

    z-index:5;

}

.hero-image img{

    width:100%;

    max-width:700px;

    animation:
    float 6s ease-in-out infinite,
    glow 4s ease-in-out infinite;

    border-radius:25px;

}

/* ====================================
   TARJETA FLOTANTE 1
==================================== */

.hero-card{

    position:absolute;

    background:white;

    border-radius:20px;

    padding:18px;

    box-shadow:
    0 20px 40px rgba(0,0,0,.15);

}

.hero-card h4{

    color:var(--oscuro);

    margin-bottom:8px;

}

.hero-card p{

    color:var(--gris);

    font-size:.9rem;

}

.hero-card.top{

    top:30px;

    left:-20px;

    animation:
    float 5s ease-in-out infinite;

}

/* ====================================
   TARJETA FLOTANTE 2
==================================== */

.hero-card.bottom{

    bottom:40px;

    right:-20px;

    animation:
    float 7s ease-in-out infinite;

}

/* ====================================
   ESTADÍSTICAS
==================================== */

.hero-stats{

    margin-top:50px;

    display:flex;

    gap:40px;

}

.hero-stat{

    text-align:center;

}

.hero-stat h3{

    color:var(--acento);

    font-size:2rem;

}

.hero-stat p{

    font-size:.9rem;

    color:#cbd5e1;

}

/* ====================================
   GLASSMORPHISM
==================================== */

.glass{

    background:
    rgba(255,255,255,.1);

    backdrop-filter:blur(15px);

    border:
    1px solid rgba(255,255,255,.15);

}

/* ====================================
   PARTÍCULAS DECORATIVAS
==================================== */

.circle{

    position:absolute;

    border-radius:50%;

    background:
    rgba(255,255,255,.08);

    animation:
    float 10s infinite ease-in-out;

}

.circle-1{

    width:120px;
    height:120px;

    top:15%;
    left:5%;

}

.circle-2{

    width:80px;
    height:80px;

    right:15%;
    bottom:20%;

}

.circle-3{

    width:40px;
    height:40px;

    top:25%;
    right:30%;

}

/* ====================================
   ONDA INFERIOR
==================================== */

.hero-wave{

    position:absolute;

    bottom:0;
    left:0;

    width:100%;

    z-index:2;

}

/* ====================================
   RESPONSIVE
==================================== */

@media(max-width:1200px){

    .hero h1{

        font-size:3.5rem;

    }

}

@media(max-width:992px){

    .hero{

        flex-direction:column;

        text-align:center;

        padding-top:160px;

    }

    .hero-benefits{

        grid-template-columns:1fr;

    }

    .hero-buttons{

        justify-content:center;

    }

    .hero-stats{

        justify-content:center;

        flex-wrap:wrap;

    }

    .hero-card{

        display:none;

    }

}

@media(max-width:768px){

    .hero h1{

        font-size:2.8rem;

    }

    .hero p{

        font-size:1rem;

    }

    .hero-image img{

        max-width:100%;

    }

}

@media(max-width:576px){

    .hero{

        padding:140px 5% 80px;

    }

    .hero h1{

        font-size:2.3rem;

    }

}