@import 'variables.css';
@import 'common.css';

/* Botones blancos, texto Poppins blanco, sin hover */
.hero-buttons .btn,
.hero-buttons .btn.btn--primary,
.hero-buttons .btn.btn--secondary {
    background: #fff !important;
    color: #000000 !important;
    font-family: 'Poppins', sans-serif !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8em 2em;
    border-radius: 2em;
    transition: none !important;
}

.hero-buttons .btn:hover,
.hero-buttons .btn.btn--primary:hover,
.hero-buttons .btn.btn--secondary:hover {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* ===== MT5 HERO SECTION ===== */
.mt5-hero {
    position: relative;
    overflow: hidden;
    min-height: 61vh;
    display: flex;
    align-items: center;
}

/* Fondo con resplandor morado - removido para mantener background continuo */

/* Grid decorativo de fondo */
.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: 50px 50px;
    opacity: 0.4;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: hero-slide-in 1s ease-out 0.2s both;
}

.hero-title {
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    text-shadow: var(--text-glow);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.hero-title .highlight {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-muted);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
    animation: hero-fade-in 1s ease-out 0.6s both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--box-glow);
}

/* ===== ANIMACIONES HERO ===== */
@keyframes hero-slide-in {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes hero-fade-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mt5-hero {
        min-height: 70vh;
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-background {
        width: 100%;
        opacity: 0.2;
        background-size: 30px 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        min-width: 250px;
    }
}