/* ── HERO ── */
.page-hero {
    padding: 120px 0 70px;
    position: relative;
    overflow: hidden;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
}
.blob-1 {
    width: 550px;
    height: 550px;
    background: rgba(99, 102, 241, 0.14);
    top: -200px;
    right: -120px;
}
.blob-2 {
    width: 450px;
    height: 450px;
    background: rgba(6, 182, 212, 0.1);
    bottom: -150px;
    left: -100px;
}
.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--clr-muted);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.breadcrumb-custom a {
    color: var(--clr-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-custom a:hover {
    color: rgba(255, 255, 255, 0.7);
}
.breadcrumb-custom .sep {
    color: rgba(255, 255, 255, 0.2);
}
.breadcrumb-custom .current {
    color: rgba(255, 255, 255, 0.5);
}
.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--clr-primary-2);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.page-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 0.8rem;
}
.page-title .gradient-text {
    background: linear-gradient(135deg, var(--clr-primary-2), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-subtitle {
    color: var(--clr-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 580px;
}

/* ── SEARCH ── */
.faq-search-wrap {
    position: relative;
    max-width: 560px;
    margin: 2rem auto 0;
}
.faq-search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    color: #fff;
    font-family: "Cairo", sans-serif;
    font-size: 0.95rem;
    padding: 15px 52px 15px 20px;
    width: 100%;
    transition: all 0.25s;
}
.faq-search-input::placeholder {
    color: var(--clr-muted);
}
.faq-search-input:focus {
    background: rgba(99, 102, 241, 0.07);
    border-color: rgba(99, 102, 241, 0.45);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}
.faq-search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 18px;
    color: var(--clr-muted);
    font-size: 1.1rem;
    pointer-events: none;
}

/* ── STATS BAR ── */
.stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 2.5rem 0 0;
}
.stat-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    padding: 8px 20px;
}
.stat-pill .val {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
}
.stat-pill .lbl {
    font-size: 0.78rem;
    color: var(--clr-muted);
}

/* ── CATEGORY TABS ── */
.cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}
.cat-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--clr-border);
    color: var(--clr-muted);
    border-radius: 50px;
    font-size: 0.83rem;
    font-weight: 600;
    padding: 8px 18px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Cairo", sans-serif;
}
.cat-tab:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.25);
    color: rgba(255, 255, 255, 0.8);
}
.cat-tab.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--clr-primary-2);
}
.cat-tab .count {
    background: rgba(99, 102, 241, 0.2);
    color: var(--clr-primary-2);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 7px;
}
.cat-tab.active .count {
    background: rgba(99, 102, 241, 0.35);
}

/* ── SECTION HEADER ── */
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.section-label .icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.section-label h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.section-label .count-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    margin-right: 8px;
}

/* ── ACCORDION ── */
.faq-accordion {
    margin-bottom: 12px;
}
.faq-item {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    overflow: hidden;
    transition:
        border-color 0.25s,
        box-shadow 0.25s;
    margin-bottom: 10px;
}
.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.2);
}
.faq-item.open {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
}
.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
    user-select: none;
}
.faq-q-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: background 0.2s;
}
.faq-item.open .faq-q-icon {
    background: rgba(99, 102, 241, 0.2) !important;
}
.faq-q-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    transition: color 0.2s;
}
.faq-item.open .faq-q-text {
    color: #fff;
}
.faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s;
}
.faq-toggle i {
    font-size: 0.8rem;
    color: var(--clr-muted);
    transition:
        transform 0.3s,
        color 0.2s;
}
.faq-item.open .faq-toggle {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}
.faq-item.open .faq-toggle i {
    transform: rotate(45deg);
    color: var(--clr-primary-2);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.3s;
}
.faq-item.open .faq-answer {
    max-height: 600px;
}
.faq-answer-inner {
    padding: 0 22px 20px 22px;
    padding-right: 70px;
}
.faq-answer-inner p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.85;
    margin: 0 0 10px;
}
.faq-answer-inner p:last-child {
    margin-bottom: 0;
}
.faq-answer-inner ul {
    padding-right: 18px;
    margin: 0 0 10px;
}
.faq-answer-inner li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 6px;
}
.faq-answer-inner .answer-link {
    color: var(--clr-primary-2);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.faq-answer-inner .answer-link:hover {
    color: #a5b4fc;
}
.answer-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    margin-top: 8px;
}

/* ── HELPFUL VOTE ── */
.helpful-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--clr-border);
}
.helpful-label {
    font-size: 0.78rem;
    color: var(--clr-muted);
}
.helpful-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--clr-border);
    color: var(--clr-muted);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Cairo", sans-serif;
}
.helpful-btn:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: #34d399;
}
.helpful-btn.yes:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: #34d399;
}
.helpful-btn.no:hover {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.2);
    color: #fb7185;
}

