/* =========================================================
   صفحات عمومی سئو: قیمت‌ها، سؤالات متداول، صفحات فرود
   ========================================================= */

.seo-hero { padding-top: 40px; padding-bottom: 18px; max-width: 880px; text-align: center; }
.seo-hero h1 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); line-height: 1.5; margin: 10px 0 12px; }
.seo-lead { color: var(--text-soft); font-size: 1.02rem; line-height: 2; margin: 0 auto 18px; max-width: 720px; }
.seo-crumbs { font-size: .8rem; color: var(--text-faint); }
.seo-crumbs a { color: var(--primary); }
.seo-crumbs span { margin: 0 4px; }
.seo-hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.seo-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; font-size: .88rem; padding: 8px 16px; border-radius: 999px; }

.seo-body { max-width: 880px; padding-bottom: 60px; }
.seo-content { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 30px; margin-top: 10px; }
.seo-h2 { font-size: 1.25rem; margin: 36px 0 14px; }

.seo-faq { display: flex; flex-direction: column; gap: 10px; }
.seo-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 18px; transition: border-color .2s; }
.seo-faq details[open] { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.seo-faq summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: '+'; color: var(--primary); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.seo-faq details[open] summary::after { transform: rotate(45deg); }
.seo-faq p { margin: 0 0 16px; color: var(--text-soft); line-height: 2; }

.seo-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.seo-links a { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; color: var(--text); transition: transform .2s, border-color .2s; }
.seo-links a:hover { transform: translateY(-2px); border-color: var(--primary); }
.seo-links strong { font-size: .95rem; line-height: 1.7; }
.seo-links span { font-size: .8rem; color: var(--text-faint); line-height: 1.8; }

.seo-cta { margin-top: 36px; text-align: center; padding: 30px 20px; border-radius: var(--radius-lg); background: var(--grad-brand); color: #fff; }
.seo-cta h2 { margin: 0 0 6px; font-size: 1.3rem; }
.seo-cta p { margin: 0 0 16px; opacity: .9; }
.seo-cta .btn-primary { background: #fff; color: var(--primary-dark); }

/* قیمت‌ها */
.seo-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-bottom: 20px; }
.seo-plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; }
.seo-plan h2 { margin: 0; font-size: 1.15rem; }
.seo-price { font-size: 1.6rem; font-weight: 900; margin: 0; color: var(--primary-dark); }
.seo-price small, .seo-price span { font-size: .85rem; font-weight: 600; color: var(--text-faint); }
.seo-plan-desc { margin: 0; font-size: .85rem; color: var(--text-soft); }
.seo-feats { list-style: none; padding: 0; margin: 0 0 auto; display: flex; flex-direction: column; gap: 8px; font-size: .88rem; }
.seo-feats li { display: flex; align-items: center; gap: 6px; }
.seo-feats li.yes .ico-sm { color: var(--success); }
.seo-feats li.no { color: var(--text-faint); }
.seo-note { max-width: 880px; text-align: center; color: var(--text-soft); font-size: .88rem; padding-bottom: 60px; line-height: 2; }

/* بخش سؤالات و کاربردها در صفحه اصلی */
.home-faq, .home-uses { padding: 60px 0; }
.home-faq .seo-faq { max-width: 820px; margin: 0 auto; }
.home-uses .seo-links { margin-top: 10px; }
.home-section-head { text-align: center; margin-bottom: 26px; }
.home-section-head h2 { margin: 0 0 6px; }
.home-section-head p { margin: 0; color: var(--text-soft); }

@media (max-width: 560px) {
    .seo-content { padding: 20px 16px; }
}

/* صفحه اصلی: مقایسه کارت کاغذی و دیجیتال + خلاصه پلان‌ها */
.home-compare, .home-plans { padding: 60px 0 20px; }
.compare-wrap { max-width: 860px; margin: 0 auto; overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.compare-table { width: 100%; border-collapse: collapse; font-size: .92rem; table-layout: fixed; }
.compare-table thead th:first-child { width: 34%; }
.compare-table th, .compare-table td { padding: 13px 16px; text-align: right; border-bottom: 1px solid var(--border); line-height: 1.8; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: .82rem; color: var(--text-faint); background: var(--bg); }
.compare-table thead th:last-child { color: var(--primary-dark); }
.compare-table tbody th { font-weight: 700; color: var(--text); }
.compare-table tbody td { color: var(--text-soft); }
.compare-table tbody td:last-child { color: var(--text); font-weight: 600; }
.compare-note { text-align: center; color: var(--text-soft); font-size: .9rem; margin: 16px auto 0; max-width: 720px; line-height: 2; }
.home-plan-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 1000px; margin: 0 auto; }
.home-plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.home-plan h3 { margin: 0; font-size: 1.05rem; }
.home-plan-price { margin: 0; font-size: 1.3rem; font-weight: 900; color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.home-plan-price span { font-size: .8rem; font-weight: 600; color: var(--text-faint); }
.home-plan ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: .86rem; }
.home-plan li { display: flex; align-items: center; gap: 6px; }
.home-plan li.yes .ico-sm { color: var(--success); }
.home-plan li.no { color: var(--text-faint); }
@media (max-width: 560px) {
    .compare-table { font-size: .8rem; }
    .compare-table th, .compare-table td { padding: 10px 8px; line-height: 1.7; }
}
.hero-trust .ico-sm { color: var(--success); vertical-align: -2px; }

/* درباره ما */
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin: 0 0 8px; }
.about-facts div { background: var(--bg); border-radius: var(--radius); padding: 10px 14px; }
.about-facts dt { font-size: .78rem; color: var(--text-faint); }
.about-facts dd { margin: 0; font-weight: 700; }
