:root {
  color-scheme: dark;
  --bg: #0b0e12;
  --surface: #11151b;
  --surface-2: #151a21;
  --surface-3: #1a2029;
  --text: #f4f7f9;
  --muted: #9ca7b4;
  --quiet: #687482;
  --line: rgba(255,255,255,.105);
  --line-strong: rgba(255,255,255,.17);
  --accent: #55d6d0;
  --accent-strong: #23aaa6;
  --accent-soft: rgba(85,214,208,.11);
  --shadow: 0 24px 70px rgba(0,0,0,.28);
  --container: 1180px;
  --radius: 20px;
  --font-ar: "Tajawal", sans-serif;
  --font-en: "Inter", sans-serif;
}

html.light {
  color-scheme: light;
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-2: #f0f3f5;
  --surface-3: #e9eef0;
  --text: #111820;
  --muted: #5f6d79;
  --quiet: #84909a;
  --line: rgba(17,24,32,.11);
  --line-strong: rgba(17,24,32,.18);
  --accent: #087f7e;
  --accent-strong: #056967;
  --accent-soft: rgba(8,127,126,.09);
  --shadow: 0 24px 70px rgba(30,45,50,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.7;
  touch-action: pan-y pinch-zoom;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
body.menu-open::before { content: ""; position: fixed; z-index: 90; inset: 0; background: rgba(5,8,11,.62); backdrop-filter: blur(5px); pointer-events: none; }
body.menu-open .whatsapp-dock { opacity: 0; visibility: hidden; pointer-events: none; }
main { background: var(--bg); }
html[lang="en"] body { font-family: var(--font-en); }
button, a { font: inherit; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; pointer-events: none; touch-action: pan-y pinch-zoom; -webkit-user-drag: none; user-select: none; }
.hero-grid > *, .product-story > *, .storefront-grid > *, .plans-grid > *, .cta-panel > *, .footer-inner > * { min-width: 0; }
h1, h2, h3, p, li { overflow-wrap: break-word; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 92px 0 52px; }
main > section { position: relative; isolation: isolate; }
main > section > .container { position: relative; z-index: 2; }

.skip-link {
  position: fixed;
  z-index: 999;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  height: 88px;
  border-bottom: 1px solid transparent;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en); font-weight: 800; letter-spacing: -.035em; }
html[lang="ar"] .brand { font-family: var(--font-ar); letter-spacing: 0; }
.brand img { width: 42px; height: 36px; object-fit: contain; }
.brand span { font-size: 1.05rem; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-inline: auto; }
.desktop-nav a, .footer-nav a { color: var(--muted); font-size: .88rem; font-weight: 600; transition: color .18s ease; }
.desktop-nav a:hover, .desktop-nav a.is-current, .footer-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.text-link { padding: 8px 6px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.text-link:hover { color: var(--text); }
.icon-button, .language-toggle, .menu-toggle {
  display: inline-grid;
  place-items: center;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.icon-button:hover, .language-toggle:hover, .menu-toggle:hover { background: var(--surface-2); border-color: var(--line-strong); }
.icon-button { width: 38px; }
.theme-icons { position: relative; display: block; width: 19px; height: 19px; }
.theme-icon { position: absolute; inset: 0; width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: opacity .18s ease, transform .22s ease; }
.theme-icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-icon-moon { opacity: 0; transform: rotate(-18deg) scale(.78); }
html.light .theme-icon-sun { opacity: 0; transform: rotate(18deg) scale(.78); }
html.light .theme-icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
.language-toggle { min-width: 44px; padding-inline: 10px; color: var(--muted); font-family: var(--font-en); font-size: .73rem; font-weight: 800; }
.menu-toggle { position: relative; display: none; width: 40px; padding: 0; }
.menu-toggle span { position: absolute; top: 50%; left: 50%; display: block; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; transform-origin: center; transition: transform .2s ease; }
.menu-toggle span:first-child { transform: translate(-50%,-4px); }
.menu-toggle span:last-child { transform: translate(-50%,4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translate(-50%,0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translate(-50%,0) rotate(-45deg); }
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 21px;
  border: 1px solid var(--accent);
  border-radius: 11px;
  background: var(--accent);
  color: #071313;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.2;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
html.light .button { color: #fff; }
.button:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.button-secondary { background: transparent; border-color: var(--line-strong); color: var(--text); }
.button-secondary:hover { background: var(--surface-2); border-color: var(--line-strong); color: var(--text); }
html.light .button-secondary, html.light .button-secondary:hover { color: var(--text); }
.button-small { min-height: 39px; padding: 8px 14px; border-radius: 9px; font-size: .8rem; }
.contact-button { gap: 9px; }
.whatsapp-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; }
.site-contact { background: var(--accent); border-color: var(--accent); color: #071313; }
.site-contact:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
html.light .site-contact { color: #fff; }

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: 128px 0 58px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 640px;
  height: 640px;
  inset-block-start: -360px;
  inset-inline-end: -190px;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(85,214,208,.018), 0 0 0 180px rgba(85,214,208,.012);
}
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 110px; background: linear-gradient(to bottom,transparent,var(--bg)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(390px,.76fr) minmax(0,1.24fr); align-items: center; gap: clamp(24px,3vw,46px); }
.hero-copy { position: relative; z-index: 2; max-width: 610px; }
.hero-overline, .section-label, .group-label {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
html[lang="ar"] .hero-overline, html[lang="ar"] .section-label, html[lang="ar"] .group-label { letter-spacing: 0; }
.hero h1 { max-width: 14ch; margin-bottom: 24px; font-size: clamp(3rem,5.2vw,4.9rem); line-height: 1.04; letter-spacing: -.052em; }
html[lang="ar"] .hero h1 { max-width: 13ch; line-height: 1.18; letter-spacing: -.035em; }
.hero-body { max-width: 56ch; margin-bottom: 30px; color: var(--muted); font-size: clamp(1rem,1.25vw,1.12rem); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.hero-note { max-width: 210px; margin: 0; padding-inline-start: 15px; border-inline-start: 1px solid var(--line-strong); color: var(--quiet); font-size: .78rem; font-weight: 600; line-height: 1.6; }
.hero-visual { position: relative; display: grid; min-width: 0; place-items: center; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle,rgba(85,214,208,.09),rgba(85,214,208,.025) 42%,transparent 72%); filter: blur(10px); }
.hero-device { position: relative; width: min(940px,128%); margin-inline: -14%; }
.hero-devices { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 28px 42px rgba(0,0,0,.28)); }

.section-heading { max-width: 730px; margin-bottom: 48px; }
.section-heading h2, .cta-panel h2 { margin-bottom: 20px; font-size: clamp(2rem,4vw,3.8rem); line-height: 1.15; letter-spacing: -.045em; }
html[lang="ar"] .section-heading h2, html[lang="ar"] .cta-panel h2 { line-height: 1.35; letter-spacing: -.025em; }
.section-heading > p:last-child, .cta-panel > div > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.section-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 34px; color: var(--text); font-size: .9rem; font-weight: 800; }
.section-link span:last-child { color: var(--accent); font-family: var(--font-en); transition: transform .18s ease; }
.section-link:hover span:last-child { transform: translate(2px,-2px); }
html[dir="rtl"] .section-link:hover span:last-child { transform: translate(-2px,-2px); }
.section-action { margin-top: 38px; }

.platform { background: radial-gradient(ellipse 62% 44% at 50% 38%,rgba(85,214,208,.045),transparent 74%); }
.platform-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.platform-block { min-height: 220px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.workflow-number { display: block; margin-bottom: 56px; color: var(--quiet); font-family: var(--font-en); font-size: .74rem; font-weight: 700; letter-spacing: .08em; }
.platform-block h3 { margin-bottom: 15px; font-size: 1.35rem; }
.platform-block p { margin-bottom: 0; color: var(--muted); font-size: .93rem; }

.workflow { z-index: 2; background: transparent; }
.workflow-list { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-step { position: relative; min-height: 290px; padding: 28px 25px 34px; border-inline-start: 1px solid var(--line); background: linear-gradient(to bottom,color-mix(in srgb,var(--surface) 45%,transparent),transparent 58%); }
.workflow-step:first-child { border-inline-start: 0; }
.workflow-step::before { content: ""; position: absolute; inset-block-start: -2px; inset-inline-start: 0; width: 0; height: 3px; background: var(--accent); transition: width .45s ease; }
.workflow-step.is-visible::before { width: 100%; }
.workflow-number { position: relative; display: grid; width: 50px; height: 50px; place-items: center; margin-bottom: 62px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg); color: var(--text); letter-spacing: 0; box-shadow: 0 0 0 7px color-mix(in srgb,var(--bg) 82%,transparent); }
.workflow-number::after { content: ""; position: absolute; inset-block-start: 4px; inset-inline-end: 4px; width: 7px; height: 7px; border: 2px solid var(--bg); border-radius: 50%; background: var(--accent); }
.workflow-step h3 { margin-bottom: 12px; font-size: 1.15rem; }
.workflow-step p { margin: 0; color: var(--muted); font-size: .88rem; }

.showcase { z-index: 3; background: radial-gradient(ellipse 68% 48% at 68% 46%,rgba(85,214,208,.035),transparent 76%); }
.showcase::before { content: none; }
.showcase-heading { margin-bottom: 56px; }
.product-story { display: grid; grid-template-columns: minmax(260px,.62fr) minmax(0,1.38fr); align-items: start; gap: 70px; }
.story-copy { min-width: 0; padding-block: 27vh; }
.story-step { display: flex; min-height: 46vh; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .32; transition: opacity .35s ease; }
.story-step.is-active { opacity: 1; }
.story-step > span { display: block; margin-bottom: 28px; color: var(--accent); font-family: var(--font-en); font-size: .75rem; font-weight: 800; }
.story-step h3 { margin-bottom: 14px; font-size: clamp(1.35rem,2.2vw,2rem); }
.story-step p { max-width: 440px; margin: 0; color: var(--muted); }
.story-stage-anchor { position: sticky; top: 0; display: flex; min-width: 0; height: 100vh; align-items: center; }
.story-stage { position: relative; width: 100%; min-width: 0; aspect-ratio: 2 / 1.08; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.product-shot { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.012); transition: opacity .45s ease, transform .65s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.product-shot.is-active { opacity: 1; transform: scale(1); }
.product-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top right; }
.product-story-mobile { display: none; }

.features { background: radial-gradient(ellipse 54% 42% at 82% 42%,rgba(85,214,208,.04),transparent 76%); }
.features::before { content: none; }
.feature-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature-group { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.group-label { margin-bottom: 26px; color: var(--quiet); }
.feature-row { padding: 20px 0; border-top: 1px solid var(--line); }
.feature-row h3, .feature-highlight h3 { margin-bottom: 7px; font-size: 1rem; }
.feature-row p, .feature-highlight p { margin: 0; color: var(--muted); font-size: .86rem; }
.feature-highlight { margin-top: 12px; padding: 20px; border-inline-start: 2px solid var(--accent); background: var(--accent-soft); }

.storefront { z-index: 2; background: radial-gradient(ellipse 52% 46% at 26% 50%,rgba(85,214,208,.035),transparent 76%); }
.storefront::before { content: none; }
.storefront-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr); gap: 90px; align-items: center; }
.storefront .section-heading { margin-bottom: 0; }
.customer-journey { position: relative; margin: 0; padding: 0; list-style: none; }
.customer-journey::before { content: ""; position: absolute; inset-block: 24px; inset-inline-start: 22px; width: 1px; background: var(--line-strong); }
.customer-journey li { position: relative; display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 22px; min-height: 74px; }
.customer-journey span { z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--accent); font-family: var(--font-en); font-size: .7rem; font-weight: 800; }
.customer-journey p { margin: 0; padding-bottom: 1px; color: var(--text); font-weight: 700; }

.control { background: radial-gradient(ellipse 48% 44% at 14% 48%,var(--accent-soft),transparent 76%); }
.control::before { content: none; }
.control-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.control-panel { min-height: 270px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.control-panel h3 { margin-bottom: 14px; font-size: 1.35rem; }
.control-panel p { max-width: 480px; margin: 0; color: var(--muted); }
.control-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.control-points li { position: relative; padding-inline-start: 14px; color: var(--text); font-size: .82rem; font-weight: 700; }
.control-points li::before { content: ""; position: absolute; inset-block-start: .65em; inset-inline-start: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.plans { position: relative; background: radial-gradient(ellipse 54% 38% at 50% 30%,color-mix(in srgb,var(--accent) 5%,transparent),transparent 78%); }
.plans::before { content: none; }
.plans-intro { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 48px; margin-bottom: 48px; }
.plans-intro .section-heading { margin-bottom: 0; }
.billing-note { margin: 0 0 4px; color: var(--muted); font-size: .84rem; font-weight: 700; }
.plans-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.plan-card { position: relative; display: flex; min-width: 0; min-height: 690px; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.plan-card-header { min-height: 292px; padding: 30px; border-bottom: 1px solid var(--line); }
.plan-name { margin-bottom: 30px; color: var(--text); font-size: 1.2rem; font-weight: 800; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; white-space: nowrap; }
.plan-price strong { font-family: var(--font-en); font-size: clamp(2.5rem,4vw,3.8rem); line-height: 1; letter-spacing: -.05em; }
.plan-price > span { color: var(--accent); font-size: 1.25rem; font-weight: 800; }
.plan-price small { color: var(--muted); font-size: .74rem; font-weight: 600; }
.plan-card-header > p:not(.plan-name):not(.plan-price):not(.plan-recommended):not(.coming-title) { min-height: 52px; margin-bottom: 22px; color: var(--muted); font-size: .86rem; }
.plan-card-header .button { width: 100%; }
.plan-features { display: grid; gap: 0; margin: 0; padding: 18px 30px 28px; list-style: none; }
.plan-features li { position: relative; padding: 11px 22px 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
html[dir="ltr"] .plan-features li { padding: 11px 0 11px 22px; }
.plan-features li::before { content: "✓"; position: absolute; inset-block-start: 11px; inset-inline-start: 1px; color: var(--accent); font-family: var(--font-en); font-size: .82rem; font-weight: 800; line-height: 1.7; direction: ltr; }
.plan-features .plan-feature-intro { padding-inline: 0; color: var(--text); font-weight: 700; }
.plan-features .plan-feature-intro::before { content: none; }
.plan-features li:last-child { border-bottom: 0; }
.plan-featured { border-color: color-mix(in srgb, var(--accent) 46%, var(--line)); box-shadow: inset 0 3px var(--accent); }
.plan-recommended { position: absolute; inset-block-start: 15px; inset-inline-end: 18px; margin: 0; color: var(--accent); font-size: .66rem; font-weight: 800; }
.plan-features-short { gap: 4px; }
.plan-coming { background: color-mix(in srgb, var(--bg) 70%, var(--surface-2)); }
.plan-coming .plan-card-header { border-bottom: 0; }
.coming-title { margin: 110px 0 16px; color: var(--quiet); font-size: clamp(2.4rem,4.5vw,4.2rem); font-weight: 800; letter-spacing: -.04em; }
.coming-line { width: calc(100% - 60px); height: 1px; margin: auto 30px 30px; background: linear-gradient(90deg,transparent,var(--line-strong),transparent); }
.plans-sticky { position: fixed; z-index: 92; top: 16px; left: 50%; right: auto; width: min(var(--container),calc(100% - 48px)); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%,-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.plans-sticky.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%,0); }
.plans-sticky .plans-grid { gap: 16px; }
.plan-sticky-item { display: flex; min-width: 0; min-height: 64px; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 13px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 12px 34px rgba(0,0,0,.18); backdrop-filter: blur(16px); }
.plan-sticky-item.is-featured { border-color: color-mix(in srgb, var(--accent) 48%, var(--line)); }
.plan-sticky-item > div { display: flex; min-width: 0; flex-direction: column; }
.plan-sticky-item strong { font-size: .82rem; }
.plan-sticky-item span { overflow: hidden; color: var(--muted); font-family: var(--font-en); font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.plan-sticky-item a { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--accent); color: #071313; }
.plan-sticky-item a .whatsapp-icon { width: 17px; height: 17px; }
.plan-sticky-item a:hover { background: var(--accent-strong); }
html.light .plan-sticky-item a { color: #fff; }
.plan-sticky-item.is-coming { opacity: .7; }

.final-cta { padding: 72px 0 48px; background: transparent; }
.cta-panel { display: grid; grid-template-columns: 92px minmax(0,1fr) auto; align-items: center; gap: 32px; padding: 54px; border: 1px solid var(--line-strong); border-radius: 24px; background: var(--surface); }
.cta-panel > img { width: 86px; height: 76px; object-fit: contain; }
.cta-panel .section-label { margin-bottom: 12px; }
.cta-panel h2 { max-width: 720px; margin-bottom: 13px; font-size: clamp(1.8rem,3.3vw,3.1rem); }
.cta-actions { min-width: 150px; }
.cta-actions { display: flex; flex-direction: column; min-width: 150px; gap: 10px; }

.site-footer { padding: 48px 0 56px; background: var(--bg); }
.footer-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,auto); align-items: start; gap: 80px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand img { width: 52px; height: 45px; }
.footer-brand p { margin: 0; color: var(--muted); font-size: .86rem; }
.footer-social-block { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-heading { margin: 0 0 13px !important; color: var(--quiet) !important; font-size: .68rem !important; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
html[lang="ar"] .footer-heading { letter-spacing: 0; }
.footer-nav { display: grid; gap: 9px 26px; }
.footer-nav { grid-template-columns: 1fr 1fr; }
.footer-socials { display: flex; align-items: center; justify-content: flex-start; gap: 9px; }
.footer-socials a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
.footer-socials a:hover { border-color: color-mix(in srgb,var(--accent) 45%,var(--line)); background: var(--accent-soft); color: var(--accent); }
.footer-socials svg { width: 17px; height: 17px; fill: currentColor; }

.whatsapp-dock { position: fixed; z-index: 220; inset-inline-end: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; isolation: isolate; opacity: 1; visibility: visible; }
.dock-toggle { position: relative; z-index: 3; display: grid; width: 54px; height: 54px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: #071313; box-shadow: 0 9px 28px rgba(0,0,0,.27); cursor: pointer; transition: background-color .18s ease, box-shadow .18s ease; }
.dock-toggle:hover { background: var(--accent-strong); box-shadow: 0 11px 30px rgba(0,0,0,.31); }
.dock-toggle-visual { position: relative; display: grid; width: 24px; height: 24px; place-items: center; }
.dock-toggle .whatsapp-icon { position: absolute; width: 24px; height: 24px; opacity: 1; transform: scale(1) rotate(0); transition: opacity .16s ease, transform .22s ease; }
.dock-toggle-close { position: absolute; inset: 0; opacity: 0; transform: scale(.72) rotate(-18deg); transition: opacity .16s ease, transform .22s ease; }
.dock-toggle-close i { position: absolute; top: 11px; left: 3px; display: block; width: 18px; height: 2px; border-radius: 99px; background: currentColor; }
.dock-toggle-close i:first-child { transform: rotate(45deg); }
.dock-toggle-close i:last-child { transform: rotate(-45deg); }
.dock-toggle[aria-expanded="true"] .whatsapp-icon { opacity: 0; transform: scale(.7) rotate(18deg); }
.dock-toggle[aria-expanded="true"] .dock-toggle-close { opacity: 1; transform: scale(1) rotate(0); }
html.light .dock-toggle { color: #fff; }
.scroll-top-button { position: relative; z-index: 3; display: grid; width: 44px; height: 44px; align-self: center; place-items: center; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: color-mix(in srgb,var(--surface) 96%,transparent); color: var(--text); box-shadow: 0 8px 24px rgba(0,0,0,.2); backdrop-filter: blur(14px); cursor: pointer; animation: scroll-top-in .2s cubic-bezier(.2,.75,.25,1) both; transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease; }
.scroll-top-button[hidden] { display: none; }
.scroll-top-button:hover { border-color: color-mix(in srgb,var(--accent) 55%,var(--line)); background: var(--surface-2); color: var(--accent); transform: translateY(-2px); }
.scroll-top-icon { position: relative; display: block; width: 16px; height: 17px; }
.scroll-top-icon::before { content: ""; position: absolute; top: 1px; left: 4px; width: 8px; height: 8px; border-top: 1.8px solid currentColor; border-left: 1.8px solid currentColor; transform: rotate(45deg); }
.scroll-top-icon::after { content: ""; position: absolute; top: 3px; left: 7px; width: 1.8px; height: 13px; border-radius: 99px; background: currentColor; }
.dock-menu { position: absolute; z-index: 2; inset-inline-end: 0; bottom: 66px; width: 210px; overflow: hidden; padding: 6px; border: 1px solid var(--line-strong); border-radius: 14px; background: color-mix(in srgb,var(--surface) 98%,transparent); box-shadow: 0 18px 46px rgba(0,0,0,.34); backdrop-filter: blur(16px); animation: dock-panel-in .2s cubic-bezier(.2,.75,.25,1) both; }
.dock-menu[hidden], .whatsapp-qr[hidden] { display: none; }
.dock-action { display: flex; width: 100%; min-height: 44px; align-items: center; gap: 11px; padding: 9px 11px; border: 0; border-radius: 9px; background: transparent; color: var(--text); text-align: start; cursor: pointer; }
.dock-action:hover { background: var(--surface-2); }
.dock-action .whatsapp-icon { width: 18px; height: 18px; color: var(--accent); }
.dock-action span:last-child { font-size: .82rem; font-weight: 700; }
.qr-mini { position: relative; width: 18px; height: 18px; flex: 0 0 auto; border: 2px solid var(--accent); border-radius: 3px; }
.qr-mini::before, .qr-mini::after { content: ""; position: absolute; width: 4px; height: 4px; border: 1px solid var(--accent); }
.qr-mini::before { top: 2px; left: 2px; }
.qr-mini::after { right: 2px; bottom: 2px; }
.whatsapp-qr { position: absolute; z-index: 2; inset-inline-end: 0; bottom: 66px; width: 260px; padding: 18px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); box-shadow: 0 20px 52px rgba(0,0,0,.36); animation: dock-panel-in .2s cubic-bezier(.2,.75,.25,1) both; }
.dock-close { position: absolute; top: 10px; inset-inline-end: 10px; display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.dock-close:hover { background: var(--surface-2); color: var(--text); }
.dock-title { margin: 0 0 14px; padding-inline-end: 30px; font-size: .85rem; font-weight: 800; }
.qr-placeholder { overflow: hidden; width: 100%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.qr-placeholder img { width: 100%; height: 100%; object-fit: contain; }
@keyframes dock-panel-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes scroll-top-in { from { opacity: 0; transform: translateY(8px) scale(.92); } to { opacity: 1; transform: translateY(0) scale(1); } }

.section-stepper { position: fixed; z-index: 88; inset-block-start: 50%; left: 18px; right: auto; width: 122px; transform: translateY(-50%); pointer-events: none; }
html[dir="rtl"] .section-stepper { left: auto; right: 18px; }
.stepper-items { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 188px; }
.stepper-track { position: absolute; z-index: -1; top: 5px; bottom: 5px; left: 4px; right: auto; width: 1px; background: var(--line-strong); }
html[dir="rtl"] .stepper-track { left: auto; right: 4px; }
.stepper-progress { display: block; width: 100%; height: 0; background: var(--accent); transition: height .16s linear; }
.stepper-item { position: relative; display: flex; min-height: 10px; align-items: center; padding-left: 18px; color: var(--quiet); font-size: .62rem; line-height: 1; opacity: .7; }
html[dir="rtl"] .stepper-item { padding-right: 18px; padding-left: 0; text-align: right; }
.stepper-dot { position: absolute; top: 50%; left: 0; width: 9px; height: 9px; border: 1px solid var(--quiet); border-radius: 50%; background: var(--bg); transform: translateY(-50%); transition: border-color .2s ease, background-color .2s ease; }
html[dir="rtl"] .stepper-dot { left: auto; right: 0; }
.stepper-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stepper-item.is-reached { color: var(--muted); opacity: 1; }
.stepper-item.is-reached .stepper-dot { border-color: var(--accent); background: var(--accent); }
.stepper-item.is-current { color: var(--text); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .62s ease, transform .62s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

html.is-resizing *, html.is-resizing *::before, html.is-resizing *::after { transition: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 1280px) {
  .section-stepper { left: 10px; right: auto; width: 18px; }
  html[dir="rtl"] .section-stepper { left: auto; right: 10px; }
  .stepper-text { display: none; }
  .hero-grid { grid-template-columns: minmax(350px,.8fr) minmax(0,1.2fr); gap: 28px; }
}

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .header-actions { margin-inline-start: auto; }
  .menu-toggle { display: inline-grid; }
  .mobile-menu {
    position: absolute;
    inset: 76px 24px auto;
    display: grid;
    gap: 4px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu > a { min-height: 44px; padding: 10px 12px; border-radius: 9px; color: var(--muted); font-weight: 700; }
  .mobile-menu > a:hover, .mobile-menu > a:focus-visible { background: var(--surface-2); color: var(--text); }
  .hero { min-height: 100svh; padding: 120px 0 52px; }
  .hero-grid { grid-template-columns: minmax(320px,.82fr) minmax(0,1.18fr); gap: 22px; }
  .hero-copy { max-width: 580px; }
  .hero h1 { font-size: clamp(2.55rem,5.3vw,3.8rem); }
  .hero-visual { width: 100%; margin-inline: auto; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-block { min-height: 0; padding: 28px; border: 1px solid var(--line); }
  .workflow-list { grid-template-columns: 1fr 1fr; }
  .workflow-step:nth-child(3) { border-inline-start: 0; }
  .workflow-step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .product-story { grid-template-columns: minmax(230px,.55fr) minmax(0,1.45fr); gap: 36px; }
  .plans-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .plan-cards .plan-coming { grid-column: 1 / -1; min-height: 360px; }
  .plan-coming .plan-card-header { min-height: 0; }
  .plan-coming .coming-title { margin-top: 62px; }
  .plans-sticky { display: none; }
  .storefront-grid { grid-template-columns: 1fr; gap: 58px; }
  .cta-panel { grid-template-columns: 76px 1fr; }
  .cta-actions { grid-column: 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (min-width: 1041px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 767px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 60px 0 36px; }
  .workflow, .showcase, .storefront, .plans { padding-top: 60px; }
  .site-header { height: 76px; }
  .header-inner { gap: 12px; }
  .brand span { font-size: .98rem; }
  .brand img { width: 37px; height: 32px; }
  .header-actions { gap: 7px; }
  .icon-button, .language-toggle, .menu-toggle { height: 36px; }
  .icon-button { width: 36px; }
  .menu-toggle { width: 38px; }
  .header-actions .button-small { width: 36px; min-height: 36px; padding: 0; }
  .header-actions .button-small span { display: none; }
  .mobile-menu { inset-block-start: 68px; inset-inline: 16px; }
  .section-stepper { display: none; }
  .hero { min-height: auto; padding: 108px 0 52px; }
  .hero::before { width: 420px; height: 420px; inset-block-start: -260px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(2.35rem,11vw,3.8rem); }
  .hero-body { font-size: 1rem; }
  .hero-actions .button { flex: 0 0 auto; }
  .hero-visual { width: 100%; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .cta-panel h2 { font-size: clamp(1.9rem,9vw,2.8rem); }
  .section-heading > p:last-child { font-size: .96rem; }
  .platform-block { padding-block: 26px; }
  .workflow-list { grid-template-columns: 1fr; }
  .workflow-step { min-height: 0; padding: 26px 8px 32px; border-inline-start: 0; border-top: 1px solid var(--line); }
  .workflow-step:first-child { border-top: 0; }
  .workflow-number { margin-bottom: 30px; }
  .showcase-heading { margin-bottom: 34px; }
  .product-story { display: block; }
  .story-copy { display: grid; gap: 12px; margin-bottom: 28px; padding-block: 0; }
  .story-step { display: block; min-height: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); opacity: 1; }
  .story-step > span { margin-bottom: 14px; }
  .story-step p { font-size: .9rem; }
  .story-stage-anchor { position: static; display: block; height: auto; }
  .story-stage { position: static; display: grid; aspect-ratio: auto; gap: 14px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .product-shot { position: relative; opacity: 1; transform: none; overflow: hidden; aspect-ratio: 2 / 1; border: 1px solid var(--line-strong); border-radius: 12px; }
  .product-shot img { object-fit: cover; }
  .feature-groups { grid-template-columns: 1fr; }
  .feature-group { padding: 22px; }
  .customer-journey p { font-size: .9rem; }
  .control-grid { grid-template-columns: 1fr; }
  .control-panel { min-height: 0; padding: 30px 8px 34px; border-inline-start: 0; border-top: 1px solid var(--line); }
  .control-panel:first-child { border-top: 0; }
  .plans-intro { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .billing-note { margin: 0; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-cards .plan-coming { grid-column: auto; }
  .plan-card { min-height: 0; }
  .plan-card-header { min-height: 0; }
  .plan-coming { min-height: 390px; }
  .plans-sticky { display: none; }
  .final-cta { padding: 40px 0 32px; }
  .cta-panel { grid-template-columns: 1fr; padding: 34px 24px; }
  .cta-panel > img { width: 66px; height: 58px; }
  .cta-actions { grid-column: auto; min-width: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding: 42px 0 84px; }
  .footer-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
  .footer-brand { width: 100%; }
  .footer-brand .brand { justify-content: center; }
  .footer-social-block { margin-top: 24px; padding-top: 0; border-top: 0; }
  .footer-socials { justify-content: center; }
  .footer-navigation { width: 100%; padding-top: 24px; border-top: 1px solid var(--line); }
  .footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
  .footer-nav a { padding: 5px; }
  .whatsapp-dock { inset-inline-end: 16px; bottom: max(16px,env(safe-area-inset-bottom)); }
  .dock-toggle { width: 50px; height: 50px; }
  .dock-menu, .whatsapp-qr { bottom: 62px; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 24px,var(--container)); }
  .header-inner { gap: 8px; }
  .header-actions { gap: 5px; }
  .brand { gap: 7px; }
  .brand img { width: 34px; height: 30px; }
  .icon-button, .language-toggle, .menu-toggle, .header-actions .button-small { width: 34px; min-width: 34px; height: 34px; min-height: 34px; padding: 0; }
  .hero h1 { font-size: clamp(2.05rem,11.5vw,2.8rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .feature-group, .plan-card-header, .plan-features, .cta-panel { padding-inline: 20px; }
  .dock-menu { width: min(210px,calc(100vw - 32px)); }
  .whatsapp-qr { width: min(260px,calc(100vw - 32px)); }
}

@media (max-width: 767px) {
  html, body { overflow-x: hidden; overscroll-behavior-x: none; }
  main, .site-header, .site-footer { width: 100%; max-width: 100%; overflow-x: clip; }
  .container { width: min(100% - 32px,var(--container)); }
  .section, .workflow, .showcase, .storefront, .plans { padding: 60px 0 36px; }
  .site-header { height: calc(72px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .header-inner { gap: 8px; }
  .brand img { width: 36px; height: 31px; }
  .header-actions { gap: 5px; }
  .icon-button, .language-toggle, .menu-toggle, .header-actions .button-small { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; }
  .header-actions .button-small span { display: none; }

  .mobile-menu { position: fixed; inset-block-start: calc(64px + env(safe-area-inset-top)); inset-inline: 12px; gap: 5px; max-height: calc(100dvh - 84px - env(safe-area-inset-top)); padding: 10px; border-radius: 18px; }
  .mobile-menu { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .mobile-menu > a { position: relative; display: flex; min-height: 52px; align-items: center; padding-inline: 48px 15px; font-size: .95rem; }
  .mobile-menu > a::before { position: absolute; inset-inline-start: 15px; color: var(--quiet); font-family: var(--font-en); font-size: .65rem; }
  .mobile-menu > a:nth-child(1)::before { content: "01"; }
  .mobile-menu > a:nth-child(2)::before { content: "02"; }
  .mobile-menu > a:nth-child(3)::before { content: "03"; }
  .mobile-menu > a:nth-child(4)::before { content: "04"; }
  .mobile-menu > a:nth-child(5)::before { content: "05"; }

  .section-stepper { inset: 0 0 auto; display: block; width: 100%; height: 3px; transform: none; }
  html[dir="rtl"] .section-stepper { left: 0; right: 0; }
  .stepper-items { display: none; }
  .stepper-track, html[dir="rtl"] .stepper-track { inset: 0; width: 100%; height: 3px; background: transparent; }
  .stepper-progress { width: var(--page-progress,0%); height: 100% !important; background: var(--accent); transition: width .16s linear; }

  .hero { min-height: auto; padding: calc(104px + env(safe-area-inset-top)) 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-overline { margin-bottom: 16px; font-size: .68rem; }
  .hero h1 { max-width: 14ch; margin-bottom: 20px; font-size: clamp(2.2rem,9.8vw,3.25rem); line-height: 1.1; }
  html[lang="ar"] .hero h1 { line-height: 1.25; }
  .hero-body { max-width: 38ch; margin-bottom: 26px; font-size: 1rem; line-height: 1.78; }
  .hero-actions { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
  .hero-actions .button { min-height: 52px; padding-inline: 14px; }
  .hero-note { max-width: 190px; font-size: .75rem; }
  .hero-visual { width: calc(100% + 24px); margin-inline: -12px; }
  .hero-device { width: 100%; margin-inline: 0; transform: scale(1.12); transform-origin: center; }
  .hero-devices { filter: drop-shadow(0 18px 28px rgba(0,0,0,.24)); }

  .section-heading { max-width: 36rem; margin-bottom: 32px; }
  .section-heading h2, .cta-panel h2 { margin-bottom: 16px; font-size: clamp(1.85rem,8.5vw,2.65rem); }
  .section-heading > p:last-child { max-width: 38ch; font-size: 1rem; line-height: 1.8; }

  .platform-grid { gap: 12px; border: 0; }
  .platform-block, .platform-block:first-child { min-height: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
  .workflow-list { grid-template-columns: 1fr; gap: 12px; border: 0; }
  .workflow-step, .workflow-step:first-child, .workflow-step:nth-child(n+3) { min-height: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb,var(--surface) 72%,transparent); }
  .workflow-number { margin-bottom: 32px; }

  .showcase-heading { margin-bottom: 32px; }
  .product-story { display: none; }
  .product-story-mobile { display: grid; gap: 18px; }
  .mobile-story-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
  .mobile-story-copy { padding: 22px 20px 20px; }
  .mobile-story-copy > span { display: block; margin-bottom: 24px; color: var(--accent); font-family: var(--font-en); font-size: .7rem; font-weight: 800; }
  .mobile-story-copy h3 { margin-bottom: 10px; font-size: 1.18rem; }
  .mobile-story-copy p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.75; }
  .mobile-story-card img { width: 100%; height: auto; border-top: 1px solid var(--line); background: var(--bg); }

  .feature-groups { grid-template-columns: 1fr; }
  .feature-group { padding: 20px; border-radius: 16px; }
  .feature-row { padding: 18px 0; }
  .feature-row p, .feature-highlight p { line-height: 1.7; }
  .storefront-grid { gap: 42px; }
  .customer-journey li { gap: 16px; min-height: 68px; }
  .customer-journey span { width: 42px; height: 42px; }
  .control-grid { grid-template-columns: 1fr; gap: 12px; border: 0; }
  .control-panel, .control-panel:first-child { min-height: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
  .control-points { margin-top: 24px; }

  .plans-intro { gap: 16px; margin-bottom: 30px; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 0; border-radius: 18px; background: var(--surface); }
  .plan-card-header { min-height: 0; padding: 26px 22px; }
  .plan-name { margin-bottom: 25px; }
  .plan-price strong { font-size: clamp(2.8rem,14vw,3.7rem); }
  .plan-features { padding: 14px 22px 24px; }
  .plan-features li { padding-block: 13px; font-size: .88rem; line-height: 1.65; }
  .plan-card-header .button { min-height: 52px; }
  .plan-coming { min-height: 340px; }

  .final-cta { padding: 36px 0 30px; }
  .cta-panel { grid-template-columns: 1fr; gap: 24px; padding: 30px 24px; border-radius: 18px; }
  .cta-actions { grid-column: auto; min-width: 0; }
  .site-footer { padding: 42px 0 calc(84px + env(safe-area-inset-bottom)); }
  .footer-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
  .footer-brand, .footer-navigation { width: 100%; }
  .footer-brand .brand, .footer-socials, .footer-nav { justify-content: center; }
  .footer-social-block { margin-top: 24px; padding-top: 0; border-top: 0; }
  .footer-socials a { width: 44px; height: 44px; }
  .footer-navigation { padding-top: 24px; border-top: 1px solid var(--line); }
  .footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .footer-nav a { min-height: 44px; padding: 9px 5px; }

  .whatsapp-dock { inset-inline-end: 16px; bottom: max(16px,env(safe-area-inset-bottom)); }
  .dock-toggle { width: 56px; height: 56px; }
  .dock-menu, .whatsapp-qr { bottom: 66px; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 24px,var(--container)); }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-note { max-width: none; padding-block-start: 12px; padding-inline-start: 0; border-block-start: 1px solid var(--line); border-inline-start: 0; }
  .dock-menu { width: min(210px,calc(100vw - 32px)); }
  .whatsapp-qr { width: min(260px,calc(100vw - 32px)); }
}

@media (max-width: 350px) {
  .header-inner > .brand span { display: none; }
}

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