:root {
    --text-faint: #999999;
    --surface: #f6f8fb;
    --surface-2: #edf1f9;
    --border: rgba(0, 26, 114, .07);
    --border-mid: rgba(0, 26, 114, .12);
    --teal-dim: rgba(0, 175, 102, .09);
    --teal-mid: rgba(0, 175, 102, .16);
    --navy-dim: rgba(0, 26, 114, .04);
    --radius: 28px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ══════════════════════════════
   SECTION
══════════════════════════════ */
.flx-faq-section {
    padding: 100px 4%;
    background-color: #fdfeff;
}

/* ══════════════════════════════
   HEADER — same pattern as DS
══════════════════════════════ */
.flx-faq-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.flx-faq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--brand-teal);
    margin-bottom: 14px;
}

.flx-faq-eyebrow__bar {
    width: 22px;
    height: 1.5px;
    background: var(--brand-teal);
    border-radius: 2px;
}

.flx-faq-headline {
    font-family: 'ClashDisplay-Medium', sans-serif;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.07;
    letter-spacing: 0px;
    color: var(--brand-navy);
}

.flx-faq-headline span {
    color: var(--brand-teal);
     font-family: 'ClashDisplay-Medium', sans-serif;
}

.flx-faq-sub {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-top: 14px;
    max-width: 460px;
}

/* contact pill */
.flx-faq-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 10px 20px;
    border-radius: 100px;
    transition: all .22s var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-end;
}

.flx-faq-contact:hover {
    border-color: var(--brand-teal);
    color: var(--brand-teal);
    background: var(--teal-dim);
}

.flx-faq-contact i {
    font-size: 15px;
    transition: transform .2s var(--ease);
}

.flx-faq-contact:hover i {
    transform: translate(2px, -2px);
}

/* ══════════════════════════════
   LAYOUT — 2 columns
   left: category tabs + contact card
   right: accordion list
══════════════════════════════ */
.flx-faq-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* ══════════════════════════════
   LEFT SIDEBAR
══════════════════════════════ */
.flx-faq-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 40px;
}

.flx-faq-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all .22s var(--ease);
    text-align: left;
    width: 100%;
}

.flx-faq-tab:hover {
    background: var(--surface);
    border-color: var(--border);
}

.flx-faq-tab.flx-faq-tab--active {
    background: var(--teal-dim);
    border-color: rgba(0, 175, 102, .22);
}

.flx-faq-tab__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}

.flx-faq-tab--active .flx-faq-tab__icon {
    background: var(--brand-teal);
    color: #fff;
    border-color: transparent;
}

.flx-faq-tab__label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color .22s ease;
}

.flx-faq-tab--active .flx-faq-tab__label {
    color: var(--brand-navy);
}

.flx-faq-tab__count {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--surface-2);
    color: var(--text-faint);
    transition: background .22s, color .22s;
}

.flx-faq-tab--active .flx-faq-tab__count {
    background: rgba(0, 175, 102, .15);
    color: var(--brand-teal);
}

/* contact support card */
.flx-faq-support-card {
    margin-top: 16px;
    background: var(--brand-navy);
    border-radius: 20px;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
}

/* decorative ring */
.flx-faq-support-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .08);
    pointer-events: none;
}

.flx-faq-support-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .06);
    pointer-events: none;
}

.flx-faq-support-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: var(--brand-teal);
    margin-bottom: 14px;
}

.flx-faq-support-card h4 {
     font-family: 'ClashDisplay-Medium', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -.2px;
}

.flx-faq-support-card p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.55;
    margin-bottom: 18px;
}

.flx-faq-support-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--white);
    background: var(--brand-teal);
    border: none;
    border-radius: 100px;
    padding: 9px 18px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .2s ease;
    width: 100%;
    justify-content: center;
}

.flx-faq-support-card__btn:hover {
    opacity: .88;
}

/* ══════════════════════════════
   RIGHT — ACCORDION
══════════════════════════════ */
.flx-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

/* each item */
.flx-faq-item {
    border-bottom: 1px solid var(--border);
    transition: background .22s ease;
}

.flx-faq-item:last-child {
    border-bottom: none;
}

.flx-faq-item.flx-faq-item--open {
    background: var(--surface);
}

/* question trigger */
.flx-faq-q {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    transition: background .2s ease;
}

.flx-faq-q:hover {
    background: var(--navy-dim);
}

.flx-faq-item--open .flx-faq-q {
    background: transparent;
}

/* number badge */
.flx-faq-q__num {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-faint);
    min-width: 24px;
    flex-shrink: 0;
    letter-spacing: .5px;
}

.flx-faq-item--open .flx-faq-q__num {
    color: var(--brand-teal);
}

.flx-faq-q__text {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--brand-navy);
    letter-spacing: -.2px;
    flex: 1;
    line-height: 1.35;
}

.flx-faq-item--open .flx-faq-q__text {
    color: var(--brand-navy);
}

/* toggle icon */
.flx-faq-q__toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-faint);
    transition: all .28s var(--ease);
}

.flx-faq-item--open .flx-faq-q__toggle {
    background: var(--brand-teal);
    border-color: var(--brand-teal);
    color: #fff;
    transform: rotate(45deg);
}

/* answer panel */
.flx-faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height .45s var(--ease);
}

.flx-faq-a__inner {
    padding: 0 28px 26px 68px;
    /* align with question text (28 + 24num + 16gap) */
}

.flx-faq-a__inner p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.72;
}

/* optional learn more link inside answer */
.flx-faq-a__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-teal);
    text-decoration: none;
    transition: gap .2s var(--ease);
}

.flx-faq-a__link:hover {
    gap: 9px;
}

.flx-faq-a__link i {
    font-size: 14px;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
    .flx-faq-layout {
        grid-template-columns: 1fr;
    }

    .flx-faq-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .flx-faq-tab {
        width: auto;
        flex: 1;
        min-width: 120px;
    }

    .flx-faq-support-card {
        display: none;
    }
}

@media (max-width: 640px) {
    .flx-faq-section {
        padding: 64px 18px 72px;
    }

    .flx-faq-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        
    }

    .flx-faq-contact {
        align-self: flex-start;
    }

    .flx-faq-sidebar {
        gap: 6px;
        padding: 0 12px;
    }

    .flx-faq-tab {
        min-width: 100px;
        padding: 10px 12px;
    }

    .flx-faq-tab__count {
        display: none;
    }

    .flx-faq-list {
        border-radius: 20px;
    }

    .flx-faq-q {
        padding: 18px 20px;
        gap: 12px;
    }

    .flx-faq-a__inner {
        padding: 0 20px 20px 52px;
    }

    .flx-faq-q__text {
        font-size: 14.5px;
    }
}