/* ============================================
   FAQ Section Styles
   ============================================ */

.faq {
    padding: 5rem 0;
}

.faq-container {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.faq-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray-400);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-gray-900);
    border: 1px solid var(--border-gray-700);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    color: white;
    font-size: 1.125rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.faq-question:hover {
    background: var(--bg-gray-800);
}

.faq-question-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s;
    color: var(--text-gray-400);
    flex-shrink: 0;
}

.faq-question.active .faq-question-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.faq-answer.open {
    max-height: 200px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer-text {
    color: var(--text-gray-400);
    font-size: 1rem;
    line-height: 1.6;
}

/* Animaciones */
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.5s;
}

.faq-item:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .faq-title {
        font-size: 2.25rem;
    }
    
    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 1.25rem 1.25rem;
    }
    
    .faq-answer-text {
        font-size: 0.875rem;
    }
}
