/* ==================== FAQ Page Styles ==================== */

.faq-hero {
    background: linear-gradient(135deg, var(--primary-color, #4F46E5), #7C3AED);
    padding: 4rem 0 3rem;
    text-align: center;
    color: #fff;
}

.faq-hero-inner {
    max-width: 600px;
    margin: 0 auto;
}

.faq-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.faq-hero p {
    font-size: 1rem;
    opacity: .9;
    line-height: 1.6;
}

.text-gradient {
    background: linear-gradient(90deg, #FBBF24, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-body {
    padding: 3rem 0 4rem;
}

.faq-categories {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.faq-cat-btn {
    padding: 8px 20px;
    border: 1.5px solid #E5E7EB;
    border-radius: 50px;
    background: #fff;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    color: #6B7280;
}

.faq-cat-btn:hover {
    border-color: var(--primary-color, #4F46E5);
    color: var(--primary-color, #4F46E5);
}

.faq-cat-btn.active {
    background: var(--primary-color, #4F46E5);
    color: #fff;
    border-color: var(--primary-color, #4F46E5);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--light-bg, #F9FAFB);
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    overflow: hidden;
    transition: all .2s;
}

.faq-item.open {
    border-color: var(--primary-color, #4F46E5);
    box-shadow: 0 4px 16px rgba(79, 70, 229, .08);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: .9rem;
    transition: color .15s;
}

.faq-q:hover {
    color: var(--primary-color, #4F46E5);
}

.faq-q i {
    font-size: .7rem;
    color: #9CA3AF;
    transition: transform .25s;
}

.faq-item.open .faq-q i {
    transform: rotate(180deg);
    color: var(--primary-color, #4F46E5);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
}

.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 20px 16px;
}

.faq-a p {
    font-size: .88rem;
    color: #6B7280;
    line-height: 1.7;
    margin: 0;
}

.faq-a a {
    color: var(--primary-color, #4F46E5);
    text-decoration: none;
    font-weight: 500;
}

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

.faq-item.hidden {
    display: none;
}

[data-theme="dark"] .faq-item {
    background: #1E293B;
    border-color: #334155;
}

[data-theme="dark"] .faq-item.open {
    border-color: var(--primary-color, #4F46E5);
}

[data-theme="dark"] .faq-q {
    color: #E2E8F0;
}

[data-theme="dark"] .faq-a p {
    color: #94A3B8;
}

[data-theme="dark"] .faq-cat-btn {
    background: #1E293B;
    border-color: #334155;
    color: #94A3B8;
}

@media (max-width: 767px) {
    .faq-hero h1 {
        font-size: 1.6rem;
    }
    .faq-q {
        font-size: .85rem;
        padding: 14px 16px;
    }
}