
:root {
  --ink: #14181F;
  --paper: #F7F7F4;
  --surface: #FFFFFF;
  --sunk: #EFF1EC;
  --line: #E1E2DA;
  --muted: #4B5563;
  --teal: #0E7C66;
  --teal-text: #0B6553;
  --mint: #E2F1EC;
  --bubble: #D6EDE5;
  --on-teal: #FFFFFF;
  --band: #14181F;
  --band-text: #F7F7F4;
  --band-muted: #B8BEC7;
  --focus: #0E7C66;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #EEF0EC;
    --paper: #12161C;
    --surface: #1A2028;
    --sunk: #161B22;
    --line: #2B323C;
    --muted: #AEB5BF;
    --teal: #14957A;
    --teal-text: #6FD1B6;
    --mint: #1D3A33;
    --bubble: #1F4A40;
    --on-teal: #FFFFFF;
    --band: #0C0F13;
    --band-text: #EEF0EC;
    --band-muted: #AEB5BF;
    --focus: #6FD1B6;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Space Grotesk", Inter, system-ui, sans-serif; margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
a { color: var(--teal-text); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 10px 14px; z-index: 10; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--teal); color: var(--on-teal); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { background: var(--surface); }

/* offer bar */
.offerbar { background: var(--band); color: var(--band-text); font-size: 14px; text-align: center; padding: 10px 20px; }
.offerbar strong { font-weight: 600; }

/* header */
header.site { border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "Space Grotesk", Inter, sans-serif; font-weight: 700; font-size: 22px; }
.brand img { height: 36px; width: auto; display: block; }
@media (prefers-color-scheme: dark) {
  .brand { background: #F7F7F4; border-radius: 10px; padding: 4px 10px; }
}
.navlinks { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.navlinks a:not(.btn) { color: var(--muted); text-decoration: none; }
.navlinks a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .navlinks a:not(.btn) { display: none; } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 48px; } }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.kicker { font-weight: 600; color: var(--teal-text); font-size: 15px; }
.hero-copy .sub { font-size: 19px; color: var(--muted); max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted); list-style: none; padding: 0; margin: 4px 0 0; }
.facts li::before { content: "✓"; color: var(--teal-text); margin-right: 6px; font-weight: 600; }

/* chat demo */
.demo { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 470px; justify-self: center; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { font: inherit; font-size: 14px; font-weight: 600; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.phone { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 28px 56px -32px rgba(20, 24, 31, 0.45); }
.phone-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--teal-text); display: grid; place-items: center; font-family: "Space Grotesk", Inter, sans-serif; font-weight: 700; }
.who { display: flex; flex-direction: column; line-height: 1.3; }
.who b { font-size: 15px; font-weight: 600; }
.who span { font-size: 13px; color: var(--muted); }
.thread { background: var(--sunk); padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 420px; }
.stamp { align-self: center; font-size: 12px; color: var(--muted); background: var(--surface); border-radius: 999px; padding: 3px 12px; }
.msg { max-width: 84%; padding: 10px 14px; font-size: 15px; line-height: 1.45; animation: pop 260ms ease both; }
.msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; }
.msg.pat { align-self: flex-end; background: var(--bubble); border-radius: 16px 16px 4px 16px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: 0.5; animation: blink 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.9; } }
.demo-note { font-size: 13px; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { .msg, .typing i { animation: none; } html { scroll-behavior: auto; } }

/* sections */
section.block { padding: 88px 0; }
.block-head { display: flex; flex-direction: column; gap: 12px; max-width: 44rem; margin-bottom: 40px; }
.block-head p { font-size: 18px; color: var(--muted); }
.band { background: var(--band); color: var(--band-text); }
.band .muted, .band .block-head p { color: var(--band-muted); }
.white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* problems */
.problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 820px) { .problems { grid-template-columns: 1fr; gap: 28px; } }
.problem { border-left: 3px solid var(--teal); padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

/* channels */
.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); }
@media (max-width: 980px) { .channels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .channels { grid-template-columns: 1fr; } }
.channel { padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); }
.channel:last-child { border-right: none; }
@media (max-width: 980px) {
  .channel { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .channel:nth-child(2n) { border-right: none; }
  .channel:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 560px) {
  .channel { border-right: none; border-bottom: 1px solid var(--line); }
  .channel:nth-child(2n) { border-right: none; }
  .channel:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .channel:last-child { border-bottom: none; }
}
.channel svg { width: 28px; height: 28px; stroke: var(--teal-text); }
.free-tag { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--teal-text); background: var(--mint); border-radius: 999px; padding: 3px 10px; }

