/* Bliks site theme (Bliks 2.5 design): deep navy, electric blue, teal signal.
   Bootstrap 5.3 dark theme is the base; every page inherits these tokens. */
:root {
  --sb-bg: #060a13; --sb-elev: #0c1322; --sb-elev2: #111b30; --sb-border: #1b2a4a; --sb-border-soft: #16233f;
  --sb-text: #e8eefa; --sb-muted: #8da0c0; --sb-dim: #6f86ae;
  --sb-accent: #2f6bff; --sb-accent-2: #8fb0ff; --sb-buy: #20c9a6; --sb-sell: #ef5350; --sb-warn: #f5a623;
  --sb-radius: 16px;
  --sb-font-ui: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --sb-font-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sb-font-ui); background: var(--sb-bg); color: var(--sb-text); position: relative; overflow-x: hidden; }
h1, h2, h3, h4, h5, .navbar-brand, .price, .stat-value { font-family: var(--sb-font-ui); letter-spacing: -.02em; }
[data-bs-theme=dark] {
  --bs-body-bg: var(--sb-bg); --bs-body-color: var(--sb-text); --bs-border-color: var(--sb-border); --bs-link-color: var(--sb-accent-2); --bs-link-hover-color: #fff;
  --bs-secondary-color: var(--sb-muted); --bs-tertiary-bg: var(--sb-elev); --bs-secondary-bg: var(--sb-elev2);
}
.text-secondary { color: var(--sb-muted) !important; }
.mono { font-family: var(--sb-font-mono); }

/* ambient background */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: drift 24s ease-in-out infinite alternate; }
.orb-1 { width: 900px; height: 620px; left: 50%; top: -300px; margin-left: -450px; background: radial-gradient(closest-side, rgba(47, 107, 255, .55), transparent 70%); }
.orb-2 { width: 620px; height: 620px; right: -220px; top: 520px; background: radial-gradient(closest-side, rgba(32, 201, 166, .26), transparent 70%); animation-delay: -8s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .orb, .reveal, .hero-shot, .card, .vbar { animation: none !important; transition: none !important; } .reveal { opacity: 1 !important; transform: none !important; } }

