/**
 * FAQ Section Styles
 * Modern accordion-style FAQ with smooth animations
 */

.faq-section {
    padding: 100px 0;
    position: relative;
    background: #0F172A;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-label {
    text-align: center;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.faq-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
    color: #ffffff;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ Accordion Item */
.faq-item {
    margin-bottom: 16px;
}

.faq-question {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
}

.faq-question:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 193, 7, 0.3);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.1);
}

.faq-question.active {
    background: rgba(30, 41, 59, 0.95);
    border-color: #ffc107;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.15);
}

.faq-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    flex: 1;
    text-align: left;
}

.faq-chevron {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-chevron i {
    color: #ffc107;
    font-size: 1.2rem;
}

.faq-question.active .faq-chevron {
    transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer-text {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 24px;
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-question-text {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .faq-chevron {
        align-self: flex-end;
        margin-left: 0;
        margin-top: -35px;
    }

    .faq-answer-text {
        padding: 18px;
    }
}

/* Accessibility */
.faq-question:focus {
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    .faq-question,
    .faq-answer,
    .faq-chevron {
        transition: none;
    }
}