/* ══════════════════════════════════════════════════════════════
   FAQ PAGE STYLES
   ══════════════════════════════════════════════════════════════ */

.faq-page {
    max-width: 944px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ── FAQ Category Label ── */
.faq-category-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.faq-category-label svg {
    width: 14px;
    height: 14px;
}

/* ── FAQ Accordion ── */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.15);
}

.faq-item.active {
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.1);
}

/* Question Button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
    font-family: inherit;
}

.faq-question:hover {
    background: rgba(var(--primary-rgb), 0.03);
}

.faq-question-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.faq-item.active .faq-question-number {
    background: var(--primary-color);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.faq-question-text {
    flex: 1;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question-text {
    color: var(--primary-color);
}

/* Chevron Icon */
.faq-chevron {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-chevron svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.active .faq-chevron {
    background: var(--primary-color);
    border-color: transparent;
    transform: rotate(180deg);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.faq-item.active .faq-chevron svg {
    color: #ffffff;
}

/* Answer Panel */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer-inner {
    padding: 0 24px 24px 76px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}

.faq-item.active .faq-answer-inner {
    opacity: 1;
    transform: translateY(0);
}

.faq-answer-text {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.faq-answer-text strong {
    color: var(--text-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-answer-text br {
    display: block;
    content: "";
    margin-top: 4px;
}

/* ── Contact CTA Section ── */
.faq-cta-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 36px 28px;
    box-shadow: var(--shadow-md);
    margin-top: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #f59e0b);
}

.faq-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--primary-color);
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.faq-cta-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

.faq-cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.faq-cta-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s ease;
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
    letter-spacing: 0.3px;
    font-family: inherit;
}

.faq-cta-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.45);
    color: #ffffff;
}

.faq-cta-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.faq-cta-btn:hover svg {
    transform: translateX(3px);
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .faq-page {
        padding: 0 10px 40px;
    }

    .faq-stat-label {
        font-size: 12px;
    }

    .faq-question {
        padding: 16px;
        gap: 12px;
    }

    .faq-question-number {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 12px;
    }

    .faq-question-text {
        font-size: 14px;
    }

    .faq-chevron {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }

    .faq-chevron svg {
        width: 14px;
        height: 14px;
    }

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

    .faq-answer-text {
        font-size: 13.5px;
        line-height: 1.75;
    }

    .faq-cta-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .faq-cta-title {
        font-size: 18px;
    }

    .faq-cta-desc {
        font-size: 13.5px;
    }

    .faq-cta-btn {
        padding: 11px 28px;
        font-size: 14px;
    }
}
