@font-face {
  font-family: Quicksand;
  src: url("../fonts/quicksand-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: Cairo;
  src: url("../fonts/cairo-arabic-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  color-scheme: light;
  --blue: #0b61ab;
  --blue-deep: #084b86;
  --cyan: #20c0f1;
  --charcoal: #222831;
  --ink: #253041;
  --muted: #64748b;
  --line: #dce5ef;
  --surface: #ffffff;
  --surface-soft: #f4f8fc;
  --success: #087d5d;
  --container: 1160px;
  font-family: Quicksand, Cairo, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface-soft);
  color: var(--ink);
  font-family: Quicksand, Cairo, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; border-radius: 5px; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 12px; inset-inline-start: 12px; transform: translateY(-160%); border-radius: 8px; background: #fff; color: var(--blue-deep); padding: 10px 14px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid #e7edf4; }
.site-header__inner { min-height: 82px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 154px; height: auto; }
.brand__product { padding: 4px 9px; border-inline-start: 1px solid var(--line); color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); margin-inline-start: auto; }
.site-nav a, .language-switch a { text-decoration: none; color: #405065; font-size: 14px; font-weight: 650; transition: color .18s ease; }
.site-nav a:hover, .language-switch a:hover { color: var(--blue); }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.language-switch { display: flex; align-items: center; gap: 8px; }
.language-switch a { min-width: 28px; padding: 4px; text-align: center; color: var(--muted); }
.language-switch [aria-current="page"] { color: var(--blue); font-weight: 800; }

.button { min-height: 48px; padding: 11px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.3; transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 40px; padding: 8px 15px; font-size: 14px; }
.button--primary { background: var(--blue); color: #fff; box-shadow: 0 7px 18px rgb(11 97 171 / 20%); }
.button--primary:hover { background: var(--blue-deep); box-shadow: 0 9px 22px rgb(11 97 171 / 28%); }
.button--glass { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 40%); color: #fff; }
.button--glass:hover { background: rgb(255 255 255 / 15%); }
.button--white { background: #fff; color: var(--blue-deep); box-shadow: 0 8px 22px rgb(0 0 0 / 12%); }
.button--white:hover { background: #eff8ff; }

.hero { overflow: hidden; position: relative; isolation: isolate; padding: 70px 0 74px; background: linear-gradient(112deg, #222831 0%, #173c5a 50%, #0b61ab 100%); color: #fff; }
.hero::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 78% 38%, rgb(32 192 241 / 20%), transparent 42%); content: ""; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); align-items: center; gap: 64px; }
.hero__copy { max-width: 570px; padding-block: 16px; animation: rise-in .6s ease-out both; }
.eyebrow { margin: 0 0 18px; color: #8ce5ff; font-size: 12px; font-weight: 800; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.eyebrow__dot { display: inline-block; width: 8px; height: 8px; margin-inline-end: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgb(32 192 241 / 14%); vertical-align: 1px; }
.hero h1 { max-width: 610px; margin: 0; font-size: clamp(38px, 5vw, 60px); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; }
.hero__lead { max-width: 540px; margin: 22px 0 0; color: #e0eaf3; font-size: 18px; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { max-width: 480px; margin: 18px 0 0; color: #c2d0df; font-size: 13px; line-height: 1.6; }
.hero__visual { position: relative; padding: 22px 12px 28px; animation: rise-in .7s .1s ease-out both; }
.visual-glow { position: absolute; inset: 12% 7% 9%; border-radius: 40%; background: rgb(32 192 241 / 18%); filter: blur(42px); }
.pos-preview { position: relative; overflow: hidden; border: 1px solid rgb(255 255 255 / 60%); border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 28px 68px rgb(2 16 31 / 36%); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); transition: transform .3s ease, box-shadow .3s ease; }
.hero__visual:hover .pos-preview { transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-3px); box-shadow: 0 32px 80px rgb(2 16 31 / 42%); }
.pos-preview__topbar { min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid #e7edf3; background: #fbfdff; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #c9d5e2; }
.pos-preview__brand { color: #344256; font-size: 13px; font-weight: 700; }
.pos-preview__brand b { margin-inline-start: 3px; color: var(--blue); font-size: 10px; letter-spacing: .08em; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; padding: 4px 9px; border-radius: 20px; background: #e9f8f1; color: var(--success); font-size: 10px; font-weight: 700; }
.status-pill span { width: 6px; height: 6px; border-radius: 50%; background: #1caa75; }
.pos-preview__body { padding: 22px; }
.pos-preview__heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 14px; }
.pos-preview__heading small { color: #8594a6; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.pos-preview__heading h2 { margin: 3px 0 0; color: #263446; font-size: 21px; line-height: 1.2; }
.sale-count { padding: 5px 9px; border-radius: 7px; background: #edf6fd; color: var(--blue); font-size: 11px; font-weight: 700; }
.preview-search { min-height: 41px; display: flex; align-items: center; gap: 10px; padding: 0 11px; border: 1px solid #b8c8d9; border-radius: 8px; color: #8090a2; font-size: 11px; }
.preview-search__icon { flex: 0 0 auto; width: 18px; height: 18px; opacity: .65; }
.preview-products { display: grid; gap: 8px; margin-top: 12px; }
.preview-product { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px; border: 1px solid #e4eaf0; border-radius: 10px; }
.preview-product__image { overflow: hidden; position: relative; width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(140deg, #d8ecf6, #f2dfc6); }
.preview-product__image--two { background: linear-gradient(135deg, #e2e6f4, #f8e6d9); }
.preview-product__image span { position: absolute; inset: 9px 12px 7px; border: 1px solid rgb(11 97 171 / 22%); border-radius: 5px 5px 9px 9px; background: rgb(255 255 255 / 62%); }
.preview-product__image--two span { inset: 7px 11px; border-radius: 50%; background: rgb(255 255 255 / 50%); }
.preview-product b, .preview-product small { display: block; }
.preview-product b { color: #364457; font-size: 11px; }
.preview-product small { margin-top: 2px; color: #8493a4; font-size: 9px; }
.preview-product strong { color: var(--blue); font-size: 11px; }
.preview-total { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 13px; border-top: 1px solid #e4eaf0; }
.preview-total span, .preview-total small { display: block; }
.preview-total span { font-size: 11px; font-weight: 700; }
.preview-total small { margin-top: 2px; color: #8694a5; font-size: 9px; }
.preview-total strong { color: var(--blue); font-size: 16px; }
.preview-checkout { min-height: 39px; display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; border-radius: 8px; background: var(--blue); color: white; font-size: 11px; font-weight: 700; }
.preview-checkout img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.floating-note { position: absolute; right: -4px; bottom: 4px; display: flex; align-items: center; gap: 11px; padding: 12px 16px; border: 1px solid #d8e7f1; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 12px 36px rgb(2 16 31 / 18%); animation: float-in 5s ease-in-out infinite; }
.floating-note img { width: 25px; height: 25px; }
.floating-note b, .floating-note small { display: block; }
.floating-note b { color: var(--blue-deep); font-size: 12px; }
.floating-note small { color: var(--muted); font-size: 10px; }
.hero__bottom-line { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .8; }

.trust-strip { border-bottom: 1px solid #e5ebf1; background: #fff; }
.trust-strip__inner { min-height: 78px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; color: #526277; font-size: 13px; font-weight: 700; }
.trust-strip__inner span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip__inner span::before { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); content: ""; }
.section { padding-block: 96px; }
.section--light { background: #f5f8fc; }
.section-heading { max-width: 690px; margin: 0 auto 46px; text-align: center; }
.eyebrow--light { color: var(--blue); }
.section-heading h2, .offline-copy h2, .platform-band h2, .final-cta h2 { margin: 0; color: var(--charcoal); font-size: clamp(30px, 3.8vw, 43px); font-weight: 700; letter-spacing: -.035em; line-height: 1.18; }
.section-heading > p:last-child { max-width: 600px; margin: 15px auto 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature-card { min-height: 232px; padding: 24px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 6px 16px rgb(34 40 49 / 3%); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: #b2dff2; box-shadow: 0 14px 30px rgb(34 40 49 / 8%); }
.feature-card__icon { width: 47px; height: 47px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 12px; background: #eaf6fc; }
.feature-card__icon img { width: 25px; height: 25px; }
.feature-card h3, .step-card h3 { margin: 0; color: var(--charcoal); font-size: 17px; line-height: 1.35; }
.feature-card p, .step-card p { margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.offline-section { overflow: hidden; padding-block: 96px; background: #fff; }
.offline-section__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); align-items: center; gap: clamp(42px, 8vw, 100px); }
.offline-visual { position: relative; padding: 20px 0; }
.offline-visual::before { position: absolute; inset: 0 6% 4% -7%; border-radius: 32px; background: linear-gradient(145deg, #e7f5fc, #f5f8fc); content: ""; transform: rotate(-3deg); }
.sync-card { position: relative; padding: 22px; border: 1px solid #dce5ef; border-radius: 16px; background: #fff; box-shadow: 0 20px 45px rgb(34 40 49 / 9%); }
.sync-card__header { display: flex; align-items: center; gap: 13px; }
.sync-indicator { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: #edf7fd; }
.sync-indicator img { width: 24px; height: 24px; }
.sync-card__header small, .sync-card__header strong { display: block; }
.sync-card__header small { color: #8492a3; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.sync-card__header strong { margin-top: 2px; color: #334357; font-size: 14px; }
.sync-badge { margin-inline-start: auto; padding: 5px 8px; border-radius: 7px; background: #e8f7f0; color: #087d5d; font-size: 10px; font-weight: 700; white-space: nowrap; }
.sync-card__rule { height: 1px; margin-block: 18px 6px; background: #e8edf2; }
.sync-row { min-height: 62px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #edf1f5; }
.sync-check { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #e8f7f0; }
.sync-check img { width: 15px; height: 15px; }
.sync-row b, .sync-row small { display: block; }
.sync-row b { color: #3d4b5d; font-size: 12px; }
.sync-row small, .sync-row time { color: #8291a2; font-size: 10px; }
.sync-row small { margin-top: 2px; }
.sync-row time { margin-inline-start: auto; }
.sync-card__footer { display: flex; align-items: center; gap: 8px; padding-top: 15px; color: #526277; font-size: 10px; }
.sync-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgb(32 192 241 / 16%); }
.offline-visual__caption { position: relative; margin: 10px 0 0; color: #8a98a7; font-size: 10px; text-align: center; }
.offline-copy h2 { color: #fff; }
.offline-section { background: var(--charcoal); color: #fff; }
.offline-copy > p:not(.eyebrow):not(.offline-disclaimer) { margin: 18px 0 0; color: #cad4df; }
.check-list { display: grid; gap: 13px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: #f0f4f8; font-size: 14px; }
.check-list img { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 2px; filter: brightness(0) saturate(100%) invert(71%) sepia(88%) saturate(1292%) hue-rotate(160deg) brightness(99%) contrast(91%); }
.offline-disclaimer { margin: 23px 0 0; padding-inline-start: 13px; border-inline-start: 2px solid var(--cyan); color: #aebdcb; font-size: 12px; line-height: 1.65; }

.section-heading--compact { margin-bottom: 36px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step-card { display: flex; gap: 17px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.step-card__number { flex: 0 0 auto; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.step-card h3 { font-size: 16px; }
.step-card p { font-size: 13px; }
.platform-band { padding-block: 52px; background: #eaf4fb; }
.platform-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.platform-band .eyebrow { margin-bottom: 9px; color: var(--blue); }
.platform-band h2 { font-size: clamp(26px, 3vw, 36px); }
.platform-band p:last-child { margin: 8px 0 0; color: var(--muted); }
.platform-band .button { flex: 0 0 auto; }

.faq-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 70px; }
.section-heading--left { margin: 0; text-align: start; }
.section-heading--left > p:last-child { margin-inline-start: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 19px; color: var(--charcoal); cursor: pointer; font-size: 15px; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary img { flex: 0 0 auto; width: 18px; height: 18px; transition: transform .2s ease; }
.faq-list details[open] summary img { transform: rotate(180deg); }
.faq-list details p { max-width: 680px; margin: -4px 0 19px; color: var(--muted); font-size: 14px; }

.final-cta { padding-block: 66px; background: linear-gradient(105deg, #0b61ab 0%, #084b86 100%); color: #fff; }
.final-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.final-cta .eyebrow { margin-bottom: 9px; }
.final-cta h2 { max-width: 640px; color: #fff; font-size: clamp(28px, 3.3vw, 40px); }
.final-cta__actions { display: grid; justify-items: start; gap: 13px; }
.final-cta__link { color: #fff; font-size: 13px; font-weight: 700; text-decoration-color: rgb(255 255 255 / 55%); text-underline-offset: 4px; }
.final-cta__link span { margin-inline-start: 4px; color: var(--cyan); }
.site-footer { background: #222831; color: #d5dee7; }
.site-footer__main { min-height: 154px; display: flex; justify-content: space-between; align-items: center; gap: 32px; border-bottom: 1px solid rgb(255 255 255 / 13%); }
.footer-brand { display: grid; gap: 8px; text-decoration: none; }
.footer-brand img { width: 144px; padding: 5px 8px; border-radius: 5px; background: #fff; }
.footer-brand span { color: #aeb9c5; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px 26px; }
.footer-links a, .footer-languages a { color: #d5dee7; font-size: 12px; text-decoration: none; }
.footer-links a:hover, .footer-languages a:hover { color: #8ce5ff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom { min-height: 65px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #aeb9c5; font-size: 11px; }
.footer-languages { display: flex; gap: 18px; }

[dir="rtl"] body { font-family: Cairo, Quicksand, sans-serif; }
[dir="rtl"] .brand__product { letter-spacing: 0; }
[dir="rtl"] .hero h1, [dir="rtl"] .hero__lead, [dir="rtl"] .hero__note { letter-spacing: 0; }
[dir="rtl"] .pos-preview { transform: perspective(1200px) rotateY(3deg) rotateX(1deg); }
[dir="rtl"] .hero__visual:hover .pos-preview { transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-3px); }

@keyframes rise-in { from { opacity: .25; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float-in { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (max-width: 980px) {
  .site-header__inner { gap: 16px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .site-header__actions { gap: 10px; }
  .hero__grid { grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 28px; }
  .hero h1 { font-size: clamp(36px, 5vw, 50px); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-layout { gap: 40px; }
}

@media (max-width: 720px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .site-header__inner { min-height: 70px; flex-wrap: wrap; justify-content: space-between; padding-block: 10px; }
  .brand img { width: 130px; }
  .site-nav { display: none; }
  .site-header__actions { margin-inline-start: auto; }
  .language-switch { gap: 4px; }
  .language-switch a { min-width: 24px; padding: 3px; font-size: 12px; }
  .hero { padding: 52px 0 60px; }
  .hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .hero__copy { max-width: 620px; }
  .hero h1 { max-width: 540px; font-size: clamp(36px, 9vw, 52px); }
  .hero__lead { font-size: 16px; }
  .hero__visual { max-width: 570px; width: 100%; margin: 0 auto; padding: 12px 7px 27px; }
  .pos-preview { transform: none; }
  .hero__visual:hover .pos-preview { transform: translateY(-2px); }
  .floating-note { right: -1px; bottom: 0; padding: 10px 12px; }
  .trust-strip__inner { justify-content: flex-start; gap: 9px 22px; padding-block: 15px; font-size: 12px; }
  .section, .offline-section { padding-block: 68px; }
  .section-heading { margin-bottom: 32px; }
  .offline-section__grid { grid-template-columns: 1fr; gap: 30px; }
  .offline-visual { max-width: 540px; width: 100%; margin-inline: auto; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { padding: 19px; }
  .platform-band__inner { align-items: flex-start; flex-direction: column; gap: 22px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .final-cta__inner { align-items: flex-start; flex-direction: column; gap: 26px; }
  .site-footer__main { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 28px; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}

@media (max-width: 460px) {
  .container { width: calc(100% - 30px); }
  .brand { gap: 7px; }
  .brand img { width: 112px; }
  .brand__product { padding-inline-start: 7px; font-size: 11px; }
  .site-header__actions { gap: 5px; }
  .site-header .button--small { min-height: 36px; padding: 7px 10px; font-size: 12px; }
  .language-switch a { min-width: 21px; font-size: 11px; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .pos-preview__body { padding: 14px; }
  .pos-preview__topbar { padding-inline: 12px; }
  .preview-product { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 7px; padding: 7px; }
  .preview-product__image { width: 38px; height: 38px; }
  .preview-product b { font-size: 10px; }
  .preview-product strong { font-size: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; padding: 21px; }
  .sync-card { padding: 16px; }
  .sync-badge { font-size: 9px; }
  .footer-links { display: grid; gap: 11px; }
}

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