/* ═══════════════════════════════════════
   SPLIFF SEO — Frontend Article & FAQ Styles
   ═══════════════════════════════════════ */

/* === ARTICLE STYLES === */
.spliff-seo-article { max-width: 800px; margin: 0 auto; line-height: 1.8; color: #1e293b; font-size: 17px; }
.spliff-seo-article h2 { font-size: 24px; font-weight: 700; margin: 32px 0 16px; color: #0f172a; }
.spliff-seo-article h3 { font-size: 20px; font-weight: 600; margin: 24px 0 12px; color: #1e293b; }
.spliff-seo-article p { margin: 0 0 16px; }
.spliff-seo-article a { color: #8b5cf6; text-decoration: underline; }
.spliff-seo-article a:hover { color: #7c3aed; }
.spliff-seo-article img { border-radius: 12px; max-width: 100%; height: auto; }

/* Review Badge */
.spliff-review-badge {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-left: 4px solid #8b5cf6; border-radius: 0 12px 12px 0;
    padding: 20px 24px; margin: 0 0 24px;
}
.spliff-review-badge .stars { font-size: 20px; margin-bottom: 8px; }
.spliff-review-badge blockquote {
    font-size: 18px; font-style: italic; color: #4c1d95;
    margin: 0 0 8px; line-height: 1.6;
}
.spliff-review-badge cite { font-size: 14px; color: #64748b; font-style: normal; }

/* Product Card */
.spliff-product-card {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border: 2px solid #e2e8f0; border-radius: 12px;
    padding: 16px 20px; margin: 20px 0;
    transition: border-color 0.2s;
}
.spliff-product-card:hover { border-color: #8b5cf6; }
.spliff-product-card img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.spliff-product-card h3 { margin: 0; font-size: 18px; }
.spliff-product-card .price { font-size: 20px; font-weight: 800; color: #10b981; }
.spliff-cta {
    display: inline-block; background: #8b5cf6; color: #fff !important;
    padding: 8px 20px; border-radius: 8px; text-decoration: none !important;
    font-weight: 600; font-size: 14px; margin-left: auto;
    transition: background 0.2s;
}
.spliff-cta:hover { background: #7c3aed; }

/* Tip Box */
.spliff-tip-box {
    background: #fef3c7; border-radius: 12px; padding: 16px 20px;
    margin: 20px 0; font-size: 15px; border: 1px solid #fde68a;
}

/* Comparison Table */
.spliff-seo-article table {
    width: 100%; border-collapse: collapse; margin: 20px 0;
    border-radius: 12px; overflow: hidden;
}
.spliff-seo-article th { background: #8b5cf6; color: #fff; padding: 12px 16px; font-size: 14px; text-align: left; }
.spliff-seo-article td { padding: 10px 16px; border-bottom: 1px solid #e2e8f0; font-size: 15px; }
.spliff-seo-article tr:nth-child(even) td { background: #f8fafc; }

/* === FAQ ACCORDION === */
.spliff-seo-faq { margin: 24px 0; }
.spliff-faq-title { font-size: 22px; font-weight: 700; margin: 0 0 16px; color: #0f172a; }

.spliff-faq-item {
    border: 1px solid #e2e8f0; border-radius: 10px;
    margin-bottom: 10px; overflow: hidden;
    transition: box-shadow 0.2s;
}
.spliff-faq-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

.spliff-faq-q {
    width: 100%; text-align: left; background: #f8fafc;
    border: none; padding: 16px 20px; font-size: 16px;
    font-weight: 600; color: #1e293b; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    transition: background 0.15s;
}
.spliff-faq-q:hover { background: #f1f5f9; }
.spliff-faq-q::after { content: '▸'; font-size: 14px; transition: transform 0.2s; }
.spliff-faq-item.open .spliff-faq-q::after { transform: rotate(90deg); }

.spliff-faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    padding: 0 20px;
}
.spliff-faq-item.open .spliff-faq-a {
    max-height: 500px; padding: 16px 20px;
}
.spliff-faq-a p { margin: 0 0 8px; font-size: 15px; line-height: 1.7; color: #475569; }
.spliff-faq-a a { color: #8b5cf6; }

/* Related Products */
.spliff-related-products { margin: 32px 0; padding: 24px; background: #f8fafc; border-radius: 12px; }
.spliff-related-products h3 { margin: 0 0 16px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .spliff-seo-article { font-size: 16px; }
    .spliff-product-card { flex-direction: column; text-align: center; }
    .spliff-product-card img { width: 120px; height: 120px; }
    .spliff-cta { margin: 8px 0 0; width: 100%; text-align: center; }
    .spliff-review-badge { padding: 14px 16px; }
    .spliff-review-badge blockquote { font-size: 16px; }
}

/* === FAQ ACCORDION JS (inline) === */
