@font-face {
  font-family: "ShopPad Cairo";
  src: url("assets/Cairo.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #142c4e;
  --ink: #142c4e;
  --muted: #60738b;
  --blue: #155dfc;
  --blue-dark: #0f4bd6;
  --cyan: #0586a2;
  --ice: #e4f1ff;
  --surface: #fff;
  --background: #f5f8fc;
  --line: #e1e9f2;
  --shadow: 0 24px 70px rgba(20, 44, 78, .09);
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", "ShopPad Cairo", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] textarea { font-family: "ShopPad Cairo", Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: #fff; background: var(--blue); }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.section-wrap { width: min(var(--content), calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid rgba(225, 233, 242, .85); background: rgba(255,255,255,.92); backdrop-filter: blur(18px); }
.nav-shell { width: min(1260px, calc(100% - 56px)); min-height: 76px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; direction: ltr; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 750; letter-spacing: -.8px; color: var(--blue); }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-accent { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 30px; direction: ltr; }
.nav-links a, .footer-links a { color: #52677e; font-size: 13px; font-weight: 550; transition: color .2s ease; }
.nav-links a:hover, .footer-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 16px; direction: ltr; }
.language-toggle { border: 0; background: transparent; padding: 8px 4px; color: var(--navy); font-size: 13px; font-weight: 700; cursor: pointer; }
.button { min-height: 52px; border: 0; border-radius: 13px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; font-size: 14px; font-weight: 650; letter-spacing: -.1px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(21,93,252,.16); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 12px 24px rgba(21,93,252,.22); }
.button-dark { background: var(--navy); color: #fff; }
.button-dark:hover { background: #1d3e69; }
.button-small { min-height: 42px; border-radius: 11px; padding-inline: 16px; font-size: 12px; }
.button-arrow { font-size: 17px; line-height: 1; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: white; cursor: pointer; }
.menu-toggle span { display: block; width: 17px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--navy); }

.hero { min-height: 678px; padding-block: 84px 86px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 50px; overflow: hidden; direction: ltr; }
.hero-copy { position: relative; z-index: 1; max-width: 525px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); font-size: 10px; font-weight: 750; letter-spacing: 1.25px; line-height: 1.5; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #e6eeff; }
.hero h1 { max-width: 590px; margin: 21px 0 20px; color: var(--navy); font-size: clamp(47px, 5.2vw, 67px); font-weight: 730; letter-spacing: -3.4px; line-height: 1.055; }
.hero-description { max-width: 475px; margin: 0; color: #61748d; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 27px; margin-top: 30px; }
.text-link, .inline-link { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 13px; font-weight: 650; }
.text-link span:last-child, .inline-link span:last-child { color: var(--blue); font-size: 16px; transition: transform .2s ease; }
.text-link:hover span:last-child, .inline-link:hover span:last-child { transform: translate(2px,-2px); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 37px; color: #74859a; font-size: 11px; }
.note-icon { color: #d3a443; font-size: 16px; }
.hero-visual { position: relative; min-height: 510px; display: flex; justify-content: center; align-items: center; direction: ltr; }
.visual-orbit { position: absolute; border: 1px solid rgba(21,93,252,.1); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 460px; height: 460px; }
.orbit-two { width: 560px; height: 560px; border-color: rgba(5,134,162,.08); }
.desktop-card { position: absolute; top: 75px; right: 3%; width: min(405px, 82%); min-height: 332px; border: 1px solid #e4ebf3; border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 27px 70px rgba(25,57,99,.13); overflow: hidden; transform: rotate(2deg); }
.desktop-top { height: 54px; padding-inline: 19px; border-bottom: 1px solid #edf1f6; display: flex; align-items: center; justify-content: space-between; }
.mini-brand { display: flex; align-items: center; gap: 7px; color: var(--blue); font-size: 11px; font-weight: 700; }
.mini-brand img { width: 22px; height: 22px; object-fit: contain; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #d0dbe7; }
.desktop-body { padding: 21px 22px 0; }
.ui-kicker { color: #8394a7; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; }
.desktop-greeting h3 { margin: 3px 0 0; font-size: 18px; letter-spacing: -.45px; }
.desktop-greeting p { margin: 1px 0 15px; color: #8a9aad; font-size: 10px; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.overview-tile { position: relative; min-height: 99px; padding: 10px; border: 1px solid #edf1f6; border-radius: 11px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: #314a68; font-size: 10px; font-weight: 650; }
.tile-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; font-size: 12px; }
.tile-blue { color: #155dfc; background: #eaf1ff; }
.tile-mint { color: #17846b; background: #e8f7f2; }
.overview-tile small { color: #8a9aad; font-size: 8px; font-weight: 400; }
.tile-chevron { position: absolute; top: 13px; right: 12px; color: #99a8b8; font-size: 11px; }
.desktop-bottom { min-height: 46px; margin-top: 14px; border-top: 1px solid #edf1f6; display: flex; align-items: center; gap: 7px; color: #74859a; font-size: 9px; }
.bottom-mark { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: #e8f7f2; color: #16846b; font-size: 9px; }
.bottom-lines { display: flex; gap: 4px; margin-inline-start: auto; }
.bottom-lines i { width: 9px; height: 9px; border-radius: 3px; background: #eef3f8; }
.phone { position: absolute; z-index: 2; left: 8%; top: 47px; width: 225px; padding: 8px; border: 1px solid #dfe7f1; border-radius: 34px; background: linear-gradient(145deg,#fff,#edf3fa); box-shadow: 0 28px 65px rgba(25,57,99,.22), inset 0 0 0 2px #fff; transform: rotate(-5deg); animation: phone-float 6s ease-in-out infinite; }
.phone-frame { padding: 5px; border: 2px solid #1f3554; border-radius: 27px; background: #f8fafd; overflow: hidden; }
.phone-screen { min-height: 410px; padding: 9px 10px 0; border-radius: 20px; background: #f8fafd; color: #213956; overflow: hidden; }
.phone-status { height: 18px; display: flex; justify-content: space-between; color: #435770; font-size: 7px; font-weight: 700; }
.phone-header { display: flex; align-items: center; justify-content: space-between; margin-block: 11px 13px; }
.phone-header small { display: block; color: #8292a5; font-size: 6px; font-weight: 750; letter-spacing: .8px; }
.phone-header h3 { margin: 2px 0 0; font-size: 15px; letter-spacing: -.3px; }
.phone-avatar { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; background: #e9f1ff; color: var(--blue); font-size: 11px; font-weight: 700; }
.scanner-window { position: relative; height: 165px; border-radius: 12px; background: #142c4e; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.scanner-window::before { position: absolute; inset: 18px; content: ""; border-radius: 9px; background: repeating-linear-gradient(90deg,rgba(255,255,255,.09) 0 1px,transparent 1px 5px); opacity: .16; }
.scan-corner { position: absolute; z-index: 1; width: 18px; height: 18px; border-color: #69a6ff; border-style: solid; }
.corner-tl { top: 35px; left: 32px; border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
.corner-tr { top: 35px; right: 32px; border-width: 2px 2px 0 0; border-top-right-radius: 6px; }
.corner-bl { bottom: 40px; left: 32px; border-width: 0 0 2px 2px; border-bottom-left-radius: 6px; }
.corner-br { right: 32px; bottom: 40px; border-width: 0 2px 2px 0; border-bottom-right-radius: 6px; }
.barcode-bars { width: 78px; height: 42px; background: repeating-linear-gradient(90deg,#d5e8ff 0 2px,transparent 2px 4px,#d5e8ff 4px 5px,transparent 5px 8px); opacity: .75; }
.scan-beam { position: absolute; left: 35px; right: 35px; top: 77px; height: 1px; background: #59a5ff; box-shadow: 0 0 10px 2px rgba(89,165,255,.65); animation: scan-beam 3.2s ease-in-out infinite; }
.scan-caption { position: absolute; bottom: 15px; color: #dae8fa; font-size: 7px; }
.phone-cart { margin-top: 14px; padding: 0 1px; }
.cart-title { display: flex; align-items: baseline; justify-content: space-between; }
.cart-title strong { font-size: 10px; }
.cart-title span { color: #8493a4; font-size: 6px; }
.cart-empty { min-height: 75px; margin-top: 7px; border: 1px dashed #d7e0eb; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #8899ab; font-size: 7px; }
.cart-bag { color: #6b95d7; font-size: 20px; line-height: 1; }
.mock-checkout { width: 100%; height: 30px; margin-top: 8px; padding-inline: 9px; border: 0; border-radius: 8px; background: var(--blue); color: white; display: flex; justify-content: space-between; align-items: center; font-size: 8px; font-weight: 650; }
.phone-tabs { height: 37px; margin: 8px -10px 0; border-top: 1px solid #e7edf4; display: flex; align-items: center; justify-content: space-around; color: #97a5b4; font-size: 11px; }
.phone-tabs span { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.phone-tabs small { font-size: 5px; }
.phone-tabs .tab-selected { color: var(--blue); }
.float-label { position: absolute; z-index: 3; min-height: 39px; padding: 0 13px; border: 1px solid #e8eef5; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(20,44,78,.11); display: flex; align-items: center; gap: 8px; color: #476079; font-size: 9px; font-weight: 650; }
.float-label-top { top: 45px; right: 0; }
.float-label-bottom { bottom: 48px; right: 4%; }
.status-pulse { width: 7px; height: 7px; border-radius: 50%; background: #35bd8e; box-shadow: 0 0 0 4px #e5f7f0; }
.float-icon { color: var(--blue); font-size: 19px; }
.interface-label { position: absolute; z-index: 4; right: 20px; bottom: 11px; color: #8b9caf; font-size: 7px; font-weight: 700; letter-spacing: 1px; }
.phone-label { right: auto; bottom: -19px; left: 12%; }

.brand-strip { border-block: 1px solid #e9eef5; background: #fbfcfe; }
.strip-inner { width: min(var(--content), calc(100% - 64px)); min-height: 78px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; direction: ltr; }
.strip-heading { color: #92a0af; font-size: 9px; font-weight: 750; letter-spacing: 1.2px; }
.strip-item { display: flex; align-items: center; gap: 9px; color: #52677f; font-size: 11px; font-weight: 600; }
.strip-item i { width: 27px; height: 27px; border: 1px solid #e1eaf5; border-radius: 8px; display: grid; place-items: center; background: #fff; color: var(--blue); font-size: 13px; font-style: normal; }

.section { padding-block: 110px; }
.section-about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 95px; align-items: start; direction: ltr; }
.eyebrow-plain { color: #68809d; }
.section-heading h2, .section-intro h2, .contact-copy h2 { margin: 17px 0 0; color: var(--navy); font-size: clamp(34px,4vw,47px); font-weight: 700; letter-spacing: -1.9px; line-height: 1.16; }
.about-copy { padding-top: 30px; }
.about-copy p { margin: 0 0 18px; color: #687b91; font-size: 14px; line-height: 1.9; }
.about-copy .lead { color: #314a67; font-size: 17px; font-weight: 550; line-height: 1.7; }
.inline-link { margin-top: 5px; color: var(--blue-dark); }
.principles-grid { margin-top: 69px; padding-top: 29px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; direction: ltr; }
.principle { display: flex; gap: 16px; }
.principle-no { color: #8aa5c5; font-size: 10px; font-weight: 700; letter-spacing: .7px; }
.principle h3 { margin: 0 0 8px; color: #233d5b; font-size: 14px; font-weight: 680; }
.principle p { max-width: 290px; margin: 0; color: #7a8b9f; font-size: 12px; line-height: 1.75; }

.section-solutions { background: var(--background); }
.section-intro { margin-bottom: 43px; display: flex; align-items: end; justify-content: space-between; gap: 40px; direction: ltr; }
.section-intro h2 { max-width: 570px; }
.section-intro > p { max-width: 350px; margin: 0 0 5px; color: #718198; font-size: 13px; line-height: 1.8; }
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; direction: ltr; }
.solution-card { min-height: 350px; padding: 28px; border: 1px solid #e4ebf2; border-radius: 19px; background: #fff; overflow: hidden; }
.solution-card-featured { background: #fff; }
.solution-card-top { display: flex; align-items: center; justify-content: space-between; }
.solution-number { color: #8495a8; font-size: 9px; font-weight: 750; letter-spacing: 1px; }
.solution-icon { width: 37px; height: 37px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; }
.icon-filled { background: #e9f0ff; color: var(--blue); }
.icon-soft { background: #eff5fc; color: #406c9f; }
.solution-card h3 { margin: 18px 0 9px; color: #203a59; font-size: 21px; letter-spacing: -.5px; }
.solution-card p { max-width: 470px; margin: 0; color: #738399; font-size: 12px; line-height: 1.8; }
.solution-visual { position: relative; height: 99px; margin-top: 24px; border: 1px solid #e7edf5; border-radius: 12px; background: linear-gradient(135deg,#f8fbff,#edf4ff); overflow: hidden; }
.scan-visual { display: flex; align-items: center; justify-content: center; }
.scan-visual-frame { position: relative; width: 105px; height: 68px; display: grid; place-items: center; }
.scan-visual-frame i { position: absolute; width: 17px; height: 17px; border-color: #4a86ef; border-style: solid; }
.scan-visual-frame i:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.scan-visual-frame i:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.scan-visual-frame i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.scan-visual-frame i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.scan-visual-frame b { width: 55px; height: 32px; background: repeating-linear-gradient(90deg,#315578 0 2px,transparent 2px 5px,#315578 5px 6px,transparent 6px 9px); opacity: .65; }
.scan-line { position: absolute; width: 91px; height: 1px; background: #2f80ff; box-shadow: 0 0 8px 1px #8bb9ff; animation: scan-beam 3.3s ease-in-out infinite; }
.scan-visual-tag { position: absolute; right: 12px; bottom: 9px; color: #8294a8; font-size: 7px; font-weight: 700; letter-spacing: .8px; }
.catalogue-visual { margin-top: 26px; padding: 10px 14px; border: 1px solid #e7edf5; border-radius: 12px; background: #f8fbff; }
.catalogue-row { height: 29px; display: flex; align-items: center; gap: 9px; }
.catalogue-row + .catalogue-row { border-top: 1px solid #ebf0f5; }
.catalogue-row i { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; background: #eaf1fc; color: #4882d2; font-size: 9px; font-style: normal; }
.catalogue-row b { width: 60px; height: 5px; border-radius: 5px; background: #d7e1ed; }
.catalogue-row small { width: 30px; height: 5px; margin-inline-start: auto; border-radius: 5px; background: #dce7f1; }
.reports-visual { position: relative; height: 105px; margin-top: 20px; border-bottom: 1px solid #e4ebf2; display: flex; align-items: end; gap: 15px; padding: 13px 22px 0; overflow: hidden; }
.reports-visual::before, .reports-visual::after { position: absolute; left: 0; right: 0; border-top: 1px dashed #e6edf5; content: ""; }
.reports-visual::before { top: 27px; }
.reports-visual::after { top: 58px; }
.reports-visual i { position: relative; z-index: 1; width: 27px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg,#7fa9ff,#d6e5ff); }
.reports-visual i:nth-of-type(1) { height: 28px; }
.reports-visual i:nth-of-type(2) { height: 49px; }
.reports-visual i:nth-of-type(3) { height: 35px; }
.reports-visual i:nth-of-type(4) { height: 65px; }
.reports-visual i:nth-of-type(5) { height: 48px; }
.report-tooltip { position: absolute; z-index: 2; top: 3px; right: 33px; width: 57px; height: 30px; padding: 6px; border: 1px solid #e3eaf3; border-radius: 7px; background: white; box-shadow: 0 5px 12px rgba(20,44,78,.08); display: flex; flex-direction: column; gap: 3px; }
.report-tooltip b { width: 26px; height: 3px; border-radius: 4px; background: #d6e1ee; }
.report-tooltip b:last-child { width: 38px; background: #83aaff; }

.section-features { background: #fff; }
.feature-intro { margin-bottom: 45px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); direction: ltr; }
.feature-card { min-height: 204px; padding: 25px 24px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-icon { width: 37px; height: 37px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; }
.feature-blue { color: #155dfc; background: #eaf1ff; }
.feature-sky { color: #2c82bd; background: #e8f6fd; }
.feature-mint { color: #187b66; background: #e7f7f1; }
.feature-lilac { color: #7553c5; background: #f1ecff; }
.feature-peach { color: #bd6e36; background: #fff1e7; }
.feature-card h3 { margin: 17px 0 7px; color: #263f5e; font-size: 15px; letter-spacing: -.2px; }
.feature-card p { max-width: 290px; margin: 0; color: #77889c; font-size: 11px; line-height: 1.8; }
.feature-footnote { margin: 18px 0 0; color: #8a99aa; font-size: 10px; }

.section-demo { position: relative; overflow: hidden; background: #132d50; color: #fff; }
.section-demo::before { position: absolute; top: -285px; right: -120px; width: 600px; height: 600px; border: 1px solid rgba(161,195,255,.11); border-radius: 50%; content: ""; }
.section-demo::after { position: absolute; top: -205px; right: -40px; width: 440px; height: 440px; border: 1px solid rgba(161,195,255,.08); border-radius: 50%; content: ""; }
.demo-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 74px; direction: ltr; }
.eyebrow-light { color: #c5d8f6; }
.eyebrow-light .eyebrow-dot { background: #72a8ff; box-shadow: 0 0 0 4px rgba(114,168,255,.16); }
.demo-copy h2 { max-width: 470px; margin: 20px 0 16px; color: #fff; font-size: clamp(35px,4vw,47px); letter-spacing: -1.9px; line-height: 1.15; }
.demo-copy p { max-width: 435px; margin: 0; color: #b6c8df; font-size: 13px; line-height: 1.9; }
.button-white { margin-top: 26px; background: #fff; color: var(--navy); }
.button-white:hover { background: #eef4ff; }
.demo-frame { min-width: 0; }
.demo-video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 0; background: transparent; object-fit: contain; }
.section-contact { background: #f7f9fc; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; direction: ltr; }
.contact-copy h2 { max-width: 470px; margin-top: 17px; font-size: clamp(38px,4vw,49px); }
.contact-copy > p { max-width: 435px; margin: 17px 0 27px; color: #6b7e94; font-size: 13px; line-height: 1.9; }
.contact-methods { display: flex; flex-direction: column; gap: 15px; }
.contact-method { display: flex; align-items: center; gap: 12px; }
.contact-method-icon { width: 37px; height: 37px; border: 1px solid #e2eaf3; border-radius: 11px; display: grid; place-items: center; background: #fff; color: var(--blue); font-size: 15px; }
.linkedin-icon { font-size: 11px; font-weight: 800; }
.contact-method div { display: flex; flex-direction: column; gap: 1px; }
.contact-method small { color: #8493a5; font-size: 8px; font-weight: 750; letter-spacing: 1px; }
.contact-detail { color: #2c4664; font-size: 12px; font-weight: 600; }
.placeholder-link { color: #8291a3; }
.launch-note { max-width: 440px; margin-top: 29px; padding: 13px 15px; border: 1px solid #e7edf5; border-radius: 11px; display: flex; align-items: flex-start; gap: 10px; background: rgba(255,255,255,.62); }
.launch-note-icon { margin-top: 1px; color: #d1a342; font-size: 13px; }
.launch-note p { margin: 0; color: #75869a; font-size: 10px; line-height: 1.7; }
.contact-form { padding: 30px; border: 1px solid #e5ebf2; border-radius: 18px; background: #fff; box-shadow: 0 18px 55px rgba(20,44,78,.045); }
.form-heading { margin-bottom: 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.form-heading h3 { margin: 0; color: #203a59; font-size: 17px; letter-spacing: -.3px; }
.form-heading span { color: #8a99aa; font-size: 10px; }
.contact-form label { display: block; margin: 14px 0 6px; color: #344c68; font-size: 11px; font-weight: 650; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #dce5ef; border-radius: 9px; outline: 0; background: #fff; color: #203a59; font-size: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input { height: 43px; padding-inline: 13px; }
.contact-form textarea { min-height: 104px; padding: 11px 13px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #6d9cff; box-shadow: 0 0 0 3px rgba(21,93,252,.1); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a1adbb; }
.form-submit { width: 100%; margin-top: 18px; }
.form-feedback { min-height: 19px; margin: 12px 0 0; color: #8a99aa; font-size: 10px; line-height: 1.7; }
.form-feedback.is-error { color: #a83843; }

.site-footer { background: #fff; }
.footer-main { min-height: 95px; display: flex; align-items: center; justify-content: space-between; gap: 24px; direction: ltr; }
.footer-brand { font-size: 18px; }
.footer-brand img { width: 34px; height: 34px; }
.footer-main > p { margin: 0; color: #8795a7; font-size: 11px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 11px; }
.footer-bottom { min-height: 48px; border-top: 1px solid #edf1f5; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #9aa6b4; font-size: 9px; direction: ltr; }

.reveal { opacity: 0; transform: translateY(17px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.solution-grid .reveal:nth-child(2), .feature-grid .reveal:nth-child(3n + 2) { transition-delay: .08s; }
.solution-grid .reveal:nth-child(3), .feature-grid .reveal:nth-child(3n) { transition-delay: .15s; }
@keyframes phone-float { 0%,100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-10px); } }
@keyframes scan-beam { 0%,100% { transform: translateY(-18px); opacity: .5; } 50% { transform: translateY(18px); opacity: 1; } }

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .about-copy,
html[dir="rtl"] .principle,
html[dir="rtl"] .solution-card,
html[dir="rtl"] .feature-card,
html[dir="rtl"] .demo-copy,
html[dir="rtl"] .contact-copy,
html[dir="rtl"] .contact-form { text-align: right; }
html[dir="rtl"] .nav-links { direction: rtl; }
html[dir="rtl"] .float-label-top { right: auto; left: 0; }
html[dir="rtl"] .float-label-bottom { right: auto; left: 4%; }
html[dir="rtl"] .phone { left: auto; right: 8%; }
html[dir="rtl"] .desktop-card { right: auto; left: 3%; }
html[dir="rtl"] .interface-label { right: auto; left: 20px; }
html[dir="rtl"] .phone-label { left: auto; right: 12%; }
html[dir="rtl"] .form-heading { direction: rtl; }
html[dir="rtl"] .launch-note { direction: rtl; }
html[dir="rtl"] .feature-card p, html[dir="rtl"] .solution-card p { margin-inline-start: 0; }

@media (max-width: 980px) {
  .nav-shell { width: min(100% - 40px, 800px); gap: 15px; }
  .nav-links { gap: 17px; }
  .nav-links a { font-size: 12px; }
  .nav-cta { display: none; }
  .hero { min-height: 610px; grid-template-columns: .9fr 1.1fr; gap: 15px; padding-block: 65px; }
  .hero-visual { transform: scale(.9); transform-origin: center; }
  .hero h1 { font-size: clamp(46px,6vw,59px); }
  .about-grid { gap: 55px; }
  .demo-grid { gap: 42px; }
  .contact-grid { gap: 55px; }
  .strip-inner { gap: 14px; }
  .strip-item { font-size: 10px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 69px; }
  .section-wrap { width: min(100% - 40px, 540px); }
  .site-header { position: sticky; }
  .nav-shell { width: calc(100% - 36px); min-height: 68px; }
  .brand { font-size: 19px; }
  .brand img { width: 36px; height: 36px; }
  .nav-actions { gap: 10px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 13px 22px 20px; border-bottom: 1px solid var(--line); background: #fff; display: none; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 15px 25px rgba(20,44,78,.07); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 3px; border-bottom: 1px solid #f0f3f7; font-size: 13px; }
  .language-toggle { font-size: 12px; }
  .hero { min-height: unset; padding-block: 65px 54px; grid-template-columns: 1fr; gap: 10px; }
  .hero-copy { max-width: 570px; }
  .hero h1 { max-width: 490px; margin-top: 18px; font-size: clamp(44px,11vw,61px); letter-spacing: -2.7px; }
  .hero-description { max-width: 500px; font-size: 14px; }
  .hero-note { margin-top: 25px; }
  .hero-visual { min-height: 452px; margin-top: 8px; transform: scale(.86); transform-origin: center top; }
  .phone { left: 9%; top: 36px; }
  html[dir="rtl"] .phone { left: auto; right: 9%; }
  .desktop-card { top: 62px; right: 1%; }
  html[dir="rtl"] .desktop-card { right: auto; left: 1%; }
  .float-label-top { top: 20px; right: 14px; }
  html[dir="rtl"] .float-label-top { right: auto; left: 14px; }
  .float-label-bottom { bottom: 40px; }
  .strip-inner { width: calc(100% - 40px); min-height: 0; padding-block: 19px; flex-wrap: wrap; justify-content: flex-start; gap: 13px 20px; }
  .strip-heading { flex-basis: 100%; }
  .strip-item { font-size: 9px; }
  .strip-item i { width: 23px; height: 23px; }
  .section { padding-block: 76px; }
  .about-grid { grid-template-columns: 1fr; gap: 17px; }
  .section-heading h2, .section-intro h2, .contact-copy h2 { font-size: clamp(34px,8vw,43px); letter-spacing: -1.5px; }
  .about-copy { padding-top: 0; }
  .about-copy .lead { font-size: 15px; }
  .about-copy p { font-size: 12px; }
  .principles-grid { margin-top: 42px; padding-top: 24px; grid-template-columns: 1fr; gap: 23px; }
  .principle p { max-width: 430px; }
  .section-intro { margin-bottom: 30px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-intro > p { max-width: 450px; font-size: 12px; }
  .solution-grid { grid-template-columns: 1fr; gap: 13px; }
  .solution-card { min-height: 325px; padding: 23px; }
  .solution-card h3 { font-size: 19px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .feature-card { min-height: 208px; padding: 20px 16px; }
  .feature-card h3 { font-size: 13px; }
  .feature-card p { font-size: 10px; }
  .demo-grid { grid-template-columns: 1fr; gap: 35px; }
  .demo-copy h2 { font-size: 39px; }
  .demo-frame { max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; gap: 37px; }
  .contact-copy > p { font-size: 12px; }
  .contact-form { padding: 23px 20px; }
  .footer-main { padding-block: 24px; flex-wrap: wrap; justify-content: flex-start; gap: 12px 23px; }
  .footer-main > p { flex: 1 1 180px; }
  .footer-links { flex-basis: 100%; flex-wrap: wrap; gap: 18px; }
}
@media (max-width: 420px) {
  .section-wrap { width: calc(100% - 36px); }
  .nav-shell { width: calc(100% - 28px); }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: 44px; }
  .hero-actions { gap: 18px; }
  .hero-actions .button { padding-inline: 15px; font-size: 12px; }
  .hero-visual { min-height: 400px; margin-inline: -26px; transform: scale(.75); }
  .strip-inner { width: calc(100% - 36px); }
  .strip-item { gap: 6px; }
  .feature-card { min-height: 225px; padding: 17px 12px; }
  .demo-preview { min-height: 220px; }
  .form-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; padding-block: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Polish layer — readability, demo player, layout refinements
   ========================================================== */

/* Header: subtle depth once scrolled, active section link */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { background: rgba(255,255,255,.96); box-shadow: 0 6px 24px rgba(20,44,78,.07); }
.nav-links a { position: relative; font-size: 14px; }
.nav-links a.is-active { color: var(--blue); }
.nav-links a::after { position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--blue); content: ""; transform: scaleX(0); transition: transform .25s ease; }
.nav-links a.is-active::after, .nav-links a:hover::after { transform: scaleX(1); }
.language-toggle { border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; transition: border-color .2s ease, color .2s ease; }
.language-toggle:hover { border-color: #c9d8ec; color: var(--blue); }

/* Keyboard focus that is visible but on-brand */
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid rgba(21,93,252,.45); outline-offset: 3px; border-radius: 8px; }

/* Readability: lift the smallest body copy */
.hero-description { font-size: 17px; }
.hero-note { font-size: 13px; }
.strip-heading { font-size: 10px; }
.strip-item { font-size: 13px; }
.about-copy p { font-size: 15px; }
.about-copy .lead { font-size: 18px; }
.principle h3 { font-size: 16px; }
.principle p { font-size: 14px; }
.section-intro > p { font-size: 15px; }
.solution-number { font-size: 10px; }
.solution-card h3 { font-size: 22px; }
.solution-card p { font-size: 14px; }
.feature-card h3 { font-size: 17px; }
.feature-card p { font-size: 14px; }
.feature-footnote { font-size: 12px; }
.demo-copy p { font-size: 15px; }
.contact-copy > p { font-size: 15px; }
.contact-method small { font-size: 10px; }
.contact-detail { font-size: 14px; }
.launch-note p { font-size: 12px; }
.form-heading h3 { font-size: 19px; }
.form-heading span { font-size: 12px; }
.contact-form label { font-size: 13px; }
.contact-form input, .contact-form textarea { font-size: 14px; }
.form-feedback { font-size: 12px; }
.footer-main > p, .footer-links a { font-size: 13px; }
.footer-bottom { font-size: 11px; }

/* Solutions: featured card spans both rows — no orphaned card */
.solution-grid { grid-template-columns: 1.12fr 1fr; }
.solution-featured { grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(180deg,#fff 55%,#f4f8ff); }
.solution-featured .solution-visual { flex: 1 1 auto; min-height: 150px; margin-top: 28px; }
.solution-featured .scan-visual-frame { transform: scale(1.35); }
.solution-card { min-height: 0; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.solution-card:hover, .feature-card:hover { box-shadow: 0 18px 45px rgba(20,44,78,.08); }
.solution-card:hover { transform: translateY(-3px); border-color: #d6e2f1; }
.feature-card { transition: background .25s ease, box-shadow .25s ease; }
.feature-card:hover { background: #fbfdff; }

/* Demo player */
.video-shell { position: relative; border: 1px solid rgba(161,195,255,.22); border-radius: 20px; padding: 8px; background: rgba(255,255,255,.06); box-shadow: 0 35px 80px rgba(3,14,32,.45); }
.demo-video { border-radius: 13px; background: #0d203b; overflow: hidden; }
.video-play { position: absolute; inset: 8px; border: 0; border-radius: 13px; padding: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 14px; padding: 22px; background: linear-gradient(180deg,rgba(13,32,59,0) 55%,rgba(13,32,59,.5)); color: var(--navy); cursor: pointer; transition: opacity .3s ease, visibility .3s ease; }
.video-play-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px; background: var(--blue); color: #fff; box-shadow: 0 0 0 10px rgba(21,93,252,.18), 0 18px 40px rgba(21,93,252,.4); transition: transform .25s ease, box-shadow .25s ease; }
.video-play:hover .video-play-icon { transform: scale(1.07); box-shadow: 0 0 0 14px rgba(21,93,252,.2), 0 20px 46px rgba(21,93,252,.45); }
.video-play-text { padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: 0 10px 26px rgba(20,44,78,.18); display: flex; flex-direction: column; align-items: flex-start; line-height: 1.35; }
.video-play-text strong { font-size: 15px; }
.video-play-text small { color: #61748d; font-size: 12px; }
.video-shell.is-playing .video-play { opacity: 0; visibility: hidden; pointer-events: none; }
.video-caption { margin: 16px 4px 0; display: flex; align-items: center; gap: 9px; color: #9fb4d1; font-size: 12px; }
.video-caption-dot { width: 7px; height: 7px; border-radius: 50%; background: #35bd8e; box-shadow: 0 0 0 4px rgba(53,189,142,.18); }
html[dir="rtl"] .video-play-text { align-items: flex-end; }

@media (max-width: 720px) {
  .hero-description { font-size: 15px; }
  .strip-item { font-size: 12px; }
  .about-copy p { font-size: 14px; }
  .about-copy .lead { font-size: 16px; }
  .section-intro > p, .contact-copy > p { font-size: 14px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-featured { grid-row: auto; }
  .feature-card h3 { font-size: 15px; }
  .feature-card p { font-size: 13px; }
  .nav-links a::after { display: none; }
  .video-play { padding: 14px; gap: 10px; }
  .video-play-icon { width: 50px; height: 50px; }
  .video-play-text { padding: 7px 12px; }
  .video-play-text strong { font-size: 14px; }
}
@media (max-width: 420px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .video-play-text { display: none; }
}

/* ==========================================================
   Showcase layer — app screens, hero accent, demo points
   ========================================================== */
[hidden] { display: none !important; }

.hero h1 .h1-accent { color: var(--blue); }
.button-play { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); font-size: 9px; padding-left: 2px; }

/* App screens */
.section-app { background: linear-gradient(180deg,#fff 0%,#f5f8fc 100%); }
.screens-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; align-items: end; direction: ltr; }
.screen-card { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.screen-phone { width: min(100%, 268px); padding: 9px; border: 1px solid #dfe7f1; border-radius: 38px; background: linear-gradient(145deg,#fff,#e9f0f9); box-shadow: 0 30px 70px rgba(25,57,99,.16), inset 0 0 0 2px #fff; transition: transform .35s ease, box-shadow .35s ease; }
.screen-phone img { width: 100%; height: auto; border: 2px solid #1f3554; border-radius: 30px; background: #f3f5f8; }
.screen-card:hover .screen-phone { transform: translateY(-6px); box-shadow: 0 38px 80px rgba(25,57,99,.2), inset 0 0 0 2px #fff; }
.screen-card-featured .screen-phone { width: min(100%, 300px); box-shadow: 0 40px 90px rgba(21,93,252,.2), inset 0 0 0 2px #fff; }
.screen-card figcaption { max-width: 300px; margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.screen-step { color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: 1px; }
.screen-card figcaption strong { color: var(--navy); font-size: 19px; letter-spacing: -.3px; }
.screen-card figcaption span:last-child { color: #6b7e94; font-size: 14px; line-height: 1.75; }

/* Demo bullet points */
.demo-points { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.demo-points li { display: flex; align-items: center; gap: 11px; color: #dbe6f5; font-size: 14px; font-weight: 600; }
.demo-points li::before { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(114,168,255,.18); color: #8fbaff; font-size: 11px; content: "✓"; }

html[dir="rtl"] .demo-points li { direction: rtl; }

@media (max-width: 980px) {
  .screens-grid { gap: 18px; }
  .strip-item { font-size: 11px; }
}
@media (max-width: 720px) {
  .screens-grid { grid-template-columns: 1fr; gap: 54px; }
  .screen-phone, .screen-card-featured .screen-phone { width: min(78%, 280px); }
}
.contact-points { margin: 0 0 26px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-points li { display: flex; align-items: center; gap: 11px; color: #344c68; font-size: 15px; font-weight: 600; }
.contact-points li::before { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; display: grid; place-items: center; background: #e9f0ff; color: var(--blue); font-size: 11px; content: "✓"; }
html[dir="rtl"] .contact-points li { direction: rtl; }

/* Arabic: give text blocks a right-to-left base direction so mixed
   Arabic/Latin text (ShopPad, BenefitPay, punctuation) orders correctly. */
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .about-copy,
html[dir="rtl"] .principle,
html[dir="rtl"] .section-intro > *,
html[dir="rtl"] .solution-card,
html[dir="rtl"] .feature-card,
html[dir="rtl"] .feature-footnote,
html[dir="rtl"] .demo-copy,
html[dir="rtl"] .contact-copy,
html[dir="rtl"] .contact-form,
html[dir="rtl"] .screen-card figcaption,
html[dir="rtl"] .video-caption,
html[dir="rtl"] .strip-item,
html[dir="rtl"] .footer-main > p,
html[dir="rtl"] .footer-bottom > span { direction: rtl; }
html[dir="rtl"] .feature-footnote { text-align: right; }

/* Team */
.section-team { background: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.team-card { padding: 28px 24px; border: 1px solid #e4ebf2; border-radius: 19px; background: #fff; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.team-card:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(20,44,78,.08); }
.team-linkedin { display: inline-flex; margin-top: 12px; padding: 6px 14px; border: 1px solid #d6e3f3; border-radius: 999px; color: #0a66c2; font-size: 13px; font-weight: 650; text-decoration: none; transition: background .2s ease; }
.team-linkedin:hover, .team-linkedin:focus-visible { background: #eef5fd; }
.team-avatar { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg,#155dfc,#5b8dff); color: #fff; font-size: 20px; font-weight: 750; letter-spacing: .5px; box-shadow: 0 10px 24px rgba(21,93,252,.25); }
.team-card h3 { margin: 0 0 4px; color: var(--navy); font-size: 17px; }
.team-card p { margin: 0; color: #6b7e94; font-size: 14px; }
.team-card-supervisor { background: linear-gradient(180deg,#fff,#f4f8ff); }
.team-card-supervisor .team-avatar { background: var(--navy); }
html[dir="rtl"] .team-card { direction: rtl; }
/* Same phone proportions for every screenshot */
.screen-phone img { aspect-ratio: 430 / 958; object-fit: cover; object-position: top center; }

/* Demo player: smaller play control */
.video-play { padding: 16px; gap: 10px; }
.video-play-icon { width: 46px; height: 46px; padding-left: 3px; box-shadow: 0 0 0 6px rgba(21,93,252,.2), 0 10px 24px rgba(21,93,252,.35); }
.video-play-icon svg { width: 18px; height: 18px; }
.video-play:hover .video-play-icon { box-shadow: 0 0 0 9px rgba(21,93,252,.22), 0 12px 28px rgba(21,93,252,.4); }
.video-play-text { padding: 7px 12px; border-radius: 10px; }
.video-play-text strong { font-size: 13px; }
.video-play-text small { font-size: 11px; }

/* Subtitles drawn over the video */
.video-subtitle { position: absolute; left: 8px; right: 8px; bottom: 70px; z-index: 2; display: flex; justify-content: center; padding: 0 6%; pointer-events: none; }
.video-subtitle span { max-width: 100%; padding: 6px 14px; border-radius: 8px; background: rgba(8,20,40,.82); color: #fff; font-size: clamp(13px, 1.45vw, 17px); font-weight: 600; line-height: 1.5; text-align: center; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.video-subtitle[lang="ar"] span { font-family: "ShopPad Cairo", Tahoma, Arial, sans-serif; font-size: clamp(14px, 1.6vw, 19px); }

/* Caption row with subtitle switch */
.video-meta { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; }
.video-meta .video-caption { margin: 0 4px; }
.subtitle-switch { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid rgba(161,195,255,.22); border-radius: 10px; background: rgba(255,255,255,.05); direction: ltr; }
.subtitle-switch-label { padding: 0 7px 0 6px; color: #8fa9cc; font-size: 10px; font-weight: 800; letter-spacing: .6px; }
.subtitle-switch button { min-height: 28px; padding: 0 11px; border: 0; border-radius: 7px; background: transparent; color: #b6c8df; font-size: 12px; font-weight: 650; cursor: pointer; transition: background .2s ease, color .2s ease; }
.subtitle-switch button:hover { color: #fff; }
.subtitle-switch button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.subtitle-switch button[lang="ar"] { font-family: "ShopPad Cairo", Tahoma, Arial, sans-serif; }

@media (max-width: 720px) {
  .video-play { padding: 10px; }
  .video-play-icon { width: 40px; height: 40px; }
  .video-subtitle { bottom: 62px; padding: 0 3%; }
  .video-subtitle span { padding: 4px 9px; font-size: 12px; }
}

/* Compact subtitles */
.video-subtitle { bottom: 66px; padding: 0 12%; }
.video-subtitle span { padding: 3px 9px; border-radius: 6px; background: rgba(8,20,40,.72); font-size: clamp(11px, .95vw, 13px); font-weight: 500; line-height: 1.45; }
.video-subtitle[lang="ar"] span { font-size: clamp(12px, 1.05vw, 14px); }
@media (max-width: 720px) {
  .video-subtitle { bottom: 54px; padding: 0 6%; }
  .video-subtitle span { padding: 2px 7px; font-size: 10px; }
  .video-subtitle[lang="ar"] span { font-size: 11px; }
}

/* Mission / vision / objectives */
.mvo-grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 18px; direction: ltr; }
.mvo-card { padding: 26px; border: 1px solid #e4ebf2; border-radius: 19px; background: linear-gradient(180deg,#fbfdff,#f4f8fe); }
.mvo-label { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 1.1px; }
.mvo-card p { margin: 12px 0 0; color: #314a67; font-size: 15px; line-height: 1.8; }
.mvo-card ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.mvo-card li { display: flex; gap: 10px; color: #314a67; font-size: 14px; line-height: 1.6; }
.mvo-card li::before { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: #e9f0ff; color: var(--blue); font-size: 10px; content: "✓"; }

/* Why ShopPad: audience, comparison, technology */
.section-edge { background: var(--background); }
.edge-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; direction: ltr; }
.edge-card, .tech-block { padding: 28px; border: 1px solid #e4ebf2; border-radius: 19px; background: #fff; }
.edge-card h3, .tech-block h3 { margin: 0 0 16px; color: var(--navy); font-size: 19px; letter-spacing: -.3px; }
.audience-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.audience-list li { padding: 11px 14px; border-radius: 11px; background: #f5f8fc; color: #314a67; font-size: 14px; font-weight: 600; }
.edge-compare table { width: 100%; border-collapse: collapse; font-size: 14px; }
.edge-compare th, .edge-compare td { padding: 11px 10px; border-bottom: 1px solid #edf1f6; text-align: start; }
.edge-compare thead th { color: #8495a8; font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.edge-compare thead th:nth-child(2) { color: var(--blue); }
.edge-compare tbody th { color: #6b7e94; font-weight: 600; }
.edge-compare tbody td:nth-child(2) { color: var(--navy); font-weight: 700; background: #f3f7ff; }
.edge-compare tbody td:nth-child(3) { color: #8a99aa; }
.edge-compare tbody tr:last-child th, .edge-compare tbody tr:last-child td { border-bottom: 0; }
.tech-block { margin-top: 18px; }
.tech-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px; }
.tech-list li { display: flex; flex-direction: column; gap: 3px; padding-inline-start: 14px; border-inline-start: 2px solid #d6e3fb; }
.tech-list strong { color: var(--navy); font-size: 15px; }
.tech-list span { color: #6b7e94; font-size: 13.5px; line-height: 1.65; }
.team-card h3:last-child { margin-bottom: 0; }

html[dir="rtl"] .mvo-card, html[dir="rtl"] .edge-card, html[dir="rtl"] .tech-block { direction: rtl; text-align: right; }

@media (max-width: 980px) {
  .mvo-grid { grid-template-columns: 1fr 1fr; }
  .mvo-objectives { grid-column: 1 / -1; }
  .edge-grid { grid-template-columns: 1fr; }
  .tech-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .mvo-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .edge-card, .tech-block, .mvo-card { padding: 22px 18px; }
  .edge-compare table { font-size: 12.5px; }
  .edge-compare th, .edge-compare td { padding: 9px 6px; }
  .tech-list { grid-template-columns: 1fr; }
}

/* Arabic: mirror the page layout (text on the right, visuals on the left) */
html[dir="rtl"] .nav-shell,
html[dir="rtl"] .nav-actions,
html[dir="rtl"] .hero,
html[dir="rtl"] .strip-inner,
html[dir="rtl"] .about-grid,
html[dir="rtl"] .principles-grid,
html[dir="rtl"] .mvo-grid,
html[dir="rtl"] .section-intro,
html[dir="rtl"] .solution-grid,
html[dir="rtl"] .feature-grid,
html[dir="rtl"] .edge-grid,
html[dir="rtl"] .demo-grid,
html[dir="rtl"] .contact-grid,
html[dir="rtl"] .footer-main,
html[dir="rtl"] .footer-bottom { direction: rtl; }
html[dir="rtl"] .hero-visual { direction: ltr; }
html[dir="rtl"] .feature-grid { border-left: 0; border-right: 1px solid var(--line); }
html[dir="rtl"] .feature-card { border-right: 0; border-left: 1px solid var(--line); }

/* ===== Design refresh ===== */

.section-intro h2, .section-heading h2 { text-wrap: balance; }

/* Solutions: illustrative content instead of grey placeholders */
.scan-toast { position: absolute; top: 16px; left: 16px; padding: 9px 13px 9px 9px; border: 1px solid #e3ebf5; border-radius: 12px; background: #fff; box-shadow: 0 10px 26px rgba(20,44,78,.09); display: flex; align-items: center; gap: 10px; animation: toast-in 3.3s ease-in-out infinite; }
.scan-toast i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #e6f7ef; color: #16855f; font-size: 13px; font-style: normal; font-weight: 800; }
.scan-toast span { display: flex; flex-direction: column; gap: 1px; }
.scan-toast b { color: #203a59; font-size: 12px; }
.scan-toast small { color: #7b8ca0; font-size: 11px; }
.scan-total { position: absolute; right: 16px; bottom: 34px; min-width: 150px; padding: 12px 14px; border-radius: 13px; background: #132d50; color: #fff; box-shadow: 0 14px 30px rgba(19,45,80,.25); display: flex; flex-direction: column; gap: 2px; }
.scan-total small { color: #9fb6d6; font-size: 9px; font-weight: 750; letter-spacing: 1px; }
.scan-total b { font-size: 19px; letter-spacing: -.4px; }
.scan-pay { margin-top: 6px; display: flex; gap: 5px; }
.scan-pay em { padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.12); color: #dce8fa; font-size: 10px; font-style: normal; font-weight: 600; }
@keyframes toast-in { 0%, 8% { opacity: 0; transform: translateY(-6px); } 18%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scan-toast { animation: none; } }

.catalogue-visual { padding: 6px 14px; background: #fff; box-shadow: 0 10px 26px rgba(20,44,78,.05); }
.catalogue-row { height: 40px; gap: 11px; }
.catalogue-row i { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; }
.catalogue-row b { width: auto; height: auto; background: none; color: #2a4361; font-size: 12.5px; font-weight: 650; }
.catalogue-row small { width: auto; height: auto; padding: 3px 9px; border-radius: 999px; background: #e9f7f0; color: #16855f; font-size: 10.5px; font-weight: 650; white-space: nowrap; }
.catalogue-row.is-low small { background: #fff1e5; color: #b9612a; }
.catalogue-row.is-low i { background: #fff1e5; color: #b9612a; }

.report-tooltip { top: 2px; right: 26px; width: auto; height: auto; padding: 6px 10px; gap: 0; }
.report-tooltip small { color: #8a9aad; font-size: 9px; font-weight: 650; }
.report-tooltip b, .report-tooltip b:last-child { width: auto; height: auto; background: none; color: var(--blue); font-size: 11.5px; }
.reports-visual i:nth-of-type(4) { background: linear-gradient(180deg,#155dfc,#9fc0ff); }

/* Feature cards: livelier hover */
.feature-icon { transition: transform .25s ease; }
.feature-card:hover .feature-icon { transform: translateY(-3px) scale(1.06); }
.feature-card:hover h3 { color: var(--blue-dark); }


/* Footer */
.site-footer { border-top: 1px solid #edf1f5; }
.footer-grid { padding-block: 56px 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-about p { max-width: 330px; margin: 14px 0 0; color: #74869b; font-size: 13.5px; line-height: 1.8; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h4 { margin: 4px 0 6px; color: var(--navy); font-size: 12px; font-weight: 750; letter-spacing: 1px; text-transform: uppercase; }
.footer-col a { color: #5d7088; font-size: 13.5px; transition: color .2s ease; }
.footer-col a:hover { color: var(--blue); }
html[dir="rtl"] .footer-grid { direction: rtl; text-align: right; }
html[dir="rtl"] .footer-col h4 { letter-spacing: 0; }
html[dir="rtl"] .scan-toast { direction: rtl; }
html[dir="rtl"] .catalogue-visual { direction: rtl; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; padding-block: 40px 28px; gap: 28px; }
  .footer-about { grid-column: 1 / -1; }
  .scan-total { right: 12px; bottom: 30px; min-width: 130px; }
  .scan-total b { font-size: 16px; }
  .scan-toast { top: 12px; left: 12px; }
}
html[dir="rtl"] .scan-toast { left: auto; right: 16px; padding: 9px 9px 9px 13px; }
html[dir="rtl"] .scan-total { right: auto; left: 16px; direction: rtl; }
html[dir="rtl"] .scan-visual-tag { right: auto; left: 12px; }
@media (max-width: 720px) {
  .solution-featured .solution-visual { min-height: 310px; align-items: flex-start; padding-top: 104px; }
  .solution-featured .scan-visual-frame { transform: scale(1.1); }
}

/* Native subtitles, used only while the video is fullscreen */
#demo-video::cue { background: rgba(9,20,38,.78); color: #fff; font-family: "Segoe UI", "ShopPad Cairo", sans-serif; font-size: clamp(14px, 1.2vw, 22px); line-height: 1.5; }

/* ===== Editorial refresh: calmer labels, readable type, one icon style ===== */
/* Section labels: sentence case, no dots */
.eyebrow, .eyebrow-plain { gap: 0; color: var(--blue-dark); font-size: 14px; font-weight: 650; letter-spacing: 0; text-transform: none; }
.eyebrow-light { color: #9cc0ff; }
.eyebrow-dot { display: none; }
.solution-number { color: #5f7590; font-size: 13px; font-weight: 650; letter-spacing: 0; text-transform: none; }

/* Headings without trailing full stops read calmer; keep them tight */
.section-intro h2, .section-heading h2, .contact-copy h2 { letter-spacing: -1.4px; text-wrap: balance; }
.section-intro { align-items: end; }

/* Readable body sizes */
.hero-description { font-size: 18px; line-height: 1.75; }
.hero-note { font-size: 14px; }
.about-copy p { font-size: 16px; line-height: 1.8; }
.about-copy .lead { font-size: 19px; }
.section-intro > p { font-size: 16px; line-height: 1.75; max-width: 380px; }
.solution-card h3 { font-size: 22px; letter-spacing: -.4px; }
.solution-card p { font-size: 15px; line-height: 1.75; }
.feature-card h3 { font-size: 18px; }
.feature-card p { font-size: 15px; line-height: 1.7; }
.feature-footnote { font-size: 13px; }
.mvo-card p, .mvo-card li { font-size: 15.5px; }
.mvo-label { font-size: 14px; letter-spacing: 0; text-transform: none; }
.demo-copy p { font-size: 16px; line-height: 1.8; }
.demo-points li { font-size: 15px; }
.contact-copy > p { font-size: 16px; line-height: 1.8; max-width: 460px; }
.contact-method small { font-size: 12px; letter-spacing: 0; text-transform: none; }
.contact-detail { font-size: 15px; }
.form-heading h3 { font-size: 20px; }
.contact-form label { font-size: 14px; }
.contact-form input, .contact-form textarea { font-size: 15px; }
.contact-form input { height: 48px; }
.strip-heading { font-size: 13px; letter-spacing: 0; text-transform: none; }
.strip-item { font-size: 15px; }
.audience-list li { font-size: 15px; }
.edge-compare table { font-size: 15px; }
.footer-bottom { font-size: 13px; }

/* One icon style: line icons on a single soft blue tile */
.feature-icon, .solution-icon, .icon-soft, .icon-filled { width: 42px; height: 42px; border-radius: 12px; background: #eef3fd; color: var(--blue); }
.feature-icon svg, .solution-icon svg { width: 21px; height: 21px; }
.strip-item i { width: 34px; height: 34px; border-radius: 10px; color: var(--blue); }
.strip-item i svg { width: 18px; height: 18px; }
.contact-method-icon { width: 42px; height: 42px; }
.contact-method-icon svg { width: 19px; height: 19px; }
.tile-icon svg, .phone-tabs svg, .cart-bag svg { display: block; }
.phone-tabs span { gap: 2px; }
.catalogue-row i { background: #e9f7f0; }
.catalogue-row.is-low i { background: #fde8d8; }
.catalogue-row i::before { width: 8px; height: 8px; border-radius: 50%; background: #16a36f; content: ""; }
.catalogue-row.is-low i::before { background: #e07a35; }

/* Feature grid: quieter hover, no colour jumps */
.feature-card:hover h3 { color: inherit; }
.feature-card:hover .feature-icon { transform: none; }

/* Arrows point the reading direction */
html[dir="rtl"] .button-arrow, html[dir="rtl"] .inline-link span:last-child { display: inline-block; transform: scaleX(-1); }
.text-link:hover span:last-child { transform: translateY(2px); }
.inline-link:hover span:last-child { transform: translateX(3px); }
html[dir="rtl"] .inline-link:hover span:last-child { transform: scaleX(-1) translateX(3px); }

/* Hero mock: no floating badges any more, keep the illustration clean */
.hero-note { gap: 0; }

@media (max-width: 720px) {
  .hero-description { font-size: 16px; }
  .about-copy .lead { font-size: 17px; }
  .solution-card h3 { font-size: 19px; }
  .feature-card p, .solution-card p, .section-intro > p, .demo-copy p, .contact-copy > p { font-size: 15px; }
}

/* Team contact links + external web-app links */
.team-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.team-links .team-linkedin { margin-top: 0; }
html[dir="rtl"] .text-link-external span[aria-hidden="true"],
html[dir="rtl"] .button-arrow-external { transform: scaleX(-1); }

/* Contact: one row per team member */
.contact-methods#contact-team { gap: 22px; }
.contact-person { display: flex; align-items: flex-start; gap: 14px; }
.contact-person-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #eef3fd; color: var(--blue); font-size: 14px; font-weight: 750; }
.contact-person > div { display: flex; flex-direction: column; gap: 6px; }
.contact-person strong { font-size: 16px; color: var(--navy, #13294b); }
.contact-person .contact-detail { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #3c4b5e; text-decoration: none; }
.contact-person .contact-detail:hover { color: var(--blue); }
.contact-person .contact-detail svg { color: var(--blue); flex: none; }
.contact-in { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 3px; background: #0a66c2; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; }
#footer-linkedin { display: contents; }

/* Solutions: the whole section fits in one screen on desktop */
@media (min-width: 981px) {
  .section-solutions { min-height: calc(100vh - 72px); padding-block: 64px; display: flex; align-items: center; }
  .section-solutions > .section-wrap { width: min(var(--content), calc(100% - 64px)); }
  .section-solutions .section-intro { margin-bottom: 26px; }
  .section-solutions .section-intro h2 { font-size: clamp(30px, 3.2vw, 40px); }
  .section-solutions .solution-grid { gap: 16px; }
  .section-solutions .solution-card { padding: 20px 24px; }
  .section-solutions .solution-card h3 { margin: 10px 0 6px; font-size: 19px; }
  .section-solutions .solution-card p { font-size: 14px; line-height: 1.6; }
  .section-solutions .solution-icon { width: 36px; height: 36px; }
  .section-solutions .solution-featured .solution-visual { min-height: 0; margin-top: 18px; }
  .section-solutions .catalogue-visual { margin-top: 14px; padding: 2px 12px; }
  .section-solutions .catalogue-row { padding-block: 7px; }
  .section-solutions .reports-visual { height: 72px; margin-top: 12px; padding-top: 8px; }
  .section-solutions .reports-visual i:nth-of-type(1) { height: 22px; }
  .section-solutions .reports-visual i:nth-of-type(2) { height: 38px; }
  .section-solutions .reports-visual i:nth-of-type(3) { height: 28px; }
  .section-solutions .reports-visual i:nth-of-type(4) { height: 52px; }
  .section-solutions .reports-visual i:nth-of-type(5) { height: 38px; }
  .section-solutions .reports-visual::before { top: 18px; }
  .section-solutions .reports-visual::after { top: 42px; }
}
@media (min-width: 981px) {
  .section-solutions { padding-block: 48px; }
  .section-solutions .solution-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .section-solutions .solution-featured { grid-row: auto; }
  .section-solutions .solution-card { display: flex; flex-direction: column; }
  .section-solutions .solution-card > .solution-visual,
  .section-solutions .solution-card > .catalogue-visual,
  .section-solutions .solution-card > .reports-visual { margin-top: auto; }
  .section-solutions .solution-card p { margin-bottom: 18px; }
  .section-solutions .solution-featured .solution-visual { flex: none; height: 132px; min-height: 0; padding-top: 0; align-items: center; }
  .section-solutions .solution-featured .scan-visual-frame { transform: scale(.95); }
  .section-solutions .scan-total { transform: scale(.85); transform-origin: right bottom; }
  html[dir="rtl"] .section-solutions .scan-total { transform-origin: left bottom; }
  .section-solutions .catalogue-visual { height: 132px; display: flex; flex-direction: column; justify-content: center; }
  .section-solutions .reports-visual { height: 132px; padding-top: 28px; }
  .section-solutions .reports-visual i:nth-of-type(1) { height: 34px; }
  .section-solutions .reports-visual i:nth-of-type(2) { height: 58px; }
  .section-solutions .reports-visual i:nth-of-type(3) { height: 44px; }
  .section-solutions .reports-visual i:nth-of-type(4) { height: 80px; }
  .section-solutions .reports-visual i:nth-of-type(5) { height: 58px; }
  .section-solutions .reports-visual::before { top: 40px; }
  .section-solutions .reports-visual::after { top: 78px; }
}
@media (min-width: 981px) {
  .section-solutions .solution-featured .scan-visual { justify-content: space-evenly; gap: 12px; padding: 0 12px; }
  .section-solutions .scan-total { position: static; inset: auto; transform: none; padding: 10px 12px; }
  .section-solutions .scan-total b { font-size: 16px; }
  .section-solutions .scan-visual .scan-line { left: 14%; right: auto; width: 32%; }
  html[dir="rtl"] .section-solutions .scan-visual .scan-line { left: auto; right: 14%; }
  .section-solutions .scan-visual-frame { flex: none; }
}

/* ===== Every section = one screen on desktop (hero untouched) ===== */
@media (min-width: 981px) {
  main > section.section { min-height: calc(100vh - 72px); padding-block: 48px; display: flex; flex-direction: column; justify-content: center; }
  main > section.section > .section-wrap { width: min(var(--content), calc(100% - 64px)); }
  main > section.section .section-intro { margin-bottom: 26px; }
  main > section.section .section-intro h2,
  main > section.section .section-heading h2 { font-size: clamp(30px, 3.2vw, 40px); }
}
@media (min-width: 981px) {
  /* About */
  #about .mvo-grid { margin-top: 30px; gap: 16px; }
  #about .mvo-card { padding: 20px 22px; }
  #about .mvo-card p, #about .mvo-card li { font-size: 14px; line-height: 1.6; }
  #about .about-copy .lead { font-size: 17px; }
  #about .about-copy p { margin-block: 0 10px; }

  /* Features */
  #features .feature-card { min-height: 0; padding: 20px 22px; }
  #features .feature-card h3 { margin: 12px 0 5px; font-size: 17px; }
  #features .feature-card p { font-size: 14px; line-height: 1.6; }
  #features .feature-icon { width: 38px; height: 38px; }
  #features .feature-footnote { margin-top: 12px; }

  /* Who it's for / compare / technical: three boxes in one row */
  #why-shoppad .section-wrap { display: grid; grid-template-columns: .85fr 1.25fr 1fr; gap: 16px; align-items: stretch; }
  #why-shoppad .section-intro { grid-column: 1 / -1; margin-bottom: 10px; }
  #why-shoppad .edge-grid { display: contents; }
  #why-shoppad .edge-card, #why-shoppad .tech-block { margin: 0; padding: 20px 22px; }
  #why-shoppad .edge-card h3, #why-shoppad .tech-block h3 { margin-bottom: 12px; font-size: 17px; }
  #why-shoppad .audience-list { gap: 7px; }
  #why-shoppad .audience-list li { padding: 8px 12px; font-size: 14px; }
  #why-shoppad .edge-compare table { font-size: 13.5px; }
  #why-shoppad .edge-compare th, #why-shoppad .edge-compare td { padding: 8px 8px; }
  #why-shoppad .tech-list { grid-template-columns: 1fr; gap: 9px; }
  #why-shoppad .tech-list li { gap: 1px; padding-inline-start: 11px; }
  #why-shoppad .tech-list strong { font-size: 14px; }
  #why-shoppad .tech-list span { font-size: 12.5px; line-height: 1.45; }
}
@media (min-width: 981px) {
  main > section#why-shoppad { padding-block: 30px; }
  #why-shoppad .tech-list { gap: 7px; }
  #why-shoppad .audience-list li { padding: 7px 12px; }
}

/* ===== Inside the app: real screenshots + product images ===== */
.section-screens { background: var(--background); }
.screens-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; justify-items: center; }
.screen-item { margin: 0; width: 100%; max-width: 190px; }
.screen-phone { display: block; padding: 7px; border: 1px solid #dfe7f1; border-radius: 30px; background: linear-gradient(145deg, #fff, #edf3fa); box-shadow: 0 20px 45px rgba(25,57,99,.16), inset 0 0 0 2px #fff; }
.screen-frame { display: block; padding: 4px; border: 2px solid #1f3554; border-radius: 24px; background: #f8fafd; overflow: hidden; }
.screen-status { display: block; height: 14px; padding: 0 8px; color: #435770; font-size: 7px; font-weight: 700; line-height: 14px; }
.screen-view { position: relative; display: block; aspect-ratio: 600 / 1298; overflow: hidden; border-radius: 0 0 19px 19px; background: #fff; }
.screen-view img { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; opacity: 0; animation: screen-swap 9s ease-in-out infinite; }
.screen-view img:nth-child(1) { animation-delay: -1s; }
.screen-view img:nth-child(2) { animation-delay: -5.5s; }
.screen-item:nth-child(2) .screen-view img:nth-child(1) { animation-delay: -1.8s; }
.screen-item:nth-child(2) .screen-view img:nth-child(2) { animation-delay: -6.3s; }
.screen-item:nth-child(3) .screen-view img:nth-child(1) { animation-delay: -2.6s; }
.screen-item:nth-child(3) .screen-view img:nth-child(2) { animation-delay: -7.1s; }
.screen-item:nth-child(4) .screen-view img:nth-child(1) { animation-delay: -3.4s; }
.screen-item:nth-child(4) .screen-view img:nth-child(2) { animation-delay: -7.9s; }
@keyframes screen-swap {
  0% { opacity: 0; transform: translateX(12%); }
  6%, 44% { opacity: 1; transform: translateX(0); }
  50% { opacity: 0; transform: translateX(-12%); }
  100% { opacity: 0; transform: translateX(-12%); }
}
.screen-item figcaption { margin-top: 12px; display: grid; gap: 2px; text-align: center; }
.screen-item figcaption strong { color: #263f5e; font-size: 15px; }
.screen-item figcaption span { color: #6b7d92; font-size: 13px; line-height: 1.45; }
.products-strip { margin-top: 26px; display: flex; align-items: center; gap: 20px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.products-strip-label { flex: 0 0 210px; color: #556a83; font-size: 13px; font-weight: 600; line-height: 1.45; }
.products-strip-images { flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.products-strip-images img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 10px; transition: transform .25s ease; }
.products-strip-images img:hover { transform: translateY(-3px) scale(1.06); }
@media (min-width: 981px) { .screen-item { max-width: 170px; } .section-screens .section-intro { margin-bottom: 20px; } }
@media (max-width: 980px) {
  .screens-row { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
  .products-strip { flex-direction: column; align-items: stretch; gap: 10px; }
  .products-strip-label { flex: none; }
  .products-strip-images { grid-template-columns: repeat(6, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .screen-view img { animation: none; }
  .screen-view img:first-child { opacity: 1; }
}
@media (min-width: 981px) and (max-height: 820px) {
  .screen-item { max-width: 146px; }
  main > section#screens { padding-block: 30px; }
  .products-strip { margin-top: 18px; padding: 8px 16px; }
}

/* ===== Inside the app: one phone that stays on screen and walks through the app as you scroll ===== */
.story { position: relative; height: calc(var(--story-steps, 4) * 80vh + 60vh); margin-top: 10px; }
.story-sticky { position: sticky; top: 72px; height: calc(100vh - 72px); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-block: 18px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 90px); min-height: 0; }
.story-texts { display: grid; justify-self: end; width: 100%; max-width: 480px; }
.story-text { grid-area: 1 / 1; align-self: center; opacity: 0; transform: translateY(34px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.story-text.is-past { transform: translateY(-34px); }
.story-text.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .08s; }
.story-num { display: block; margin-bottom: -6px; font-size: clamp(64px, 8vw, 104px); font-weight: 800; line-height: 1; letter-spacing: -3px; color: transparent; -webkit-text-stroke: 1.5px rgba(21,93,252,.3); background: linear-gradient(180deg, rgba(21,93,252,.18), rgba(21,93,252,0)); -webkit-background-clip: text; background-clip: text; }
.story-label { display: inline-block; margin-bottom: 10px; color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .8px; text-transform: uppercase; }
.story-text h3 { margin: 0 0 14px; color: var(--navy); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.8px; }
.story-text h3 span { display: block; }
.story-accent { background: linear-gradient(90deg, var(--blue), #4f8cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[dir="rtl"] .story-label, html[dir="rtl"] .story-text h3 { letter-spacing: 0; }
html[dir="rtl"] .story-text h3 { line-height: 1.35; }
.story-text p { margin: 0 0 20px; color: #5a6e86; font-size: 16px; line-height: 1.75; }
.story-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.story-chips li { padding: 7px 14px; border: 1px solid #d6e3f6; border-radius: 999px; background: #fff; color: #2f4a6d; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.story-text.is-active .story-chips li { opacity: 1; transform: none; }
.story-text.is-active .story-chips li:nth-child(1) { transition-delay: .3s; }
.story-text.is-active .story-chips li:nth-child(2) { transition-delay: .4s; }
.story-text.is-active .story-chips li:nth-child(3) { transition-delay: .5s; }

.story-stage { position: relative; display: grid; place-items: center; min-height: 0; perspective: 1400px; }
.story-glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(21,93,252,.24), rgba(21,93,252,0) 68%); animation: story-glow 6s ease-in-out infinite; pointer-events: none; }
.story-orbit { position: absolute; width: min(470px, 94%); aspect-ratio: 1; border: 1.5px dashed rgba(21,93,252,.2); border-radius: 50%; animation: story-spin 60s linear infinite; pointer-events: none; }
.story-orbit::after { content: ""; position: absolute; top: 12%; left: 12%; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(21,93,252,.15); }
.story-phone { --ry: 0deg; --rx: 0deg; --rz: 0deg; position: relative; width: clamp(200px, calc((100vh - 72px - 150px) / 2.2), 290px); transform: rotateY(var(--ry)) rotateX(var(--rx)) rotateZ(var(--rz)); transition: transform .25s ease-out; }
.story-bezel { position: relative; padding: 10px; border-radius: 48px; background: linear-gradient(145deg, #1d2a40, #0a1220 55%, #1a2538); box-shadow: 0 0 0 1.5px #34445e, 0 50px 90px rgba(15,35,70,.32), 0 16px 30px rgba(15,35,70,.18); animation: story-float 6s ease-in-out infinite; }
.story-bezel::before, .story-bezel::after { content: ""; position: absolute; width: 4px; border-radius: 3px; background: #1d2a40; }
.story-bezel::before { top: 22%; left: -4px; height: 56px; }
.story-bezel::after { top: 28%; right: -4px; height: 84px; }
.story-screen { position: relative; overflow: hidden; border-radius: 38px; background: #f4f6fa; isolation: isolate; }
.story-status { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 24px; background: #f4f6fa; color: #0f172a; font-size: 11px; font-weight: 700; direction: ltr; }
.story-island { position: absolute; top: 7px; left: 50%; width: 30%; height: 20px; border-radius: 12px; background: #05080f; transform: translateX(-50%); }
.story-icons { display: flex; align-items: flex-end; gap: 2px; height: 10px; }
.story-icons b { display: block; width: 3px; border-radius: 1px; background: #0f172a; }
.story-icons b:nth-child(1) { height: 5px; } .story-icons b:nth-child(2) { height: 7px; } .story-icons b:nth-child(3) { height: 10px; }
.story-shots { position: relative; aspect-ratio: 600 / 1298; overflow: hidden; background: #fff; }
.story-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transform: translateX(100%); transition: transform .6s cubic-bezier(.32,.72,0,1), filter .6s ease; z-index: 1; }
.story-shot.is-active { transform: translateX(0); z-index: 2; box-shadow: -10px 0 30px rgba(15,35,70,.12); }
.story-shot.is-behind { transform: translateX(-28%); filter: brightness(.86); z-index: 1; }
.story-tap { position: absolute; z-index: 5; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(21,93,252,.28); border: 2px solid rgba(21,93,252,.75); opacity: 0; pointer-events: none; }
.story-tap.is-tapping { animation: story-tap .75s ease-out; }

.story-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: min(640px, 100%); margin-inline: auto; padding-bottom: 10px; }
.story-step { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 6px; border: 0; background: none; color: #7a8ca3; font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer; transition: color .3s ease; }
.story-step-num { font-size: 11px; font-weight: 800; color: #a6b4c6; transition: color .3s ease; }
.story-step:hover, .story-step.is-active { color: var(--navy); }
.story-step.is-active .story-step-num { color: var(--blue); }
.story-bar { position: absolute; inset: auto 0 0; height: 3px; border-radius: 3px; background: #e1e9f4; overflow: hidden; }
.story-bar i { display: block; width: 0; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue), #4f8cff); }
html[dir="rtl"] .story-bar i { margin-inline-start: 0; }

@keyframes story-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes story-glow { 0%, 100% { transform: scale(.92); opacity: .75; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes story-spin { to { transform: rotate(360deg); } }
@keyframes story-tap { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }

@media (max-width: 980px) {
  .story { height: calc(var(--story-steps, 4) * 85svh + 40svh); }
  .story-sticky { top: var(--story-top, 64px); height: calc(100svh - var(--story-top, 64px)); gap: 12px; padding-block: 10px; }
  .story-grid { grid-template-columns: 1fr; gap: 14px; align-content: center; }
  .story-stage { order: -1; }
  .story-phone { width: min(46vw, calc((100svh - var(--story-top, 64px) - 330px) / 2.2)); min-width: 150px; }
  .story-bezel { padding: 7px; border-radius: 34px; }
  .story-screen { border-radius: 28px; }
  .story-status { height: 22px; padding: 0 16px; font-size: 9px; }
  .story-island { top: 5px; height: 15px; }
  .story-texts { justify-self: center; max-width: 520px; text-align: center; }
  .story-num { font-size: 40px; margin-bottom: 0; letter-spacing: -1px; }
  .story-label { margin-bottom: 4px; font-size: 11.5px; }
  .story-text h3 { margin-bottom: 8px; font-size: 22px; }
  .story-text h3 span { display: inline; }
  .story-text p { margin: 0; font-size: 14px; line-height: 1.6; }
  .story-chips { display: none; }
  .story-step { flex-direction: column; gap: 0; padding: 4px 2px; font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-bezel, .story-glow, .story-orbit { animation: none; }
  .story-phone { transform: none; }
  .story-chips li { opacity: 1; transform: none; }
}
.story { overflow-x: clip; }
html[dir="rtl"] .story-shot { transform: translateX(-100%); }
html[dir="rtl"] .story-shot.is-active { transform: translateX(0); box-shadow: 10px 0 30px rgba(15,35,70,.12); }
html[dir="rtl"] .story-shot.is-behind { transform: translateX(28%); }

/* ===== Drawn app screens inside the story phone (sharp at any size, each one moves) ===== */
.story-shots { container-type: inline-size; background: #f4f6fa; }
.app { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .7em; padding: .6em 1em 0; background: #f4f6fa; color: #0f1f38; font-size: 4.8cqw; line-height: 1.3; text-align: start; overflow: hidden; }
.app img { display: block; width: 2.7em; height: 2.7em; object-fit: contain; flex: none; }
.ap-ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ap-head { display: flex; align-items: center; justify-content: space-between; gap: .5em; padding-top: .2em; }
.ap-head b { font-size: 1.55em; font-weight: 800; letter-spacing: -.02em; }
.ap-pill { padding: .25em .7em; border-radius: 99px; background: var(--blue); color: #fff; font-size: .72em; font-weight: 700; }
.ap-search { display: flex; align-items: center; gap: .5em; padding: .65em .8em; border: 1px solid #dfe6f0; border-radius: .8em; background: #fff; color: #8496ad; font-size: .82em; }
.ap-list { position: relative; display: grid; gap: .45em; align-content: start; flex: 1; min-height: 0; }
.ap-row, .ap-line { display: flex; align-items: center; gap: .6em; padding: .5em .6em; border-radius: .8em; background: #fff; box-shadow: 0 1px 2px rgba(15,35,70,.06); }
.ap-row-text { display: grid; flex: 1; min-width: 0; }
.ap-row-text b { overflow: hidden; font-size: .82em; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.ap-row-text small { color: #7b8ca2; font-size: .7em; }
.ap-badge { padding: .2em .55em; border-radius: 99px; font-size: .66em; font-weight: 700; white-space: nowrap; }
.ap-badge.ok { background: #e8f6ee; color: #18804a; }
.ap-badge.low { background: #fff1e0; color: #c26a06; }
.ap-swap { position: relative; display: grid; justify-items: end; }
.ap-swap > * { grid-area: 1 / 1; }
.ap-before { opacity: 0; }
.ap-touch { display: none; }
.ap-toast { position: absolute; inset-inline: 1em; bottom: 5.4em; z-index: 4; display: flex; align-items: center; gap: .5em; padding: .7em .8em; border-radius: .8em; background: #0f1f38; color: #fff; font-size: .74em; font-weight: 600; opacity: 0; transform: translateY(1em); }
.ap-toast .ap-ico { color: #4ade80; }
.ap-fab { position: absolute; inset-inline-end: 1em; bottom: 5em; z-index: 3; display: flex; align-items: center; gap: .3em; padding: .65em 1em; border-radius: 99px; background: var(--blue); color: #fff; font-size: .8em; font-weight: 700; box-shadow: 0 .5em 1.2em rgba(21,93,252,.35); }
.ap-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); margin: auto -1em 0; padding: .55em .3em .9em; border-top: 1px solid #e3e9f1; background: #fff; }
.ap-tab { display: grid; justify-items: center; gap: .15em; color: #93a2b6; }
.ap-tab i { font-size: .58em; font-style: normal; font-weight: 600; }
.ap-tab.is-on { color: var(--blue); }

.ap-camera { position: relative; flex: none; height: 13em; border-radius: 1em; background: radial-gradient(circle at 50% 40%, #24344f, #0c1628); overflow: hidden; }
.ap-corner { position: absolute; inset: 1.4em 2.2em; border: .18em solid transparent; border-radius: .6em; background: linear-gradient(#fff,#fff) top left / 1.4em .18em no-repeat, linear-gradient(#fff,#fff) top left / .18em 1.4em no-repeat, linear-gradient(#fff,#fff) top right / 1.4em .18em no-repeat, linear-gradient(#fff,#fff) top right / .18em 1.4em no-repeat, linear-gradient(#fff,#fff) bottom left / 1.4em .18em no-repeat, linear-gradient(#fff,#fff) bottom left / .18em 1.4em no-repeat, linear-gradient(#fff,#fff) bottom right / 1.4em .18em no-repeat, linear-gradient(#fff,#fff) bottom right / .18em 1.4em no-repeat; background-origin: border-box; }
.ap-barcode { position: absolute; inset: 4em 3.6em; border-radius: .3em; background: #fff repeating-linear-gradient(90deg, #0f1f38 0 .12em, transparent .12em .3em, #0f1f38 .3em .36em, transparent .36em .5em, #0f1f38 .5em .7em, transparent .7em .86em) content-box; padding: .5em .6em; }
.ap-laser { position: absolute; inset-inline: 2.6em; top: 3em; height: .16em; border-radius: 1em; background: #ff3b4f; box-shadow: 0 0 .8em .2em rgba(255,59,79,.6); }
.ap-flash { position: absolute; inset: 1.4em 2.2em; border: .2em solid #34d399; border-radius: .6em; box-shadow: 0 0 1.5em rgba(52,211,153,.6) inset; opacity: 0; }
.ap-cart { display: grid; gap: .4em; align-content: start; flex: 1; min-height: 0; }
.ap-line { overflow: hidden; }
.ap-line img { width: 2.3em; height: 2.3em; }
.ap-price { font-size: .78em; font-weight: 700; }
.ap-total { display: flex; align-items: baseline; justify-content: space-between; padding: .2em .2em 0; color: #5a6e86; font-size: .85em; }
.ap-total-stack { display: grid; color: #0f1f38; font-size: 1.45em; font-weight: 800; }
.ap-total-stack > * { grid-area: 1 / 1; opacity: 0; justify-self: end; }
.ap-total-stack .ap-total-3 { opacity: 1; }
.ap-btn { display: block; margin-bottom: 1.2em; padding: .85em; border-radius: .8em; background: var(--blue); color: #fff; font-size: .85em; font-weight: 700; text-align: center; }
.ap-done { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5em; padding: 2em; background: #fff; text-align: center; transform: translateY(100%); }
.ap-done-ring { display: grid; place-items: center; width: 4.4em; height: 4.4em; margin-bottom: .5em; border-radius: 50%; background: #e8f6ee; color: #18a058; }
.ap-done-ring .ap-ico { width: 2.2em; height: 2.2em; stroke-width: 2.6; }
.ap-done b { font-size: 1.35em; }
.ap-done span:last-child { color: #7b8ca2; font-size: .8em; }

.ap-seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: .25em; border-radius: .8em; background: #e6ecf4; font-size: .76em; font-weight: 700; text-align: center; color: #6b7d94; }
.ap-seg span { position: relative; z-index: 1; padding: .45em 0; }
.ap-seg-pill { position: absolute; top: .25em; bottom: .25em; inset-inline-start: calc(33.333% + .08em); width: calc(33.333% - .16em); border-radius: .6em; background: #fff; box-shadow: 0 1px 3px rgba(15,35,70,.12); z-index: 0 !important; padding: 0 !important; }
.ap-kpi { display: grid; gap: .2em; padding: .9em 1em; border-radius: 1em; background: linear-gradient(135deg, #eaf2ff, #f6f9ff); border: 1px solid #d9e6fb; }
.ap-kpi small { color: #4b6283; font-size: .72em; font-weight: 600; }
.ap-kpi b { font-size: 1.9em; font-weight: 800; letter-spacing: -.02em; }
.ap-kpi-row { display: flex; gap: 1em; color: #5a6e86; font-size: .72em; }
.ap-chart { display: grid; gap: .5em; padding: .8em; border-radius: 1em; background: #fff; box-shadow: 0 1px 2px rgba(15,35,70,.06); }
.ap-chart small { font-size: .78em; font-weight: 700; }
.ap-bars { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: .5em; height: 8em; padding-inline: .3em; border-bottom: 1px solid #e3e9f1; direction: ltr; }
.ap-bars i { flex: 1; height: var(--h); border-radius: .35em .35em 0 0; background: linear-gradient(180deg, #4f8cff, var(--blue)); transform-origin: bottom; opacity: .9; }
.ap-line-chart { position: absolute; inset: 0 .3em; width: calc(100% - .6em); height: 100%; overflow: visible; }
.ap-line-chart polyline { fill: none; stroke: #f59e0b; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ap-insight { display: flex; align-items: center; gap: .5em; padding: .75em .8em; border: 1px solid #bfe6cf; border-radius: .9em; background: #effaf3; color: #1d6b43; font-size: .76em; font-weight: 600; }

.ap-head-ai { justify-content: flex-start; padding-bottom: .5em; border-bottom: 1px solid #e3e9f1; }
.ap-head-ai b { font-size: 1.15em; }
.ap-ai-logo { width: 1.9em; height: 1.9em; padding: .35em; border-radius: .6em; background: linear-gradient(135deg, var(--blue), #7c5cff); color: #fff; }
.ap-chat { display: flex; flex-direction: column; justify-content: flex-end; flex: 1; min-height: 0; overflow: hidden; }
.ap-msg { max-width: 86%; max-height: 12em; margin-top: .55em; padding: .6em .8em; border-radius: 1em; font-size: .8em; overflow: hidden; }
.ap-me { align-self: flex-end; border-end-end-radius: .3em; background: var(--blue); color: #fff; }
.ap-bot { align-self: flex-start; border-end-start-radius: .3em; background: #fff; box-shadow: 0 1px 2px rgba(15,35,70,.08); }
.ap-sum { display: grid; gap: .25em; margin-top: .5em; padding-top: .5em; border-top: 1px solid #edf1f6; }
.ap-sum > span { display: flex; justify-content: space-between; gap: 1em; color: #5a6e86; }
.ap-sum b { color: #0f1f38; }
.ap-chips { display: flex; flex-wrap: wrap; gap: .4em; margin-top: .5em; }
.ap-chips > span { display: flex; align-items: center; gap: .3em; padding: .2em .55em .2em .25em; border-radius: 99px; background: #fff1e0; color: #a65a05; font-weight: 700; font-size: .9em; }
.ap-chips img { width: 1.7em; height: 1.7em; }
.ap-typing { align-self: flex-start; display: flex; gap: .3em; max-height: 0; margin-top: 0; padding: 0 .9em; border-radius: 1em; background: #fff; opacity: 0; overflow: hidden; }
.ap-typing i { width: .45em; height: .45em; border-radius: 50%; background: #93a2b6; animation: ap-dot 1s ease-in-out infinite; }
.ap-typing i:nth-child(2) { animation-delay: .15s; } .ap-typing i:nth-child(3) { animation-delay: .3s; }
.ap-input { display: flex; align-items: center; justify-content: space-between; margin: .6em 0 1.2em; padding: .5em .5em .5em .9em; border: 1px solid #dfe6f0; border-radius: 99px; background: #fff; color: #93a2b6; font-size: .78em; }
html[dir="rtl"] .ap-input { padding: .5em .9em .5em .5em; }
.ap-send { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--blue); color: #fff; }
html[dir="rtl"] .ap-send svg { transform: scaleX(-1); }

/* motion, only while that screen is on the phone */
.app.is-active .ap-row { animation: ap-in .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * .09s + .2s); }
.app.is-active .ap-restock { animation: ap-in .5s cubic-bezier(.2,.7,.2,1) .29s both, ap-glow 9s ease-in-out 0s infinite; }
.app.is-active .ap-before { animation: ap-before 9s linear infinite; }
.app.is-active .ap-after { animation: ap-after 9s linear infinite; }
.app.is-active .ap-swap::after { content: ""; position: absolute; top: 50%; left: 50%; width: 2.4em; height: 2.4em; margin: -1.2em 0 0 -1.2em; border-radius: 50%; background: rgba(21,93,252,.25); border: 2px solid rgba(21,93,252,.7); opacity: 0; animation: ap-tap 9s ease-out infinite; }
.app.is-active .ap-toast { animation: ap-toast 9s cubic-bezier(.2,.7,.2,1) infinite; }
.app.is-active .ap-fab { animation: ap-pulse 3s ease-in-out infinite; }

.app.is-active .ap-laser { animation: ap-laser 1.8s ease-in-out infinite alternate; }
.app.is-active .ap-flash { animation: ap-flash 10s linear infinite; }
.app.is-active .ap-line:nth-child(1) { animation: ap-l0 10s ease infinite; }
.app.is-active .ap-line:nth-child(2) { animation: ap-l1 10s ease infinite; }
.app.is-active .ap-line:nth-child(3) { animation: ap-l2 10s ease infinite; }
.app.is-active .ap-total-0 { animation: ap-tot0 10s linear infinite; }
.app.is-active .ap-total-1 { animation: ap-tot1 10s linear infinite; }
.app.is-active .ap-total-2 { animation: ap-tot2 10s linear infinite; }
.app.is-active .ap-total-3 { animation: ap-tot3 10s linear infinite; }
.app.is-active .ap-btn { animation: ap-press 10s ease infinite; }
.app.is-active .ap-done { animation: ap-done 10s cubic-bezier(.2,.7,.2,1) infinite; }
.app.is-active .ap-done-ring { animation: ap-pop 10s ease infinite; }

.app.is-active .ap-seg-pill { animation: ap-seg 9s cubic-bezier(.2,.7,.2,1) infinite; }
.app.is-active .ap-kpi b { animation: ap-kpi 9s ease infinite; }
.app.is-active .ap-bars i { animation: ap-bar 9s cubic-bezier(.2,.7,.2,1) infinite; animation-delay: calc(var(--i) * .07s); }
.app.is-active .ap-line-chart polyline { animation: ap-draw 9s ease-in-out infinite; }
.app.is-active .ap-insight { animation: ap-insight 9s ease infinite; }

.app.is-active .ap-q1 { animation: ap-q1 12s ease infinite; }
.app.is-active .ap-t1 { animation: ap-t1 12s ease infinite; }
.app.is-active .ap-a1 { animation: ap-a1 12s ease infinite; }
.app.is-active .ap-q2 { animation: ap-q2 12s ease infinite; }
.app.is-active .ap-t2 { animation: ap-t2 12s ease infinite; }
.app.is-active .ap-a2 { animation: ap-a2 12s ease infinite; }

@keyframes ap-in { from { opacity: 0; transform: translateY(1.2em); } to { opacity: 1; transform: none; } }
@keyframes ap-glow { 0%, 30%, 64%, 100% { background: #fff; } 36%, 56% { background: #eaf2ff; } }
@keyframes ap-before { 0%, 37% { opacity: 1; } 38%, 97% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes ap-after { 0%, 37% { opacity: 0; } 38%, 97% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes ap-tap { 0%, 30% { opacity: 0; transform: scale(.4); } 33% { opacity: 1; transform: scale(1); } 40%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes ap-toast { 0%, 40% { opacity: 0; transform: translateY(1em); } 44%, 74% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; transform: translateY(1em); } }
@keyframes ap-pulse { 0%, 100% { transform: none; } 50% { transform: scale(1.06); } }

@keyframes ap-laser { from { top: 2em; } to { top: calc(100% - 2.2em); } }
@keyframes ap-flash { 0%, 11% { opacity: 0; } 13% { opacity: 1; } 17%, 29% { opacity: 0; } 31% { opacity: 1; } 35%, 47% { opacity: 0; } 49% { opacity: 1; } 53%, 100% { opacity: 0; } }
@keyframes ap-l0 { 0%, 12% { opacity: 0; max-height: 0; padding-block: 0; transform: translateY(-.6em); } 15%, 94% { opacity: 1; max-height: 4em; padding-block: .5em; transform: none; } 98%, 100% { opacity: 0; max-height: 0; padding-block: 0; } }
@keyframes ap-l1 { 0%, 30% { opacity: 0; max-height: 0; padding-block: 0; transform: translateY(-.6em); } 33%, 94% { opacity: 1; max-height: 4em; padding-block: .5em; transform: none; } 98%, 100% { opacity: 0; max-height: 0; padding-block: 0; } }
@keyframes ap-l2 { 0%, 48% { opacity: 0; max-height: 0; padding-block: 0; transform: translateY(-.6em); } 51%, 94% { opacity: 1; max-height: 4em; padding-block: .5em; transform: none; } 98%, 100% { opacity: 0; max-height: 0; padding-block: 0; } }
@keyframes ap-tot0 { 0%, 12.9% { opacity: 1; } 13%, 100% { opacity: 0; } }
@keyframes ap-tot1 { 0%, 12.9% { opacity: 0; } 13%, 30.9% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes ap-tot2 { 0%, 30.9% { opacity: 0; } 31%, 48.9% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes ap-tot3 { 0%, 48.9% { opacity: 0; } 49%, 97% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes ap-press { 0%, 59%, 66%, 100% { transform: none; filter: none; } 62% { transform: scale(.94); filter: brightness(.85); } }
@keyframes ap-done { 0%, 63% { transform: translateY(100%); } 67%, 91% { transform: none; } 95%, 100% { transform: translateY(100%); } }
@keyframes ap-pop { 0%, 66% { transform: scale(.3); } 71% { transform: scale(1.12); } 74%, 100% { transform: none; } }

@keyframes ap-seg { 0%, 8% { inset-inline-start: .25em; } 13%, 95% { inset-inline-start: calc(33.333% + .08em); } 99%, 100% { inset-inline-start: .25em; } }
@keyframes ap-kpi { 0%, 12% { opacity: 0; transform: translateY(.5em); } 18%, 100% { opacity: 1; transform: none; } }
@keyframes ap-bar { 0%, 12% { transform: scaleY(0); } 24%, 92% { transform: scaleY(1); } 98%, 100% { transform: scaleY(0); } }
@keyframes ap-draw { 0%, 24% { stroke-dashoffset: 1; opacity: 1; } 44%, 92% { stroke-dashoffset: 0; opacity: 1; } 98%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ap-insight { 0%, 46% { opacity: 0; transform: translateY(.8em) scale(.97); } 52%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }

@keyframes ap-q1 { 0%, 3% { opacity: 0; max-height: 0; margin-top: 0; padding-block: 0; } 6%, 93% { opacity: 1; max-height: 12em; margin-top: .55em; padding-block: .6em; } 97%, 100% { opacity: 0; max-height: 0; margin-top: 0; padding-block: 0; } }
@keyframes ap-t1 { 0%, 7% { opacity: 0; max-height: 0; margin-top: 0; padding-block: 0; } 9%, 17% { opacity: 1; max-height: 3em; margin-top: .55em; padding-block: .7em; } 19%, 100% { opacity: 0; max-height: 0; margin-top: 0; padding-block: 0; } }
@keyframes ap-a1 { 0%, 18% { opacity: 0; max-height: 0; margin-top: 0; padding-block: 0; } 22%, 93% { opacity: 1; max-height: 12em; margin-top: .55em; padding-block: .6em; } 97%, 100% { opacity: 0; max-height: 0; margin-top: 0; padding-block: 0; } }
@keyframes ap-q2 { 0%, 38% { opacity: 0; max-height: 0; margin-top: 0; padding-block: 0; } 41%, 93% { opacity: 1; max-height: 12em; margin-top: .55em; padding-block: .6em; } 97%, 100% { opacity: 0; max-height: 0; margin-top: 0; padding-block: 0; } }
@keyframes ap-t2 { 0%, 42% { opacity: 0; max-height: 0; margin-top: 0; padding-block: 0; } 44%, 52% { opacity: 1; max-height: 3em; margin-top: .55em; padding-block: .7em; } 54%, 100% { opacity: 0; max-height: 0; margin-top: 0; padding-block: 0; } }
@keyframes ap-a2 { 0%, 53% { opacity: 0; max-height: 0; margin-top: 0; padding-block: 0; } 57%, 93% { opacity: 1; max-height: 12em; margin-top: .55em; padding-block: .6em; } 97%, 100% { opacity: 0; max-height: 0; margin-top: 0; padding-block: 0; } }
@keyframes ap-dot { 0%, 100% { transform: none; opacity: .5; } 50% { transform: translateY(-.3em); opacity: 1; } }
.ap-seg .ap-seg-pill { position: absolute; }
.app { font-size: 5.4cqw; gap: .75em; }
.ap-camera { height: 14em; }
.ap-toast { bottom: 8.6em; }
.ap-chart .ap-bars { height: 9em; }

/* ===== Polish borrowed from the reference sites ===== */
/* 1. Short brand intro, first visit of a session only (it never blocks: it fades out by itself) */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 22px; background: #fff; animation: intro-out .5s ease 1.15s forwards; pointer-events: none; }
.no-intro .intro { display: none; }
.intro-mark { display: flex; align-items: center; gap: 14px; color: var(--navy); font-size: 34px; font-weight: 800; letter-spacing: -.8px; direction: ltr; animation: intro-in .7s cubic-bezier(.2,.7,.2,1) both; }
.intro-mark img { width: 64px; height: 64px; animation: intro-logo .8s cubic-bezier(.2,.7,.2,1) both; }
.intro-bar { width: 160px; height: 3px; border-radius: 3px; background: #e6edf7; overflow: hidden; }
.intro-bar::after { content: ""; display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #4f8cff); transform-origin: left; animation: intro-bar 1s cubic-bezier(.6,0,.2,1) .1s both; }
@keyframes intro-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes intro-logo { from { transform: scale(.6) rotate(-12deg); } to { transform: none; } }
@keyframes intro-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

/* 2. Reading progress under the header */
.scroll-progress { position: absolute; inset: auto 0 -1px; height: 2px; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #4f8cff); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .scroll-progress i { transform-origin: right; }

/* 3. Section dots on the side (desktop) */
.side-dots { position: fixed; top: 50%; right: 22px; z-index: 9; display: grid; gap: 14px; transform: translateY(-50%); }
html[dir="rtl"] .side-dots { right: auto; left: 22px; }
.side-dots a { position: relative; display: block; width: 10px; height: 10px; border: 2px solid #b9c7da; border-radius: 50%; background: #fff; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.side-dots a:hover { transform: scale(1.25); border-color: var(--blue); }
.side-dots a.is-on { border-color: var(--blue); background: var(--blue); transform: scale(1.25); }
.side-dots a span { position: absolute; top: 50%; right: 20px; padding: 4px 10px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translate(6px, -50%); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
html[dir="rtl"] .side-dots a span { right: auto; left: 20px; transform: translate(-6px, -50%); }
.side-dots a:hover span { opacity: 1; transform: translate(0, -50%); }
.section-demo ~ .side-dots a { border-color: #b9c7da; }
@media (max-width: 1279px) { .side-dots { display: none; } }

/* 4. Cards lean toward the mouse with a soft light (desktop) */
.solution-card, .mvo-card, .edge-card, .tech-block, .feature-card { position: relative; }
.tilt-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(21,93,252,.09), transparent 60%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.tilt-card:hover::after { opacity: 1; }
.tilt-card.is-tilting { transition: transform .12s ease-out, box-shadow .25s ease !important; box-shadow: 0 24px 50px rgba(20,44,78,.12); z-index: 1; }

/* 5. Headings rise from behind a mask; the eyebrow line draws in */
.section-intro.reveal h2, .section-heading.reveal h2 { clip-path: inset(0 0 100% 0); transform: translateY(24px); transition: clip-path .9s cubic-bezier(.2,.7,.2,1) .1s, transform .9s cubic-bezier(.2,.7,.2,1) .1s; }
.section-intro.reveal.is-visible h2, .section-heading.reveal.is-visible h2 { clip-path: inset(0 0 -10% 0); transform: none; }

/* 6. Primary buttons: a light sweep on hover */
.button-primary, .button-white, .nav-cta { position: relative; overflow: hidden; }
.button-primary::after, .button-white::after, .nav-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.button-white::after { background: linear-gradient(100deg, transparent, rgba(21,93,252,.12), transparent); }
.button-primary:hover::after, .button-white:hover::after, .nav-cta:hover::after { left: 120%; }

@media (prefers-reduced-motion: reduce) {
  .section-intro.reveal h2, .section-heading.reveal h2 { clip-path: none; transform: none; }
  .scroll-progress { display: none; }
}
.tilt-card { isolation: isolate; }
.tilt-card::after { z-index: -1; }
