/*
 * FilexFlow CORE-001E — FAQ
 */

.fx-faq__list {
    display: grid;
    gap: 12px;
}

.fx-faq-item {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 18px;
    background: rgba(8, 17, 36, .86);
}

.fx-faq-item__question {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    color: #f8fafc;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
}

.fx-faq-item__question::-webkit-details-marker {
    display: none;
}

.fx-faq-item__icon {
    flex: 0 0 auto;
    color: #7dd3fc;
    font-size: 1.3rem;
    transition: transform .18s ease;
}

.fx-faq-item[open] .fx-faq-item__icon {
    transform: rotate(45deg);
}

.fx-faq-item__answer {
    padding: 0 22px 20px;
    color: #a8b5c8;
    line-height: 1.7;
}

.fx-faq-item__answer p {
    margin: 0;
}

html[data-theme="light"] .fx-faq-item,
body[data-theme="light"] .fx-faq-item {
    border-color: rgba(71, 85, 105, .16);
    background: rgba(255, 255, 255, .82);
}

html[data-theme="light"] .fx-faq-item__question,
body[data-theme="light"] .fx-faq-item__question {
    color: #0f172a;
}

html[data-theme="light"] .fx-faq-item__answer,
body[data-theme="light"] .fx-faq-item__answer {
    color: #526176;
}

@media (prefers-reduced-motion: reduce) {
    .fx-faq-item__icon {
        transition: none;
    }
}
