*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

.faq-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--main-font);
    color: #fff;
    background:
        radial-gradient(55% 45% at 50% 0%, rgba(2, 207, 92, 0.14), rgba(5, 5, 9, 0) 65%),
        radial-gradient(28% 24% at 15% 20%, rgba(2, 207, 92, 0.06), rgba(5, 5, 9, 0) 70%),
        radial-gradient(20% 18% at 85% 16%, rgba(2, 207, 92, 0.05), rgba(5, 5, 9, 0) 70%),
        #050509;
    padding-top: 96px;
    overflow-x: hidden;
}

.faq-page {
    flex: 1 0 auto;
}

.faq-body footer,
.faq-body .footer,
.faq-body .site-footer {
    margin-top: auto;
}

::selection {
    background: rgba(2, 207, 92, 0.24);
    color: #fff;
}

.faq-hero {
    position: relative;
    width: min(1380px, calc(100% - 40px));
    margin: 0 auto;
    padding: 26px 0 18px;
}

.faq-hero__bg {
    position: absolute;
    inset: 26px 0 18px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01)),
        rgba(10, 10, 12, 0.74);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.faq-hero__bg::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(65% 90% at 50% 0%, rgba(2, 207, 92, 0.16), rgba(2, 207, 92, 0) 60%);
    pointer-events: none;
}

.faq-hero__bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.18), rgba(255,255,255,0));
    pointer-events: none;
}

.faq-hero__content {
    position: relative;
    z-index: 1;
    padding: 56px 56px 42px;
}

.faq-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(2, 207, 92, 0.98);
    background: rgba(2, 207, 92, 0.1);
    border: 1px solid rgba(2, 207, 92, 0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.faq-hero__title {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-shadow: 0 18px 50px rgba(0,0,0,0.7);
}

.faq-hero__title span {
    display: block;
    background: linear-gradient(90deg, var(--servername-gradient));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-hero__text {
    margin: 18px 0 0;
    max-width: 760px;
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.76);
}

.faq-toolbar {
    margin-top: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.faq-search {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 62px;
    border-radius: 18px;
    background: rgba(5, 7, 10, 0.82);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03),
        0 16px 36px rgba(0,0,0,0.4);
    overflow: hidden;
}

.faq-search svg {
    width: 18px;
    height: 18px;
    margin-left: 18px;
    color: rgba(255,255,255,0.42);
    flex-shrink: 0;
}

.faq-search input {
    width: 100%;
    height: 100%;
    padding: 0 18px 0 12px;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-family: var(--main-font);
    font-size: 0.95rem;
}

.faq-search input::placeholder {
    color: rgba(255,255,255,0.42);
}

.faq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    border-radius: 18px;
    background: rgba(9, 10, 13, 0.72);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03),
        0 16px 36px rgba(0,0,0,0.4);
}

.faq-filter {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.76);
    border-radius: 14px;
    padding: 11px 16px;
    font-family: var(--main-font);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: 0.2s ease;
}

.faq-filter:hover {
    transform: translateY(-1px);
    border-color: rgba(2, 207, 92, 0.2);
    color: #fff;
}

