
/* ========================================
   PIXERR FAQ PAGE
======================================== */

.faq-page {
    --faq-bg: #080f19;
    --faq-card: #111e2e;
    --faq-border: #25364a;
    --faq-cyan: #00c8f0;
    --faq-white: #f5f8fc;
    --faq-muted: #a8b9cc;

    margin: 0;
    background: var(--faq-bg);
    color: var(--faq-white);
    font-family: 'Inter', Arial, sans-serif;
}

.faq-page *,
.faq-page *::before,
.faq-page *::after {
    box-sizing: border-box;
}

.faq-page [hidden] {
    display: none !important;
}

.faq-page button,
.faq-page input {
    font-family: inherit;
}

.faq-page .faq-nav-active {
    color: var(--faq-cyan) !important;
}


/* ========================================
   HERO SECTION
======================================== */

.faq-page .faq-hero {
    position: relative;
    overflow: hidden;
    padding: 155px 24px 65px;

    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(0, 200, 240, 0.11),
            transparent 65%
        ),
        linear-gradient(
            180deg,
            #101e2e 0%,
            #080f19 100%
        );

    text-align: center;
}

.faq-page .faq-hero-content {
    max-width: 950px;
    margin: 0 auto;
}

.faq-page .faq-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--faq-cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    line-height: 1.7;
}

.faq-page .faq-hero h1 {
    margin: 0 0 20px;
    color: var(--faq-white);
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
}

.faq-page .faq-hero h1 span {
    color: var(--faq-cyan);
}

.faq-page .faq-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--faq-muted);
    font-size: 15px;
    line-height: 1.9;
}


/* ========================================
   SEARCH BAR
======================================== */

.faq-page .faq-search-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 580px;
    min-height: 60px;
    margin: 35px auto 0;
    padding: 0 20px;

    background: #111e2e;
    border: 1px solid #304258;
    border-radius: 12px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.faq-page .faq-search-wrapper:focus-within {
    border-color: var(--faq-cyan);
    box-shadow: 0 0 25px rgba(0, 200, 240, 0.12);
}

.faq-page .faq-search-wrapper svg {
    flex-shrink: 0;
    color: var(--faq-cyan);
}

.faq-page .faq-search-wrapper input {
    width: 100%;
    min-width: 0;
    padding: 18px 0;

    background: transparent;
    border: none;
    outline: none;

    color: var(--faq-white);
    font-size: 14px;
}

.faq-page .faq-search-wrapper input::placeholder {
    color: #8497ae;
}


/* ========================================
   MAIN CONTAINER
======================================== */

.faq-page .faq-main {
    padding: 15px 0 80px;
}

.faq-page .faq-container {
    width: calc(100% - 48px);
    max-width: 1050px;
    margin: 0 auto;
}


/* ========================================
   CATEGORY FILTERS
======================================== */

.faq-page .faq-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--faq-border);
}

.faq-page .faq-filter {
    padding: 11px 17px;

    background: #111e2e;
    border: 1px solid var(--faq-border);
    border-radius: 50px;

    color: var(--faq-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;

    transition: all 0.25s ease;
}

.faq-page .faq-filter:hover {
    color: var(--faq-cyan);
    border-color: var(--faq-cyan);
    background: rgba(0, 200, 240, 0.06);
}

.faq-page .faq-filter.active {
    color: #07121c;
    background: var(--faq-cyan);
    border-color: var(--faq-cyan);
    box-shadow: 0 0 20px rgba(0, 200, 240, 0.15);
}

.faq-page .faq-results-info {
    margin: 20px 0 35px;
    color: #8497ae;
    font-size: 12px;
}


/* ========================================
   FAQ GROUPS
======================================== */

.faq-page .faq-group {
    margin-bottom: 42px;
}

.faq-page .faq-group-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 20px;

    color: var(--faq-white);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.faq-page .faq-category-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 37px;
    height: 37px;
    flex-shrink: 0;

    background: rgba(0, 200, 240, 0.08);
    border: 1px solid rgba(0, 200, 240, 0.18);
    border-radius: 10px;

    color: var(--faq-cyan);
    font-size: 12px;
    font-weight: 700;
}


/* ========================================
   FAQ ACCORDION
======================================== */

.faq-page .faq-item {
    margin-bottom: 12px;

    background: var(--faq-card);
    border: 1px solid var(--faq-border);
    border-radius: 12px;
    overflow: hidden;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.faq-page .faq-item:hover {
    border-color: #426078;
    background: #142335;
}

.faq-page .faq-item[open] {
    border-color: rgba(0, 200, 240, 0.5);
    background: #122131;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.faq-page .faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 22px 25px;

    color: var(--faq-white);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;

    list-style: none;
    cursor: pointer;
}

.faq-page .faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-page .faq-item summary::marker {
    content: "";
}

.faq-page .faq-item[open] summary {
    color: var(--faq-cyan);
}


/* ========================================
   PLUS AND MINUS ICON
======================================== */

.faq-page .faq-icon {
    position: relative;
    display: inline-block;
    flex-shrink: 0;

    width: 29px;
    height: 29px;

    border: 1px solid #30465b;
    border-radius: 50%;

    transition: all 0.25s ease;
}

.faq-page .faq-icon::before,
.faq-page .faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 11px;
    height: 1.5px;

    background: var(--faq-cyan);
    border-radius: 2px;

    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

.faq-page .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-page .faq-item[open] .faq-icon {
    background: rgba(0, 200, 240, 0.1);
    border-color: var(--faq-cyan);
}

.faq-page .faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}


/* ========================================
   FAQ ANSWERS
======================================== */

