/* Interactive demos (d-*). Light by default, dark via .dark. Logical properties for RTL. */
.d-sec { padding: 92px 0; overflow-x: clip; }
.d-sec.alt { background: var(--color-background-2, #f5f7fa); }
.dark .d-sec.alt { background: var(--color-background-7, #171d28); }
.d-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.d-split.flip .d-txt { order: 2; }
.d-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; margin: 0 0 14px; }
html[lang="ar"] .d-head h2, html[lang="ur"] .d-head h2 { line-height: 1.4; letter-spacing: 0; }
.d-head p { color: var(--x-dim); font-size: 1.05rem; margin: 0 0 22px; max-width: 560px; }
.d-head.center { text-align: center; margin: 0 auto 36px; max-width: 760px; }
.d-head.center p { margin-inline: auto; }
.d-accent { position: relative; color: #05a87f; white-space: nowrap; }
.dark .d-accent { color: var(--mint); }
.d-accent::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 3px; border-radius: 3px; background: currentColor; opacity: .85; }
.d-bullets { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.d-bullets li { display: flex; gap: 12px; align-items: flex-start; }
.d-bullets li > span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--color-primary-600); margin-top: 2px; }
.dark .d-bullets li > span { color: var(--mint); }
.d-bullets b { font-weight: 600; }
.d-bullets small { display: block; color: var(--x-dim); font-size: .9rem; margin-top: 2px; }

.d-demo { position: relative; min-width: 0; padding: 18px; border-radius: 28px; background: var(--x-card); border: 1px solid var(--x-line); box-shadow: 0 40px 80px -50px rgb(11 18 32 / .35); }
.d-demo.wide { padding: 20px; }
.d-sample { position: absolute; inset-block-start: 10px; inset-inline-end: 14px; font-size: 11px; padding: 3px 9px; border-radius: 99px; background: var(--x-card-2); border: 1px solid var(--x-line); color: var(--x-dim); z-index: 3; }

/* chat */
.d-chat { display: flex; flex-direction: column; min-width: 0; border-radius: 20px; border: 1px solid var(--x-line); background: var(--x-card-2); overflow: hidden; }
.d-chat-h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--x-card); border-bottom: 1px solid var(--x-line); }
.d-chat-h b { display: block; font-weight: 600; line-height: 1.2; }
.d-chat-h small { color: var(--x-dim); font-size: 12px; }
.d-live { margin-inline-start: auto; font-size: 11px; padding: 3px 9px; border-radius: 99px; background: var(--mint-soft); color: var(--color-primary-600); font-weight: 600; }
.dark .d-live { color: var(--mint); }
.d-live.soon { background: rgb(250 204 21 / .15); color: #8a6a00; }
.d-chat-b { display: flex; flex-direction: column; gap: 10px; padding: 16px; height: 380px; overflow-y: auto; scrollbar-width: thin; }
.d-av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; background: #0e7d68; overflow: hidden; }
.d-av.t-b { background: #3b5bdb; } .d-av.t-c { background: #c2255c; } .d-av.t-d { background: #e8590c; } .d-av.t-e { background: #0b1220; }
.d-av svg { width: 38px; height: 38px; }
.d-msg { display: flex; flex-direction: column; gap: 6px; max-width: 86%; }
.d-msg.d-out { align-self: flex-end; } .d-msg.d-in { align-self: flex-start; }
.d-bub { padding: 9px 12px 6px; border-radius: 14px; font-size: .93rem; line-height: 1.55; box-shadow: 0 1px 0 rgb(11 18 32 / .04); }
.d-bub p { margin: 0; }
.d-in .d-bub { background: var(--x-card); border: 1px solid var(--x-line); border-end-start-radius: 4px; }
.d-out .d-bub { background: #dcf8c6; color: #10261c; border-end-end-radius: 4px; }
.dark .d-out .d-bub { background: #0d4f45; color: #e8f0f3; }
.d-meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: 10.5px; opacity: .6; margin-top: 3px; }
.d-tick { width: 15px; height: 9px; } .d-tick[data-s="read"] { color: #0f9bd6; opacity: 1; } .d-tick[data-s="sent"] path:last-child { display: none; }
.d-code { font: 600 1.7rem/1.3 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; margin: 4px 0; }
.d-foot { display: block; opacity: .7; font-size: .8rem; }
.d-btns { display: grid; gap: 5px; }
.d-btns button { padding: 8px 10px; border-radius: 10px; background: var(--x-card); border: 1px solid var(--x-line); color: #0a7f69; font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; text-align: center; transition: background .15s, transform .1s; }
.dark .d-btns button { color: var(--mint); }
.d-btns button:hover:not(:disabled) { background: var(--mint-soft); }
.d-btns button:disabled { opacity: .55; cursor: default; }
.d-sys { align-self: center; max-width: 100%; }
.d-sys > span { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; padding: 4px 11px; border-radius: 99px; background: var(--x-card); border: 1px dashed var(--x-line); color: var(--x-dim); }
.d-ai { display: inline-flex; align-self: flex-end; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: #0a7f69; }
.dark .d-ai { color: var(--mint); }
.d-pop { animation: d-pop .35s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes d-pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.d-typing .d-bub { display: inline-flex; gap: 4px; padding: 12px 14px; }
.d-typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; animation: x-blink 1s infinite ease-in-out; }
.d-typing i:nth-child(2) { animation-delay: .15s; } .d-typing i:nth-child(3) { animation-delay: .3s; }
.d-compose { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--x-line); background: var(--x-card); }
.d-compose input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--x-line); background: var(--x-card-2); color: var(--x-text); font: inherit; }
.d-compose button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--color-secondary); color: #fff; display: grid; place-items: center; cursor: pointer; }
.dark .d-compose button { background: var(--mint); color: #07121f; }
[dir="rtl"] .d-compose button svg { transform: scaleX(-1); }
.d-srcchip, .d-actchip { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; padding: 3px 10px; border-radius: 99px; background: var(--x-card); border: 1px solid var(--x-line); color: var(--x-dim); }
.d-actchip { color: #0a7f69; border-color: rgb(52 227 190 / .5); background: var(--mint-soft); }
.d-actchip.warn { color: #8a6a00; border-color: rgb(250 204 21 / .5); background: rgb(250 204 21 / .12); }
.d-lat { font-weight: 600; color: #0a7f69; opacity: 1; }
.dark .d-lat { color: var(--mint); }

/* inbox */
.d-inbox { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 14px; }
.d-inbox .d-chat { order: 1; } .d-list { order: 2; display: grid; gap: 8px; align-content: start; }
.d-list-h { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--x-dim); margin: 6px 4px 2px; }
html[lang="ar"] .d-list-h, html[lang="ur"] .d-list-h { letter-spacing: 0; text-transform: none; font-size: 13px; }
.d-conv { display: flex; align-items: center; gap: 10px; text-align: start; padding: 10px; border-radius: 16px; border: 1.5px solid var(--x-line); background: var(--x-card); color: inherit; font: inherit; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.d-conv:hover { transform: translateX(-2px); border-color: var(--color-primary-400); }
[dir="rtl"] .d-conv:hover { transform: translateX(2px); }
.d-conv.is-on { border-color: var(--x-text); box-shadow: 0 10px 24px -16px rgb(11 18 32 / .5); }
.d-conv-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.d-conv-t b { font-weight: 600; font-size: .93rem; }
.d-conv-t small { color: var(--x-dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-tag { justify-self: start; font-style: normal; font-size: 10.5px; padding: 1px 8px; border-radius: 99px; background: var(--mint-soft); color: var(--color-primary-600); margin-top: 3px; }
.dark .d-tag { color: var(--mint); }
.d-conv-m { display: grid; justify-items: end; gap: 6px; font-size: 11px; color: var(--x-dim); }
.d-conv-m em { font-style: normal; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #0e7d68; color: #fff; display: grid; place-items: center; font-weight: 600; }
.d-pane[hidden] { display: none; }

/* ai */
.d-ai-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 14px; }
.d-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px 14px; border-top: 1px solid var(--x-line); background: var(--x-card); }
.d-chips button { padding: 7px 12px; border-radius: 99px; border: 1px solid var(--x-line); background: var(--x-card-2); color: var(--x-text); font: inherit; font-size: .85rem; cursor: pointer; transition: all .15s; }
.d-chips button:hover:not(:disabled) { border-color: var(--color-primary-400); background: var(--mint-soft); }
.d-chips button:disabled { opacity: .55; }
.d-srcs { display: grid; gap: 10px; align-content: start; padding: 14px; border-radius: 20px; border: 1px solid var(--x-line); background: var(--x-card-2); }
.d-srcs > b { font-size: .85rem; }
.d-srcs > small { color: var(--x-dim); font-size: 12px; }
.d-src, .d-ev { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--x-card); border: 1px solid var(--x-line); cursor: pointer; }
.d-src input, .d-ev input { position: absolute; opacity: 0; pointer-events: none; }
.d-sw { flex: none; position: relative; width: 36px; height: 20px; border-radius: 99px; background: var(--x-line); transition: background .2s; }
.d-sw::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); transition: transform .2s; }
input:checked + .d-sw { background: #0e9c7c; }
input:checked + .d-sw::after { transform: translateX(16px); }
[dir="rtl"] input:checked + .d-sw::after { transform: translateX(-16px); }
input:focus-visible + .d-sw { outline: 2px solid var(--color-primary-400); outline-offset: 2px; }
.d-src-t b { display: block; font-size: .88rem; } .d-src-t small { color: var(--x-dim); font-size: 11.5px; }

/* flow canvas */
.d-flow-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; padding-inline-end: 110px; }
.d-run { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 99px; border: 0; background: var(--color-secondary); color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.dark .d-run { background: var(--mint); color: #07121f; }
.d-flow-hint { color: var(--x-dim); font-size: .9rem; }
.d-canvas-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--x-line); background-color: var(--x-card-2); background-image: linear-gradient(var(--x-line) 1px, transparent 1px), linear-gradient(90deg, var(--x-line) 1px, transparent 1px); background-size: 28px 28px; background-position: -1px -1px; }
.d-canvas { position: relative; min-width: 980px; height: 440px; padding: 14px; }
.d-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.d-wires path { fill: none; stroke: #9aa7bb; stroke-width: 2; stroke-linecap: round; }
.d-wires path.is-run { stroke: #0e9c7c; stroke-width: 2.6; stroke-dasharray: 8 6; animation: d-dash .7s linear infinite; }
@keyframes d-dash { to { stroke-dashoffset: -28; } }
.d-wires circle { fill: #0e9c7c; stroke: var(--x-card); stroke-width: 2; }
.d-node { position: absolute; inset-inline-start: var(--x); top: var(--y); width: 17.5%; min-width: 156px; display: grid; gap: 8px; padding: 10px; text-align: start; border-radius: 16px; background: var(--x-card); border: 1.5px solid var(--x-line); color: inherit; font: inherit; cursor: pointer; box-shadow: 0 10px 24px -18px rgb(11 18 32 / .4); transition: transform .2s, box-shadow .2s, border-color .2s; }
.d-node:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgb(11 18 32 / .5); }
.d-node.is-sel { border-color: var(--x-text); }
.d-node.is-active { border-color: #0e9c7c; box-shadow: 0 0 0 4px rgb(14 156 124 / .2); animation: d-pulse 1s ease-in-out infinite; }
.d-node.is-done { border-color: #0e9c7c; background: rgb(52 227 190 / .08); }
@keyframes d-pulse { 50% { box-shadow: 0 0 0 8px rgb(14 156 124 / .12); } }
.d-node-h { display: flex; align-items: center; gap: 8px; }
.d-node-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--mint-soft); color: var(--color-primary-600); }
.k-cond .d-node-ic { background: rgb(139 92 246 / .14); color: #7c3aed; } .k-send .d-node-ic { background: rgb(59 130 246 / .14); color: #2563eb; }
.k-wait .d-node-ic { background: rgb(250 204 21 / .2); color: #a16207; } .k-action .d-node-ic { background: rgb(244 114 182 / .14); color: #be185d; }
.d-node-t b { display: block; font-size: .88rem; font-weight: 600; line-height: 1.2; } .d-node-t small { color: var(--x-dim); font-size: 10.5px; }
.d-node-b { font-size: .8rem; color: var(--x-dim); padding: 7px 9px; border-radius: 10px; background: var(--x-card-2); line-height: 1.45; }
.d-outs { display: grid; gap: 4px; margin-inline: -10px; margin-bottom: -2px; border-top: 1px solid var(--x-line); }
.d-outs i { position: relative; font-style: normal; font-size: .75rem; font-weight: 600; padding: 5px 10px; color: var(--x-dim); }
.d-outs i u { position: absolute; inset-inline-end: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #0e9c7c; border: 2px solid var(--x-card); }
.d-outs i.o1 u { background: #e5484d; } .d-outs i.o1 { color: #e5484d; }
.d-detail { margin-top: 12px; min-height: 52px; padding: 14px 16px; border-radius: 14px; background: var(--x-card-2); border: 1px solid var(--x-line); font-size: .93rem; }
.d-detail p { margin: 0; } .d-detail b { font-weight: 600; }

/* phone */
.d-phone { position: relative; width: 270px; max-width: 100%; height: 520px; margin-inline: auto; display: flex; flex-direction: column; border-radius: 46px; border: 7px solid #07090d; background: #0b141a; box-shadow: 0 0 0 2px #8b9199, 0 0 0 4px #2a2e35, 0 36px 60px -24px rgb(0 0 0 / .6); overflow: hidden; color: #e8f0f3; }
.d-island { position: absolute; top: 9px; inset-inline: 0; margin-inline: auto; width: 82px; height: 24px; border-radius: 99px; background: #000; z-index: 3; }
.d-phone-h { display: flex; align-items: center; gap: 9px; padding: 40px 14px 10px; background: #111d27; border-bottom: 1px solid rgb(255 255 255 / .06); }
.d-phone-h b { display: block; font-size: 13px; font-weight: 500; color: #fff; line-height: 1.2; } .d-phone-h small { font-size: 10.5px; color: #93a1b8; }
.d-phone-h .d-av { width: 32px; height: 32px; background: transparent; } .d-phone-h .d-av svg { width: 32px; height: 32px; }
.d-phone-b { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px 10px; overflow-y: auto; scrollbar-width: none; background: #0b141a radial-gradient(rgb(255 255 255 / .035) 1px, transparent 1.2px) 0 0 / 18px 18px; }
.d-phone-b .d-in .d-bub { background: #1d2a35; border: 0; color: #e8f0f3; } .d-phone-b .d-out .d-bub { background: #0d4f45; color: #e8f0f3; }
.d-phone-b .d-btns button { background: #14232e; border-color: rgb(255 255 255 / .06); color: #6fe8cd; }
.d-phone-b .d-sys > span { background: #14232e; color: #93a1b8; border-color: rgb(255 255 255 / .1); }
.d-phone-b .d-bub { font-size: .84rem; } .d-phone-b .d-code { font-size: 1.4rem; }
.d-phone-f { padding: 8px 12px 14px; background: #0b141a; } .d-phone-f span { display: block; padding: 8px 14px; border-radius: 99px; background: #1d2a35; color: rgb(255 255 255 / .45); font-size: 12px; }

/* forms / wizard */
.d-form, .d-wizard { display: grid; gap: 14px; align-content: start; }
.d-form label, .d-wizard label, .d-range { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.d-form input[type="tel"], .d-form input[type="text"], .d-wizard input[type="text"] { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--x-line); background: var(--x-card-2); color: var(--x-text); font: inherit; }
.d-wizard input[readonly] { opacity: .7; }
.d-note { margin: 0; min-height: 22px; font-size: .88rem; color: var(--x-dim); } .d-note.ok { color: #0a7f69; font-weight: 600; } .d-note.bad { color: #d6336c; }
.d-otp-grid, .d-ads-grid, .d-appt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 22px; align-items: start; }
.d-demo:has(> .d-wizard) { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 22px; }
.d-demo:has(> .d-wizard) > .d-sample { position: absolute; }
.d-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.d-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--x-card-2); color: var(--x-dim); font-size: .85rem; border: 1px solid var(--x-line); }
.d-steps li b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--x-line); font-size: 12px; }
.d-steps li.is-on { color: var(--x-text); border-color: rgb(52 227 190 / .6); } .d-steps li.is-on b { background: #0e9c7c; color: #fff; }
.d-wz { display: grid; gap: 12px; } .d-wz[hidden] { display: none; }
.d-wz-t { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.d-ok { width: 22px; height: 22px; border-radius: 50%; background: #0e9c7c; color: #fff; display: inline-grid; place-items: center; }
.d-stores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.d-store { padding: 6px; border-radius: 16px; border: 1.5px solid var(--x-line); background: var(--x-card); cursor: pointer; display: grid; place-items: center; transition: all .15s; }
.d-store .x-logo-item { border: 0; background: none; width: 100%; justify-content: center; pointer-events: none; }
.d-store:hover { border-color: var(--color-primary-400); transform: translateY(-2px); } .d-store.is-on { border-color: var(--x-text); background: var(--x-card-2); }
.d-prog { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.d-prog li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--x-dim); }
.d-prog li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--x-line); flex: none; }
.d-prog li.run::before { border-color: #0e9c7c; border-top-color: transparent; animation: d-spin .7s linear infinite; }
.d-prog li.done { color: var(--x-text); } .d-prog li.done::before { background: #0e9c7c url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='m2.5 6.3 2.3 2.3L9.5 3.6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat; border-color: #0e9c7c; }
@keyframes d-spin { to { transform: rotate(360deg); } }
.d-evs { display: grid; gap: 8px; }

/* store assistant */
.d-prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.d-prod { position: relative; display: grid; gap: 6px; padding: 8px; border-radius: 14px; background: var(--x-card); border: 1px solid var(--x-line); color: var(--x-text); }
.d-prod b { font-size: .85rem; } .d-prod-i svg { width: 100%; height: auto; border-radius: 10px; display: block; }
.d-stock { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 1; font-size: 10px; padding: 2px 7px; border-radius: 99px; background: #fff; color: #0b1220; box-shadow: 0 1px 4px rgb(0 0 0 / .2); }
.d-price { font-size: .85rem; } .d-price s { color: var(--x-dim); font-size: .78rem; } .d-price strong { font-weight: 700; }
.d-cart { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 10px; border: 0; background: #0e7d68; color: #fff; font: inherit; font-size: .82rem; cursor: pointer; }
.d-cart.on { background: #0b1220; }
.d-link { margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: rgb(255 255 255 / .6); border: 1px dashed #0e7d68; font: .82rem ui-monospace, Menlo, monospace; color: #0a5b4a; overflow-wrap: anywhere; }

/* ads */
.d-ad { border-radius: 20px; border: 1px solid var(--x-line); background: var(--x-card); overflow: hidden; display: grid; }
.d-ad-h { display: flex; align-items: center; gap: 10px; padding: 12px; } .d-ad-h b { display: block; font-size: .9rem; } .d-ad-h small { color: var(--x-dim); font-size: 11.5px; }
.d-ad-i { display: grid; align-content: end; gap: 4px; min-height: 190px; padding: 16px; color: #fff; background: radial-gradient(80% 80% at 80% 10%, #34e3be66, transparent), linear-gradient(135deg, #0b1220, #0e7d68); }
.d-ad-i span { font-size: .8rem; opacity: .8; } .d-ad-i b { font-size: 1.35rem; line-height: 1.25; }
.d-ad-cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px; padding: 11px; border-radius: 12px; border: 0; background: #0e7d68; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.d-lead { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; counter-reset: l; }
.d-lead li { counter-increment: l; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--x-line); background: var(--x-card-2); color: var(--x-dim); font-size: .85rem; transition: all .3s; }
.d-lead li::before { content: counter(l); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--x-line); font-size: 11px; }
.d-lead li.on { color: var(--x-text); border-color: rgb(52 227 190 / .6); background: var(--mint-soft); } .d-lead li.on::before { background: #0e9c7c; color: #fff; }
.d-replay { margin-top: 10px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--x-line); background: var(--x-card); color: var(--x-text); font: inherit; font-size: .85rem; cursor: pointer; }

/* campaign */
.d-camp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.d-camp-c { display: grid; gap: 14px; align-content: start; padding: 18px; border-radius: 20px; background: var(--x-card-2); border: 1px solid var(--x-line); }
.d-range b { font-size: 1.3rem; margin-inline-start: 6px; } .d-range input { width: 100%; accent-color: #0e9c7c; }
.d-cost { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.d-cost > div, .d-counts > div { padding: 10px 12px; border-radius: 14px; background: var(--x-card); border: 1px solid var(--x-line); }
.d-cost small, .d-counts small { display: block; font-size: 11.5px; color: var(--x-dim); } .d-cost b, .d-counts b { font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; }
.d-cost .tot { background: #0b1220; color: #fff; border-color: transparent; } .d-cost .tot small { color: #93a1b8; }
.d-send-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .d-state { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: var(--mint-soft); color: var(--color-primary-600); font-weight: 600; }
.d-bar { height: 10px; border-radius: 99px; background: var(--x-line); overflow: hidden; } .d-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #078a70, #34e3be); transition: width .15s linear; }
.d-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .d-ctrls { display: flex; flex-wrap: wrap; gap: 8px; }
.d-chipsrow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.d-chipsrow li { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; padding: 3px 10px; border-radius: 99px; background: var(--x-card); border: 1px solid var(--x-line); color: var(--x-dim); }

/* appointments */
.d-cal { display: grid; gap: 12px; padding: 14px; border-radius: 20px; background: var(--x-card-2); border: 1px solid var(--x-line); }
.d-cal-h b { font-size: 1.05rem; } .d-cal-w, .d-cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.d-cal-w span { font-size: 11px; color: var(--x-dim); }
.d-cal-g button { height: 34px; border-radius: 10px; border: 0; background: transparent; color: var(--x-text); font: inherit; font-size: .85rem; cursor: pointer; }
.d-cal-g button:hover:not(:disabled) { background: var(--mint-soft); } .d-cal-g button:disabled { opacity: .3; cursor: default; } .d-cal-g button.on { background: #0b1220; color: #fff; }
.d-slots { display: flex; flex-wrap: wrap; gap: 6px; } .d-slots button { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--x-line); background: var(--x-card); color: var(--x-text); font: inherit; font-size: .85rem; cursor: pointer; direction: ltr; } .d-slots button.on { border-color: #0e9c7c; background: var(--mint-soft); font-weight: 600; }

/* crm */
.d-crm { display: grid; gap: 14px; padding: 8px; }
.d-crm > header { display: flex; align-items: center; gap: 12px; } .d-crm b { font-weight: 600; } .d-crm small { color: var(--x-dim); display: block; }
.d-crm-row { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: var(--x-card-2); border: 1px solid var(--x-line); }
.d-stages { display: flex; flex-wrap: wrap; gap: 6px; } .d-stages button { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--x-line); background: var(--x-card); color: var(--x-dim); font: inherit; font-size: .85rem; cursor: pointer; } .d-stages button[aria-pressed="true"] { background: #0b1220; color: #fff; border-color: transparent; }
.d-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .d-tl li { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--x-card-2); border: 1px solid var(--x-line); font-size: .87rem; } .d-tl li span { flex: 1; } .d-tl time { color: var(--x-dim); font-size: 11.5px; }
.d-logos { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }

/* responsive */
@media (max-width: 1000px) {
  .d-split, .d-split.flip { grid-template-columns: minmax(0, 1fr); gap: 32px; } .d-split.flip .d-txt { order: 0; }
  .d-inbox, .d-ai-grid, .d-camp-grid { grid-template-columns: minmax(0, 1fr); }
  .d-otp-grid, .d-ads-grid, .d-appt-grid, .d-demo:has(> .d-wizard) { grid-template-columns: minmax(0, 1fr); } .d-phone { height: 480px; }
}
@media (max-width: 640px) {
  .d-sec { padding: 60px 0; } .d-demo { padding: 12px; border-radius: 22px; } .d-chat-b { height: 340px; }
  .d-cost, .d-counts { grid-template-columns: 1fr; } .d-flow-bar { padding-inline-end: 0; } .d-sample { position: static; display: inline-block; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .d-pop, .d-node.is-active, .d-wires path.is-run { animation: none; } }

/* ticker, channels, feature grid, plan icon rows */
.x-ticker { overflow: hidden; direction: ltr; border-block: 1px solid var(--x-line); background: #0b1220; color: #cfe3ff; padding: 14px 0; }
.x-ticker-track { display: flex; width: max-content; gap: 44px; animation: x-slide 50s linear infinite; padding-inline: 22px; }
.x-ticker:hover .x-ticker-track { animation-play-state: paused; }
.x-tick-i { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; font-size: .95rem; }
.x-tick-i svg { color: #34e3be; }
.x-channels { padding: 34px 0; border-bottom: 1px solid var(--x-line); background: var(--x-card); }
.x-channels ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.x-channels li { display: inline-flex; align-items: center; gap: 10px; }
.x-channels li .x-logo-item { border: 0; background: none; height: 32px; padding: 0; }
.x-channels li .x-logo { width: 30px; height: 30px; }
.x-chan-ic { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 9px; background: var(--x-card-2); color: var(--x-text); }
.x-channels b { font-weight: 600; }
.x-channels small { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--x-card-2); color: var(--x-dim); }
.x-channels small.live { background: var(--mint-soft); color: var(--color-primary-600); }
.x-feat12 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.x-fcard { position: relative; display: block; padding: 22px; border-radius: 22px; background: var(--x-card); border: 1px solid var(--x-line); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.x-fcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgb(52 227 190 / .18), transparent 60%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.x-fcard:hover { transform: translateY(-4px); border-color: rgb(52 227 190 / .6); box-shadow: 0 24px 50px -30px rgb(11 18 32 / .4); }
.x-fcard:hover::before { opacity: 1; }
.x-fcard h3 { font-size: 1.02rem; font-weight: 600; margin: 0 0 6px; }
.x-fcard p { margin: 0; color: var(--x-dim); font-size: .9rem; }
.x-incl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 24px; margin-top: 26px; padding: 18px; border-radius: 20px; background: var(--x-card); border: 1px solid var(--x-line); }
.x-incl small { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--x-dim); margin-bottom: 8px; }
html[lang="ar"] .x-incl small, html[lang="ur"] .x-incl small { letter-spacing: 0; text-transform: none; font-size: 13px; }
.x-incl-l { display: flex; flex-wrap: wrap; gap: 8px; }
.x-incl-more { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 12px; border: 1px dashed #0a8f6e; border-radius: 10px; background: rgb(10 143 110 / .06); color: #0a7f69; font-size: .85rem; font-weight: 800; white-space: nowrap; }
.x-incl-more.t::before { content: "+"; margin-inline-end: 3px; }
.x-incl-l .x-logo-item { height: 36px; padding: 0 10px; border-radius: 10px; }
@media (max-width: 1000px) { .x-feat12 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .x-feat12, .x-incl { grid-template-columns: 1fr; } }

.d-phone, .x-phone { transition: transform .25s ease-out; will-change: transform; }
.x-card, .x-tile, .x-case, .x-post, .x-trust, .x-lab-card { position: relative; }
.x-card::after, .x-tile::after, .x-case::after, .x-post::after, .x-trust::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgb(52 227 190 / .14), transparent 60%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.x-card:hover::after, .x-tile:hover::after, .x-case:hover::after, .x-post:hover::after, .x-trust:hover::after { opacity: 1; }

/* site assistant */
.x-asst { position: fixed; z-index: 60; inset-block-end: 20px; inset-inline-start: 20px; }
.x-asst-fab { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 99px; border: 0; background: var(--color-secondary); color: #fff; font: inherit; font-weight: 500; cursor: pointer; box-shadow: 0 16px 36px -14px rgb(11 18 32 / .6); transition: transform .2s; }
.x-asst-fab:hover { transform: translateY(-2px); }
.dark .x-asst-fab { background: var(--mint); color: #07121f; }
.x-asst-panel { position: absolute; inset-block-end: 60px; inset-inline-start: 0; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; border-radius: 22px; background: var(--x-card); border: 1px solid var(--x-line); box-shadow: 0 30px 70px -20px rgb(11 18 32 / .45); overflow: hidden; }
.x-asst-panel[hidden] { display: none; }
.x-asst-panel header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #0b1220; color: #fff; }
.x-asst-panel header b { display: block; font-weight: 600; line-height: 1.2; } .x-asst-panel header small { color: #93a1b8; font-size: 11.5px; }
.x-asst-panel header button { margin-inline-start: auto; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .1); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.x-asst-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgb(52 227 190 / .2); color: #34e3be; }
.x-asst-body { flex: 1; min-height: 120px; padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; background: var(--x-card-2); }
.x-asst-m { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: .9rem; line-height: 1.55; animation: d-pop .3s both; }
.x-asst-m.bot { align-self: flex-start; background: var(--x-card); border: 1px solid var(--x-line); border-end-start-radius: 4px; }
.x-asst-m.user { align-self: flex-end; background: #0e7d68; color: #fff; border-end-end-radius: 4px; }
.x-asst-m p { margin: 0; } .x-asst-m small { display: block; margin-top: 4px; font-size: 11px; color: var(--x-dim); }
.x-asst-m.typing { display: inline-flex; gap: 4px; } .x-asst-m.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--x-dim); animation: x-blink 1s infinite ease-in-out; }
.x-asst-l { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .x-asst-l a { padding: 5px 12px; border-radius: 99px; background: var(--mint-soft); color: var(--color-primary-600); font-size: .82rem; font-weight: 500; }
.dark .x-asst-l a { color: var(--mint); }
.x-asst-chips { display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; border-top: 1px solid var(--x-line); scrollbar-width: none; }
.x-asst-chips button { flex: none; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--x-line); background: var(--x-card); color: var(--x-text); font: inherit; font-size: .8rem; cursor: pointer; white-space: nowrap; }
.x-asst-chips button:hover { border-color: var(--color-primary-400); }
.x-asst-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--x-line); }
.x-asst-form input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--x-line); background: var(--x-card-2); color: var(--x-text); font: inherit; }
.x-asst-form button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--color-secondary); color: #fff; display: grid; place-items: center; cursor: pointer; }
[dir="rtl"] .x-asst-form button svg { transform: scaleX(-1); }
@media (max-width: 640px) { .x-asst { inset-inline-start: 12px; inset-block-end: 12px; } .x-asst-fab span { display: none; } .x-asst-fab { width: 48px; padding: 0; justify-content: center; } }

.d-fake { padding: 8px 10px; border-radius: 10px; background: var(--x-card); border: 1px solid var(--x-line); color: #0a7f69; font-size: .88rem; text-align: center; }
.d-qr { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--x-line); background: var(--x-card); }
.d-qr[hidden] { display: none; } .d-qr small { color: var(--x-dim); font-size: 11.5px; width: 100%; }
.d-qr button { padding: 7px 12px; border-radius: 99px; border: 1px solid var(--x-line); background: var(--x-card-2); color: var(--x-text); font: inherit; font-size: .85rem; cursor: pointer; text-align: start; }
.d-qr button:hover { border-color: var(--color-primary-400); background: var(--mint-soft); }
.d-wa-bg { background-color: #efeae2; background-image: radial-gradient(rgb(11 20 26 / .05) 1.2px, transparent 1.4px); background-size: 26px 26px; }
.d-conv-body[hidden] { display: none; } .d-conv-body { display: flex; flex-direction: column; gap: 10px; }
.d-evs .d-ev { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
.d-evb { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.d-evb small { color: var(--color-primary-600); font-size: 12px; }
.d-ev.is-on { border-color: var(--x-text); }
.d-app { display: grid; gap: 14px; align-content: start; padding: 16px; border-radius: 20px; background: var(--x-card-2); border: 1px solid var(--x-line); }
.d-app-h b { display: block; } .d-app-h small { color: var(--x-dim); }
.d-app label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.d-app input { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--x-line); background: var(--x-card); color: var(--x-text); font: inherit; }
.d-otp-grid, .d-ads-grid, .d-appt-grid { grid-template-columns: minmax(0, 1fr) 262px; }
.d-ads-grid .d-ad { align-self: start; }
.d-demo:has(> .d-wizard) { grid-template-columns: minmax(0, 1fr) 262px; }
.d-wizard { min-width: 0; }
@media (max-width: 1000px) { .d-otp-grid, .d-ads-grid, .d-appt-grid, .d-demo:has(> .d-wizard) { grid-template-columns: minmax(0, 1fr); } }

.x-custs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 40px; }
.x-custs img { height: 34px; width: auto; filter: grayscale(1); opacity: .75; transition: all .2s; } .x-custs a:hover img { filter: none; opacity: 1; }
.x-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.x-review { margin: 0; padding: 24px; border-radius: 22px; background: var(--x-card); border: 1px solid var(--x-line); display: grid; gap: 14px; align-content: start; }
.x-stars { color: #f5b301; letter-spacing: 3px; } .x-review blockquote { margin: 0; line-height: 1.7; } .x-review figcaption b { display: block; } .x-review figcaption small { color: var(--x-dim); }
@media (max-width: 900px) { .x-reviews { grid-template-columns: 1fr; } }
/* breathing room */
.d-sec, .x-sec { padding-block: 112px; }
.d-split { gap: 72px; }
@media (max-width: 1000px) { .d-sec, .x-sec { padding-block: 80px; } .d-split { gap: 40px; } }
@media (max-width: 640px) { .d-sec, .x-sec { padding-block: 60px; } }

.d-ai-grid { grid-template-columns: 262px minmax(0, 1fr); align-items: start; }
.d-ai-side { display: grid; gap: 14px; min-width: 0; }
.d-askbox { display: grid; gap: 10px; padding: 14px; border-radius: 20px; border: 1px solid var(--x-line); background: var(--x-card-2); } .d-askbox > b { font-size: .85rem; }
.d-askbox .d-chips { padding: 0; border: 0; background: none; display: grid; gap: 8px; }
.d-askbox .d-chips button { text-align: start; }
@media (max-width: 1000px) { .d-ai-grid { grid-template-columns: minmax(0, 1fr); } }

/* campaign explainer + CRM */
.d-field { display: grid; gap: 8px; font-size: .88rem; font-weight: 500; } .d-field select { height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--x-line); background: var(--x-card); color: var(--x-text); font: inherit; }
.d-cats { display: grid; gap: 8px; } .d-cat { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--x-line); background: var(--x-card); cursor: pointer; } .d-cat:has(input:checked) { border-color: var(--color-primary-500); background: var(--mint-soft); }
.d-cat input { margin-top: 4px; accent-color: var(--color-primary-600); } .d-cat b { display: block; font-size: .92rem; } .d-cat small { color: var(--x-dim); font-size: 12px; }
.d-tpl { padding: 14px; border-radius: 16px; background: #efeae2; border: 1px solid var(--x-line); } .d-tpl small { display: block; color: #54656f; font-size: 11px; margin-bottom: 6px; } .d-tpl p { margin: 0; padding: 8px 10px; border-radius: 8px; background: #fff; box-shadow: 0 1px .5px rgb(11 20 26 / .13); font-size: .92rem; color: #111b21; width: fit-content; max-width: 100%; }
.d-formula { padding: 14px 16px; border-radius: 16px; background: var(--mint-soft); border: 1px solid #bfe6da; } .d-f-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 1rem; } .d-f-row i { font-style: normal; color: var(--x-dim); } .d-f-row b { font-size: 1.5rem; font-weight: 700; } .d-formula small { display: block; margin-top: 6px; color: var(--x-dim); }
.d-crmbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; } .d-crmpicks { display: flex; flex-wrap: wrap; gap: 8px; }
.d-crmpick { padding: 4px; border-radius: 14px; border: 1.5px solid var(--x-line); background: var(--x-card); cursor: pointer; } .d-crmpick .x-logo-item { border: 0; background: none; pointer-events: none; height: 40px; } .d-crmpick.is-on { border-color: var(--color-primary-500); background: var(--mint-soft); }
.d-crmmap { display: grid; gap: 6px; margin-bottom: 14px; padding: 12px; border-radius: 16px; background: var(--x-card-2); border: 1px solid var(--x-line); }
.d-crmmap-h, .d-crmmap-r { display: grid; grid-template-columns: 1fr 24px 1fr; gap: 8px; align-items: center; font-size: .88rem; } .d-crmmap-h { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--x-dim); } .d-crmmap-r span { color: var(--x-dim); } .d-crmmap-r i { font-style: normal; text-align: center; color: var(--color-primary-600); } [dir="rtl"] .d-crmmap-r i { transform: scaleX(-1); }
.d-crmlive { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; align-items: start; }
.d-crmact { display: grid; gap: 8px; } .d-crmact b { font-size: .88rem; } .d-crmact button { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--x-line); background: var(--x-card); color: var(--x-text); font: inherit; font-size: .88rem; cursor: pointer; text-align: start; } .d-crmact button:hover:not(:disabled) { border-color: var(--color-primary-400); background: var(--mint-soft); } .d-crmact button:disabled { opacity: .5; cursor: default; }
.d-crmcard { display: grid; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--x-line); background: var(--x-card); } .d-crmcard > header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .d-crmcard > header b { display: block; } .d-crmcard small { color: var(--x-dim); } .d-crmcard [data-crmlogo] .x-logo-item { height: 36px; padding: 0 10px; }
.d-stages span { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--x-line); background: var(--x-card-2); color: var(--x-dim); font-size: .82rem; } .d-stages span.on { background: var(--brand, #0a7f69); border-color: transparent; color: #fff; }
@media (max-width: 760px) { .d-crmlive { grid-template-columns: 1fr; } }

.d-demo > .d-sample { position: static; display: block; width: fit-content; margin: 14px 0 0; }
.d-flow-bar .d-sample { position: static; margin: 0; }

.x-partner { display: flex; justify-content: center; margin-top: 28px; } .x-partner a, .x-partner > span { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 14px; border: 1px solid var(--x-line); background: var(--x-card); } .x-partner small { display: block; color: var(--x-dim); }

.x-dialects { margin-top: 28px; text-align: center; } .x-dialects p { color: var(--x-dim); font-size: .9rem; margin: 0 0 12px; } .x-dialects > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; } .x-dialects .x-lang { flex-direction: row; gap: 10px; padding: 10px 16px; } .x-dialects .x-lang small { display: none; }

.d-fields { display: grid; gap: 12px; } .d-fields label { display: grid; gap: 6px; font-size: .88rem; } .d-fields label > span { font-weight: 600; } .d-fields small { color: var(--x-dim); font-size: .78rem; }
.d-inrow { position: relative; display: flex; } .d-inrow input { flex: 1; min-width: 0; }
.d-eye { position: absolute; inset-block: 0; inset-inline-end: 6px; width: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--x-dim); cursor: pointer; border-radius: 8px; }
.d-eye:hover, .d-eye.is-on { color: var(--x-text); } .d-inrow input[type=password] { padding-inline-end: 44px; }

/* ---- pricing page + country pages (round 4) ---------------------------------------------------------------------------------- */
.x-plan-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.x-coupon { margin-top: 28px; max-width: 560px; padding: 20px; border: 1px solid var(--x-line); border-radius: 18px; background: var(--x-card); display: grid; gap: 10px; }
.x-coupon label { font-weight: 600; font-size: .92rem; } .x-coupon-row { display: flex; gap: 8px; flex-wrap: wrap; } .x-coupon-row .input { flex: 1; min-width: 160px; }
.x-offers { margin-top: 40px; } .x-offers h3 { margin-bottom: 14px; }
.x-lead-c { max-width: 640px; margin: 0 auto 28px; text-align: center; color: var(--x-dim); }
.x-rates-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; } .x-rates-top p { margin: 0; } .x-rates-dl { display: flex; gap: 8px; flex-wrap: wrap; }
.tbl-rates th .cat-name { font-weight: 600; } .tbl-rates .cat-desc { color: var(--x-dim); font-size: .82rem; font-weight: 400; }
.badge-ok { background: #e3f6ee; color: #0a6b57; } .badge-warn { background: #fff1d6; color: #8a5a00; } .badge-muted { background: #eef1f4; color: #5b6676; }
.badge-ok, .badge-warn, .badge-muted { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.calc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--x-line); }

/* message types */
.x-mt { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: start; max-width: 1080px; margin: 0 auto; }
.x-mt-list { display: grid; gap: 0; border-top: 1px solid var(--x-line); }
.x-mt-row { border-bottom: 1px solid var(--x-line); }
.x-mt-h { width: 100%; display: flex; align-items: center; gap: 14px; padding: 20px 4px; background: none; border: 0; cursor: pointer; font: inherit; font-size: 1.15rem; font-weight: 600; color: inherit; text-align: start; }
.x-mt-h .x-tile-ic { margin: 0; flex: none; width: 40px; height: 40px; }
.x-mt-h > span:nth-child(2) { flex: 1; }
.x-mt-pm { width: 22px; height: 22px; position: relative; flex: none; } .x-mt-pm::before, .x-mt-pm::after { content: ""; position: absolute; inset: 50% 3px auto; height: 2px; background: #0a8f6e; border-radius: 2px; transition: transform .2s; } .x-mt-pm::after { transform: rotate(90deg); }
.x-mt-row.is-on .x-mt-pm::after { transform: rotate(0); }
.x-mt-p { padding: 0 4px 22px; display: grid; gap: 12px; } .x-mt-p[hidden] { display: none; } .x-mt-p p { margin: 0; color: var(--x-dim); }
.x-mt-rule { font-size: .88rem; } .x-mt-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #f1f6f4; font-size: .9rem; } .x-mt-price b { font-size: 1.05rem; }
.x-mt-box { position: sticky; top: 100px; }
.x-mt-wall { border-radius: 28px; background: #d6f2d9; padding: 48px 28px; min-height: 340px; display: grid; align-items: center; }
.x-mt-prev[hidden] { display: none; }
.x-bub { max-width: 340px; background: #fff; border-radius: 10px; padding: 10px 12px 8px; box-shadow: 0 1px 1px rgb(11 20 26 / .12); font-size: 1rem; line-height: 1.5; color: #111b21; position: relative; }
.x-bub p { margin: 0 0 4px; } .x-bub time { display: block; text-align: end; font-size: .72rem; color: #8696a0; }
.x-bub.in { margin-inline-end: auto; } .x-bub.out { margin-inline-start: auto; background: #d9fdd3; }
.x-bub .x-bub-sub { color: #667781; font-size: .86rem; } .x-bub-media { display: flex; align-items: center; gap: 10px; background: #f4f5f6; border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; font-weight: 600; }
.x-bub-ph { width: 44px; height: 44px; border-radius: 8px; background: #d6f2d9; color: #0a7f69; display: grid; place-items: center; flex: none; }
.x-bub.has-btn { padding-bottom: 0; } .x-bub-btn { margin: 6px -12px 0; padding: 11px; text-align: center; border-top: 1px solid #e9edef; color: #027eb5; font-weight: 600; }
.x-bub-chat { display: grid; gap: 10px; }

/* country grid */
.x-cgrid { max-width: 1080px; margin: 0 auto; display: grid; gap: 18px; } .x-cgrid-s .input { width: 100%; max-width: 420px; }
.x-cgrid-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; } .x-cgrid-l li[hidden] { display: none; }
.x-cgrid-l a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--x-line); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.x-cgrid-l a:hover { border-color: #0a8f6e; transform: translateY(-2px); } .x-cgrid-l img { border-radius: 3px; flex: none; } .x-cgrid-l span { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 600; } .x-cgrid-l small { color: var(--x-dim); }

/* country page */
.x-cflag { display: grid; justify-items: center; gap: 8px; padding: 28px; border: 1px solid var(--x-line); border-radius: 24px; background: #fff; } .x-cflag img { border-radius: 8px; box-shadow: 0 6px 18px -8px rgb(11 18 32 / .4); height: auto; max-width: 100%; } .x-cflag b { font-size: 1.3rem; } .x-cflag small { color: var(--x-dim); }
.x-plan-minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 14px; }
.x-plan-mini { padding: 22px; border: 1px solid var(--x-line); border-radius: 20px; background: #fff; display: grid; gap: 10px; } .x-plan-mini.hl { border-color: #0a8f6e; box-shadow: 0 18px 40px -28px rgb(10 143 110 / .6); }
.x-plan-mini h3 { margin: 0; } .x-plan-mini-p { font-size: 1.6rem; font-weight: 600; } .x-plan-mini-p small { display: block; font-size: .85rem; font-weight: 400; line-height: 1.3; color: var(--x-dim); margin-top: 2px; }
.x-plan-mini ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .x-plan-mini li { display: flex; gap: 8px; align-items: center; color: var(--x-dim); font-size: .92rem; }
.x-near { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; } .x-near a { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--x-line); border-radius: 999px; background: #fff; color: inherit; text-decoration: none; font-weight: 600; font-size: .92rem; } .x-near a:hover { border-color: #0a8f6e; }

/* feature matrix */
.x-mxwrap { overflow-x: auto; } .x-matrix { min-width: 760px; } .x-matrix th.us, .x-matrix td.us { background: #effaf5; }
.x-matrix td { vertical-align: middle; } .x-mx { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; margin-inline-end: 8px; vertical-align: middle; }
.x-mx.yes { background: #d9f3e8; color: #0a7f69; } .x-mx.no { background: #f1f2f4; color: #7a8190; } .x-mx.sep { background: #fff1d6; color: #8a5a00; } .x-mx.api { background: #e6f0fb; color: #1d5fa5; } .x-mx.unk { background: #f1f2f4; color: #9aa3b0; }
.x-mx-t { font-size: .82rem; color: var(--x-dim); } .x-mx-src { margin-inline-start: 6px; font-size: .8rem; color: #0a7f69; text-decoration: none; }

@media (max-width: 900px) {
  .x-mt { grid-template-columns: minmax(0, 1fr); gap: 20px; } .x-mt-box { position: static; order: -1; } .x-mt-wall { min-height: 0; padding: 28px 18px; }
}
@media (max-width: 480px) { .x-mt-h { font-size: 1.02rem; gap: 10px; padding: 16px 0; } .x-mt-h .x-tile-ic { width: 34px; height: 34px; } .x-cgrid-l { grid-template-columns: minmax(0, 1fr); } }

/* enterprise strip under the plans (round 4b): text | feature grid | button, no cramped rows */
.x-ent { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 28px 40px; align-items: center; padding: 30px 36px; border: 1px solid var(--x-line); border-radius: 24px; background: #fff; }
.x-ent-tag { display: inline-block; margin-bottom: 8px; padding: 3px 12px; border-radius: 999px; background: #e3f6ee; color: #0a6b57; font-size: .78rem; font-weight: 600; }
.x-ent h3 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 500; } .x-ent p { margin: 0; color: var(--x-dim); }
.x-ent-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.x-ent-list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; } .x-ent-list li svg { margin-top: 2px; }
.x-ent-cta { white-space: nowrap; }
@media (max-width: 1100px) { .x-ent { grid-template-columns: minmax(0, 1fr); padding: 24px 22px; } .x-ent-cta { justify-self: start; } }
@media (max-width: 560px) { .x-ent-list { grid-template-columns: minmax(0, 1fr); } .x-ent-cta { justify-self: stretch; text-align: center; } }
.x-pricing-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 20px 32px; align-items: start; margin-top: 28px; }
.x-pricing-foot .x-fine { margin: 0; } .x-pricing-foot .x-coupon { margin: 0; max-width: none; }
@media (max-width: 900px) { .x-pricing-foot { grid-template-columns: minmax(0, 1fr); } }

.x-planmx { min-width: 640px; } .x-planmx td, .x-planmx th[scope=col] { text-align: center; } .x-planmx th[scope=row] { text-align: start; font-weight: 500; }
.x-planmx td b { font-size: 1.05rem; }
.x-offers .offer h3, .offers-grid .offer h3 { font-size: 1.25rem; line-height: 1.4; }
.x-offers .offer .offer-top { margin-bottom: 8px; }

/* flow demo on a phone: a vertical list of steps instead of a sideways-scrolling canvas */
@media (max-width: 760px) {
  .d-canvas-wrap { overflow-x: visible; background-image: none; }
  .d-canvas { min-width: 0; height: auto; display: flex; flex-direction: column; gap: 30px; padding: 14px; }
  .d-wires { display: none; }
  .d-node { position: relative; inset-inline-start: auto; top: auto; width: 100%; min-width: 0; }
  .d-node:not(:last-of-type)::after { content: ""; position: absolute; inset-inline-start: 50%; top: 100%; height: 30px; border-inline-start: 2px dashed var(--x-line); pointer-events: none; }
}

/* CRM demo: numbered steps + an empty-state hint so the visitor knows what to do and what they are looking at */
.d-step-t { margin: 14px 0 8px; font-size: .86rem; font-weight: 600; color: var(--x-dim); }
.d-tl:empty::before { content: attr(data-empty); display: block; padding: 14px; border-radius: 12px; border: 1px dashed var(--x-line); color: var(--x-dim); font-size: .84rem; line-height: 1.6; text-align: center; }

/* CRM demo on a phone: read what it is first, then play with it */
@media (max-width: 900px) { #crm-demo .d-split { display: flex; flex-direction: column; } #crm-demo .d-split > .d-txt { order: -1; } }
