/* =====================================================
   FAQ PAGE STYLES - GreyBox LLC
   Matching the modern homepage design system
   ===================================================== */

:root {
    --neo-bg: #0a0a0a;
    --neo-text: #eaeaea;
    --neo-muted: #b9bcc6;
    --neo-orange: #fc7a10;
}

/* ===================== HERO SECTION ===================== */
.faq-hero {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(252, 122, 16, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.faq-hero .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-hero .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--neo-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.faq-hero .hero-eyebrow::before {
    content: '+';
    font-size: 16px;
    font-weight: 400;
}

.faq-hero .hero-eyebrow .icon-img {
    display: none;
}

.faq-hero .hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--neo-text);
    margin-bottom: 28px;
}

.faq-hero .hero-text {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(185, 188, 198, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.color1 {
    color: var(--neo-orange);
}

/* ===================== FAQ CATEGORIES ===================== */
.faq-categories {
    position: relative;
    padding: 80px 0 10px;
    background: var(--neo-bg);
}

.category-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(234, 234, 234, 0.7);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--neo-orange);
    background: rgba(252, 122, 16, 0.05);
    border-color: rgba(252, 122, 16, 0.2);
}

.tab-btn.active {
    color: #fff;
    background: var(--neo-orange);
    border-color: var(--neo-orange);
}

/* ===================== FAQ SECTIONS ===================== */
.faq-section {
    margin-bottom: 60px;
}

.faq-section.hidden {
    display: none;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--neo-text);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(252, 122, 16, 0.2);
}

/* ===================== FAQ LIST ===================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--neo-text);
    margin: 0;
    flex: 1;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
    color: var(--neo-orange);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--neo-orange);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
    padding: 0 30px;
    opacity: 0;
    visibility: hidden;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 24px 30px;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.4s ease, opacity 0.3s ease 0.1s, padding 0.4s ease;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--neo-muted);
    margin: 0;
}

/* ===================== CTA SECTION ===================== */
.faq-cta {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--neo-bg) 0%, #0f0f0f 100%);
}

.faq-cta .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--neo-text);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--neo-muted);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    color: #fff;
    background: var(--neo-orange);
}

.cta-btn.primary:hover {
    background: #ff8c2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(252, 122, 16, 0.35);
}

.cta-btn.secondary {
    color: var(--neo-text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-btn .icon-img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* ===================== RESPONSIVE DESIGN ===================== */
@media (max-width: 991px) {
    .faq-hero {
        padding: 160px 0 100px;
    }

    .faq-hero .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .faq-hero {
        padding: 140px 0 80px;
    }

    .faq-hero .hero-title {
        font-size: 36px;
    }

    .faq-hero .hero-text {
        font-size: 17px;
    }

    .category-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-text {
        font-size: 16px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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