/* ==========================================================================
   صفقة — Product page (minimal, white, typographic)
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap");

:root {
  --brand: #6d4aff; --violet: #6d4aff; --violet-600: #5a37f0; --violet-soft: #f3f0ff;
  --text: #111111; --text-2: #6b6b6b; --muted: #9a9a9a;
  --border: #ececec; --border-2: #e2e2e2; --line: #f2f2f2; --surface-2: #fafafa;
  --green: #16a34a; --amber: #d97706; --red: #dc2626; --blue: #2563eb;
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.65; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; font-feature-settings: "tnum" 1; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; }
p { margin: 0; }
svg.lucide { width: 16px; height: 16px; stroke-width: 1.75; flex: none; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }
kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px;
  font: 500 11.5px/1 var(--font); color: var(--text-2); background: #fff; border: 1px solid var(--border-2); border-bottom-width: 2px; border-radius: 5px;
}

/* buttons */
.b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 8px; font: 500 14.5px var(--font); border: 1px solid var(--border-2); background: #fff; color: var(--text); cursor: pointer; transition: .15s; white-space: nowrap; }
.b:hover { background: var(--surface-2); }
.b-dark { background: #111; border-color: #111; color: #fff; }
.b-dark:hover { background: #2a2a2a; }
.b-violet { background: var(--violet); border-color: var(--violet); color: #fff; }
.b-violet:hover { background: var(--violet-600); }
.b-sm { height: 32px; padding: 0 12px; font-size: 13.5px; border-radius: 7px; }
.b svg { width: 15px; height: 15px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.wm { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.wm img { width: 32px; height: 32px; object-fit: contain; }
.hero-logo { display: block; width: 72px; height: 72px; object-fit: contain; margin: 0 auto 18px; }
.nav-links { display: flex; gap: 20px; font-size: 14px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.by { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); }
.by img { width: 18px; height: 18px; object-fit: contain; }
.by:hover { color: var(--text); }
.back { font-size: 13.5px; color: var(--text-2); display: inline-flex; align-items: center; gap: 4px; }
.back:hover { color: var(--text); }

/* hero */
.hero { padding: 84px 0 36px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 6px 0 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; color: var(--text-2); background: #fff; }
.pill b { color: var(--text); font-weight: 500; }
.pill .tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--violet-soft); color: var(--violet); font-size: 11.5px; font-weight: 600; }
.hero h1 { font-size: clamp(40px, 7.2vw, 84px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; margin: 22px auto 0; max-width: 900px; }
.hero h1 .soft { color: #b4b4b4; }
.hero .lede { font-size: clamp(16px, 2vw, 19px); color: var(--text-2); max-width: 640px; margin: 22px auto 0; line-height: 1.75; }
.hero .ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero .meta { margin-top: 16px; font-size: 13px; color: var(--muted); display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .meta span { display: inline-flex; align-items: center; gap: 5px; }

/* product mockup */
.shot { padding: 28px 0 40px; }
.win { position: relative; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 30px 80px -20px rgba(0,0,0,.14); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); direction: ltr; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e2e2; }
.win-bar span { margin: 0 auto; font-size: 11.5px; color: var(--muted); }
.app { display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 470px; font-size: 12.5px; }
.m-sb { background: var(--surface-2); border-inline-end: 1px solid var(--border); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.m-ws { display: flex; align-items: center; gap: 7px; padding: 4px 6px 8px; font-weight: 600; font-size: 13px; }
.m-logo { width: 20px; height: 20px; border-radius: 5px; background: #111; color: #fff; display: grid; place-items: center; font-size: 11px; }
.m-search { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--muted); margin-bottom: 8px; }
.m-search kbd { margin-inline-start: auto; height: 17px; min-width: 0; font-size: 10px; }
.m-link { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 6px; color: #3d3d3d; font-weight: 500; }
.m-link svg.lucide { width: 14px; height: 14px; color: #8f8f8f; }
.m-link small { margin-inline-start: auto; color: var(--muted); font-size: 11px; }
.m-link.on { background: #fff; box-shadow: 0 0 0 1px var(--border); }
.m-link.on svg.lucide { color: var(--violet); }
.m-sec { font-size: 11px; color: var(--muted); padding: 12px 8px 3px; }
.m-main { min-width: 0; display: flex; flex-direction: column; }
.m-ph { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.m-ph b { color: var(--text); font-weight: 500; }
.m-ph .sep { color: #d0d0d0; }
.m-ph .m-btn { margin-inline-start: auto; height: 26px; padding: 0 10px; border-radius: 6px; background: var(--violet); color: #fff; display: inline-flex; align-items: center; gap: 5px; font-weight: 500; font-size: 12px; }
.m-tabs { display: flex; gap: 2px; padding: 6px 14px; border-bottom: 1px solid var(--border); }
.m-tabs span { height: 24px; padding: 0 9px; border-radius: 6px; display: inline-flex; align-items: center; color: var(--text-2); font-weight: 500; }
.m-tabs span.on { background: #fff; color: var(--text); box-shadow: 0 0 0 1px var(--border-2); }
.m-board { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 8px; padding: 12px; overflow: hidden; }
.m-col { background: var(--surface-2); border-radius: 8px; padding: 8px 6px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.m-col-h { display: flex; align-items: center; gap: 5px; padding: 0 3px 2px; font-weight: 500; white-space: nowrap; }
.m-col-h small { color: var(--muted); font-weight: 400; }
.m-col-h em { margin-inline-start: auto; font-style: normal; color: var(--text-2); font-size: 11px; }
.m-card { background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 8px; display: grid; gap: 3px; min-width: 0; }
.m-card.drag { transform: rotate(-2deg) translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.12); border-color: #d6d6d6; }
.m-co { display: flex; align-items: center; gap: 5px; color: var(--text-2); font-size: 11px; white-space: nowrap; overflow: hidden; }
.fv { width: 15px; height: 15px; border-radius: 4px; color: #fff; display: inline-grid; place-items: center; font-size: 9px; font-weight: 600; flex: none; }
.m-t { font-weight: 500; font-size: 12px; line-height: 1.35; }
.m-a { font-size: 12px; }
.m-f { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--text-2); }
.m-av { width: 16px; height: 16px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 8px; font-weight: 600; margin-inline-start: auto; background: #ece9f8; color: #4b3f8a; }

/* floating command palette over the mockup */
.m-cmdk { position: absolute; top: 96px; left: 50%; transform: translateX(-50%); width: min(500px, 82%); background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 24px 60px rgba(0,0,0,.2); overflow: hidden; font-size: 13px; animation: float 6s ease-in-out infinite; }
.m-cmdk-in { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--border); }
.m-cmdk-in .q { color: var(--text); }
.m-cmdk-in .caret { width: 1.5px; height: 17px; background: var(--violet); animation: blink 1s steps(2) infinite; }
.m-cmdk-in kbd { margin-inline-start: auto; }
.m-g { padding: 8px 12px 3px; font-size: 11px; color: var(--muted); }
.m-it { display: flex; align-items: center; gap: 9px; height: 34px; margin: 0 6px; padding: 0 8px; border-radius: 7px; }
.m-it.sel { background: #f5f5f5; box-shadow: inset -2px 0 0 var(--violet); }
.m-it small { color: var(--muted); font-size: 11.5px; }
.m-it .r { margin-inline-start: auto; color: var(--text-2); font-size: 11.5px; }
.m-it svg.lucide { width: 14px; height: 14px; color: var(--text-2); }
.m-foot { display: flex; gap: 12px; padding: 8px 12px; margin-top: 6px; border-top: 1px solid var(--border); background: var(--surface-2); font-size: 11px; color: var(--text-2); }
.m-foot span { display: inline-flex; align-items: center; gap: 4px; }
.m-foot kbd { height: 16px; min-width: 16px; font-size: 10px; }
@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }
@keyframes blink { to { opacity: 0; } }

/* logos strip */
.trust { padding: 20px 0 64px; text-align: center; }
.trust p { font-size: 13px; color: var(--muted); }
.trust .names { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin-top: 14px; font-size: 16px; font-weight: 600; color: #b8b8b8; letter-spacing: -.01em; }

/* sections */
.sec { padding: 88px 0; border-top: 1px solid var(--border); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--violet); margin-bottom: 14px; }
.sec h2 { font-size: clamp(28px, 4.2vw, 46px); letter-spacing: -.03em; line-height: 1.12; max-width: 720px; }
.sec h2 .soft { color: #b4b4b4; }
.sec .sub { font-size: 16.5px; color: var(--text-2); max-width: 600px; margin-top: 14px; line-height: 1.75; }

/* features grid */
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--border); border-inline-start: 1px solid var(--border); }
.feat { padding: 26px 22px 30px; border-bottom: 1px solid var(--border); border-inline-end: 1px solid var(--border); min-width: 0; }
.feat .ic { width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text); margin-bottom: 16px; }
.feat .ic svg.lucide { width: 15px; height: 15px; }
.feat:first-child .ic { color: var(--violet); border-color: #ddd4ff; background: var(--violet-soft); }
.feat h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.feat p { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }
.feat kbd { margin: 0 1px; }

/* flow */
.flow { margin-top: 52px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.flow::before { content: ""; position: absolute; top: 15px; inset-inline: 8%; border-top: 1px dashed #d4d4d4; }
.step { position: relative; padding: 0 10px; text-align: center; min-width: 0; }
.step .dot { position: relative; width: 30px; height: 30px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 1px solid var(--border-2); display: grid; place-items: center; }
.step .dot svg { width: 16px; height: 16px; }
.step.win-step .dot { background: #111; border-color: #111; color: #fff; }
.step small { display: block; font-size: 11.5px; color: var(--muted); font-family: ui-monospace, Menlo, Consolas, monospace; direction: ltr; }
.step b { display: block; font-size: 14.5px; font-weight: 600; margin: 4px 0 6px; }
.step p { font-size: 13px; color: var(--text-2); line-height: 1.65; }
.step .who { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 12px; color: var(--text-2); border: 1px solid var(--border); border-radius: 999px; padding: 2px 9px 2px 4px; }
.step .who i { width: 16px; height: 16px; border-radius: 50%; background: #ece9f8; color: #4b3f8a; font-style: normal; font-size: 8.5px; font-weight: 600; display: grid; place-items: center; }

/* split: keyboard / forecast */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.keys { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.keys div { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.keys div:last-child { border-bottom: 0; }
.keys span { flex: 1; color: var(--text-2); }
.keys kbd { height: 24px; min-width: 24px; font-size: 12px; }
.fcm { border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.fcm-nums { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.fcm-nums small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.fcm-nums b { display: block; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.fcm-nums i { width: 8px; height: 8px; border-radius: 2px; }
.fcm-bar { position: relative; height: 12px; border-radius: 4px; background: var(--line); margin: 30px 0 10px; }
.fcm-bar span { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 4px; }
.fcm-bar .t { top: -20px; bottom: -4px; width: 0; border-inline-start: 1.5px solid var(--violet); border-radius: 0; }
.fcm-bar .t em { position: absolute; top: 0; inset-inline-end: 5px; font-style: normal; font-size: 11px; color: var(--violet); white-space: nowrap; }
.fcm-rows { margin-top: 18px; border-top: 1px solid var(--border); }
.fcm-rows div { display: grid; grid-template-columns: minmax(0, 1fr) 110px 90px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.fcm-rows div:last-child { border-bottom: 0; }
.fcm-rows .bar { height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.fcm-rows .bar::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); background: #111; }
.fcm-rows .bar.hit::after { background: var(--violet); }
.fcm-rows b { font-weight: 500; text-align: end; }

/* roles */
.roles { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.role { border: 1px solid var(--border); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s; min-width: 0; }
.role:hover { border-color: #cfcfcf; }
.role .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.role b { font-size: 15px; font-weight: 600; display: block; }
.role small { font-size: 12.5px; color: var(--text-2); display: block; }
.role ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--text-2); }
.role li { display: flex; gap: 7px; align-items: flex-start; }
.role li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #c4c4c4; margin-top: 9px; flex: none; }
.role .go { margin-top: auto; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.role:hover .go { color: var(--violet); }

/* CTA */
.cta { padding: 110px 0 120px; text-align: center; border-top: 1px solid var(--border); }
.cta h2 { font-size: clamp(32px, 5vw, 58px); letter-spacing: -.035em; line-height: 1.08; }
.cta p { color: var(--text-2); margin-top: 14px; font-size: 16px; }
.cta .ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* footer */
.foot { border-top: 1px solid var(--border); padding: 26px 0; font-size: 13px; color: var(--text-2); }
.foot .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot .by { margin-inline-start: auto; }

/* responsive */
@media (max-width: 1024px) {
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .m-board { grid-template-columns: repeat(4, minmax(140px, 1fr)); }
  .m-board .m-col:nth-child(5) { display: none; }
}
@media (max-width: 800px) {
  .nav-links, .nav .back { display: none; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .flow::before { display: none; }
  .app { grid-template-columns: minmax(0, 1fr); min-height: 380px; }
  .m-sb { display: none; }
  .m-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-board .m-col:nth-child(n+3) { display: none; }
  .m-cmdk { top: 120px; width: 90%; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav .wrap { gap: 10px; }
  .nav .by span { display: none; }
  .hero { padding: 52px 0 24px; }
  .feats, .roles { grid-template-columns: minmax(0, 1fr); }
  .sec { padding: 64px 0; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .m-tabs span:nth-child(n+3) { display: none; }
  .m-cmdk .m-it .r, .m-foot span:nth-child(3) { display: none; }
  .fcm-rows div { grid-template-columns: minmax(0, 1fr) 70px 70px; }
  .keys div { padding: 12px 14px; }
}
