@font-face {
  font-family: 'Droid Arabic Kufi';
  src: url('../fonts/DroidKufi-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Droid Arabic Kufi';
  src: url('../fonts/DroidKufi-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #102d32;
  --ink-soft: #527075;
  --navy: #073a40;
  --navy-2: #0a4a52;
  --teal: #0f8f8a;
  --teal-2: #19aaa4;
  --cyan: #59cbd2;
  --mint: #dff8f3;
  --cream: #fffaf2;
  --surface: #ffffff;
  --surface-2: #f4f8f8;
  --surface-3: #eaf1f1;
  --line: #dce8e8;
  --success: #129a68;
  --warning: #e99b2f;
  --danger: #df5a63;
  --purple: #725dcc;
  --shadow-sm: 0 8px 24px rgba(7, 58, 64, .08);
  --shadow-md: 0 18px 52px rgba(7, 58, 64, .14);
  --shadow-lg: 0 34px 90px rgba(7, 58, 64, .2);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --container: 1180px;
  --font: 'Droid Arabic Kufi', Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang='en'] body,
html[lang='en'] button,
html[lang='en'] input,
html[lang='en'] select,
html[lang='en'] textarea { font-family: Tahoma, Arial, sans-serif; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.45; letter-spacing: -.025em; }
p { color: var(--ink-soft); }

.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.section { padding: 92px 0; position: relative; overflow: clip; }
.section.soft { background: var(--surface-2); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark p { color: #b9d1d4; }
.section-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.section-head.align-start { margin-inline: 0; text-align: start; }
.section-head h2 { font-size: clamp(27px, 4vw, 44px); margin-bottom: 14px; }
.section-head p { font-size: 16px; margin-bottom: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-bottom: 16px;
  border: 1px solid #bce9e5;
  border-radius: 999px;
  background: #eefbf9;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 5px rgba(25,170,164,.12); }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  transition: .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(15,143,138,.24); }
.btn-primary:hover { background: #087d79; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: #a7d7d4; background: #f6fbfb; }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { min-height: 38px; padding: 7px 14px; border-radius: 9px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-icon { width: 48px; padding: 0; }

.icon { width: 20px; height: 20px; display: inline-grid; place-items: center; flex: 0 0 auto; }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Public navigation */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  height: 76px;
  border-bottom: 1px solid rgba(220,232,232,.9);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.brand-mark { position: relative; width: 38px; height: 38px; border-radius: 12px 12px 12px 4px; background: linear-gradient(145deg, var(--teal-2), var(--navy-2)); box-shadow: 0 9px 20px rgba(15,143,138,.25); }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; background: #fff; border-radius: 999px; }
.brand-mark::before { width: 17px; height: 5px; top: 11px; right: 10px; }
.brand-mark::after { width: 11px; height: 5px; top: 21px; right: 10px; opacity: .8; }
.site-nav { display: flex; align-items: center; gap: 7px; margin-inline-end: auto; }
.site-nav a { padding: 9px 12px; border-radius: 9px; color: #426267; font-size: 13px; font-weight: 700; }
.site-nav a:hover, .site-nav a.active { background: #edf7f7; color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.mobile-nav-selects { display: none; gap: 8px; margin-top: 8px; }
.compact-select {
  height: 42px;
  min-width: 76px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.compact-select.js-language { width: 112px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }

/* Hero */
.hero { min-height: 700px; padding: 76px 0 70px; background: radial-gradient(circle at 10% 15%, #dff8f3 0, rgba(223,248,243,0) 33%), linear-gradient(180deg,#fff 0,#f8fbfb 100%); overflow: hidden; }
.hero::after { content: ''; position: absolute; width: 430px; height: 430px; border-radius: 50%; left: -230px; bottom: -240px; border: 80px solid rgba(89,203,210,.09); }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 68px; }
.hero-copy h1 { font-size: clamp(39px, 5.4vw, 66px); margin-bottom: 20px; color: var(--navy); }
.hero-copy h1 span { color: var(--teal); position: relative; white-space: nowrap; }
.hero-copy h1 span::after { content: ''; position: absolute; inset-inline: 0; bottom: -3px; height: 8px; background: #a9ece6; border-radius: 50%; z-index: -1; transform: rotate(-1deg); }
.hero-copy > p { font-size: 18px; max-width: 610px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; color: var(--ink-soft); font-size: 12px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof i { width: 19px; height: 19px; border-radius: 50%; background: #dff8f3; color: var(--success); display: grid; place-items: center; font-style: normal; font-size: 11px; }

.app-mockup { position: relative; perspective: 1100px; }
.browser-frame { border: 1px solid #cfe0e1; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotateY(-3deg) rotateX(1deg); }
[dir='ltr'] .browser-frame { transform: rotateY(3deg) rotateX(1deg); }
.browser-bar { height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 15px; background: #f2f6f6; border-bottom: 1px solid #e0eaea; }
.browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: #ccdada; }
.browser-bar span:first-child { background: #ef7b7b; }
.browser-bar span:nth-child(2) { background: #efc26f; }
.browser-bar span:nth-child(3) { background: #6ecb9e; }
.browser-url { height: 22px; flex: 1; margin-inline-start: 8px; border-radius: 7px; background: #fff; color: #91a5a8; font: 9px Arial,sans-serif; display: flex; align-items: center; padding: 0 10px; }
.mock-app { height: 420px; display: grid; grid-template-columns: 122px 1fr; direction: ltr; }
.mock-side { background: var(--navy); padding: 18px 12px; color: #9bbdc0; }
.mock-logo { display: flex; align-items: center; gap: 7px; color: #fff; font: 700 11px Arial,sans-serif; margin-bottom: 22px; }
.mock-logo b { width: 21px; height: 21px; border-radius: 7px; background: var(--teal-2); display: block; }
.mock-status { height: 28px; border-radius: 8px; background: rgba(0,0,0,.17); margin-bottom: 20px; }
.mock-nav-row { height: 30px; margin-bottom: 6px; border-radius: 7px; background: transparent; display: flex; align-items: center; gap: 8px; padding: 0 8px; font: 9px Arial,sans-serif; }
.mock-nav-row::before { content: ''; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 2px; }
.mock-nav-row.active { background: rgba(255,255,255,.13); color: #fff; }
.mock-content { padding: 18px; background: #f8fafa; position: relative; }
.mock-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; font: 700 13px Arial,sans-serif; color: #234348; }
.mock-title b { color: var(--teal); font-size: 10px; }
.mock-toolbar { height: 34px; border: 1px solid #dce7e7; background: #fff; border-radius: 8px; margin-bottom: 10px; }
.mock-table { border: 1px solid #e0e9e9; border-radius: 10px; overflow: hidden; background: #fff; }
.mock-row { height: 38px; display: grid; grid-template-columns: 22px 45px 1fr 42px; align-items: center; gap: 7px; padding: 0 10px; border-bottom: 1px solid #e8eeee; font: 8px Arial,sans-serif; color: #567074; }
.mock-row:last-child { border: 0; }
.mock-eye { width: 18px; height: 14px; border-radius: 4px; background: #6bd0dc; }
.mock-line { height: 5px; background: #d8e4e5; border-radius: 5px; }
.mock-line.long { width: 80%; }
.mock-online { position: absolute; top: 12px; left: 12px; width: 90px; padding: 8px 10px; border-radius: 10px; background: var(--navy); color: #fff; box-shadow: var(--shadow-md); font: 10px Arial,sans-serif; }
.mock-online::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #4de1a6; margin-right: 5px; }
.float-card { position: absolute; z-index: 3; border: 1px solid #d9e7e7; background: #fff; border-radius: 15px; box-shadow: var(--shadow-md); }
.float-card.visitor { inset-inline-end: -28px; bottom: -28px; width: 220px; padding: 15px; }
.visitor-head { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.visitor-avatar { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(145deg,#c9f0e9,#8adfd9); display: grid; place-items: center; color: var(--navy); font-weight: 800; }
.visitor-head strong { display: block; font-size: 12px; }
.visitor-head small { display: block; color: var(--ink-soft); font-size: 9px; }
.visitor-path { padding: 9px 10px; border-radius: 9px; background: var(--surface-2); font-size: 9px; color: var(--ink-soft); }
.visitor-path b { color: var(--teal); }
.float-card.pulse { inset-inline-start: -20px; top: 75px; padding: 11px 14px; display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; }
.pulse-dot { position: relative; width: 11px; height: 11px; border-radius: 50%; background: var(--success); }
.pulse-dot::after { content: ''; position: absolute; inset: -5px; border: 1px solid var(--success); border-radius: 50%; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{transform:scale(.5);opacity:1} 100%{transform:scale(1.5);opacity:0} }

.trusted-strip { padding: 28px 0; border-block: 1px solid var(--line); background: #fff; }
.trusted-grid { display: grid; grid-template-columns: 1.2fr repeat(4,1fr); align-items: center; gap: 24px; }
.trusted-grid > span { color: var(--ink-soft); font-size: 12px; }
.logo-word { color: #789194; font-size: 17px; font-weight: 800; text-align: center; filter: grayscale(1); opacity: .75; }

/* cards and sections */
.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.metric-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.metric-card strong { display: block; margin-bottom: 4px; color: var(--teal); font-size: 32px; line-height: 1.3; }
.metric-card span { color: var(--ink-soft); font-size: 12px; }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .25s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: #b5dfdc; box-shadow: var(--shadow-sm); }
.feature-icon { width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; display: grid; place-items: center; color: var(--teal); background: var(--mint); }
.feature-icon.orange { color: #bf7720; background: #fff0d9; }
.feature-icon.purple { color: var(--purple); background: #eeebff; }
.feature-icon.blue { color: #3985c5; background: #e3f1fc; }
.feature-card h3 { margin-bottom: 9px; font-size: 18px; }
.feature-card p { margin: 0; font-size: 13px; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.bullet-list { list-style: none; padding: 0; margin: 25px 0 0; display: grid; gap: 13px; }
.bullet-list li { display: flex; gap: 11px; color: #39595e; }
.bullet-list li::before { content: '✓'; width: 25px; height: 25px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; color: var(--success); background: #e2f8ef; font-weight: 800; }
.visual-panel { position: relative; min-height: 440px; padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(145deg,#e8f8f7,#f7fbfb); border: 1px solid #d4ecea; }
.live-map { position: absolute; inset: 28px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.map-top { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.map-canvas { position: relative; height: calc(100% - 54px); background: radial-gradient(circle at 30% 25%,#f6fbfb 0,#edf5f4 70%); }
.map-line { position: absolute; height: 1px; background: #d5e7e6; transform-origin: right center; }
.map-line.one { width: 170px; top: 46%; right: 25%; transform: rotate(20deg); }
.map-line.two { width: 130px; top: 59%; right: 44%; transform: rotate(-35deg); }
.map-node { position: absolute; width: 38px; height: 38px; border: 5px solid #fff; border-radius: 50%; background: var(--teal-2); box-shadow: 0 5px 18px rgba(7,58,64,.18); display: grid; place-items: center; color: #fff; font-size: 9px; }
.map-node.one { top: 22%; right: 18%; }
.map-node.two { top: 49%; right: 45%; background: #6b66ce; }
.map-node.three { bottom: 17%; left: 18%; background: #e7a13e; }
.map-node.four { top: 18%; left: 24%; background: #4f9ed4; }
.map-legend { position: absolute; bottom: 17px; right: 17px; left: 17px; display: flex; gap: 10px; padding: 11px; border-radius: 12px; background: rgba(255,255,255,.92); font-size: 9px; color: var(--ink-soft); }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.step::before { counter-increment: step; content: '0' counter(step); display: block; margin-bottom: 24px; color: #64d5cf; font-size: 25px; font-weight: 800; }
.step h3 { margin-bottom: 10px; color: #fff; }
.step p { margin: 0; font-size: 13px; }

/* Pricing */
.billing-switch { width: max-content; margin: 0 auto 34px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: flex; gap: 4px; }
.billing-switch button { border: 0; border-radius: 8px; background: transparent; color: var(--ink-soft); padding: 8px 16px; }
.billing-switch button.active { background: var(--navy); color: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; align-items: stretch; }
.price-card { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; display: flex; flex-direction: column; }
.price-card.popular { border: 2px solid var(--teal); box-shadow: var(--shadow-md); transform: translateY(-9px); }
.popular-badge { position: absolute; top: -14px; right: 18px; padding: 5px 13px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 10px; font-weight: 800; }
.price-name { font-size: 18px; margin-bottom: 5px; }
.price-summary { min-height: 50px; font-size: 12px; }
.price { display: flex; align-items: baseline; gap: 5px; margin: 15px 0 3px; }
.price strong { color: var(--navy); font-size: 36px; line-height: 1.2; }
.price small { color: var(--ink-soft); font-size: 11px; }
.price-note { min-height: 25px; margin-bottom: 16px; color: #7b9296; font-size: 10px; }
.plan-list { list-style: none; padding: 18px 0 0; margin: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; }
.plan-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #405e62; }
.plan-list li::before { content: '✓'; color: var(--success); font-weight: 800; }
.currency-hint { margin-top: 22px; text-align: center; color: var(--ink-soft); font-size: 11px; }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare-table { width: 100%; min-width: 820px; border-collapse: collapse; background: #fff; }
.compare-table th, .compare-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: 12px; }
.compare-table th:first-child, .compare-table td:first-child { text-align: start; }
.compare-table thead th { background: #f2f7f7; color: var(--navy); }
.yes { color: var(--success); font-weight: 800; }
.no { color: #acbabb; }

/* testimonials and CTA */
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.quote-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.quote-stars { color: #efaa3c; letter-spacing: 3px; margin-bottom: 13px; }
.quote-card blockquote { margin: 0 0 20px; color: #36565b; font-size: 13px; }
.quote-person { display: flex; align-items: center; gap: 10px; }
.quote-person span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--teal); font-weight: 800; }
.quote-person b { display: block; font-size: 12px; }
.quote-person small { color: var(--ink-soft); font-size: 9px; }
.cta-box { padding: 50px; border-radius: var(--radius-lg); background: linear-gradient(135deg,var(--navy),#0a5960); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; position: relative; }
.cta-box::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 55px solid rgba(255,255,255,.06); left: -80px; top: -90px; }
.cta-box > div { position: relative; z-index: 1; }
.cta-box h2 { margin-bottom: 9px; font-size: 30px; }
.cta-box p { margin: 0; color: #bad2d4; }

/* inner public pages */
.page-hero { padding: 76px 0 62px; text-align: center; background: radial-gradient(circle at 70% 0,#e1f9f5 0,transparent 33%),#f8fbfb; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 850px; margin: 0 auto 15px; color: var(--navy); font-size: clamp(34px,5vw,54px); }
.page-hero p { max-width: 680px; margin: 0 auto; font-size: 16px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 74px; margin-bottom: 90px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row:nth-child(even) .feature-row-copy { order: 2; }
.feature-row h2 { font-size: 31px; margin-bottom: 13px; }
.mini-ui { min-height: 340px; padding: 22px; border: 1px solid #d6e7e6; border-radius: 22px; background: linear-gradient(145deg,#f4fbfa,#e6f5f3); }
.mini-window { height: 100%; min-height: 296px; padding: 18px; border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); }
.mini-window-title { display: flex; justify-content: space-between; align-items: center; padding-bottom: 13px; margin-bottom: 13px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.mini-stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.mini-stat { padding: 14px; border-radius: 10px; background: var(--surface-2); }
.mini-stat strong { display: block; font-size: 19px; color: var(--teal); }
.mini-stat small { color: var(--ink-soft); font-size: 8px; }
.mini-bars { height: 140px; display: flex; align-items: end; gap: 10px; padding-top: 18px; }
.mini-bars i { flex: 1; min-width: 11px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg,var(--cyan),var(--teal)); }

/* Forms/auth */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #f7fafa; }
.auth-aside { position: relative; padding: 52px; background: linear-gradient(150deg,var(--navy),#0a5660); color: #fff; overflow: hidden; display: flex; flex-direction: column; }
.auth-aside::after { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 95px solid rgba(255,255,255,.055); bottom: -310px; left: -160px; }
.auth-aside .brand { color: #fff; position: relative; z-index: 2; }
.auth-aside-copy { margin: auto 0; max-width: 530px; position: relative; z-index: 2; }
.auth-aside h1 { font-size: clamp(32px,4vw,50px); margin-bottom: 16px; }
.auth-aside p { color: #bad2d4; font-size: 16px; }
.auth-benefits { display: grid; gap: 12px; margin-top: 28px; }
.auth-benefits span { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.auth-benefits span::before { content: '✓'; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #6ce2c0; }
.auth-main { padding: 45px 28px; display: grid; place-items: center; }
.auth-card { width: min(100%,500px); padding: 35px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.auth-card h2 { margin-bottom: 7px; font-size: 27px; }
.auth-card > p { margin-bottom: 27px; font-size: 13px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 7px; color: #36575c; font-size: 12px; font-weight: 700; }
.input, .textarea, .select {
  width: 100%;
  min-height: 49px;
  padding: 10px 13px;
  border: 1px solid #d5e3e3;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: .2s ease;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,143,138,.1); }
.input-wrap { position: relative; }
.input-wrap .input { padding-inline-end: 48px; }
.password-toggle { position: absolute; top: 50%; inset-inline-end: 8px; transform: translateY(-50%); width: 35px; height: 35px; border: 0; background: transparent; color: var(--ink-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-meta { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 4px 0 19px; font-size: 11px; }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.check input { accent-color: var(--teal); }
.text-link { color: var(--teal); font-weight: 700; }
.auth-divider { display: flex; align-items: center; gap: 13px; margin: 21px 0; color: #91a5a8; font-size: 10px; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.auth-foot { margin: 19px 0 0; text-align: center; font-size: 11px; }
.auth-error { padding: 10px 12px; margin: 0 0 10px; border: 1px solid #f1c7cb; border-radius: 8px; background: #fff3f4; color: #a63e48; font-size: 10px; }
.auth-success { padding: 10px 12px; margin: 0 0 10px; border: 1px solid #bde4d0; border-radius: 8px; background: #effbf5; color: #176f49; font-size: 10px; }
.plan-choice { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.plan-choice input { position: absolute; opacity: 0; }
.plan-choice label { padding: 11px 7px; border: 1px solid var(--line); border-radius: 10px; text-align: center; font-size: 10px; cursor: pointer; }
.plan-choice input:checked + label { border-color: var(--teal); background: #ecfaf8; color: var(--teal); }

/* Footer */
.site-footer { padding: 65px 0 22px; background: #062f34; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 48px; padding-bottom: 45px; }
.footer-about p { max-width: 360px; margin-top: 17px; color: #9ebdc0; font-size: 12px; }
.footer-title { margin-bottom: 17px; color: #fff; font-size: 13px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #9ebdc0; font-size: 11px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #85a8ab; font-size: 10px; }

/* Floating demo widget */
.chat-launcher { position: fixed; z-index: 150; inset-inline-end: 24px; bottom: 24px; width: 58px; height: 58px; border: 0; border-radius: 18px 18px 18px 6px; background: var(--teal); color: #fff; box-shadow: 0 14px 32px rgba(15,143,138,.34); display: grid; place-items: center; transition: .2s ease; }
[dir='ltr'] .chat-launcher { border-radius: 18px 18px 6px 18px; }
.chat-launcher:hover { transform: translateY(-3px) scale(1.02); }
.demo-chat { position: fixed; z-index: 149; inset-inline-end: 24px; bottom: 93px; width: min(360px,calc(100vw - 28px)); border: 1px solid #d7e5e5; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.97); transform-origin: bottom right; transition: .22s ease; }
.demo-chat.open { opacity: 1; visibility: visible; transform: none; }
.demo-chat-head { padding: 19px; background: linear-gradient(135deg,var(--navy),var(--teal)); color: #fff; }
.demo-chat-head-row { display: flex; align-items: center; justify-content: space-between; }
.demo-chat-head strong { display: block; font-size: 14px; }
.demo-chat-head small { color: #c9e5e5; font-size: 9px; }
.demo-chat-close { border: 0; background: rgba(255,255,255,.13); color: #fff; width: 30px; height: 30px; border-radius: 8px; }
.demo-chat-body { min-height: 250px; padding: 17px; background: #f7fafa; }
.chat-bubble { width: fit-content; max-width: 82%; padding: 10px 13px; margin-bottom: 9px; border-radius: 13px 13px 4px 13px; background: #fff; border: 1px solid var(--line); font-size: 11px; color: #35555a; }
.chat-bubble.agent { margin-inline-start: auto; border: 0; border-radius: 13px 13px 13px 4px; background: #dff7f3; }
.demo-chat-input { padding: 12px; border-top: 1px solid var(--line); display: flex; gap: 7px; }
.demo-chat-input input { flex: 1; border: 0; outline: 0; min-width: 0; }
.demo-chat-input button { width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--teal); color: #fff; }

.toast { position: fixed; z-index: 300; left: 50%; bottom: 25px; transform: translate(-50%,20px); padding: 11px 17px; border-radius: 11px; background: var(--navy); color: #fff; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: .22s ease; font-size: 11px; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%,0); }

html[dir='ltr'] body,
html[dir='ltr'] button,
html[dir='ltr'] input,
html[dir='ltr'] select,
html[dir='ltr'] textarea { direction: ltr; }

/* Flag language picker */
.wasla-language-native { display: none !important; }
.wasla-language-switcher {
  position: relative;
  z-index: 160;
  display: inline-flex;
  min-width: 0;
  color: var(--ink);
  direction: inherit;
}
.wasla-language-trigger {
  display: inline-flex;
  width: 132px;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: 700 10px/1.4 'Droid Arabic Kufi',Tahoma,Arial,sans-serif;
  text-align: start;
  transition: border-color .18s ease, background-color .18s ease;
}
.wasla-language-trigger:hover,
.wasla-language-switcher.is-open .wasla-language-trigger {
  border-color: #9fcfcd;
  background: #f8fbfb;
}
.wasla-language-flag {
  display: inline-flex;
  width: 24px;
  min-width: 24px;
  height: 17px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 3px;
  background: #edf2f2;
  box-shadow: 0 0 0 1px rgba(7,58,64,.12),0 1px 2px rgba(7,58,64,.1);
}
.wasla-language-flag img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wasla-language-current { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wasla-language-chevron { margin-inline-start: auto; color: #789093; font: 700 13px/1 Arial,sans-serif; transition: transform .18s ease; }
.wasla-language-switcher.is-open .wasla-language-chevron { transform: rotate(180deg); }
.wasla-language-menu[hidden] { display: none !important; }
.wasla-language-menu {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: min(258px,calc(100vw - 24px));
  padding: 8px;
  border: 1px solid #d7e3e4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7,58,64,.18);
  direction: inherit;
}
.wasla-language-switcher.opens-up .wasla-language-menu { top: auto; bottom: calc(100% + 8px); }
.wasla-language-search {
  display: flex;
  height: 39px;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  padding: 0 10px;
  border: 1px solid #e0e9e9;
  border-radius: 8px;
  background: #f7f9f9;
  color: #789093;
}
.wasla-language-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 500 10px/1.5 'Droid Arabic Kufi',Tahoma,Arial,sans-serif;
}
.wasla-language-list {
  max-height: min(350px,calc(100vh - 150px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #b9cbcd transparent;
  scrollbar-width: thin;
}
.wasla-language-option {
  display: grid;
  width: 100%;
  min-height: 41px;
  grid-template-columns: 24px minmax(0,1fr) 17px;
  align-items: center;
  gap: 10px;
  padding: 6px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #294a4f;
  cursor: pointer;
  font: 600 10px/1.5 'Droid Arabic Kufi',Tahoma,Arial,sans-serif;
  text-align: start;
}
.wasla-language-option:hover { background: #f0f7f6; color: var(--navy); }
.wasla-language-option.is-active { background: #e4f5f2; color: #087b77; font-weight: 800; }
.wasla-language-option-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wasla-language-check { visibility: hidden; color: var(--teal); font: 800 13px/1 Arial,sans-serif; }
.wasla-language-option.is-active .wasla-language-check { visibility: visible; }
.wasla-language-empty { padding: 22px 10px; color: var(--ink-soft); font-size: 10px; text-align: center; }
.wasla-language-option[hidden],.wasla-language-empty[hidden] { display: none !important; }

.sidebar-localization .wasla-language-switcher { min-width: 0; flex: 1; }
.sidebar-localization .wasla-language-trigger { width: 100%; border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.07); color: #e2eff0; }
.sidebar-localization .wasla-language-trigger:hover,
.sidebar-localization .wasla-language-switcher.is-open .wasla-language-trigger { background: rgba(255,255,255,.12); }

/* Visual refinement — calmer spacing, consistent geometry and flat actions */
:root {
  --line: #d9e4e5;
  --surface-2: #f6f8f8;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --container: 1200px;
}

.btn,
.btn-primary,
.btn-dark,
.btn-outline,
.btn-light,
.btn-icon,
.chat-launcher,
.demo-chat-input button,
.password-toggle,
.nav-toggle {
  box-shadow: none !important;
}

.btn {
  min-height: 46px;
  border-radius: 8px;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: none; }
.btn-primary:hover { background: #087b77; border-color: #087b77; }
.btn-sm { min-height: 38px; border-radius: 7px; }

.site-header { height: 72px; background: #fff; backdrop-filter: none; }
.site-header .container { gap: 30px; }
.brand { font-size: 22px; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px 9px 9px 3px; box-shadow: none; }
.site-nav { gap: 2px; }
.site-nav a { padding: 8px 13px; border-radius: 7px; font-size: 13px; }
.compact-select { height: 40px; border-radius: 7px; }

.hero {
  min-height: 640px;
  padding: 74px 0 68px;
  background: linear-gradient(180deg,#fbfefe 0,#f5fafa 100%);
}
.hero::after { display: none; }
.hero-grid { grid-template-columns: .98fr 1.02fr; gap: 64px; }
.hero-copy h1 { max-width: 590px; font-size: clamp(40px,4.5vw,58px); line-height: 1.55; margin-bottom: 16px; }
.hero-copy h1 span::after { height: 5px; bottom: 1px; opacity: .75; }
.hero-copy > p { max-width: 590px; font-size: 16px; line-height: 2; margin-bottom: 24px; }
.hero-actions { margin-bottom: 22px; }
.hero-proof { gap: 15px; font-size: 11px; }
.browser-frame { border-radius: 14px; transform: none; box-shadow: 0 16px 45px rgba(7,58,64,.12); }
[dir='ltr'] .browser-frame { transform: none; }
.float-card { border-radius: 10px; box-shadow: 0 10px 28px rgba(7,58,64,.11); }
.float-card.visitor { inset-inline-end: -10px; bottom: -20px; }
.float-card.pulse { inset-inline-start: -10px; }

.trusted-strip { padding: 24px 0; }
.section { padding: 78px 0; }
.section-head { margin-bottom: 38px; }
.section-head h2 { font-size: clamp(27px,3.4vw,40px); }
.section-head p { font-size: 15px; }
.metrics-grid,
.features-grid,
.testimonials { gap: 16px; }
.metric-card,
.feature-card,
.quote-card,
.price-card { border-radius: 12px; }
.feature-card { padding: 25px; }
.feature-card:hover { transform: none; border-color: #9fcfcd; box-shadow: none; }
.feature-icon { border-radius: 10px; }
.visual-panel { border-radius: 16px; }
.live-map { border-radius: 12px; box-shadow: none; border: 1px solid var(--line); }
.step { border-radius: 12px; }

.pricing-grid { gap: 14px; }
.price-card.popular { transform: none; box-shadow: none; }
.price-card .btn { margin-top: auto; }
.popular-badge { top: -13px; }
.compare-table-wrap { border-radius: 12px; }
.cta-box { border-radius: 16px; }

.page-hero { padding: 68px 0 56px; }
.page-hero h1 { font-size: clamp(34px,4.4vw,50px); }
.feature-row { gap: 62px; margin-bottom: 76px; }
.mini-ui { border-radius: 16px; }
.mini-window { border-radius: 11px; box-shadow: none; border: 1px solid var(--line); }

.auth-card { border-radius: 14px; box-shadow: none; }
.input,
.textarea,
.select { border-radius: 8px; }
.input:focus,
.textarea:focus,
.select:focus { box-shadow: 0 0 0 3px rgba(15,143,138,.08); }

.chat-launcher { border-radius: 13px 13px 13px 4px; }
.chat-launcher:hover { transform: none; background: #087b77; }
.demo-chat { border-radius: 14px; box-shadow: 0 16px 40px rgba(7,58,64,.16); }
.toast { box-shadow: none; }

/* responsive */
@media (max-width: 1050px) {
  .site-nav { position: fixed; top: 76px; inset-inline: 0; padding: 15px 18px 22px; background: #fff; border-bottom: 1px solid var(--line); display: none; flex-direction: column; align-items: stretch; box-shadow: var(--shadow-sm); }
  .site-nav.open { display: flex; }
  .nav-toggle { display: grid; place-items: center; }
  .site-header .btn-primary { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .app-mockup { max-width: 720px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .price-card.popular { transform: none; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 800px) {
  .section { padding: 68px 0; }
  .header-actions .compact-select:first-child { display: none; }
  .header-actions > .wasla-language-switcher { display: none; }
  .mobile-nav-selects { display: flex; }
  .mobile-nav-selects .compact-select { display: block !important; flex: 1; width: auto; }
  .mobile-nav-selects .wasla-language-switcher { display: flex; min-width: 0; flex: 1; }
  .mobile-nav-selects .wasla-language-trigger { width: 100%; }
  .trusted-grid { grid-template-columns: repeat(2,1fr); }
  .trusted-grid > span { grid-column: 1/-1; text-align: center; }
  .metrics-grid { grid-template-columns: repeat(2,1fr); }
  .split-grid, .feature-row { grid-template-columns: 1fr; gap: 38px; }
  .feature-row:nth-child(even) .feature-row-copy { order: initial; }
  .steps, .testimonials { grid-template-columns: 1fr; }
  .cta-box { padding: 36px 28px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .auth-page { grid-template-columns: 1fr; }
  .auth-aside { min-height: 360px; padding: 35px 25px; }
  .auth-aside-copy { margin: 55px 0 15px; }
}

@media (max-width: 560px) {
  body { font-size: 14px; }
  .container { width: min(calc(100% - 24px),var(--container)); }
  .site-header { height: 68px; }
  .site-nav { top: 68px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-actions { margin-inline-start: auto; }
  .compact-select { min-width: 62px; padding: 0 7px; font-size: 10px; }
  .wasla-language-menu { position: fixed; top: 76px; right: 12px; left: 12px; width: auto; max-width: none; }
  .wasla-language-switcher.opens-up .wasla-language-menu { top: 76px; bottom: auto; }
  .hero { padding-top: 52px; }
  .hero-copy h1 { font-size: 38px; }
  .hero-actions .btn { width: 100%; }
  .mock-app { height: 340px; grid-template-columns: 84px 1fr; }
  .mock-side { padding: 12px 7px; }
  .mock-nav-row { padding: 0 3px; font-size: 0; }
  .mock-content { padding: 10px; }
  .float-card.visitor { inset-inline-end: 6px; bottom: -40px; width: 195px; }
  .float-card.pulse { inset-inline-start: 5px; top: 58px; }
  .metrics-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .features-grid[style*="repeat(2,1fr)"] { grid-template-columns: 1fr !important; }
  .metric-card { text-align: center; }
  .visual-panel { min-height: 360px; padding: 14px; }
  .live-map { inset: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .auth-main { padding: 25px 12px; }
  .auth-card { padding: 25px 18px; }
  .plan-choice { grid-template-columns: 1fr; }
  .demo-chat, .chat-launcher { inset-inline-end: 14px; }
  .chat-launcher { bottom: 14px; }
  .demo-chat { bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
