/* ============================================================
   FAQ PAGE STYLES — Premium Animated Edition
   ============================================================ */

.faq-container {
    padding: var(--section-pad);
    max-width: 900px;
    margin: 0 auto;
}

/* Category Chips Branding */
.faq-categories {
    display: flex;
    gap: 12px;
    margin-bottom: 56px;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-cat-chip {
    padding: 10px 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.faq-cat-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.faq-cat-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

/* FAQ Items */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.faq-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
    border-color: var(--accent-light);
}

.faq-item.faq-active {
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Question Header */
.faq-question {
    padding: clamp(20px, 4vw, 32px);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.3s ease;
}

.faq-item.faq-active .faq-question {
    background: rgba(135, 206, 235, 0.03);
}

.faq-question h3 {
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
    color: var(--accent-dark);
}

/* Icon Rotation */
.faq-icon-wrap {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item:hover .faq-icon-wrap {
    background: var(--accent-light);
    color: var(--primary);
}

.faq-item.faq-active .faq-icon-wrap {
    background: var(--accent);
    color: var(--white);
    transform: rotate(180deg);
}

/* Answer Content */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    opacity: 0;
}

.faq-item.faq-active .faq-answer {
    opacity: 1;
}

.faq-answer-inner {
    padding: 0 32px 32px;
    color: var(--gray-600);
    line-height: 1.8;
    font-size: var(--fs-base);
    transform: translateY(10px);
    transition: transform 0.5s ease;
}

.faq-item.faq-active .faq-answer-inner {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .faq-container {
        padding: 40px 20px;
    }
    
    .faq-cat-chip {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .faq-answer-inner {
        padding: 0 20px 20px;
    }
}