/* FAQ PAGE SPECIFIC STYLES */

.faqs-page-wrapper {
    background-color: #ffffff;
    min-height: 100vh;
    padding-bottom: 80px;
    font-family: var(--font-main);
    /* assuming modern sans */
}

/* Hero Section */
.faqs-hero {
    padding: 150px 0 60px 0;
    position: relative;
    z-index: 2;
    background: #ffffff;
}

.help-center-badge {
    display: inline-block;
    border: 1px solid #2563eb;
    /* Blue border */
    color: #2563eb;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.faqs-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #000000;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.faqs-hero h1 .cursor {
    color: #2563eb;
    font-weight: 900;
}

.faqs-hero .hero-subtitle {
    font-size: 1.1rem;
    color: #475569;
    max-width: 800px;
    line-height: 1.6;
}

/* FAQ Layout */
.faqs-section {
    padding: 100px 0;
    position: relative;
    z-index: 5;
    background: #ffffff;
}

.title-highlight {
    background-color: var(--accent-core, #C6F432);
    color: #000000;
    padding: 0 15px 4px 15px;
    border-radius: 12px;
    display: inline-block;
}

.faqs-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 50px;
}

/* Sidebar */
.faq-sidebar {
    background: transparent;
    padding: 0;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-category-btn {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.faq-category-btn .cat-count {
    font-size: 0.8rem;
    opacity: 0.7;
    font-family: monospace;
    color: #475569;
}

.faq-category-btn.active {
    background: var(--accent-core, #C6F432);
    color: #000000;
    border-color: var(--accent-core, #C6F432);
}

.faq-category-btn.active .cat-count {
    color: #000000;
}

/* Content Area */
.faq-category-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.faq-category-pane.active {
    display: block;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.faq-item.active {
    background: var(--accent-core, #C6F432);
    border-color: var(--accent-core, #C6F432);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 25px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    transition: color 0.3s ease;
}

.faq-question span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.q-mark {
    color: #000000;
}

.faq-icon {
    font-size: 1.2rem;
    color: #000000;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #000000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    padding-bottom: 25px;
    opacity: 1;
    color: #000000;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 991px) {
    .faqs-grid {
        grid-template-columns: 1fr;
    }

    .faq-sidebar {
        position: relative;
        top: 0;
        display: flex;
        flex-wrap: wrap;
        padding: 10px;
        gap: 10px;
    }

    .faq-category-btn {
        width: auto;
        flex: 1 1 calc(50% - 10px);
        padding: 15px;
    }

    .faq-category-btn.active {
        /* No extra border bottom needed since background is lime green */
    }
}

@media (max-width: 768px) {
    .faq-category-btn {
        flex: 1 1 100%;
    }

    .faqs-hero {
        padding: 120px 0 40px 0;
    }
}
