.faq-hero {
    position: relative;
    padding: 96px 0 72px;
    background: linear-gradient(160deg, #f6f8fc 0%, #eaf0f9 100%);
    overflow: hidden;
}

.faq-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.faq-hero-bg::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(66, 165, 245, 0.18), transparent 70%);
}

.faq-hero-bg::after {
    content: "";
    position: absolute;
    bottom: -140px;
    left: -100px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21, 101, 192, 0.12), transparent 70%);
}

.faq-hero-container {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.faq-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(21, 101, 192, 0.08);
    color: #1565C0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
}

.faq-hero-title {
    font-size: 40px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 16px;
    line-height: 1.15;
}

.faq-hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
    margin: 0 auto 34px;
    max-width: 560px;
}

.faq-hero-search {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.faq-hero-search input {
    width: 100%;
    padding: 16px 52px 16px 52px;
    border-radius: 14px;
    border: 1px solid #dce4f0;
    background: #ffffff;
    font-size: 15px;
    color: #1a202c;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-hero-search input:focus {
    border-color: #1565C0;
    box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.1);
}

.faq-hero-search input::placeholder {
    color: #9aa7bd;
}

.faq-hero-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #1565C0;
    font-size: 16px;
}

.faq-hero-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: #eef2f8;
    color: #64748b;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.faq-hero-search-clear.visible {
    display: inline-flex;
}

.faq-hero-search-clear:hover {
    background: #e2e8f0;
    color: #1a202c;
}

[data-theme="dark"] .faq-hero {
    background: linear-gradient(160deg, #181c26 0%, #1f2430 100%);
}

[data-theme="dark"] .faq-hero-eyebrow {
    background: rgba(66, 165, 245, 0.12);
    color: #6cb6f5;
}

[data-theme="dark"] .faq-hero-title {
    color: #e6eaf2;
}

[data-theme="dark"] .faq-hero-desc {
    color: #a2acc0;
}

[data-theme="dark"] .faq-hero-search input {
    background: #242936;
    border-color: #373d4c;
    color: #e6eaf2;
}

[data-theme="dark"] .faq-hero-search input:focus {
    border-color: #42A5F5;
    box-shadow: 0 0 0 4px rgba(66, 165, 245, 0.12);
}

[data-theme="dark"] .faq-hero-search input::placeholder {
    color: #6b7488;
}

[data-theme="dark"] .faq-hero-search-icon {
    color: #6cb6f5;
}

[data-theme="dark"] .faq-hero-search-clear {
    background: #333949;
    color: #a2acc0;
}

@media (max-width: 560px) {
    .faq-hero {
        padding: 72px 0 56px;
    }

    .faq-hero-title {
        font-size: 30px;
    }

    .faq-hero-desc {
        font-size: 15px;
    }
}

.faq-body {
    padding: 72px 0 90px;
    background: #ffffff;
}

.faq-body-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.faq-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid transparent;
    background: rgba(21, 101, 192, 0.08);
    color: #1565C0;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.faq-cat-link:hover {
    background: rgba(21, 101, 192, 0.14);
}

.faq-cat-link.active {
    background: #1565C0;
    color: #ffffff;
}

.faq-cat-count {
    font-size: 12px;
    font-weight: 700;
    color: #1565C0;
    opacity: 0.7;
}

.faq-cat-link.active .faq-cat-count {
    color: #ffffff;
    opacity: 0.85;
}

.faq-support-band {
    margin-top: 28px;
    padding: 28px 30px;
    border-radius: 18px;
    background: #f6f8fc;
    border: 1px solid #eaeef5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.faq-support-text {
    display: flex;
    align-items: center;
    gap: 18px;
}

.faq-support-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(21, 101, 192, 0.08);
    color: #1565C0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.faq-support-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 4px;
}

.faq-support-text p {
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
}

.faq-support-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 12px;
    background: #1565C0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.faq-support-btn:hover {
    background: #0d47a1;
    transform: translateY(-2px);
}

[data-theme="dark"] .faq-body {
    background: #181c26;
}

[data-theme="dark"] .faq-cat-link {
    background: rgba(66, 165, 245, 0.12);
    color: #6cb6f5;
}

[data-theme="dark"] .faq-cat-link:hover {
    background: rgba(66, 165, 245, 0.2);
}

[data-theme="dark"] .faq-cat-link.active {
    background: #1565C0;
    color: #ffffff;
}

[data-theme="dark"] .faq-cat-count {
    color: #6cb6f5;
}

[data-theme="dark"] .faq-cat-link.active .faq-cat-count {
    color: #ffffff;
}

