/* ===========================
   SPOTEYO - FAQ STYLES
   =========================== */

/* ========== FAQ ACCORDION (shared) ========== */
.sp-faq-accordion {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-faq-item {
    background: #ffffff;
    border: 1px solid rgba(1, 37, 131, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp-faq-item:hover {
    border-color: rgba(1, 56, 200, 0.15);
}

.sp-faq-item--open {
    border-color: rgba(1, 56, 200, 0.18);
    box-shadow: 0 2px 12px rgba(1, 37, 131, 0.06);
}

.sp-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1A1F36;
    line-height: 1.5;
    gap: 16px;
    transition: color 0.2s ease;
}

.sp-faq-question:hover {
    color: #0138C8;
}

.sp-faq-question:focus {
    outline: none !important;
    box-shadow: none !important;
}

.sp-faq-question:focus-visible {
    outline: 2px solid #0138C8 !important;
    outline-offset: -2px;
    box-shadow: none !important;
    border-radius: 12px;
}

.sp-faq-question__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(1, 56, 200, 0.06);
    color: #0138C8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease;
}

.sp-faq-item--open .sp-faq-question__icon {
    transform: rotate(180deg);
    background: rgba(1, 56, 200, 0.12);
}

.sp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
}

.sp-faq-item--open .sp-faq-answer {
    max-height: 500px;
}

.sp-faq-answer__inner {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: #5A6278;
    line-height: 1.7;
}

.sp-faq-answer__inner p {
    margin-bottom: 0;
}

/* ========== HOMEPAGE FAQ SECTION ========== */
.sp-faq-home {
    padding: 72px 0;
    background: #F6F7F9;
}

.sp-faq-home__header {
    text-align: center;
    margin-bottom: 40px;
}

.sp-faq-home__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #012583;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.sp-faq-home__sub {
    font-size: 1.0625rem;
    color: #5A6278;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

.sp-faq-home__content {
    max-width: 780px;
    margin: 0 auto;
}

.sp-faq-home__cta {
    text-align: center;
    margin-top: 36px;
}

.sp-faq-home__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #0138C8;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 10px;
    border: 1px solid rgba(1, 56, 200, 0.15);
    background: #ffffff;
    transition: all 0.25s ease;
}

.sp-faq-home__cta-link:hover {
    background: #0138C8;
    color: #ffffff;
    border-color: #0138C8;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(1, 56, 200, 0.2);
}

.sp-faq-home__cta-link:focus {
    outline: none !important;
    box-shadow: none !important;
}

.sp-faq-home__cta-link:focus-visible {
    outline: 2px solid #0138C8 !important;
    outline-offset: 2px;
    box-shadow: none !important;
}

/* ========== FAQ PAGE ========== */
.sp-faq-page {
    padding-bottom: 0;
}

/* Hero */
.sp-faq-hero {
    background: linear-gradient(135deg, #012583 0%, #0138C8 100%);
    padding: 80px 0 56px;
    position: relative;
    overflow: hidden;
}

.sp-faq-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.sp-faq-hero__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.sp-faq-hero__sub {
    font-size: 1.0625rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Section navigation */
.sp-faq-nav {
    background: #ffffff;
    border-bottom: 1px solid rgba(1, 37, 131, 0.06);
    padding: 16px 0;
    position: sticky;
    top: 56px;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(1, 37, 131, 0.04);
}

.sp-faq-nav__list {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.sp-faq-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: #5A6278;
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sp-faq-nav__link:hover {
    color: #0138C8;
    background: rgba(1, 56, 200, 0.05);
    border-color: rgba(1, 56, 200, 0.1);
}

.sp-faq-nav__link:focus {
    outline: none !important;
    box-shadow: none !important;
}

.sp-faq-nav__link:focus-visible {
    outline: 2px solid #0138C8 !important;
    outline-offset: -2px;
    box-shadow: none !important;
}

.sp-faq-nav__link i {
    font-size: 0.9rem;
}

/* FAQ sections */
.sp-faq-sections {
    padding: 48px 0 72px;
}

.sp-faq-category {
    margin-bottom: 48px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    scroll-margin-top: 120px;
}

.sp-faq-category:last-child {
    margin-bottom: 0;
}

.sp-faq-category__header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(1, 56, 200, 0.08);
}

.sp-faq-category__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #012583;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-faq-category__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.sp-faq-category__icon--general {
    background: rgba(1, 56, 200, 0.08);
    color: #0138C8;
}

.sp-faq-category__icon--organizers {
    background: rgba(171, 255, 0, 0.15);
    color: #2D7A00;
}

.sp-faq-category__icon--seekers {
    background: rgba(255, 159, 28, 0.12);
    color: #C77600;
}

.sp-faq-category__icon--roadmap {
    background: rgba(139, 92, 246, 0.1);
    color: #7C3AED;
}

/* Page CTA */
.sp-faq-cta {
    padding: 64px 0;
    background: #F6F7F9;
}

.sp-faq-cta__inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.sp-faq-cta__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.375rem;
    color: #012583;
    margin-bottom: 12px;
}

.sp-faq-cta__text {
    font-size: 0.9375rem;
    color: #5A6278;
    line-height: 1.6;
    margin-bottom: 24px;
}

.sp-faq-cta__buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .sp-faq-home {
        padding: 48px 0;
    }

    .sp-faq-question {
        padding: 16px 18px;
        font-size: 0.875rem;
    }

    .sp-faq-answer__inner {
        padding: 0 18px 16px;
        font-size: 0.85rem;
    }

    .sp-faq-hero {
        padding: 56px 0 40px;
    }

    .sp-faq-nav__list {
        gap: 6px;
    }

    .sp-faq-nav__link {
        padding: 6px 14px;
        font-size: 0.8125rem;
    }

    .sp-faq-sections {
        padding: 32px 0 48px;
    }

    .sp-faq-category {
        margin-bottom: 36px;
    }

    .sp-faq-cta {
        padding: 48px 0;
    }
}
