/* GPSPL FAQ page */
.faq-page {
    background: #f6f9fd;
    color: #07111f;
}

.faq-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(92px, 10vw, 150px) 0 clamp(78px, 8vw, 118px);
    background: #07111f;
    color: #ffffff;
}

.faq-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        url("../assests/images/faq/faq-hero-knowledge-center.webp") center/cover no-repeat;
    transform: scale(1.04);
    animation: faqHeroDrift 14s ease-in-out infinite alternate;
}

.faq-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(4, 8, 15, 0.94), rgba(7, 17, 31, 0.78) 52%, rgba(7, 17, 31, 0.44)),
        radial-gradient(circle at 82% 16%, rgba(47, 124, 255, 0.22), transparent 28%),
        linear-gradient(180deg, rgba(7, 17, 31, 0.1), #07111f 100%);
}

@keyframes faqHeroDrift {
    from { transform: scale(1.04); }
    to { transform: scale(1.1) translate3d(-14px, -8px, 0); }
}

.faq-hero-content {
    max-width: 920px;
}

.faq-kicker {
    margin: 0 0 15px;
    color: #78aaff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.faq-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.faq-hero p:not(.faq-kicker) {
    max-width: 760px;
    margin: 0;
    color: rgba(238, 244, 255, 0.78);
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.75;
}

.faq-search-wrap {
    position: relative;
    max-width: 720px;
    margin-top: 34px;
}

.faq-search-wrap i {
    position: absolute;
    top: 50%;
    left: 22px;
    color: #78aaff;
    transform: translateY(-50%);
}

.faq-search-wrap input {
    width: 100%;
    min-height: 62px;
    padding: 16px 22px 16px 56px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font: inherit;
    font-size: 17px;
    outline: none;
    backdrop-filter: blur(16px);
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-search-wrap input::placeholder {
    color: rgba(238, 244, 255, 0.58);
}

.faq-search-wrap input:focus {
    border-color: rgba(120, 170, 255, 0.74);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 0 4px rgba(47, 124, 255, 0.14);
}

.faq-library-section {
    padding: clamp(72px, 8vw, 112px) 0;
}

.faq-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.faq-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 6px;
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.faq-sidebar span {
    margin-bottom: 8px;
    color: #2f7cff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.faq-sidebar a {
    padding: 10px 12px;
    border-radius: 8px;
    color: #536176;
    font-weight: 740;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-sidebar a:hover {
    background: rgba(47, 124, 255, 0.1);
    color: #07111f;
}

.faq-library {
    display: grid;
    gap: 28px;
}

.faq-category {
    padding: 28px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.faq-category-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.faq-category-heading i {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: rgba(47, 124, 255, 0.12);
    color: #2f7cff;
}

.faq-category-heading h2 {
    margin: 0;
    color: #07111f;
    font-size: clamp(24px, 2.4vw, 34px);
    letter-spacing: -0.03em;
}

.faq-item {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.faq-item summary {
    position: relative;
    padding: 22px 56px 22px 0;
    color: #07111f;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: rgba(47, 124, 255, 0.1);
    color: #2f7cff;
    transform: translateY(-50%);
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    max-width: 880px;
    margin: 0;
    padding: 0 0 22px;
    color: #536176;
    font-size: 16px;
    line-height: 1.8;
}

.faq-trust-section {
    padding: 82px 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(47, 124, 255, 0.15), transparent 28%),
        #07111f;
    color: #ffffff;
}

.faq-section-heading {
    max-width: 780px;
    margin: 0 auto 34px;
    text-align: center;
}

.faq-section-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.faq-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.faq-trust-grid span {
    min-height: 92px;
    display: flex;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 800;
    backdrop-filter: blur(14px);
}

.faq-cta-section {
    padding: 88px 0;
    background:
        linear-gradient(115deg, rgba(7, 17, 31, 0.92), rgba(9, 30, 58, 0.72)),
        radial-gradient(circle at 78% 20%, rgba(47, 124, 255, 0.22), transparent 30%),
        url("../assests/images/faq/faq-support-cta.webp") center/cover no-repeat;
    color: #ffffff;
    text-align: center;
}

.faq-cta-content {
    max-width: 900px;
}

.faq-cta-content h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 4.8vw, 66px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.faq-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.faq-cta-actions .btn-primary {
    margin-left: 0;
    border-color: #2f7cff;
    background: #2f7cff;
}

.faq-outline-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 800;
}

@media (max-width: 980px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-sidebar {
        position: static;
    }

    .faq-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .faq-category {
        padding: 22px;
    }

    .faq-section-heading,
    .faq-cta-section {
        text-align: left;
    }

    .faq-trust-grid {
        grid-template-columns: 1fr;
    }

    .faq-cta-actions,
    .faq-cta-actions .btn-primary,
    .faq-outline-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-hero-media {
        animation: none;
    }
}

/* Final FAQ QA lock */
.faq-page {
    max-width: 100% !important;
    overflow-x: visible !important;
}

.faq-hero {
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding-block: clamp(104px, 8vw, 142px) clamp(62px, 7vw, 96px) !important;
}

.faq-hero::before,
.faq-hero::after,
.faq-hero-media {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: 100% !important;
}

.faq-hero-content {
    width: min(100% - 64px, 980px) !important;
    max-width: 100% !important;
}

@media (max-width: 620px) {
    .faq-hero {
        padding-block: 88px 54px !important;
    }

    .faq-hero-content {
        width: min(100% - 28px, 980px) !important;
    }
}
