/* Scoped styles for the premium overhaul of FAQ Page */
.faq-premium-section {
    background-color: #05070e !important;
    position: relative;
    z-index: 1;
    padding: 120px 0 80px 0;
    overflow: hidden;
}

/* Ambient glow spots */
.faq-premium-section::before {
    content: "";
    position: absolute;
    top: 10%;
    right: -10%;
    width: 45%;
    height: 55%;
    background: radial-gradient(circle, rgba(68, 97, 223, 0.12) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(90px);
    animation: pulseBlob 15s infinite alternate;
}

@keyframes pulseBlob {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-20px, 15px); }
}

/* Eyebrow styling */
.premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #45e0ff;
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
}

.premium-eyebrow i {
    font-size: 8px;
    color: #45e0ff;
}

/* Search input bar */
.faq-search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.faq-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px 16px 54px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    outline: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-search-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: #45e0ff;
    box-shadow: 0 0 0 3px rgba(69, 224, 255, 0.15), 0 15px 40px rgba(0, 0, 0, 0.25);
}

.faq-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    transition: color 0.3s ease;
}

.faq-search-wrapper:focus-within .faq-search-icon {
    color: #45e0ff;
}

/* Accordion Custom Styling */
.premium-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.premium-accordion-item {
    background: rgba(13, 20, 38, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px !important;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-accordion-item:hover {
    border-color: rgba(69, 224, 255, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(69, 224, 255, 0.04);
}

/* Active/expanded state styling */
.premium-accordion-item.expanded-active {
    border-color: rgba(68, 97, 223, 0.3);
    background: rgba(13, 20, 38, 0.65);
    box-shadow: 0 10px 30px rgba(68, 97, 223, 0.06);
}

/* Accordion Header & Button */
.premium-accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 28px;
    background: transparent !important;
    border: none;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    outline: none;
    box-shadow: none !important;
    cursor: pointer;
    transition: color 0.3s ease;
}

.premium-accordion-button:hover {
    color: #45e0ff !important;
}

/* Beautiful rotating plus/minus indicator */
.faq-toggle-indicator {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    margin-left: 20px;
}

.premium-accordion-button:not(.collapsed) .faq-toggle-indicator {
    color: #45e0ff;
    transform: rotate(45deg);
}

.faq-toggle-indicator::before,
.faq-toggle-indicator::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: 2px;
}

/* Vertical bar */
.faq-toggle-indicator::before {
    width: 2px;
    height: 14px;
    transition: transform 0.3s ease;
}

/* Horizontal bar */
.faq-toggle-indicator::after {
    width: 14px;
    height: 2px;
}

.premium-accordion-button:not(.collapsed) .faq-toggle-indicator::before {
    transform: scaleY(0);
}

/* Accordion Body */
.premium-accordion-body {
    padding: 0 28px 24px 28px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    animation: fadeInBody 0.4s ease;
}

.premium-accordion-body a {
    color: #45e0ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.premium-accordion-body a:hover {
    color: #8fe8ff;
    text-decoration: underline;
}

@keyframes fadeInBody {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Extra help banner */
.faq-footer-banner {
    max-width: 900px;
    margin: 50px auto 0 auto;
    padding: 30px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(68, 97, 223, 0.1) 0%, rgba(69, 224, 255, 0.03) 100%);
    border: 1px solid rgba(68, 97, 223, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    backdrop-filter: blur(10px);
}

.faq-footer-text h4 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.faq-footer-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

.faq-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4461DF;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.faq-footer-btn:hover {
    background: #5370f1;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(68, 97, 223, 0.35);
    color: #ffffff;
}

/* No results indicator state */
.faq-no-results {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.4);
    display: none;
    font-size: 15px;
}

/* Responsiveness adjustments */
@media (max-width: 767px) {
    .faq-premium-section {
        padding: 100px 0 60px 0;
    }

    .premium-accordion-button {
        padding: 20px;
        font-size: 15px;
    }

    .premium-accordion-body {
        padding: 0 20px 20px 20px;
        font-size: 14px;
    }

    .faq-footer-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

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