/* Enhanced Features Section Styles */

.features {
    padding: 100px 20px !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Decoración de fondo elegante */
.features::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.features .container {
    position: relative;
    z-index: 1;
}

.features .section-header h2 {
    font-size: 2.75rem !important;
    font-weight: 800 !important;
}

.features .section-header p {
    font-size: 1.3rem !important;
    font-weight: 500 !important;
}

.features-grid {
    gap: 2rem !important;
}

.feature-card {
    padding: 2rem !important;
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

/* Barra superior de color en hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    background: #ffffff !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border-color: #c7d2fe !important;
}

.feature-icon {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%) !important;
    width: 70px !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 16px !important;
    transition: transform 0.3s ease !important;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg) !important;
}

.feature-card h3 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
}

.feature-card p {
    line-height: 1.6 !important;
    font-size: 1rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .features {
        padding: 60px 20px !important;
    }
    
    .features .section-header h2 {
        font-size: 2rem !important;
    }
    
    .features .section-header p {
        font-size: 1.1rem !important;
    }
    
    .feature-card {
        padding: 2rem !important;
    }
    
    .feature-icon {
        width: 70px !important;
        height: 70px !important;
        font-size: 3rem !important;
    }
}

/* Traffic Light List - Lista del Semáforo SII */
.traffic-light-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.traffic-light-list li {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.traffic-light-list li:hover {
    transform: translateX(5px);
}

.traffic-light-list .green-light {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left: 4px solid #10b981;
    color: #065f46;
}

.traffic-light-list .yellow-light {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.traffic-light-list .red-light {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.feature-card .simple-text {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-style: italic;
    color: #6b7280;
}