/* nav / footer */
.sb-nav { background: rgba(6, 10, 19, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--sb-border-soft); }
.sb-logo-img { border-radius: 9px; box-shadow: 0 6px 18px rgba(47, 107, 255, .4); }
.navbar-brand { font-weight: 800; font-size: 1.3rem; }
.nav-link { font-weight: 600; font-size: .95rem; }
.nav-link.active { color: var(--sb-accent-2) !important; }
.sb-footer { border-top: 1px solid var(--sb-border-soft); color: var(--sb-muted); background: rgba(6, 10, 19, .7); }
.sb-footer a { color: var(--sb-muted); text-decoration: none; display: block; padding: .15rem 0; }
.sb-footer a:hover { color: var(--sb-text); }
.footer-title { font-weight: 700; color: var(--sb-text); margin-bottom: .4rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--sb-font-mono); }
.social-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.social-btn { display: inline-flex !important; align-items: center; gap: .4rem; padding: .35rem .7rem !important; border: 1px solid var(--sb-border); border-radius: 999px; color: var(--sb-text) !important; text-decoration: none; background: var(--sb-elev); transition: transform .15s ease, border-color .15s ease; }
.social-btn:hover { transform: translateY(-2px); border-color: var(--sb-accent); }
.contact-list li { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; border-bottom: 1px dashed var(--sb-border); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list i { color: var(--sb-accent-2); width: 20px; text-align: center; }

/* cards */
.card { background: var(--sb-elev); border: 1px solid var(--sb-border-soft); border-radius: var(--sb-radius); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card.lift:hover { transform: translateY(-4px); border-color: #2a3e6b; box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.card.highlight { border-color: var(--sb-accent); box-shadow: 0 0 0 1px var(--sb-accent), 0 10px 40px rgba(47, 107, 255, .2); }
.feature-icon { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(47, 107, 255, .16); color: var(--sb-accent-2); font-size: 1.35rem; flex: 0 0 auto; }
.gate-box { border: 1px dashed var(--sb-border); border-radius: 12px; padding: 1rem 1.1rem; background: rgba(47, 107, 255, .06); }
.kicker { font-family: var(--sb-font-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-buy); }
.section-title { font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }

/* hero */
.hero { padding: 3.5rem 0 1.5rem; position: relative; }
.hero h1 { font-weight: 800; font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; max-width: 1040px; margin-inline: auto; }
.hero h1 .grad { background: linear-gradient(90deg, #2f6bff, #20c9a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #9fb2d4; max-width: 760px; font-size: 1.2rem; line-height: 1.55; text-wrap: balance; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border-radius: 999px; border: 1px solid #1e2c4a; background: rgba(12, 19, 34, .75); color: #9fb2d4; font-size: .82rem; font-weight: 600; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sb-buy); box-shadow: 0 0 0 0 rgba(32, 201, 166, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(32, 201, 166, .6); } 70% { box-shadow: 0 0 0 10px rgba(32, 201, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(32, 201, 166, 0); } }
.hero-shot { margin-top: 3rem; border-radius: 18px; padding: 10px; border: 1px solid #1e2c4a; background: linear-gradient(180deg, #16233f, #0b1324); box-shadow: 0 60px 140px -30px rgba(47, 107, 255, .5), 0 0 0 1px rgba(255, 255, 255, .03) inset; animation: float 9s ease-in-out infinite; }
.hero-shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.shot-bar { display: flex; gap: 7px; padding: 6px 8px 12px; }
.shot-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2a3340; }
.shot-bar span:nth-child(1) { background: #ff5f57; } .shot-bar span:nth-child(2) { background: #febc2e; } .shot-bar span:nth-child(3) { background: #28c840; }
.btn-hero { padding: .95rem 1.7rem; font-size: 1.05rem; font-weight: 700; border-radius: 12px; }
.btn-primary.btn-hero { box-shadow: 0 10px 40px -8px rgba(47, 107, 255, .7); }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--sb-border-soft); border: 1px solid var(--sb-border-soft); border-radius: 16px; overflow: hidden; }
.fact { background: #0a1120; padding: 1.5rem 1.4rem; }
.fact b { display: block; font-family: var(--sb-font-mono); font-size: 1.85rem; font-weight: 500; color: #fff; letter-spacing: -.02em; line-height: 1.2; }
.fact span { display: block; margin-top: .35rem; color: var(--sb-muted); font-size: .9rem; line-height: 1.45; }
@media (max-width: 991px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; }
.bt { grid-column: span var(--span, 6); background: var(--sb-elev); border: 1px solid var(--sb-border-soft); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease; }
.bt:hover { transform: translateY(-4px); border-color: #2a3e6b; }
.bt .bt-text { padding: 1.7rem 1.7rem 1.2rem; }
.bt .bt-tag { font-family: var(--sb-font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #7c93ba; }
.bt h3 { margin: .6rem 0 .5rem; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.bt p { margin: 0; color: var(--sb-muted); font-size: .95rem; line-height: 1.6; }
.bt img { display: block; width: 100%; height: var(--h, 300px); object-fit: cover; object-position: top left; margin-top: auto; }
.bt img.op-r { object-position: top right; } .bt img.op-c { object-position: top center; } .bt img.op-m { object-position: left center; }
[dir=rtl] .bt img { object-position: top right; } [dir=rtl] .bt img.op-r { object-position: top left; } [dir=rtl] .bt img.op-m { object-position: right center; }
.bt.bt-accent { background: linear-gradient(160deg, #10214a, #0c1322 70%); border-color: #1e3263; padding: 1.7rem; gap: .75rem; }
.bt.bt-accent .bt-text { padding: 0; }
.pill { display: inline-block; padding: .3rem .75rem; border-radius: 999px; background: #0a1530; border: 1px solid #223768; font-size: .78rem; font-weight: 600; color: #a9c0f0; }
@media (max-width: 991px) { .bt { grid-column: span 12; } .bt img { height: auto; max-height: 340px; } }

/* voice assistant */
.voice { border-radius: 28px; border: 1px solid #1e3263; background: linear-gradient(135deg, #0e1c3d 0%, #0a1224 55%, #0b2a2a 140%); padding: clamp(1.5rem, 4vw, 3.5rem); overflow: hidden; }
.voice-quote { background: #07101f; border: 1px solid #1b2c52; border-radius: 18px; padding: 1.4rem; }
.voice-bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; direction: ltr; }
.vbar { flex: 1; height: var(--h); border-radius: 3px; background: linear-gradient(180deg, #20c9a6, #2f6bff); transform-origin: bottom; animation: vbar 1.6s ease-in-out infinite; }
.vbar:nth-child(3n) { animation-delay: -.5s; } .vbar:nth-child(3n+1) { animation-delay: -1.1s; }
@keyframes vbar { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.voice-quote q { display: block; margin-top: 1.1rem; font-size: 1.2rem; line-height: 1.5; font-weight: 600; color: #fff; quotes: none; direction: ltr; text-align: left; }
.voice-quote q::before { content: "\201C"; } .voice-quote q::after { content: "\201D"; }
.voice-note { margin-top: .4rem; font-family: var(--sb-font-mono); font-size: .76rem; color: #6f86ae; }
.voice-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-direction: column; gap: .8rem; }
.voice-list li { display: flex; gap: .75rem; color: #c9d6ee; line-height: 1.5; }
.voice-list li::before { content: ""; flex: none; margin-top: .55rem; width: 7px; height: 7px; border-radius: 50%; background: var(--sb-buy); }
.toast-stack { display: flex; flex-direction: column; gap: .7rem; }
.toast-stack img { display: block; width: 100%; max-width: 380px; height: auto; border-radius: 10px; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.toast-stack img:nth-child(2) { margin-inline-start: 36px; } .toast-stack img:nth-child(3) { margin-inline-start: 72px; }
.chip { padding: .45rem .9rem; border-radius: 999px; border: 1px solid #243a6e; background: rgba(7, 16, 31, .7); font-size: .85rem; font-weight: 600; color: #bfd0f2; }

/* trust grid */
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.trust-cell { padding: 1.5rem; border-radius: 16px; background: #0a1120; border: 1px solid var(--sb-border-soft); }
.trust-cell b { display: block; color: #fff; font-size: 1.05rem; line-height: 1.3; }
.trust-cell span { display: block; margin-top: .6rem; color: var(--sb-muted); font-size: .92rem; line-height: 1.6; }
@media (max-width: 991px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } }

/* closing call to action */
.cta { border-radius: 28px; padding: clamp(2rem, 6vw, 4rem) 1.5rem; text-align: center; background: linear-gradient(120deg, #1b45c9 0%, #2f6bff 45%, #1e9e8a 120%); position: relative; overflow: hidden; }
.cta h2 { color: #fff; font-weight: 800; font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; max-width: 760px; margin: 0 auto; text-wrap: balance; }
.cta p { color: rgba(255, 255, 255, .88); max-width: 560px; margin: 1rem auto 0; font-size: 1.1rem; }
.btn-white { background: #fff; color: #0b1b4a; font-weight: 800; border-color: #fff; }
.btn-white:hover { background: #e8eefa; color: #0b1b4a; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .55); color: #fff; font-weight: 700; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* screenshots gallery (features page) */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--sb-border-soft); background: var(--sb-elev); transition: transform .25s ease, box-shadow .25s ease; }
.shot:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.shot img { width: 100%; height: auto; display: block; }
.shot .cap { padding: .9rem 1.1rem 1.1rem; }
.shot .cap b { display: block; }
.shot .cap span { color: var(--sb-muted); font-size: .9rem; }
/* focused feature screenshots: one widget or dialog per figure, so the columns are narrower and the figures keep their own height */
.shots.focused { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); align-items: start; }
.shots.focused .shot img { max-height: 380px; object-fit: contain; background: #0b1324; }
.shots.focused .shot { margin: 0; }
.feature-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; max-width: 900px; margin-inline: auto; }
.feature-jump .pill:hover { border-color: var(--sb-accent-2); color: #fff; }

/* steps */
.steps { counter-reset: step; }
.card.step-card { position: relative; padding: 1.5rem 1.5rem 1.5rem 3.8rem !important; }
.step-card::before { counter-increment: step; content: counter(step); position: absolute; inset-inline-start: 1.2rem; top: 1.35rem; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #2f6bff, #20c9a6); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

.price { font-size: 2rem; font-weight: 800; }
.price small { font-size: 1rem; color: var(--sb-muted); font-weight: 500; }
.badge-feature { background: rgba(32, 201, 166, .15); color: var(--sb-buy); border: 1px solid rgba(32, 201, 166, .4); font-weight: 600; }
.badge-missing { background: transparent; color: var(--sb-muted); border: 1px dashed var(--sb-border); text-decoration: line-through; }
.btn { border-radius: 12px; }
.btn-primary { background: var(--sb-accent); border-color: var(--sb-accent); font-weight: 700; box-shadow: 0 8px 24px rgba(47, 107, 255, .32); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary:hover { background: #4a7fff; border-color: #4a7fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(47, 107, 255, .45); }
.btn-outline-light { border-color: #26385e; background: rgba(12, 19, 34, .6); color: var(--sb-text); font-weight: 600; }
.btn-outline-light:hover { background: var(--sb-elev2); border-color: #3a4f7e; color: #fff; }
.form-control, .form-select { background: var(--sb-elev2); border-color: var(--sb-border); color: var(--sb-text); border-radius: 10px; }
.form-control:focus, .form-select:focus { border-color: var(--sb-accent); box-shadow: 0 0 0 .2rem rgba(47, 107, 255, .28); background: var(--sb-elev2); color: var(--sb-text); }
.table { --bs-table-bg: transparent; --bs-table-border-color: var(--sb-border-soft); }
.impact-High { color: var(--sb-sell); font-weight: 700; }
.impact-Medium { color: var(--sb-warn); font-weight: 600; }
.impact-Low { color: #d9c86a; }
.status-pending { color: var(--sb-warn); } .status-paid { color: var(--sb-accent-2); } .status-completed { color: var(--sb-buy); } .status-cancelled, .status-refunded { color: var(--sb-muted); }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal p, .legal li { max-width: 78ch; color: var(--sb-text); }
.legal ul { padding-left: 1.2rem; }
.license-key { font-family: var(--sb-font-mono); letter-spacing: 1px; font-size: 1.05rem; }
.step-number { width: 28px; height: 28px; border-radius: 50%; background: var(--sb-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin-right: .5rem; }
.gateway-option { cursor: pointer; }
.gateway-option:has(input:checked) { border-color: var(--sb-accent); background: rgba(47, 107, 255, .1); }


/* ---------- Arabic / right-to-left ---------- */
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] .navbar-brand, [dir="rtl"] .price, [dir="rtl"] .stat-value, [dir="rtl"] .bt h3 {
  font-family: var(--sb-arabic-font, "Cairo"), "Segoe UI", Tahoma, system-ui, sans-serif; letter-spacing: 0;
}
[dir="rtl"] body { font-size: 1.02rem; line-height: 1.75; }
[dir="rtl"] h1 { font-weight: 700; line-height: 1.35; }
[dir="rtl"] .hero h1 { line-height: 1.3; letter-spacing: 0; }
[dir="rtl"] .lead { line-height: 1.9; }
[dir="rtl"] .eyebrow, [dir="rtl"] .footer-title, [dir="rtl"] .stat-label, [dir="rtl"] .kicker, [dir="rtl"] .bt .bt-tag { letter-spacing: 0; text-transform: none; font-family: var(--sb-arabic-font, "Cairo"), "Segoe UI", system-ui, sans-serif; }
[dir="rtl"] .license-key, [dir="rtl"] code, [dir="rtl"] .tabular, [dir="rtl"] td.num { direction: ltr; unicode-bidi: isolate; font-family: var(--sb-font-mono); }
[dir="rtl"] .fact b { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .price, [dir="rtl"] .stat-value, [dir="rtl"] .navbar-brand span { unicode-bidi: plaintext; }
[dir="rtl"] .bi-arrow-right::before { content: "\f12f"; }   /* arrow-left glyph */
[dir="rtl"] .lang-switch .nav-link { font-family: "Inter", system-ui, sans-serif; }
.lang-switch .nav-link { opacity: .85; }
.lang-switch .nav-link:hover { opacity: 1; }
[dir="rtl"] table th, [dir="rtl"] table td { text-align: right; }
[dir="rtl"] .ps-3 { padding-right: 1rem !important; padding-left: 0 !important; }
[dir="rtl"] .card.step-card { padding: 1.5rem 3.8rem 1.5rem 1.5rem !important; }

/* ---------- user guide (/guide/) ---------- */
.guide-hero { text-align: center; padding: 2.4rem 0 1rem; }
.guide-hero h1 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; max-width: 900px; margin-inline: auto; }
.guide-hero .lead { max-width: 740px; font-size: 1.12rem; line-height: 1.6; text-wrap: balance; }
.guide-meta { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.1rem; }

.guide-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 2.4rem; align-items: start; margin-top: 1.6rem; }
.guide-aside { position: sticky; top: 76px; align-self: start; }

/* contents */
.guide-toc-desktop { max-height: calc(100vh - 100px); overflow-y: auto; padding: .9rem .6rem .9rem .9rem; border: 1px solid var(--sb-border-soft); border-radius: var(--sb-radius); background: rgba(12, 19, 34, .7); scrollbar-width: thin; scrollbar-color: #26385e transparent; }
.guide-toc-title { font-family: var(--sb-font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-dim); padding: 0 .55rem .5rem; }
.guide-toc-list { list-style: none; margin: 0; padding: 0; }
.guide-toc a { display: flex; gap: .6rem; align-items: flex-start; padding: .42rem .6rem; border-radius: 10px; color: var(--sb-muted); text-decoration: none; font-size: .9rem; line-height: 1.35; border-inline-start: 2px solid transparent; transition: background .15s ease, color .15s ease; }
.guide-toc a .n { flex: none; min-width: 1.7em; text-align: end; font-family: var(--sb-font-mono); color: var(--sb-dim); font-size: .82rem; padding-top: .05rem; }
.guide-toc a:hover { background: var(--sb-elev2); color: var(--sb-text); }
.guide-toc a.active { background: rgba(47, 107, 255, .15); color: #fff; border-inline-start-color: var(--sb-accent); font-weight: 600; }
.guide-toc a.active .n { color: var(--sb-accent-2); }
.guide-toc-mobile { display: none; }

/* body */
.guide-body { min-width: 0; }
.guide-body p, .guide-body li { line-height: 1.75; }
.guide-body p { max-width: 78ch; color: #d6e0f3; }
.guide-section { scroll-margin-top: 84px; padding-bottom: .5rem; }
.guide-section + .guide-section { margin-top: 2.6rem; padding-top: 2.4rem; border-top: 1px solid var(--sb-border-soft); }
.guide-h2 { display: flex; align-items: center; gap: .85rem; margin: 0 0 .5rem; font-weight: 800; font-size: clamp(1.55rem, 2.7vw, 2.15rem); line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.guide-num { flex: none; min-width: 2.3rem; height: 2.3rem; padding: 0 .55rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-family: var(--sb-font-mono); font-size: .95rem; font-weight: 600; color: var(--sb-buy); border: 1px solid rgba(32, 201, 166, .4); background: rgba(32, 201, 166, .1); }
.guide-lead { color: #9fb2d4 !important; font-size: 1.1rem; line-height: 1.65; max-width: 72ch; margin-bottom: 1.2rem; text-wrap: pretty; }
.guide-h3 { display: flex; align-items: baseline; gap: .5rem; margin: 2.1rem 0 .7rem; font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; color: #fff; scroll-margin-top: 90px; }
.guide-anchor { color: var(--sb-dim); text-decoration: none; opacity: 0; font-size: .9em; transition: opacity .15s ease, color .15s ease; }
.guide-h2:hover .guide-anchor, .guide-h3:hover .guide-anchor, .guide-anchor:focus { opacity: 1; }
.guide-anchor:hover { color: var(--sb-accent-2); }
@media (hover: none) { .guide-anchor { opacity: .55; } }
.guide-ui { color: #fff; font-weight: 700; background: rgba(47, 107, 255, .13); border-radius: 6px; padding: .02em .22em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.guide-code { font-family: var(--sb-font-mono); font-size: .86em; color: #cfe0ff; background: #0a1224; border: 1px solid #1b2c52; border-radius: 6px; padding: .06em .38em; unicode-bidi: isolate; direction: ltr; white-space: normal; word-break: break-word; }
.guide-xref, .guide-link { color: var(--sb-accent-2); text-decoration: underline; text-decoration-color: rgba(143, 176, 255, .35); text-underline-offset: 3px; }
.guide-xref:hover, .guide-link:hover { color: #fff; text-decoration-color: currentColor; }

/* steps and lists */
.guide-steps { list-style: none; counter-reset: gstep; margin: 1rem 0 1.4rem; padding: 0; display: flex; flex-direction: column; gap: .7rem; max-width: 80ch; }
.guide-steps li { counter-increment: gstep; position: relative; padding: .75rem 1rem; padding-inline-start: 3.4rem; background: var(--sb-elev); border: 1px solid var(--sb-border-soft); border-radius: 14px; min-height: 3.1rem; }
.guide-steps li::before { content: counter(gstep); position: absolute; inset-inline-start: .85rem; top: .72rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .92rem; color: #fff; background: linear-gradient(135deg, #2f6bff, #20c9a6); }
.guide-list { margin: .8rem 0 1.3rem; padding-inline-start: 1.3rem; max-width: 80ch; }
.guide-list li { margin-bottom: .5rem; padding-inline-start: .2rem; color: #d6e0f3; }
.guide-list li::marker { color: var(--sb-buy); }

/* call-outs */
.guide-callout { display: flex; gap: .85rem; margin: 1.3rem 0; padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid; max-width: 82ch; }
.guide-callout-icon { flex: none; width: 2.1rem; height: 2.1rem; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.guide-callout-body { min-width: 0; }
.guide-callout-label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .15rem; font-family: var(--sb-font-mono); }
.guide-callout p { margin: 0; max-width: none; color: #e1e9f8; }
.guide-tip { background: rgba(32, 201, 166, .08); border-color: rgba(32, 201, 166, .35); }
.guide-tip .guide-callout-icon { background: rgba(32, 201, 166, .16); color: var(--sb-buy); } .guide-tip .guide-callout-label { color: var(--sb-buy); }
.guide-warn { background: rgba(245, 166, 35, .09); border-color: rgba(245, 166, 35, .45); }
.guide-warn .guide-callout-icon { background: rgba(245, 166, 35, .18); color: var(--sb-warn); } .guide-warn .guide-callout-label { color: var(--sb-warn); }
.guide-note { background: rgba(47, 107, 255, .08); border-color: rgba(47, 107, 255, .35); }
.guide-note .guide-callout-icon { background: rgba(47, 107, 255, .18); color: var(--sb-accent-2); } .guide-note .guide-callout-label { color: var(--sb-accent-2); }

/* tables */
.guide-table-wrap { margin: 1rem 0 1.5rem; border: 1px solid var(--sb-border-soft); border-radius: 14px; background: var(--sb-elev); }
.guide-table { margin: 0; --bs-table-color: #d6e0f3; --bs-table-bg: transparent; --bs-table-border-color: var(--sb-border-soft); font-size: .94rem; }
.guide-table thead th { background: #0a1224; color: var(--sb-muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--sb-font-mono); font-weight: 500; white-space: nowrap; border-bottom: 1px solid var(--sb-border); }
.guide-table tbody th { font-weight: 600; color: #fff; min-width: 9rem; max-width: 20rem; }
.guide-table td, .guide-table th { padding: .7rem .9rem; vertical-align: top; line-height: 1.55; }
.guide-table tbody tr:last-child > * { border-bottom: 0; }

/* screenshots */
.guide-shot { margin: 1.4rem 0 1.8rem; max-width: 100%; padding: 8px; border: 1px solid #1e2c4a; border-radius: 16px; background: linear-gradient(180deg, #16233f, #0b1324); box-shadow: 0 24px 60px -24px rgba(47, 107, 255, .35); }
.guide-shot a { display: block; line-height: 0; cursor: zoom-in; }
.guide-shot img { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; border-radius: 10px; }
.guide-shot figcaption { display: flex; gap: .55rem; align-items: flex-start; padding: .75rem .6rem .35rem; font-size: .9rem; line-height: 1.55; color: var(--sb-muted); }
.guide-shot figcaption i { color: var(--sb-accent-2); margin-top: .18rem; }
.guide-shot-missing .guide-shot-empty { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 2.2rem 1rem; border: 1px dashed #2a3e6b; border-radius: 10px; color: var(--sb-dim); }
.guide-shot-missing .guide-shot-empty i { font-size: 1.6rem; }

/* next section and the end */
.guide-next { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding: 1rem 1.2rem; border: 1px solid var(--sb-border); border-radius: 14px; background: linear-gradient(120deg, rgba(47, 107, 255, .12), rgba(32, 201, 166, .06)); color: var(--sb-text); text-decoration: none; transition: transform .15s ease, border-color .15s ease; max-width: 82ch; }
.guide-next:hover { border-color: var(--sb-accent); transform: translateY(-2px); color: #fff; }
.guide-next small { display: block; color: var(--sb-muted); font-family: var(--sb-font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.guide-next b { font-size: 1.05rem; }
.guide-next i { font-size: 1.3rem; color: var(--sb-accent-2); }
.guide-end { margin-top: 3.2rem; padding: 2rem 1.2rem; text-align: center; border-radius: 22px; border: 1px solid #1e3263; background: linear-gradient(135deg, #0e1c3d 0%, #0a1224 60%, #0b2a2a 140%); }
.guide-end h2 { font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); }

/* phones and tablets: the contents become a dropdown that sticks under the navigation */
@media (max-width: 991.98px) {
  .guide-layout { display: block; margin-top: .8rem; }
  .guide-aside { position: sticky; top: 56px; z-index: 20; margin: 0 -12px 1rem; padding: .45rem 12px; background: rgba(6, 10, 19, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--sb-border-soft); }
  .guide-toc-desktop { display: none; }
  .guide-toc-mobile { display: block; }
  .guide-toc-mobile summary { list-style: none; display: flex; align-items: center; gap: .6rem; padding: .6rem .85rem; border: 1px solid var(--sb-border); border-radius: 12px; background: var(--sb-elev); color: var(--sb-text); cursor: pointer; font-weight: 600; font-size: .92rem; }
  .guide-toc-mobile summary::-webkit-details-marker { display: none; }
  .guide-toc-mobile .gt-jump { color: var(--sb-muted); font-weight: 500; white-space: nowrap; }
  .guide-toc-mobile .gt-current { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: end; color: #fff; }
  .guide-toc-mobile .gt-chev { transition: transform .2s ease; color: var(--sb-dim); }
  .guide-toc-mobile[open] .gt-chev { transform: rotate(180deg); }
  .guide-toc-mobile .guide-toc { margin-top: .4rem; max-height: min(62vh, 440px); overflow-y: auto; padding: .4rem; border: 1px solid var(--sb-border); border-radius: 12px; background: #0a1120; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
  .guide-section { scroll-margin-top: 138px; }
  .guide-h3 { scroll-margin-top: 140px; }
}
@media (max-width: 575.98px) {
  .guide-h2 { align-items: flex-start; gap: .65rem; }
  .guide-steps li { padding-inline-start: 3.1rem; }
  .guide-callout { padding: .85rem .9rem; gap: .65rem; }
  .guide-table tbody th { min-width: 7rem; }
  .guide-shot { padding: 5px; border-radius: 12px; }
}

/* Arabic / right to left */
[dir="rtl"] .guide-hero h1 { line-height: 1.35; letter-spacing: 0; }
[dir="rtl"] .guide-h2, [dir="rtl"] .guide-h3, [dir="rtl"] .guide-lead { letter-spacing: 0; }
[dir="rtl"] .guide-h2 { line-height: 1.45; }
[dir="rtl"] .guide-body p, [dir="rtl"] .guide-body li { line-height: 1.95; }
[dir="rtl"] .guide-toc-title, [dir="rtl"] .guide-callout-label, [dir="rtl"] .guide-next small, [dir="rtl"] .guide-table thead th { letter-spacing: 0; text-transform: none; font-family: var(--sb-arabic-font, "Cairo"), "Segoe UI", system-ui, sans-serif; font-size: .88rem; }
[dir="rtl"] .guide-toc a { line-height: 1.55; }
[dir="rtl"] .guide-ui { padding: .02em .26em; }
[dir="rtl"] .guide-steps li::before { font-family: var(--sb-font-mono); }
[dir="rtl"] .guide-shot figcaption { text-align: start; }

/* seven links plus the language switch fit on one line from 992px up (the Guide link made the bar one item longer) */
@media (min-width: 992px) and (max-width: 1239.98px) {
  .sb-nav .navbar-nav .nav-link { white-space: nowrap; padding-inline: .5rem; font-size: .86rem; }
  .sb-nav .navbar-brand { margin-inline-end: .6rem; }
  .sb-nav .btn-sm { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1139.98px) {
  .sb-nav .navbar-nav .nav-link { padding-inline: .36rem; font-size: .82rem; }
  .sb-nav .lang-switch .bi { display: none; }
  .sb-nav .btn-sm { padding-inline: .6rem !important; font-size: .8rem; }
  .sb-nav .navbar-brand { font-size: 1.15rem; }
}

/* ---------- home page 1.3.1: hero comparison slider and the section rows ---------- */
.hero-shot.hero-compare { animation: none; }
.cmp { position: relative; width: 100%; overflow: hidden; border-radius: 10px; background: #0b1324; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; --pos: 50%; }
.cmp img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.cmp .cmp-top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.cmp .cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(8, 14, 30, .35), 0 0 22px rgba(47, 107, 255, .75); pointer-events: none; }
.cmp .cmp-handle { position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: #17306e; display: flex; align-items: center; justify-content: center; gap: 0; font-size: .8rem; box-shadow: 0 6px 22px rgba(0, 0, 0, .45), 0 0 0 4px rgba(47, 107, 255, .4); cursor: grab; outline: none; }
.cmp .cmp-handle i { line-height: 1; }
.cmp .cmp-handle:focus-visible { box-shadow: 0 6px 22px rgba(0, 0, 0, .45), 0 0 0 4px #fff, 0 0 0 7px var(--sb-accent); }
.cmp.cmp-drag, .cmp.cmp-drag .cmp-handle { cursor: grabbing; }
.cmp .cmp-label { position: absolute; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 700; line-height: 1.4; pointer-events: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .2s ease; }
.cmp .cmp-label-l { left: 12px; background: rgba(6, 10, 19, .72); color: #e8eefa; border: 1px solid rgba(143, 176, 255, .35); }
.cmp .cmp-label-r { right: 12px; background: rgba(255, 255, 255, .85); color: #12224a; border: 1px solid rgba(18, 34, 74, .2); }
.cmp.cmp-no-l .cmp-label-l, .cmp.cmp-no-r .cmp-label-r { opacity: 0; }
.cmp.cmp-hint .cmp-handle::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); animation: cmpring 1.8s ease-out 3; }
@keyframes cmpring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.cmp-note { margin: .7rem 0 .15rem; text-align: center; font-size: .85rem; color: var(--sb-muted); }
.cmp-note i { color: var(--sb-accent-2); margin-inline-end: .3rem; transform: rotate(90deg); display: inline-block; }
@media (prefers-reduced-motion: reduce) { .cmp.cmp-hint .cmp-handle::after { animation: none; display: none; } }
@media (max-width: 575.98px) { .cmp .cmp-handle { width: 42px; height: 42px; margin: -21px 0 0 -21px; } .cmp .cmp-label { top: 8px; font-size: .7rem; padding: .2rem .55rem; } .cmp .cmp-label-l { left: 8px; } .cmp .cmp-label-r { right: 8px; } }
[dir="rtl"] .cmp .cmp-label { font-family: var(--sb-arabic-font, "Cairo"), "Segoe UI", system-ui, sans-serif; }

/* sections */
.hsec { margin-top: clamp(3.5rem, 7vw, 6rem); }
.hhead { max-width: 780px; }
.hlead { margin: 1rem 0 0; color: #9fb2d4; font-size: 1.1rem; line-height: 1.65; }
.hrow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(1.8rem, 4vw, 3rem); }
.hrow.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hrow.flip .hmedia { order: -1; }
.hrow .htext h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 0 0 .7rem; text-wrap: balance; }
.hrow .htext > .section-title { margin-bottom: .8rem; }
.hrow .htext p { color: #b7c6e2; line-height: 1.7; margin: 0 0 1rem; }
.hlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .65rem; }
.hlist li { position: relative; padding-inline-start: 1.5rem; color: #d6e0f3; line-height: 1.6; }
.hlist li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; inset-inline-start: 0; top: .05rem; color: var(--sb-buy); font-size: 1rem; }
.hmedia { min-width: 0; }

/* framed screenshots */
.mshot { margin: 0; padding: 8px; border: 1px solid #1e2c4a; border-radius: 16px; background: linear-gradient(180deg, #16233f, #0b1324); box-shadow: 0 24px 60px -28px rgba(47, 107, 255, .4); overflow: hidden; min-width: 0; }
.mshot img { display: block; width: 100%; height: auto; border-radius: 10px; background: #0b1324; }
.mshot.flush { display: flex; flex-direction: column; gap: 0; }
.mshot.flush img { border-radius: 0; }
.mshot.flush img:first-child { border-radius: 10px 10px 0 0; } .mshot.flush img:last-child { border-radius: 0 0 10px 10px; }
.mshot.dark { background: #07101f; box-shadow: none; border-color: #1b2c52; }
.mshot figcaption { padding: .7rem .35rem .2rem; font-size: .88rem; line-height: 1.55; color: var(--sb-muted); }
.mcol { display: flex; flex-direction: column; gap: 1rem; }
/* order builder (tall) beside the watchlist and the review sheet: the right column stretches to the height of the left one */
.wgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 1rem; align-items: stretch; }
.wgrid .tall { grid-row: 1 / span 2; display: flex; align-items: center; }
.wgrid figure:not(.tall) { display: flex; align-items: center; }
.hpair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; margin-top: clamp(1.8rem, 4vw, 3rem); }
.hstack { display: flex; flex-direction: column; gap: 1.25rem; margin-top: clamp(1.8rem, 4vw, 3rem); }
.hstack .hpair { margin-top: 0; }
.hcard { display: flex; flex-direction: column; border: 1px solid var(--sb-border-soft); border-radius: 20px; background: var(--sb-elev); overflow: hidden; }
.hcard .mshot { border: 0; border-radius: 0; box-shadow: none; padding: 10px 10px 0; flex: 0 0 auto; display: flex; align-items: center; }
.hcard .hcard-body { padding: 1.2rem 1.4rem 1.5rem; }
.hcard h3 { margin: 0 0 .45rem; font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hcard p { margin: 0; color: var(--sb-muted); line-height: 1.65; font-size: .95rem; }
.vshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: center; margin-top: 2rem; max-width: 900px; margin-inline: auto; }
.vshots .mshot img { max-height: 380px; object-fit: contain; }
@media (max-width: 991.98px) {
  .hrow, .hrow.flip { grid-template-columns: minmax(0, 1fr); }
  .hrow.flip .hmedia { order: 0; }
  .wgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
  .hpair, .vshots { grid-template-columns: minmax(0, 1fr); }
  .wgrid { grid-template-columns: minmax(0, 1fr); }
  .wgrid .tall { grid-row: auto; justify-content: center; }
  .wgrid .tall img { max-width: 360px; margin-inline: auto; }
}
[dir="rtl"] .hrow .htext h3, [dir="rtl"] .hcard h3 { letter-spacing: 0; font-family: var(--sb-arabic-font, "Cairo"), "Segoe UI", system-ui, sans-serif; line-height: 1.5; }
[dir="rtl"] .hlead, [dir="rtl"] .hrow .htext p, [dir="rtl"] .hcard p, [dir="rtl"] .hlist li { line-height: 1.9; }
.hcard .mshot.box { flex: 0 0 auto; aspect-ratio: var(--box); }
.hcard .mshot.box img { height: 100%; object-fit: contain; }
/* wide panel strips shown in a half-width card: keep the right-hand part (the buttons and the menu), so the text stays readable */
.mshot.crop img { aspect-ratio: 2.3 / 1; object-fit: cover; object-position: right top; }
[dir="rtl"] .mshot.crop img { object-position: right top; }
.voice .vtoasts, .voice .vbell { max-width: 460px; }
.voice .vtoasts img, .voice .vbell img { max-height: 340px; object-fit: contain; }
