/* ==========================================================================
   WhichAIPlan - Common Questions Accordion Cards & Takeaway Stylesheet
   ========================================================================== */

/* 1. Accordion List & Item Cards */
.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(11, 16, 26, 0.96);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(0, 240, 255, 0.4);
}

.faq-item.open {
    border-color: var(--accent-cyan);
    box-shadow: 0 6px 24px rgba(0, 240, 255, 0.12);
}

/* 2. Question Header Button */
.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    gap: 14px;
}

.faq-question-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.faq-question-text {
    font-size: 16.5px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
    line-height: 1.35;
}

.faq-summary-badge {
    font-size: 12px;
    font-weight: 700;
    color: #34d399;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.faq-summary-badge::before {
    content: "✓";
    font-weight: 800;
}

.faq-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.faq-item:hover .faq-toggle-icon {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.12);
    color: #ffffff;
}

.faq-item.open .faq-toggle-icon {
    transform: rotate(45deg);
    background: rgba(0, 240, 255, 0.22);
    border-color: #00f0ff;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.55);
}

.faq-plus-svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* 3. Answer Body */
.faq-answer-body {
    display: none;
    padding: 0 20px 20px 20px;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: -2px;
    padding-top: 14px;
}

.faq-item.open .faq-answer-body {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.faq-takeaway-box {
    background: rgba(52, 211, 153, 0.08);
    border-left: 3px solid #34d399;
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
    line-height: 1.45;
}

.faq-detailed-text {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
}

.faq-plans-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.faq-plans-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 2px;
}

.faq-plan-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

/* 4. Responsive Mobile Styles */
@media (max-width: 600px) {
    .faq-question-btn { padding: 14px 16px; }
    .faq-question-text { font-size: 15px; }
    .faq-answer-body { padding: 0 16px 16px 16px; }
}
