/* LLMO Booster — Frontend FAQ Styles */

.llmo-faq-block {
    max-width: 820px;
    margin: 2em auto;
    font-family: inherit;
}

.llmo-faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #6366f1;
}

.llmo-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.llmo-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    transition: box-shadow 0.2s;
}

.llmo-faq-item:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

.llmo-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
    transition: background 0.15s;
}

.llmo-faq-question:hover {
    background: #f5f3ff;
}

.llmo-faq-question.is-open {
    background: #f5f3ff;
    color: #4f46e5;
}

.llmo-faq-q-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #6366f1;
    color: #fff;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
}

.llmo-faq-chevron {
    margin-left: auto;
    flex-shrink: 0;
    color: #9ca3af;
    transition: transform 0.25s;
}

.llmo-faq-question.is-open .llmo-faq-chevron {
    transform: rotate(180deg);
    color: #4f46e5;
}

.llmo-faq-answer {
    display: flex;
    gap: 12px;
    padding: 0 18px 16px 18px;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.7;
    border-top: 1px solid #ede9fe;
    padding-top: 14px;
    background: #faf5ff;
}

.llmo-faq-answer[hidden] {
    display: none;
}

.llmo-faq-a-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #e0e7ff;
    color: #4f46e5;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    padding-top: 4px;
}

/* Responsive */
@media (max-width: 600px) {
    .llmo-faq-title { font-size: 1.2rem; }
    .llmo-faq-question { font-size: 0.875rem; padding: 14px; }
    .llmo-faq-answer { padding: 12px 14px 14px; font-size: 0.85rem; }
}
