/* ==========================================================================
   FAQ SECTION - PROGRESSIVE DISCLOSURE SYSTEM
   ========================================================================== */

.faq-section {
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top right, rgba(0, 122, 204, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(247, 147, 30, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-2xl);
    margin: var(--space-2xl) 0;
    position: relative;
    z-index: 2;
}

/* FAQ Category */
.faq-category {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease;
}

.faq-category:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 122, 204, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.faq-category-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-icon {
    font-size: 2rem;
    margin-right: var(--space-md);
    background: rgba(0, 122, 204, 0.1);
    padding: var(--space-sm);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(0, 122, 204, 0.2);
}

.faq-category-title {
    font-size: 1.4rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0;
}

/* FAQ Items */
.faq-item {
    margin-bottom: var(--space-lg);
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(0, 122, 204, 0.1);
    border-color: rgba(0, 122, 204, 0.3);
    transform: translateX(4px);
}

.faq-question-text {
    font-size: 1.1rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    line-height: 1.4;
    flex: 1;
    margin-right: var(--space-md);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--accent-blue);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 122, 204, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
    background: rgba(0, 122, 204, 0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(0, 122, 204, 0.3);
    margin-top: var(--space-sm);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.faq-answer.active {
    max-height: 1000px;
    padding: var(--space-lg);
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

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

.faq-answer strong {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    margin-top: var(--space-3xl);
    padding: var(--space-2xl);
    background: rgba(0, 122, 204, 0.05);
    border: 1px solid rgba(0, 122, 204, 0.2);
    border-radius: var(--border-radius-lg);
    position: relative;
    z-index: 2;
}

.faq-cta-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.faq-cta-text strong {
    color: var(--accent-blue);
    font-weight: var(--font-weight-semibold);
}

.faq-cta-button {
    display: inline-block;
    background: var(--accent-blue);
    color: var(--white);
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--border-radius-md);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.faq-cta-button:hover {
    background: var(--accent-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 204, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .faq-category {
        padding: var(--space-lg);
    }

    .faq-question-text {
        font-size: 1rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .faq-icon {
        font-size: 1.5rem;
        margin-right: 0;
    }

    .faq-question {
        padding: var(--space-sm);
    }

    .faq-question-text {
        font-size: 0.95rem;
        margin-right: var(--space-sm);
    }
}