

:root
{
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;    
    --color-primary-900: #1e1b4b;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #2e2a7a 100%);
    --tec-gradient: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
}



.main_generales {

    background: linear-gradient(135deg, #0a192f 0%, #3c5b8f 100%);


    font-family: 'Playfair Display', serif;
    font-style: italic;


}


/* Hero Section Refinement */
.xxxxmodern-hero {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    min-height: 700px;
    padding: clamp(1rem, 5vw, 4rem) 0 !important;
}


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary-900);
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}



.herocontainer {
    /* max-width: 1200px; */
    
    
     /* max-width: 1600px;  */


    /* margin: 0 auto;  */
    
/*     margin: auto; */

    /* padding: 0 var(--space-4);  */

    
    /* background-color: forestgreen; */
    

    margin: 0px ;
    padding: 0px;



}

.hero-content {
    color: white;
    z-index: 2;

/*     background-color: coral; */

    width: 150px;
    height: auto;



    margin: 0px;
    padding: 0px;

    padding-left: 10rem !important;

}

.hero-subtitle-container {
    /* display: inline-block; */
    display: inline-flex; /* Cambiamos a inline-flex para que se ajuste al contenido */
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    max-width: 85%; /* Aseguramos que no supere el ancho del contenedor padre */
    box-sizing: border-box; /* Incluimos el padding y border en el ancho total */
    

}
.hero-subtitle-text {
    color: white;
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}


.hero-title {
    font-family: var(--font-heading);
    /* font-size: clamp(2.5rem, 6vw, 4rem); */
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}


.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-features {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}



.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: white;
}

.feature-item i {
    color: #4ade80;
    font-size: 1.2rem;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 1.05rem;
    line-height: 1.6;
}



.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.8s both;
    padding-top: 2rem !important;
}




/* IMG =========================  imagenes  */
    .hero-image-container 
    {
         position: relative;   
        z-index: 1;
        /* background-color: darkgoldenrod; */
        
        /*display: flex;
        justify-content: center;   /* centra horizontal */
        /*align-items: center;       /* centra vertical */

        /* width: 41% !important; */
        width: 36% !important;
        

    }
    /* Contenedor relativo para posicionar el botón */
    .image-wrapper {
        position: relative;
        display: inline-block;
        /* width: 100%;  */

        /*display: flex;
        justify-content: center;*/

        
    }
    .img-main {
        /* width: 100%;  */
        height: auto;
        display: block;
        border-radius: 10px;
        /* Opcional: bordes redondeados para verse más moderno */


        
        /*height: auto;
        display: block;*/

    }




    .tec-support-box {
        border-left: 3px solid #0ea5e9;
        padding-left: 10px; 
        margin-bottom: 40px;
        max-width: 550px;
    }
    .tec-support-text {
        font-size: 1.1rem;
        color: #dee8f5;
        line-height: 1.6;
        margin: 0;
    }



    

/* Estilo base para ambos botones */
.tec-btn-primary,
.btn-video {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    height: 60px; /* Altura fija para ambos botones */
    min-width: 160px; /* Ancho mínimo para consistencia */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    
}

/* Botón "Solicitar Demo" (degradado morado claro) */
.tec-btn-primary {
    /*background: linear-gradient(135deg, #4e2956, #c9ade6); /* Degradado morado claro */
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);

    color: white !important;
}

/* Botón "Ver Video Demo" (fondo oscuro con borde blanco) */
.btn-video {
    background: rgba(30, 41, 59, 0.8); /* Fondo oscuro semi-transparente */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

/* Efecto hover (movimiento hacia arriba) */
.tec-btn-primary:hover,
.btn-video:hover,
.btn-video:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Iconos dentro de los botones */
.tec-btn-primary i,
.btn-video i {
    font-size: 1em;
}


.ai-icon-glow {
    color: #0ea5e9;
    filter: drop-shadow(0 0 10px #0ea5e9);
    animation: iconBounce 2s infinite;
}


















@media (max-width: 991px) {
    .modern-hero {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-content {
        text-align: center;
    }

    .hero-subtitle-text {
        font-size: 1.3rem !important;
    }
    .hero-features {
        display: inline-block;
        text-align: left;
        margin: 0 auto 2rem;
    }
    .feature-item {
        justify-content: center;
    }

    .tec-main-title { font-size: 2.5rem; }
    .tec-support-box { 
        border-left: none; 
        padding-left: 0; 
        margin: 0 auto 40px; 
    }

}


/* Movil Pequeño (up to 320px) */
@media screen and (max-width: 320px) {
 
    .hero-title {
        font-size: 1.6rem !important;
    }
}
/* Movil Mediano (321px - 480px) */
@media screen and (min-width: 321px) and (max-width: 480px) 
{
     .hero-title {
        font-size: 1.9rem !important;
    }


    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .hero-cta .btn {
        margin-right: 0 !important;
        width: 100%;
    }


}

@media (max-width: 576px) {
    .hero-cta .btn {
        width: 100%;
        margin-right: 0 !important;
    }
}

@media (max-width: 991px) {
    .modern-hero {
        padding: 3rem 0;
    }

    .hero-image-container {
        margin-top: 3rem;
        text-align: center;
    }
}




