/* ==========================================
   GOBUYEVENT — FAQ PAGES
   Applies only inside .gbe-faq
   ========================================== */

.gbe-faq {
    --gbe-navy: #08142f;
    --gbe-blue: #2364d2;
    --gbe-purple: #7f18a8;
    --gbe-pink: #bd3372;
    --gbe-white: #ffffff;
    --gbe-light: #f6f8fc;
    --gbe-text: #26334a;
    --gbe-muted: #526078;

    background: var(--gbe-light);
    color: var(--gbe-text);
    line-height: 1.7;
}

.gbe-faq,
.gbe-faq * {
    box-sizing: border-box;
}

.gbe-faq .gbe-faq-container {
    width: min(100% - 40px, 1000px);
    margin-inline: auto;
}

/* ==========================================
   FAQ HERO
   ========================================== */

.gbe-faq .gbe-faq-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 72px 0;
    background:
        radial-gradient(
            ellipse at 85% 20%,
            rgba(127, 24, 168, .34),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 10% 85%,
            rgba(35, 100, 210, .32),
            transparent 50%
        ),
        linear-gradient(125deg, #08142f 0%, #13264f 100%);
    color: #ffffff;
    text-align: center;
}

.gbe-faq .gbe-faq-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -100px;
    bottom: -280px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow:
        0 0 0 65px rgba(255, 255, 255, .025),
        0 0 0 130px rgba(189, 51, 114, .035);
    pointer-events: none;
}

.gbe-faq .gbe-faq-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50px;
    background: rgba(255, 255, 255, .07);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.gbe-faq .gbe-faq-hero h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
}

.gbe-faq .gbe-faq-hero p {
    max-width: 700px;
    margin: 0 auto 28px;
    color: #d3d9e9;
    font-size: 17px;
    line-height: 1.8;
}

/* ==========================================
   FAQ NAVIGATION
   ========================================== */

.gbe-faq .gbe-faq-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.gbe-faq .gbe-faq-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, box-shadow .2s ease;
}

.gbe-faq .gbe-faq-nav-link:hover {
    background: rgba(255, 255, 255, .1);
    color: #ffffff;
    text-decoration: none;
}

.gbe-faq .gbe-faq-nav-link.is-active {
    border-color: transparent;
    background: linear-gradient(
        110deg,
        var(--gbe-blue),
        var(--gbe-purple)
    );
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(127, 24, 168, .22);
}

/* ==========================================
   FAQ CONTENT & GROUPS
   ========================================== */

.gbe-faq .gbe-faq-content {
    padding: 56px 0 72px;
}

.gbe-faq .gbe-faq-group {
    margin-bottom: 42px;
}

.gbe-faq .gbe-faq-group:last-child {
    margin-bottom: 0;
}

.gbe-faq .gbe-faq-group h2 {
    position: relative;
    margin: 0 0 22px;
    padding-left: 16px;
    color: var(--gbe-navy);
    font-size: clamp(22px, 2.8vw, 28px);
    font-weight: 800;
    line-height: 1.4;
}

.gbe-faq .gbe-faq-group h2::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(
        180deg,
        var(--gbe-blue),
        var(--gbe-purple)
    );
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */

.gbe-faq .gbe-faq-item {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #e6eaf2;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(8, 20, 47, .035);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.gbe-faq .gbe-faq-item:hover {
    border-color: rgba(127, 24, 168, .35);
}

.gbe-faq .gbe-faq-item[open] {
    border-color: rgba(127, 24, 168, .55);
    box-shadow: 0 8px 24px rgba(8, 20, 47, .06);
}

.gbe-faq .gbe-faq-item > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 62px;
    padding: 20px 24px;
    color: var(--gbe-navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
}

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

.gbe-faq .gbe-faq-item > summary::marker {
    content: "";
}

.gbe-faq .gbe-faq-item > summary::after {
    content: "+";
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(127, 24, 168, .07);
    color: var(--gbe-purple);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}

.gbe-faq .gbe-faq-item[open] > summary::after {
    content: "\2212";
    background: rgba(127, 24, 168, .12);
}

.gbe-faq .gbe-faq-item > summary:focus-visible {
    outline: 2px solid var(--gbe-blue);
    outline-offset: -3px;
}

.gbe-faq .gbe-faq-answer {
    margin: 0 24px;
    padding: 18px 0 24px;
    border-top: 1px solid #e8ebf3;
    color: var(--gbe-muted);
    font-size: 15px;
    line-height: 1.85;
}

.gbe-faq .gbe-faq-answer p {
    margin: 0 0 12px;
}

.gbe-faq .gbe-faq-answer p:last-child {
    margin-bottom: 0;
}

.gbe-faq .gbe-faq-answer a {
    color: var(--gbe-blue);
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */

@media (max-width: 767px) {
    .gbe-faq .gbe-faq-container {
        width: calc(100% - 30px);
    }

    .gbe-faq .gbe-faq-hero {
        padding: 48px 0;
    }

    .gbe-faq .gbe-faq-hero h1 {
        font-size: clamp(28px, 7vw, 36px);
    }

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

    .gbe-faq .gbe-faq-eyebrow {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .gbe-faq .gbe-faq-navigation {
        gap: 10px;
    }

    .gbe-faq .gbe-faq-nav-link {
        flex: 1 1 130px;
        min-width: 0;
        padding: 12px 14px;
        font-size: 14px;
    }

    .gbe-faq .gbe-faq-content {
        padding: 36px 0 48px;
    }

    .gbe-faq .gbe-faq-group {
        margin-bottom: 32px;
    }

    .gbe-faq .gbe-faq-group h2 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .gbe-faq .gbe-faq-item > summary {
        padding: 16px 18px;
        font-size: 15px;
        gap: 12px;
    }

    .gbe-faq .gbe-faq-answer {
        margin: 0 18px;
        padding: 14px 0 18px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gbe-faq .gbe-faq-item,
    .gbe-faq .gbe-faq-nav-link {
        transition: none;
    }
}