.faq-filter.is-active {
    background: linear-gradient(135deg, #02cf5c, #019643);
    border-color: rgba(2, 207, 92, 0.42);
    box-shadow:
        0 12px 28px rgba(2, 207, 92, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.faq-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.faq-stat {
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: rgba(8, 9, 12, 0.64);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 36px rgba(0,0,0,0.34);
}

.faq-stat__value {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
}

.faq-stat__label {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.54);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.faq-content {
    width: min(1380px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 60px;
}

.faq-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 22px;
}

.faq-section-head__eyebrow {
    margin: 0 0 8px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(2, 207, 92, 0.9);
}

.faq-section-head h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.faq-section-head__text {
    margin: 0;
    max-width: 460px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.68);
    text-align: right;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    position: relative;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
        rgba(10, 10, 12, 0.76);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.42),
        inset 0 1px 0 rgba(255,255,255,0.03);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item::before {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(2,207,92,0), rgba(2,207,92,0.7), rgba(2,207,92,0));
    opacity: 0.55;
}

.faq-item:hover {
    transform: translateY(-2px);
    border-color: rgba(2, 207, 92, 0.16);
    box-shadow:
        0 24px 70px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.faq-item__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 24px 24px 22px;
    background: transparent;
    border: none;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font-family: var(--main-font);
}

.faq-item__meta h3 {
    margin: 10px 0 0;
    font-size: 1.06rem;
    line-height: 1.45;
    font-weight: 800;
    color: #fff;
}

.faq-item__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(2, 207, 92, 0.1);
    border: 1px solid rgba(2, 207, 92, 0.16);
    color: rgba(2, 207, 92, 0.96);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.faq-item__icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.76);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item__icon svg {
    width: 20px;
    height: 20px;
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(180deg);
    background: rgba(2, 207, 92, 0.12);
    color: rgba(2, 207, 92, 0.95);
    border-color: rgba(2, 207, 92, 0.16);
}

.faq-item__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
}

.faq-item__content-inner {
    padding: 0 24px 24px;
}

.faq-item__content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.74);
}

.faq-empty {
    margin-top: 18px;
}

.faq-empty__box {
    padding: 34px 24px;
    border-radius: 22px;
    text-align: center;
    background: rgba(10,10,12,0.72);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.36);
}

.faq-empty__box h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.faq-empty__box p {
    margin: 0;
    color: rgba(255,255,255,0.65);
}

.faq-cta {
    margin-top: 26px;
    padding: 30px;
    border-radius: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background:
        radial-gradient(70% 120% at 0% 0%, rgba(2,207,92,0.14), rgba(2,207,92,0) 45%),
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
        rgba(9, 10, 13, 0.84);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 24px 70px rgba(0,0,0,0.48),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

.faq-cta__eyebrow {
    margin: 0 0 8px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(2, 207, 92, 0.92);
}

.faq-cta h2 {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    line-height: 1.05;
}

.faq-cta p {
    margin: 0;
    max-width: 700px;
    line-height: 1.8;
    color: rgba(255,255,255,0.72);
}

.faq-cta__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.faq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    transition: 0.2s ease;
}

.faq-btn--primary {
    color: #FFFFFFE0;
    background: linear-gradient(135deg, #02cf5c, #019643);
    box-shadow: 0 14px 30px rgba(2, 207, 92, 0.2);
}

.faq-btn--primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.faq-btn--secondary {
    color: #fff;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
}

.faq-btn--secondary:hover {
    transform: translateY(-1px);
    border-color: rgba(2, 207, 92, 0.18);
}

.faq-footnote {
    margin: 26px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    font-size: 0.86rem;
    color: rgba(255,255,255,0.56);
}

.reveal-item {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .faq-toolbar {
        grid-template-columns: 1fr;
    }

    .faq-stats {
        grid-template-columns: 1fr;
    }

    .faq-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-section-head__text {
        text-align: left;
        max-width: none;
    }

    .faq-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .faq-body {
        padding-top: 88px;
    }

    .faq-hero,
    .faq-content {
        width: min(100% - 24px, 1240px);
    }

    .faq-hero__content {
        padding: 28px 18px 22px;
    }

    .faq-hero__title {
        line-height: 1.02;
    }

    .faq-filters {
        padding: 8px;
    }

    .faq-filter {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
        text-align: center;
    }

    .faq-item__trigger {
        padding: 18px;
    }

    .faq-item__content-inner {
        padding: 0 18px 18px;
    }

    .faq-cta {
        padding: 22px 18px;
    }
}

@media (max-width: 520px) {
    .faq-hero__badge {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }

    .faq-search {
        min-height: 56px;
        border-radius: 16px;
    }

    .faq-item {
        border-radius: 18px;
    }

    .faq-item__meta h3 {
        font-size: 0.95rem;
    }

    .faq-item__icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .faq-btn {
        width: 100%;
    }

    .faq-cta__actions {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal-item {
        opacity: 1;
        transform: none;
    }
}