/* Server-rendered marketing pages: solutions, comparisons, blog, English home. Scoped to .seo-content-page. */

.seo-content-page {
  font-family: 'Cairo', 'Inter', sans-serif;
  color: var(--color-text, #111827);
  min-height: 100vh;
  background: transparent;
}
html[lang='en'] .seo-content-page { font-family: 'Inter', 'Cairo', sans-serif; }

.seo-skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 300;
  padding: .6rem 1rem; background: var(--color-primary); color: #fff; border-radius: 8px; text-decoration: none;
}
.seo-skip:focus { top: .75rem; }

.seo-wrap { width: 100%; max-width: 1000px; margin: 0 auto; padding-inline: 1.25rem; box-sizing: border-box; }
.seo-main { position: relative; z-index: 1; padding: 6.5rem 0 3.5rem; }

/* nav: language link + plain links */
.seo-content-page nav.site-nav .seo-lang { text-decoration: none; font-weight: 700; }
.seo-lang--mobile { display: inline-block; padding: .6rem 1rem; font-weight: 700; color: var(--color-text); text-decoration: none; }

/* breadcrumbs */
.seo-crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: .85rem; color: var(--color-text-muted); }
.seo-crumbs li + li::before { content: '›'; margin-inline-end: .35rem; opacity: .6; }
html[dir='rtl'] .seo-crumbs li + li::before { content: '‹'; }
.seo-crumbs a { color: var(--color-text-muted); text-decoration: none; }
.seo-crumbs a:hover { color: var(--color-primary); }
.seo-crumbs [aria-current] { color: var(--color-text); font-weight: 600; }

/* hero */
.seo-hero { margin-bottom: 2rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
.seo-eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--color-primary); margin-bottom: .7rem; }
.seo-hero h1 { font-size: clamp(1.75rem, 4.4vw, 2.6rem); line-height: 1.3; margin: 0 0 1rem; font-weight: 800; color: var(--color-text); }
.seo-lead { font-size: 1.08rem; line-height: 1.85; color: var(--color-text-muted); margin: 0 0 1.4rem; max-width: 46rem; }
.seo-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 1.25rem; font-size: .85rem; color: var(--color-text-muted); }

.seo-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.seo-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .6rem 1.4rem; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: background-color .15s, border-color .15s, transform .15s; }
.seo-btn--primary { background: var(--color-primary); color: #fff; }
.seo-btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); }
.seo-btn--ghost { background: #fff; color: var(--color-primary); border-color: var(--color-primary); }
.seo-btn--ghost:hover { background: var(--color-primary-light); }
.seo-btn:focus-visible, .seo-card--link:focus-visible, .seo-faq summary:focus-visible { outline: 3px solid rgba(234, 59, 6, .35); outline-offset: 2px; }

/* sections */
.seo-sec { margin: 0 0 1.5rem; padding: 1.6rem; background: var(--color-surface); border: 1px solid var(--border); border-radius: 18px; }
.seo-sec h2 { font-size: 1.35rem; font-weight: 800; margin: 0 0 .9rem; line-height: 1.4; }
.seo-sec p { line-height: 1.9; margin: 0 0 .9rem; color: var(--color-text); }
.seo-sec p:last-child { margin-bottom: 0; }
.seo-sec a { color: var(--color-primary); font-weight: 600; text-underline-offset: 3px; }
.seo-sec strong { font-weight: 800; }

.seo-list, .seo-steps { margin: 0 0 .9rem; padding: 0; list-style: none; display: grid; gap: .65rem; }
.seo-list li { position: relative; padding-inline-start: 1.7rem; line-height: 1.8; }
.seo-list li::before { content: ''; position: absolute; inset-inline-start: 0; top: .55em; width: .8rem; height: .8rem; border-radius: 50%; background: var(--color-primary-light); border: 3px solid var(--color-primary); box-sizing: border-box; }
.seo-steps { counter-reset: step; }
.seo-steps li { counter-increment: step; position: relative; padding-inline-start: 2.6rem; line-height: 1.8; }
.seo-steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 0; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; font-size: .9rem; }

