@import 'variables.css';
@import 'common.css';

/* ===== MT5 ELEGIR SECTION ===== */
.mt5-elegir {
    padding: var(--spacing-xxl) var(--spacing-md);
    position: relative;
}

.elegir-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.elegir-image {
    text-align: center;
    animation: hero-fade-in 1s ease-out 0.3s both;
}

.elegir-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.elegir-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--box-glow);
}

.elegir-text {
    animation: hero-slide-in 1s ease-out 0.3s both;
}

/* Lista de características usando estilos globales */
.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    border-radius: 25px;
    transition: all var(--transition-normal);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.06), rgba(147, 51, 234, 0.04));
    border: 1px solid rgba(139, 92, 246, 0.22);
    box-shadow:0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04)
}

.feature-icon {
    font-size: 24px;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.feature-content {
    flex: 1;
    line-height: 1.6;
}

.feature-title {
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-md);
    text-shadow: var(--text-glow);
}

.feature-description {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
}

/* Animación de aparición escalonada usando animaciones globales */
.feature-item:nth-child(1) { animation: category-fade-in 0.6s ease-out 0.1s both; }
.feature-item:nth-child(2) { animation: category-fade-in 0.6s ease-out 0.2s both; }
.feature-item:nth-child(3) { animation: category-fade-in 0.6s ease-out 0.3s both; }
.feature-item:nth-child(4) { animation: category-fade-in 0.6s ease-out 0.4s both; }
.feature-item:nth-child(5) { animation: category-fade-in 0.6s ease-out 0.5s both; }
.feature-item:nth-child(6) { animation: category-fade-in 0.6s ease-out 0.6s both; }

/* ===== RESPONSIVE ELEGIR ===== */
@media (max-width: 768px) {
    .elegir-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .elegir-image {
        order: -1;
    }

    .feature-item {
        text-align: left;
        margin-bottom: var(--spacing-md);
        padding: var(--spacing-sm);
    }

    .feature-icon {
        width: 35px;
        height: 35px;
        font-size: 20px;
        margin-right: var(--spacing-sm);
    }

    .feature-title {
        font-size: var(--font-size-sm);
    }

    .feature-description {
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 480px) {
    .mt5-elegir {
        padding: var(--spacing-xl) var(--spacing-sm);
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: var(--spacing-xs);
    }
}