/* v2/css/faq.css - Sıkça Sorulan Sorular */

.faq-page {
    max-width: 820px;
}

/* ---------- Hero ---------- */
.faq-hero {
    text-align: center;
    margin-bottom: 26px;
}

.faq-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}

.faq-hero h1 {
    font-size: clamp(30px, 5.5vw, 46px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 12px;
}

.faq-hero h1 span {
    background: linear-gradient(to right, #917bf6, #1ad598);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-hero p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.faq-search {
    max-width: 560px;
    margin: 26px auto 0;
}

.faq-chips {
    justify-content: center;
    margin-bottom: 26px;
}

/* ---------- Accordion ---------- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.14);
}

.faq-item[open] {
    border-color: rgba(99, 80, 242, 0.45);
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    border-radius: 12px;
}

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

.faq-item summary:focus-visible {
    outline: 2px solid #a275f0;
    outline-offset: 2px;
}

.faq-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(99, 80, 242, 0.12);
    color: #a275f0;
    font-size: 15px;
}

.faq-question {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
}

.faq-chevron {
    color: var(--text-muted);
    transition: transform 0.2s, color 0.2s;
}

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

.faq-answer {
    padding: 0 18px 18px 70px;
    color: #c3c9d8;
    font-size: 14px;
    line-height: 1.65;
}

.faq-answer a {
    color: #a275f0;
    font-weight: 600;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-answer ol {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faq-list + .empty-card {
    margin-top: 10px;
}

/* ---------- Contact card ---------- */
.faq-contact {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 80, 242, 0.14), rgba(26, 213, 152, 0.08));
    border: 1px solid rgba(99, 80, 242, 0.25);
}

.faq-contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    display: grid;
    place-items: center;
    font-size: 18px;
    color: #fff;
}

.faq-contact h2 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 4px;
}

.faq-contact p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
    .faq-item summary {
        gap: 12px;
        padding: 14px 16px;
    }

    .faq-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .faq-question {
        font-size: 14px;
    }

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

    .faq-contact {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {

    .faq-item,
    .faq-chevron {
        transition: none;
    }
}