/* ── SIDEBAR ── */
.sidebar-card {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}
.sidebar-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-title i {
    color: var(--clr-primary-2);
}
.popular-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--clr-border);
    cursor: pointer;
    transition: all 0.2s;
}
.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.popular-item:hover .popular-q {
    color: var(--clr-primary-2);
}
.popular-num {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--clr-primary-2);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 6px;
    padding: 2px 7px;
    flex-shrink: 0;
    margin-top: 2px;
}
.popular-q {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    transition: color 0.2s;
}
.contact-cta-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
}
.contact-cta-card h5 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.contact-cta-card p {
    font-size: 0.82rem;
    color: var(--clr-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}
.btn-cta-sm {
    background: linear-gradient(135deg, var(--clr-primary), #4f46e5);
    border: none;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 11px 20px;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.25s;
    width: 100%;
    justify-content: center;
}
.btn-cta-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.45);
    color: #fff;
}
.cat-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cat-nav-list li {
    margin-bottom: 4px;
}
.cat-nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--clr-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.2s;
    border-right: 2px solid transparent;
}
.cat-nav-list a:hover,
.cat-nav-list a.active {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(99, 102, 241, 0.08);
    border-right-color: var(--clr-primary);
}
.cat-nav-list .cnt {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 1px 7px;
    color: var(--clr-muted);
}

/* ── NO RESULTS ── */
.no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
}
.no-results i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    display: block;
    margin-bottom: 16px;
}
.no-results h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}
.no-results p {
    font-size: 0.875rem;
    color: var(--clr-muted);
}

/* ── BOTTOM CTA ── */
.bottom-cta {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.07));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}
.bottom-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.15), transparent 70%);
    pointer-events: none;
}
.bottom-cta h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}
.bottom-cta p {
    color: var(--clr-muted);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto 24px;
    line-height: 1.7;
    position: relative;
}
.btn-cta-main {
    background: linear-gradient(135deg, var(--clr-primary), #4f46e5);
    border: none;
    color: #fff;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 32px;
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.25s;
}
.btn-cta-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(99, 102, 241, 0.5);
    color: #fff;
}
.btn-cta-ghost {
    background: transparent;
    border: 1px solid var(--clr-border);
    color: rgba(255, 255, 255, 0.65);
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.25s;
}
.btn-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

/* ── LIGHT MODE OVERRIDES ── */
html[data-theme="light"] .breadcrumb-custom a:hover { color: #1e293b; }
html[data-theme="light"] .breadcrumb-custom .sep { color: rgba(0, 0, 0, 0.2); }
html[data-theme="light"] .breadcrumb-custom .current { color: rgba(0, 0, 0, 0.5); }
html[data-theme="light"] .page-title { color: #1e293b; }
html[data-theme="light"] .faq-search-input { background: rgba(0, 0, 0, 0.03); color: #1e293b; }
html[data-theme="light"] .faq-search-input:focus { background: rgba(99, 102, 241, 0.05); color: #1e293b; }
html[data-theme="light"] .stat-pill { background: rgba(0, 0, 0, 0.03); }
html[data-theme="light"] .stat-pill .val { color: #1e293b; }
html[data-theme="light"] .cat-tab { background: rgba(0, 0, 0, 0.03); }
html[data-theme="light"] .cat-tab:hover { color: #1e293b; }
html[data-theme="light"] .section-label h3 { color: #1e293b; }
html[data-theme="light"] .faq-q-text { color: #334155; }
html[data-theme="light"] .faq-item.open .faq-q-text { color: #1e293b; }
html[data-theme="light"] .faq-toggle { background: rgba(0, 0, 0, 0.04); }
html[data-theme="light"] .faq-answer-inner p { color: #475569; }
html[data-theme="light"] .faq-answer-inner li { color: #475569; }
html[data-theme="light"] .helpful-btn { background: rgba(0, 0, 0, 0.03); }
html[data-theme="light"] .sidebar-title { color: #1e293b; }
html[data-theme="light"] .popular-q { color: #475569; }
html[data-theme="light"] .contact-cta-card h5 { color: #1e293b; }
html[data-theme="light"] .cat-nav-list a:hover,
html[data-theme="light"] .cat-nav-list a.active { color: #1e293b; }
html[data-theme="light"] .cat-nav-list .cnt { background: rgba(0, 0, 0, 0.05); }
html[data-theme="light"] .no-results i { color: rgba(0, 0, 0, 0.1); }
html[data-theme="light"] .no-results h4 { color: rgba(0, 0, 0, 0.4); }
html[data-theme="light"] .bottom-cta h2 { color: #1e293b; }
html[data-theme="light"] .btn-cta-ghost { color: #475569; }
html[data-theme="light"] .btn-cta-ghost:hover { background: rgba(0, 0, 0, 0.04); color: #1e293b; border-color: rgba(0, 0, 0, 0.15); }

