/* =============================================================
   KLIC Marketing FAQ Accordion Component Styles (V2.0)
   Modern Glassmorphism + Theme Fallbacks + Interactive Glow
   ============================================================= */

.m-faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    max-width: 900px;
    margin: 2.25rem auto;
}

.m-faq-item {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 1.25rem 1.65rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    list-style: none !important;
}

.m-faq-item::before,
.m-faq-item::after {
    display: none !important;
    content: none !important;
}

.m-faq-item:hover {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(168, 85, 247, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.18);
}

.m-faq-item.m-faq-open {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.55);
    box-shadow: 0 12px 36px rgba(168, 85, 247, 0.22);
}

.m-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: 'Outfit', -apple-system, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
}

.m-faq-question h3,
.m-faq-question .h6 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    color: #f1f5f9 !important;
    font-family: 'Outfit', -apple-system, sans-serif !important;
}

/* Remove stray list markers or pseudo bullets */
.m-faq-question::before,
.m-faq-question h3::before,
.m-faq-question h3::after {
    display: none !important;
    content: none !important;
}

.m-faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
    font-size: 0.95rem;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.m-faq-open .m-faq-icon {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #a855f7, #6366f1);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

.m-faq-answer {
    display: none;
    padding-top: 1.1rem;
    margin-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(241, 245, 249, 0.82);
    font-size: 1rem;
    line-height: 1.7;
}

.m-faq-answer p {
    margin-bottom: 0;
    color: rgba(241, 245, 249, 0.82);
    line-height: 1.7;
}

.m-faq-open .m-faq-answer {
    display: block;
}

/* Light Theme Overrides */
[data-theme="light"] .m-faq-item,
body.theme-Light .m-faq-item {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.09) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .m-faq-item:hover,
body.theme-Light .m-faq-item:hover {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15) !important;
}

[data-theme="light"] .m-faq-item.m-faq-open,
body.theme-Light .m-faq-item.m-faq-open {
    background: rgba(99, 102, 241, 0.04) !important;
    border-color: #6366f1 !important;
}

[data-theme="light"] .m-faq-question,
[data-theme="light"] .m-faq-question h3,
body.theme-Light .m-faq-question h3 {
    color: #0f172a !important;
}

[data-theme="light"] .m-faq-answer,
[data-theme="light"] .m-faq-answer p,
body.theme-Light .m-faq-answer p {
    color: #334155 !important;
    border-top-color: #e2e8f0 !important;
}
