/* COGNILAB HERO 2025 - DISEÑO FUTURISTA ULTRA PROFESIONAL */

/* Variables CSS para el hero futurista - COHERENTE CON SISTEMA */
:root {
    --hero-primary: #1b3aa3;
    --hero-secondary: #2563eb;
    --hero-accent: #3b82f6;
    --hero-dark: #0a0a0f;
    --hero-darker: #050508;
    --hero-glass: rgba(255, 255, 255, 0.05);
    --hero-border: rgba(255, 255, 255, 0.12);
    --hero-text: #ffffff;
    --hero-text-secondary: rgba(255, 255, 255, 0.75);
    --hero-gradient: linear-gradient(90deg, var(--hero-primary), var(--hero-secondary), var(--hero-accent));
}

/* HERO PRINCIPAL 2025 */
.hero-2025 {
    min-height: 100vh;
    position: relative;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}











/* Container principal */
.hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0; /* Quitamos el padding lateral */
    z-index: 2;
}






















/* CONTENIDO PRINCIPAL */
.hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}

/* Luces ambientales del hero (visibles y coherentes con paleta) */
.hero-ambient-lights { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.light-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.light-blue { width: 60vmax; height: 60vmax; left: -20vmax; top: -10vmax; background: radial-gradient(circle, rgba(37,99,235,0.65), rgba(37,99,235,0) 60%); }
.light-purple { width: 50vmax; height: 50vmax; right: -15vmax; top: -12vmax; background: radial-gradient(circle, rgba(79,70,229,0.45), rgba(79,70,229,0) 60%); }
.light-magenta { width: 40vmax; height: 40vmax; right: 10vmax; bottom: -10vmax; background: radial-gradient(circle, rgba(162,28,175,0.28), rgba(162,28,175,0) 60%); }
.light-cyan { width: 36vmax; height: 36vmax; left: 8vmax; bottom: 0; background: radial-gradient(circle, rgba(6,182,212,0.22), rgba(6,182,212,0) 60%); }
.light-green { display: none; }
.light-gold { display: none; }

/* Badge superior */
.hero-badge {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.75rem 2rem;
    background: var(--hero-glass);
    border: 1px solid var(--hero-border);
    border-radius: 50px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.badge-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--hero-text-secondary);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.badge-glow {
    position: absolute;
    inset: -1px;
    background: var(--hero-gradient);
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.45s ease-in-out;
    animation: badgePulse 5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.03); }
}

.hero-badge:hover .badge-glow {
    opacity: 0.3;
}

/* TÍTULO PRINCIPAL FUTURISTA */
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-line-1,
.title-line-2,
.title-accent {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--hero-text);
}

.title-line-1 {
    animation: titleSlideIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.title-line-2 {
    animation: titleSlideIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.title-accent {
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleSlideIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
    position: relative;
}

@keyframes titleSlideIn {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}



/* Subtítulo */
.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    color: var(--hero-text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: subtitleFadeIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}

@keyframes subtitleFadeIn {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* CTA PROFESIONAL */
.hero-cta {
    margin-bottom: 4rem;
    animation: ctaFadeIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: #2563eb;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #1d4ed8;
    opacity: 0;
    transition: opacity 0.45s ease-in-out;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-text,
.cta-arrow {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.cta-button:hover .cta-text {
    transform: translateX(-1px);
}

.cta-button:hover .cta-arrow {
    transform: translateX(1px);
}

.cta-glow {
    /* Elemento removido - sin efectos de neón */
    display: none;
}

@keyframes ctaFadeIn {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* INDICADOR DE SCROLL */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: scrollFadeIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--hero-primary), transparent);
    position: relative;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 20px;
    background: var(--hero-primary);
    border-radius: 2px;
    animation: scrollMove 3.5s ease-in-out infinite;
}

@keyframes scrollMove {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(30px);
        opacity: 0.5;
    }
}

.scroll-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--hero-text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@keyframes scrollFadeIn {
    0% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hero-container {
        padding: 0 1.5rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .badge-text {
        font-size: 0.75rem;
    }
    
    .title-line-1,
    .title-line-2,
    .title-accent {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.125rem);
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
    

}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
    }
    
    .title-line-1,
    .title-line-2,
    .title-accent {
        font-size: clamp(2rem, 12vw, 3rem);
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        gap: 0.5rem;
    }
    
    /* Ajustes adicionales para luces en móvil pequeño */
    .light-orb {
        width: 50% !important;
        height: 50% !important;
        filter: blur(30px) !important;
    }
}

/* MODO OSCURO MEJORADO */
@media (prefers-color-scheme: dark) {
    :root {
        --hero-glass: rgba(255, 255, 255, 0.08);
        --hero-border: rgba(255, 255, 255, 0.15);
    }
}

.esfera-hero-logo{width:clamp(72px,9vw,100px);height:clamp(72px,9vw,100px);object-fit:contain;vertical-align:middle;margin:0 auto;border-radius:14px;opacity:.97}

/* EFECTOS DE PERFORMANCE */
@media (prefers-reduced-motion: reduce) {
    .light-orb {
        animation: none;
        filter: blur(60px);
    }
    
    .title-line-1,
    .title-line-2,
    .title-accent,
    .hero-subtitle,
    .hero-cta {
        animation: none;
        opacity: 1;
        transform: none;
    }
}