.faq-page .faq-answer {
    padding: 0 25px 25px;
}

.faq-page .faq-item[open] .faq-answer {
    animation: faqAnswerIn 0.3s ease;
}

.faq-page .faq-answer p {
    max-width: 850px;
    margin: 0 0 12px;

    color: var(--faq-muted);
    font-size: 14px;
    line-height: 1.9;
}

.faq-page .faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-page .faq-inline-link {
    display: inline-block;
    margin-top: 8px;

    color: var(--faq-cyan);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.faq-page .faq-inline-link:hover {
    text-decoration: underline;
    color: #8beaff;
}

@keyframes faqAnswerIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========================================
   PAYMENT METHODS
======================================== */

.faq-page .faq-payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.faq-page .faq-payment-methods span {
    padding: 10px 15px;

    background: #0b1521;
    border: 1px solid #30465b;
    border-radius: 8px;

    color: #dbe7f3;
    font-size: 12px;
    font-weight: 600;
}


/* ========================================
   NO RESULTS
======================================== */

.faq-page .faq-no-results {
    padding: 45px 20px 60px;
    text-align: center;
}

.faq-page .faq-no-results h3 {
    margin: 0 0 12px;
    color: var(--faq-white);
    font-size: 23px;
}

.faq-page .faq-no-results p {
    margin: 0 0 25px;
    color: var(--faq-muted);
    font-size: 14px;
    line-height: 1.8;
}


/* ========================================
   CONTACT CTA
======================================== */

.faq-page .faq-contact-card {
    position: relative;
    overflow: hidden;

    margin-top: 65px;
    padding: 55px 25px;

    background:
        radial-gradient(
            ellipse at top center,
            rgba(0, 200, 240, 0.09),
            transparent 75%
        ),
        #111e2e;

    border: 1px solid var(--faq-border);
    border-radius: 22px;
    text-align: center;
}

.faq-page .faq-contact-card h2 {
    margin: 0 0 15px;

    color: var(--faq-white);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
}

.faq-page .faq-contact-card p {
    max-width: 550px;
    margin: 0 auto 25px;

    color: var(--faq-muted);
    font-size: 14px;
    line-height: 1.9;
}


/* ========================================
   PRIMARY BUTTON
======================================== */

.faq-page .faq-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 15px 29px;

    background: var(--faq-cyan);
    border: 1px solid var(--faq-cyan);
    border-radius: 50px;

    color: #07121c;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.faq-page .faq-primary-btn:hover {
    background: var(--faq-cyan);
    color: #07121c;
    transform: translateY(-3px);
    box-shadow: 0 0 28px rgba(0, 200, 240, 0.35);
}

.faq-page .faq-primary-btn span {
    transition: transform 0.25s ease;
}

.faq-page .faq-primary-btn:hover span {
    transform: translateX(4px);
}


/* ========================================
   FOOTER
======================================== */

.faq-page .faq-footer {
    padding: 25px 20px;
    background: #070d16;
    border-top: 1px solid #1e2b3b;
    text-align: center;
}

.faq-page .faq-footer p {
    margin: 0;
    color: #8295ab;
    font-size: 12px;
    line-height: 1.7;
}


/* ========================================
   ACCESSIBILITY
======================================== */

.faq-page button:focus-visible,
.faq-page a:focus-visible,
.faq-page summary:focus-visible {
    outline: 2px solid var(--faq-cyan);
    outline-offset: 4px;
}


/* ========================================
   TABLET AND MOBILE
======================================== */

@media (max-width: 768px) {

    .faq-page .faq-hero {
        padding: 120px 20px 40px;
    }

    .faq-page .faq-hero h1 {
        font-size: clamp(30px, 7vw, 42px);
        letter-spacing: -1.2px;
    }

    .faq-page .faq-hero p {
        font-size: 14px;
    }

    .faq-page .faq-search-wrapper {
        margin-top: 25px;
        min-height: 54px;
        padding: 0 15px;
    }

    .faq-page .faq-search-wrapper input {
        font-size: 16px;
        padding: 15px 0;
    }

    .faq-page .faq-container {
        width: calc(100% - 36px);
    }

    .faq-page .faq-main {
        padding: 10px 0 50px;
    }

    .faq-page .faq-filters {
        gap: 8px;
    }

    .faq-page .faq-filter {
        font-size: 11px;
        padding: 9px 13px;
    }

    .faq-page .faq-group-title {
        font-size: 19px;
        gap: 10px;
    }

    .faq-page .faq-category-number {
        width: 32px;
        height: 32px;
    }

    .faq-page .faq-group {
        margin-bottom: 32px;
    }

    .faq-page .faq-item summary {
        padding: 18px 16px;
        font-size: 14px;
        gap: 12px;
    }

    .faq-page .faq-answer {
        padding: 0 16px 20px;
    }

    .faq-page .faq-answer p {
        font-size: 13px;
    }

    .faq-page .faq-icon {
        width: 26px;
        height: 26px;
    }

    .faq-page .faq-contact-card {
        margin-top: 40px;
        padding: 40px 20px;
    }

    .faq-page .faq-payment-methods span {
        padding: 8px 11px;
        font-size: 11px;
    }

}

@media (max-width: 380px) {

    .faq-page .faq-container {
        width: calc(100% - 28px);
    }

    .faq-page .faq-group-title {
        font-size: 17px;
    }

    .faq-page .faq-item summary {
        font-size: 13px;
    }

    .faq-page .faq-hero h1 {
        font-size: 30px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .faq-page *,
    .faq-page *::before,
    .faq-page *::after {
        animation: none !important;
        transition: none !important;
    }

}