.seo-cards { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-bottom: .5rem; }
.seo-card { padding: 1.1rem 1.2rem; background: var(--color-bg); border: 1px solid var(--border); border-radius: 14px; }
.seo-card h3 { margin: 0 0 .4rem; font-size: 1.02rem; font-weight: 800; color: var(--color-text); }
.seo-card p { margin: 0; font-size: .95rem; line-height: 1.75; color: var(--color-text-muted); }
.seo-card--link { display: block; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.seo-card--link:hover { border-color: var(--color-primary); box-shadow: 0 6px 18px rgba(234, 59, 6, .12); transform: translateY(-2px); }
.seo-card--link h3 { color: var(--color-primary); }
.seo-more { display: inline-block; margin-top: .6rem; font-size: .88rem; font-weight: 700; color: var(--color-primary); }

.seo-table-wrap { overflow-x: auto; margin: 0 0 .9rem; border: 1px solid var(--border); border-radius: 12px; }
.seo-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.seo-table th, .seo-table td { padding: .75rem .9rem; text-align: start; vertical-align: top; line-height: 1.7; border-bottom: 1px solid var(--border); }
.seo-table thead th { background: var(--color-primary-light); color: var(--color-text); font-weight: 800; }
.seo-table tbody th { font-weight: 800; background: var(--color-bg); white-space: nowrap; }
.seo-table tbody tr:last-child th, .seo-table tbody tr:last-child td { border-bottom: 0; }

.seo-note { padding: .8rem 1rem; background: #fff7ed; border-inline-start: 4px solid var(--color-orange-soft, #f97316); border-radius: 8px; font-size: .92rem; color: var(--color-text-muted); }

/* FAQ */
.seo-faq details { border-bottom: 1px solid var(--border); }
.seo-faq details:last-child { border-bottom: 0; }
.seo-faq summary { cursor: pointer; padding: 1rem 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--color-primary); flex: none; }
.seo-faq details[open] summary::after { content: '−'; }
.seo-faq details p { margin: 0 0 1rem; color: var(--color-text-muted); }

/* CTA */
.seo-cta { margin: 2rem 0 0; padding: 2rem 1.6rem; text-align: center; background: linear-gradient(135deg, #ea3b06, #f97316); border-radius: 20px; color: #fff; }
.seo-cta h2 { color: #fff; margin: 0 0 .5rem; font-size: 1.5rem; }
.seo-cta p { margin: 0 0 1.2rem; opacity: .95; line-height: 1.8; }
.seo-cta .seo-actions { justify-content: center; }
.seo-cta .seo-btn--primary { background: #fff; color: var(--color-primary); }
.seo-cta .seo-btn--primary:hover { background: #fff5ee; }
.seo-cta .seo-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.seo-cta .seo-btn--ghost:hover { background: rgba(255, 255, 255, .15); }

/* footer */
.seo-foot { position: relative; z-index: 1; background: var(--color-surface); border-top: 1px solid var(--border); padding: 2.5rem 0 1rem; }
.seo-foot-brand { max-width: 420px; margin-bottom: 2.2rem; }
.seo-foot-brand p { color: var(--color-text-muted); line-height: 1.8; font-size: .92rem; margin-top: .5rem; }
.seo-foot .logo { font-weight: 800; font-size: 1.4rem; color: var(--color-primary); text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.seo-foot-grid { display: grid; gap: 1.8rem 1.6rem; grid-template-columns: repeat(4, 1fr); }
.seo-foot-col h2 { font-size: .92rem; font-weight: 800; letter-spacing: .01em; margin: 0 0 .8rem; padding-bottom: .6rem; color: var(--color-text); border-bottom: 1px solid var(--border); }
.seo-foot-col a { display: block; padding: .3rem 0; color: var(--color-text-muted); text-decoration: none; font-size: .9rem; line-height: 1.6; }
.seo-foot-col a:hover { color: var(--color-primary); }
.seo-foot-more { margin-top: .3rem; color: var(--color-primary) !important; font-weight: 700; }
.seo-foot-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .85rem; color: var(--color-text-muted); }
@media (max-width: 860px) {
  .seo-foot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .seo-foot-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 640px) {
  .seo-main { padding-top: 5.5rem; }
  .seo-sec { padding: 1.2rem; border-radius: 14px; }
  .seo-actions .seo-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .seo-btn, .seo-card--link { transition: none; }
}

/* Visually hidden but available to screen readers and crawlers (the home page has no visible headline) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