[data-theme="dark"] .faq-support-band {
    background: #1f2430;
    border-color: #333949;
}

[data-theme="dark"] .faq-support-icon {
    background: rgba(66, 165, 245, 0.12);
    color: #6cb6f5;
}

[data-theme="dark"] .faq-support-text h4 {
    color: #e6eaf2;
}

[data-theme="dark"] .faq-support-text p {
    color: #a2acc0;
}

@media (max-width: 560px) {
    .faq-body {
        padding: 56px 0 70px;
    }

    .faq-support-band {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 24px 22px;
    }

    .faq-support-btn {
        width: 100%;
        justify-content: center;
    }
}

.faq-list-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.faq-list-head h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1a202c;
    margin: 0;
}

.faq-list-count {
    font-size: 13.5px;
    color: #94a3b8;
    font-weight: 600;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border-radius: 16px;
    background: #f6f8fc;
    border: 1px solid #eaeef5;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.open {
    border-color: #cdd9ec;
    box-shadow: 0 8px 26px rgba(21, 101, 192, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.faq-question-text {
    font-size: 15.5px;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.5;
}

.faq-item.open .faq-question-text {
    color: #1565C0;
}

.faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(21, 101, 192, 0.08);
    color: #1565C0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: transform 0.3s ease, background 0.2s ease;
}

.faq-item.open > .faq-question .faq-icon {
    background: #1565C0;
    color: #ffffff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-content {
    padding: 0 24px 22px;
    font-size: 14.5px;
    line-height: 1.75;
    color: #64748b;
}

.faq-category-tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(21, 101, 192, 0.07);
    color: #1565C0;
    font-size: 11.5px;
    font-weight: 700;
}

.faq-subquestions {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed #dbe3ef;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-subitem {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #eaeef5;
    overflow: hidden;
}

.faq-subquestion {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.faq-subquestion-text {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.faq-subitem.open .faq-subquestion-text {
    color: #1565C0;
}

.faq-subitem > .faq-subquestion .faq-icon {
    width: 24px;
    height: 24px;
    font-size: 11px;
}

.faq-subitem.open > .faq-subquestion .faq-icon {
    background: #1565C0;
    color: #ffffff;
    transform: rotate(180deg);
}

.faq-subanswer {
    max-height: 0;
    overflow: hidden;
}

.faq-subanswer-content {
    padding: 0 16px 16px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #64748b;
}

.faq-empty {
    text-align: center;
    padding: 70px 20px;
    border-radius: 18px;
    background: #f6f8fc;
    border: 1px solid #eaeef5;
}

.faq-empty i {
    font-size: 42px;
    color: #cbd5e1;
    margin-bottom: 18px;
}

.faq-empty h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 8px;
}

.faq-empty p {
    font-size: 14.5px;
    color: #64748b;
    margin: 0;
}

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

[data-theme="dark"] .faq-list-head h2 {
    color: #e6eaf2;
}

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

[data-theme="dark"] .faq-item.open {
    border-color: #33507a;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .faq-question-text {
    color: #e6eaf2;
}

[data-theme="dark"] .faq-item.open .faq-question-text {
    color: #6cb6f5;
}

[data-theme="dark"] .faq-icon {
    background: rgba(66, 165, 245, 0.12);
    color: #6cb6f5;
}

[data-theme="dark"] .faq-answer-content {
    color: #a2acc0;
}

[data-theme="dark"] .faq-category-tag {
    background: rgba(66, 165, 245, 0.12);
    color: #6cb6f5;
}

[data-theme="dark"] .faq-subquestions {
    border-top-color: #373d4c;
}

[data-theme="dark"] .faq-subitem {
    background: #1c2029;
    border-color: #333949;
}

[data-theme="dark"] .faq-subquestion-text {
    color: #c3ccdb;
}

[data-theme="dark"] .faq-subitem.open .faq-subquestion-text {
    color: #6cb6f5;
}

[data-theme="dark"] .faq-subanswer-content {
    color: #a2acc0;
}

[data-theme="dark"] .faq-empty {
    background: #1f2430;
    border-color: #333949;
}

[data-theme="dark"] .faq-empty h3 {
    color: #e6eaf2;
}

[data-theme="dark"] .faq-empty p {
    color: #a2acc0;
}

@media (max-width: 560px) {
    .faq-question {
        padding: 16px 18px;
    }

    .faq-question-text {
        font-size: 14.5px;
    }

    .faq-answer-content {
        padding: 0 18px 18px;
    }
}
