/* FAQs Section */
.faqs-section { position: relative; }
.faqs-section:not(:has(+ .background-white)):not(:last-child)::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='509' height='508' viewBox='0 0 509 508' fill='none'%3E%3Cpath d='M-0.144531 0L-0.144553 507.881L508.207 507.881L500.213 2.82155L-0.144531 0Z' fill='url(%23paint0_linear_2626_4218)' fill-opacity='0.5'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_2626_4218' x1='-19.0833' y1='541.793' x2='277.668' y2='172.901' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%239473F9'/%3E%3Cstop offset='1' stop-color='white' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
    position: absolute;
    inset: auto auto -7px 0;
}
/* FAQ Accordion */
.faqs-section .faqs-accordion {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faqs-section .faq-item {
    background: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faqs-section .faq-item:hover {
    border-color: #9473F9;
    box-shadow: 0 2px 8px rgba(148, 115, 249, 0.1);
}

.faqs-section .faq-item[open] {
    border-color: var(--black, #000000);
    background: var(--black, #000000);
}

/* FAQ Question/Summary */
.faqs-section .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #1A1A1A;
    list-style: none;
    transition: all 0.2s ease;
    gap: 20px;
}

.faqs-section .faq-item[open] .faq-question {
    color: #ffffff;
}

.faqs-section .faq-question::-webkit-details-marker {
    display: none;
}

.faqs-section .faq-question:hover {
    color: #9473F9;
}

.faqs-section .faq-question-text {
    flex: 1;
}

/* FAQ Icons */
.faqs-section .faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    color: var(--purple, #9473F9);
}

.faqs-section .faq-icon svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.faqs-section .faq-icon .icon-minus {
    opacity: 0;
    transform: rotate(-90deg);
}

.faqs-section .faq-item[open] .faq-icon .icon-plus {
    opacity: 0;
    transform: rotate(90deg);
}

.faqs-section .faq-item[open] .faq-icon .icon-minus {
    opacity: 1;
    transform: rotate(0deg);
}

/* FAQ Answer */
.faqs-section .faq-answer {
    padding: 0 24px 24px;
    color: #4A4A4A;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

.faqs-section .faq-item[open] .faq-answer {
    color: #ffffff;
}

.faqs-section .faq-answer > *:first-child {
    margin-top: 0;
}

.faqs-section .faq-answer > *:last-child {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet and Below */
@media (max-width: 991px) {

    .faqs-section .faqs-accordion {
        margin-top: 30px;
    }
    .faqs-section .faq-question {
        font-size: 16px;
        padding: 16px 20px;
    }

    .faqs-section .faq-answer {
        padding: 0 20px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {

    .faqs-section .faqs-accordion {
        gap: 12px;
    }

    .faqs-section .faq-question {
        font-size: 15px;
        padding: 14px 16px;
        gap: 12px;
    }

    .faqs-section .faq-icon {
        width: 20px;
        height: 20px;
    }

    .faqs-section .faq-answer {
        padding: 0 16px 16px;
        font-size: 14px;
    }
}
