.faq-list {
    margin-top: 32px;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

    .faq-item:hover {
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    transition: background-color 0.2s ease;
}

    .faq-question:hover {
        background-color: #f9fafb;
    }

    .faq-question span:first-child {
        flex: 1;
        margin-right: 16px;
    }

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e0f4ff;
    color: #356382;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-question:hover .faq-icon {
    background: #8fd3ff;
    color: #ffffff;
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

    .faq-answer p {
        margin: 0 0 12px 0;
    }

        .faq-answer p:last-child {
            margin-bottom: 0;
        }

    .faq-answer .legal-list {
        margin-top: 8px;
        margin-bottom: 12px;
    }

    .faq-answer a {
        color: #0369a1;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

        .faq-answer a:hover {
            color: #0284c7;
        }

[data-theme="dark"] .faq-item {
    border-color: rgba(255, 255, 255, 0.1);
    background: var(--card);
}

[data-theme="dark"] .faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .faq-question {
    color: var(--text);
}

[data-theme="dark"] .faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .faq-icon {
    background: rgba(123, 156, 255, 0.2);
    color: var(--accent);
}

[data-theme="dark"] .faq-question:hover .faq-icon {
    background: var(--accent);
    color: #ffffff;
}

[data-theme="dark"] .faq-answer {
    color: var(--muted);
}

[data-theme="dark"] .faq-answer a {
    color: var(--accent);
}

[data-theme="dark"] .faq-answer a:hover {
    color: #9bb5ff;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .faq-answer {
        padding: 0 16px 16px 16px;
        font-size: 13px;
    }
}
