/* FAQ Page Styles */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: rgba(0, 102, 204, 0.25);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-main, #111);
    transition: background 0.2s ease;
}

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

.faq-question:hover {
    background: rgba(0, 102, 204, 0.03);
}

.faq-question span {
    flex: 1;
    line-height: 1.4;
}

.faq-chevron {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: #0066cc;
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 22px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 0;
    animation: faq-slide-down 0.25s ease;
}

.faq-answer p {
    margin: 16px 0 0;
    color: #444;
    line-height: 1.7;
    font-size: 0.96rem;
}

@keyframes faq-slide-down {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .faq-list {
        gap: 10px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.96rem;
        gap: 12px;
        min-height: 56px;
    }

    .faq-answer {
        padding: 0 18px 16px;
    }

    .faq-answer p {
        font-size: 0.92rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 14px 16px;
        font-size: 0.94rem;
    }

    .faq-question span {
        line-height: 1.45;
    }

    .faq-chevron {
        font-size: 0.78rem;
    }

    .faq-answer {
        padding: 0 16px 14px;
    }

    .faq-answer p {
        font-size: 0.9rem;
        margin-top: 14px;
    }
}

@media (max-width: 375px) {
    .faq-question {
        padding: 13px 14px;
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 0 14px 14px;
    }
}

/* Squircle support */
@supports (background: paint(squircle)) {
    .faq-item {
        border-radius: 0 !important;
        --squircle-radius: 14;
        --squircle-smooth: 0.8;
        -webkit-mask-image: paint(squircle);
        mask-image: paint(squircle);
    }
}