/* dashboard */
.dash { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } }
.dash ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.dash-mock { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { background: var(--sunk); border-radius: 14px; padding: 14px; }
.kpi b { display: block; font-family: "Space Grotesk", Inter, sans-serif; font-size: 28px; line-height: 1.1; }
.kpi span { font-size: 13px; color: var(--muted); }
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar { display: grid; grid-template-columns: 120px 1fr 44px; gap: 12px; align-items: center; font-size: 14px; }
.track { height: 10px; background: var(--sunk); border-radius: 6px; overflow: hidden; }
.fill { height: 100%; background: var(--teal); border-radius: 6px; }
.dash-note { font-size: 12px; color: var(--muted); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { border-top: 2px solid var(--band-muted); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.steps li .when { font-size: 14px; color: #8FD3BF; font-weight: 600; }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.price-card.featured { border: 2px solid var(--teal); }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.amount { display: flex; align-items: baseline; gap: 8px; }
.amount b { font-family: "Space Grotesk", Inter, sans-serif; font-size: 44px; line-height: 1; }
.price-card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.price-foot { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 900px; }
.founding { margin-top: 24px; max-width: 900px; background: var(--mint); border-radius: 16px; padding: 18px 22px; font-size: 16px; }
.quote-box { max-width: 720px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* region visibility: prices stay hidden until the visitor's country is known */
.price-section, .price-link, .india-only { display: none; }
html.show-prices section.price-section, html.show-prices div.price-section { display: block; }
html.show-prices .price-link { display: inline; }
html.is-india .india-only { display: block; }

/* trust */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }
.trust div { display: flex; flex-direction: column; gap: 6px; }

/* faq */
.faq { max-width: 780px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { font-weight: 600; cursor: pointer; min-height: 28px; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* final cta */
.final { background: var(--teal); color: var(--on-teal); border-radius: 24px; padding: 56px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final p { max-width: 34rem; font-size: 18px; }
.final .btn { background: #FFFFFF; color: #14181F; }

footer { border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---- UAE update additions ---- */
h1.hero-h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.ar-tagline { font-family: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif; font-size: 18px; color: var(--teal-text); font-weight: 600; line-height: 1.7; }
.cta-note { font-size: 14px; color: var(--muted); }
.cta-note a { color: var(--teal-text); }
.thread[dir="rtl"] .msg.bot { align-self: flex-start; border-radius: 16px 16px 4px 16px; }
.thread[dir="rtl"] .msg.pat { align-self: flex-end; border-radius: 16px 16px 16px 4px; }
.thread[dir="rtl"] { font-family: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif; }
.trades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .trades { grid-template-columns: 1fr; } }
.trade { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.trade ul { margin: 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.features li b { font-weight: 600; }
.features li span { color: var(--muted); font-size: 15px; }
.features li.soon { border-style: dashed; background: transparent; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; }
.tag-live { color: var(--teal-text); background: var(--mint); }
.tag-soon { color: var(--muted); background: var(--sunk); border: 1px solid var(--line); }
.uae { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .uae { grid-template-columns: 1fr; } }
.uae ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--band-muted); }
.uae-ar { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.uae-ar p[lang="ar"] { font-family: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif; font-size: 20px; line-height: 1.8; }
.cur-toggle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); margin-bottom: 24px; }
.cur-toggle button { font: inherit; font-size: 14px; font-weight: 600; min-height: 40px; min-width: 64px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.cur-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pilot { margin-top: 16px; max-width: 900px; font-size: 16px; font-weight: 600; }
.final .cta-row { justify-content: center; }
.final .btn-ghost { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.7); }
.final .small { font-size: 14px; opacity: 0.9; }
.final .small a { color: #FFFFFF; }
.trust { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.btn-wa { background: #1F7A4D; color: #FFFFFF; gap: 8px; }
.btn-wa:hover { filter: brightness(1.08); }
.btn-wa svg { width: 20px; height: 20px; fill: currentColor; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #1F7A4D; color: #FFFFFF; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,0.5); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { filter: brightness(1.1); }
.section-demo { margin-top: 28px; }
.try-demo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal-text); text-decoration: none; }
.try-demo:hover { text-decoration: underline; }
.try-demo::after { content: "→"; }
.band .try-demo { color: #8FD3BF; }
@media print { .wa-float { display: none; } }
.amount { flex-wrap: wrap; }
.amount b { white-space: nowrap; }
@media (max-width: 760px) { html.show-prices .navlinks .price-link { display: none; } }
