/* =====================================================
   Service 24 Support - FAQ Page Styles
   ===================================================== */

.faq-hero {
    position: relative;
    padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
    background: var(--gradient-hero);
    text-align: center;
}

.faq-hero-content {
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-white);
}

.faq-hero-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    margin-bottom: var(--space-4);
    color: var(--color-white);
}

.faq-hero-subtitle {
    font-size: var(--text-lg);
    opacity: 0.9;
    color: var(--color-white);
}

.faq-section {
    background: var(--color-light);
}

.faq-categories {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

.faq-category-btn {
    padding: var(--space-3) var(--space-6);
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-weight: var(--font-medium);
    color: var(--color-gray-600);
    cursor: pointer;
    transition: all var(--transition-base);
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--color-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5) var(--space-6);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-dark);
    text-align: left;
    cursor: pointer;
    background: none;
    border: none;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.faq-toggle svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-gray-400);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-item.active .faq-toggle svg {
    stroke: var(--color-secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 var(--space-6) var(--space-5);
    color: var(--color-gray-600);
    line-height: var(--leading-relaxed);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

@media (max-width: 768px) {
    .faq-hero-title {
        font-size: var(--text-4xl);
    }

    .faq-categories {
        gap: var(--space-2);
    }

    .faq-category-btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
    }
}