/* Desktop-style portfolio. Logical properties throughout so Arabic (RTL) and English (LTR) share one sheet. */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Arabic", "SF Pro Text", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --win: #ffffff; --win-2: #f4f4f5; --ink: #111114; --ink-2: #55575e; --ink-3: #8b8d94; --line: #ececee;
  --accent: #7c3aed; --accent-2: #a78bfa; --night: #0d0a24; --ok: #22c55e;
  --icon: 56px; --radius-win: 18px;
}
body.dark { --win: #17181c; --win-2: #212227; --ink: #f2f2f4; --ink-2: #b5b7bd; --ink-3: #82848b; --line: #2a2b31; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font); color: #fff; overflow: hidden; -webkit-font-smoothing: antialiased;
  background: #07061a url(img/wallpaper.webp) center / cover no-repeat;
  user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
:lang(en) body, body:lang(en) { letter-spacing: -0.01em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.noscript { position: relative; z-index: 5; margin: 80px auto; max-width: 720px; background: #fff; color: #111; padding: 24px 40px; border-radius: 16px; line-height: 1.8; }

/* Intro */
.intro { position: fixed; inset: 0; z-index: 100; background: #07061a url(img/wallpaper.webp) center / cover; display: grid; place-items: center; animation: introOut .6s ease 1.6s forwards; }
.intro img { width: 96px; height: 96px; filter: drop-shadow(0 0 30px rgba(167,139,250,.8)); animation: uIn 1s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes uIn { from { opacity: 0; transform: scale(.6) rotate(-8deg); filter: blur(8px); } }
.intro svg { width: 76px; height: 76px; fill: none; stroke-width: 3.2; stroke-linecap: round; }
.intro path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s cubic-bezier(.6,0,.2,1) forwards; }
.intro .s1 { stroke: #fff; animation-delay: .15s; }
.intro .s2 { stroke: #9cc4ff; animation-delay: .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }

/* Menu bar */
.menubar {
  position: fixed; inset-block-start: 0; inset-inline: 0; height: 40px; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; padding-inline: 12px 20px;
  background: rgba(10, 12, 18, .55); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-block-end: 1px solid rgba(255,255,255,.08); font-size: 15px;
}
.mb-brand { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mb-brand img { width: 20px; height: 20px; }
.mb-end { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.mb-ico { width: 18px; height: 18px; opacity: .95; }
.mb-ico svg { width: 100%; height: 100%; }
.mb-lang { font-size: 13px; padding: 2px 8px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; }
.mb-lang:hover { background: rgba(255,255,255,.12); }
.mb-sep { width: 1px; height: 14px; background: rgba(255,255,255,.4); }
.mb-clock { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Desktop icons */
.desktop { position: fixed; inset: 40px 0 0; }
.icon {
  position: absolute; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  transform: translate(calc(-50% * var(--dir, 1)), -50%); touch-action: none;
}
[dir="rtl"] .icon { --dir: -1; }
.icon-img { display: block;
  width: var(--icon); height: var(--icon); border-radius: 13px; overflow: hidden; position: relative;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 0 0 1px rgba(255,255,255,.18), 0 10px 24px rgba(0,0,0,.35);
  transition: transform .18s ease;
}
.icon-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.icon:hover .icon-img { transform: scale(1.06); }
.icon:active .icon-img { transform: scale(.96); }
.icon-label { font-size: 13px; font-weight: 500; text-shadow: 0 1px 4px rgba(0,0,0,.6); white-space: nowrap; padding: 1px 6px; border-radius: 5px; }
.icon:focus-visible { outline: none; }
.icon:focus-visible .icon-label { background: #2f6fde; text-shadow: none; }
.icon-img.brand { background-color: var(--night); background-position: center; background-repeat: no-repeat; background-size: cover; }
.icon-img.zoom { background-size: auto 190%; }
.app-u { background: linear-gradient(150deg, #8b5cf6, #3b1a8f 70%, #160b3d); display: grid; place-items: center; }
.app-u img { width: 62% !important; height: 62% !important; object-fit: contain !important; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.app-money { background: linear-gradient(180deg, #2a1d5e, #120c2e); }
.app-money img { transform: scale(1.15); }
.app-wa { background: linear-gradient(180deg, #5ef08a, #1fb855); color: #fff; display: grid; place-items: center; }
.app-wa svg { width: 58%; height: 58%; }
.app { display: grid; place-items: center; }
.app svg { width: 58%; height: 58%; }
.app-star { background: linear-gradient(180deg, #fff, #eceef3); }
.app-doc { background: linear-gradient(180deg, #fff, #f1ede8); }
.app-wa { background: linear-gradient(180deg, #5ef08a, #1fb855); color: #fff; }
.app-folder { background: linear-gradient(180deg, #fff, #edf0f6); }
.app-hudoor { background: linear-gradient(160deg, #1b1145, #4c1d95); color: #fff; display: grid; place-items: center; }
.app-hudoor svg { width: 56%; height: 56%; }
.app-mail { background: linear-gradient(180deg, #fff, #eaf1fb); }
.app-person { background: linear-gradient(180deg, #fff, #eef0fb); }
.app-globe { background: linear-gradient(180deg, #fff, #e8f3fd); }
.app-camera { background: linear-gradient(180deg, #fff, #e9ecf6); }
.app-tag { background: linear-gradient(180deg, #fff, #fdecea); }
.app-chat { background: linear-gradient(180deg, #fff, #e6f1ff); }

/* Dock */
.dock {
  position: fixed; z-index: 40; inset-block-end: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; padding: 7px; border-radius: 20px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.dock-btn { position: relative; width: 52px; height: 52px; border-radius: 12px; transition: transform .2s cubic-bezier(.3,1.6,.5,1); }
.dock-btn .icon-img { width: 100%; height: 100%; border-radius: 12px; }
.dock-btn:hover { transform: translateY(-6px) scale(1.08); }
.dock-btn::after {
  content: attr(data-label); position: absolute; inset-block-end: calc(100% + 14px); left: 50%; transform: translate(-50%, 4px);
  background: rgba(240,240,242,.95); color: #111; font-size: 13px; padding: 4px 10px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: .15s;
}
.dock-btn:hover::after { opacity: 1; transform: translate(-50%, 0); }
.dock-btn .dot { position: absolute; inset-block-end: -6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff; opacity: 0; }
.dock-btn.running .dot { opacity: .9; }
.dock-badge { position: absolute; inset-block-start: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: #ff3b30; color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; border: 2px solid #fff; }

/* Corner controls */
.verified {
  position: fixed; z-index: 40; inset-block-end: 18px; inset-inline-start: 16px; display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 12px; font-size: 13.5px; color: #fff;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.verified svg { width: 18px; height: 18px; color: #86efac; }
.badge {
  position: fixed; z-index: 40; inset-block-end: 18px; inset-inline-end: 20px; display: flex; align-items: center; gap: 8px;
  background: #fff; color: #111; padding: 9px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.badge svg { width: 18px; height: 18px; color: #1fb855; }
.m-pill-wrap { display: none; }

/* Windows */
.win {
  position: fixed; z-index: 20; width: min(792px, calc(100vw - 48px)); height: min(507px, calc(100vh - 200px));
  background: var(--win); color: var(--ink); border-radius: var(--radius-win); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 30px 80px rgba(0,0,0,.45);
  display: flex; flex-direction: column; user-select: text; -webkit-user-select: text;
  animation: winIn .32s cubic-bezier(.2,.9,.3,1.15);
  transform-origin: var(--ox, 50%) var(--oy, 100%);
}
.win.closing { animation: winOut .2s ease forwards; }
.win.max { inset: 52px 16px 96px !important; width: auto; height: auto; }
@keyframes winIn { from { opacity: 0; transform: scale(.85); } }
@keyframes winOut { to { opacity: 0; transform: scale(.9); } }
.win-bar { flex: none; height: 48px; display: flex; align-items: center; justify-content: space-between; padding-inline: 16px 18px; border-block-end: 1px solid var(--line); cursor: grab; touch-action: none; }
.win-bar:active { cursor: grabbing; }
.lights { display: flex; align-items: center; gap: 9px; }
.lights button { width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.18); transition: transform .15s ease, filter .15s ease; }
.lights button svg { width: 11px; height: 11px; fill: none; stroke: rgba(0,0,0,.6); stroke-width: 1.7; stroke-linecap: round; }
.lights .l-c { background: #ff5f57; width: 20px; height: 20px; }
.lights .l-c svg { width: 12px; height: 12px; stroke: rgba(80,0,0,.75); stroke-width: 1.9; }
.lights .l-s { background: #febc2e; }
.lights .l-t { background: #28c840; }
.lights button:hover { transform: scale(1.12); filter: brightness(1.05); }
.lights .l-back { display: none; }
.win-socials { display: flex; gap: 12px; color: var(--ink); }
.win-socials a { width: 18px; height: 18px; }
.win-socials svg { width: 100%; height: 100%; }
.win-body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 28px 24px 32px; scrollbar-width: thin; }
.win h2 { font-size: 24px; font-weight: 500; margin: 0 0 24px; letter-spacing: -.01em; }
.win h3 { font-size: 18px; font-weight: 500; margin: 0 0 6px; }
.win p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.win section + section { margin-block-start: 44px; }

/* About */
.about-hero { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: end; }
.brand-card { aspect-ratio: 360 / 325; border-radius: 16px; position: relative; overflow: hidden; background: #000; }
.brand-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-card .brand-logo { position: absolute; inset-inline: 0; inset-block-end: 14px; width: 62%; height: auto; margin-inline: auto; object-fit: contain; }
.eyebrow { font-size: 13px; color: var(--accent); font-weight: 600; margin-block-end: 6px; }
body.dark .eyebrow { color: var(--accent-2); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-block-start: 22px; }
.stats div { background: var(--win-2); border-radius: 14px; padding: 16px; }
.stats b { display: block; font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.stats span { font-size: 13px; color: var(--ink-2); }
.sector + .sector { margin-block-start: 30px; }
.sector-h { font-size: 14px !important; font-weight: 600 !important; color: var(--accent); margin-block-end: 14px !important; display: flex; align-items: center; gap: 8px; }
.sector-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pill { background: #ede9fe; color: #5b21b6; border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.lead-p { margin-block-end: 22px !important; }
.about-name { font-size: 24px; font-weight: 500; color: var(--ink); margin-block-end: 8px; }
.about-lede { font-size: 17px; color: var(--ink-2); line-height: 1.55; }
.avail { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 13px; margin-block: 14px 18px; }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.about-contact { display: flex; justify-content: space-between; gap: 12px; padding-block-start: 14px; border-block-start: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.svc-ico { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(150deg, #8b5cf6, #4c1d95); color: #fff; display: grid; place-items: center; margin-block-end: 14px; }

.svc-ico svg { width: 22px; height: 22px; }
.svc-grid p { font-size: 13.5px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { text-align: start; display: block; width: 100%; }
.card-img { aspect-ratio: 232 / 174; border-radius: 14px; overflow: hidden; background: var(--win-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-t { font-size: 17px; font-weight: 500; color: var(--ink); margin-block: 12px 2px; }
.card-m { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-2); }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why-c { border-radius: 14px; min-height: 220px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; position: relative; overflow: hidden; }
.why-c:nth-child(1) { background: linear-gradient(160deg, #7c3aed, #1e1048); }
.why-c:nth-child(2) { background: linear-gradient(160deg, #4338ca, #12103a); }
.why-c:nth-child(3) { background: linear-gradient(160deg, #1fb855, #0b3a22); }
.why-c svg { position: absolute; inset-block-start: 18px; inset-inline-start: 18px; width: 30px; height: 30px; opacity: .9; }
.why-c h3 { font-size: 21px; font-weight: 700; color: #fff; }
.why-c p { color: rgba(255,255,255,.85); font-size: 13.5px; }
.cr { margin-block-start: 36px; font-size: 12.5px; color: var(--ink-3); }

/* Project window */
.win.proj { width: min(792px, calc(100vw - 48px)); }
.proj-grid { flex: 1; display: grid; grid-template-columns: 186px minmax(0, 1fr); min-height: 0; }
.proj-side { border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.proj-side .win-bar { border: 0; }
.proj-side h4 { margin: 10px 12px 8px; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.proj-list { list-style: none; margin: 0; padding: 0 8px 12px; overflow: auto; }
.proj-list button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: 14.5px; color: var(--ink); text-align: start; }
.proj-list button:hover { background: var(--win-2); }
.proj-list button[aria-current="true"] { background: var(--win-2); font-weight: 500; }
.proj-list img { width: 20px; height: 20px; border-radius: 5px; object-fit: cover; }
.side-h { font-size: 12px; color: var(--ink-3); padding: 12px 10px 4px; font-weight: 500; }
.side-h:first-child { padding-block-start: 4px; }
.mini-hud { width: 20px; height: 20px; border-radius: 5px; background: linear-gradient(160deg, #1b1145, #4c1d95); color: #fff; display: grid; place-items: center; }
.mini-hud svg { width: 13px; height: 13px; }
.ct-id { display: flex; align-items: center; gap: 12px; }
.ct-id img { width: 46px; height: 46px; padding: 8px; border-radius: 12px; background: linear-gradient(150deg, #8b5cf6, #3b1a8f); }
.proj-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-3); min-width: 0; }
.crumbs b { color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs i { font-style: normal; opacity: .5; }
.home-btn { width: 20px; height: 20px; color: var(--ink); }
.proj-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.proj-head h2 { margin: 0 0 8px; }
.visit { color: var(--accent); font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.visit svg { width: 13px; height: 13px; }
[dir="rtl"] .visit svg { transform: scaleX(-1); }
.muted-tag { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-block: 22px; padding-block: 16px; border-block: 1px solid var(--line); }
.meta span { display: block; font-size: 13px; color: var(--ink-3); margin-block-end: 4px; }
.meta b { font-weight: 500; font-size: 15px; }
.shot-frame { border-radius: 14px; background: linear-gradient(150deg, #2a1d5e, #0d0a24); padding: 22px 22px 0; overflow: hidden; }
.shot-frame img { width: 100%; display: block; border-radius: 8px 8px 0 0; }
.built { margin-block-start: 28px; }
.built h3 { font-size: 15px; color: var(--ink-3); font-weight: 500; margin-block-end: 10px; }
.built ul { margin: 0; padding-inline-start: 20px; color: var(--ink); line-height: 1.75; font-size: 15.5px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-block-start: 28px; }
.pair > div { border-radius: 14px; overflow: hidden; background: var(--win-2); aspect-ratio: 4 / 5; }
.pair img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.pair .tone { background: linear-gradient(160deg, #7c3aed, #1e1048); display: grid; place-items: center; }
.pair .tone img { width: 56%; height: auto; border-radius: 18px; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.illus-cap { font-size: 12.5px; color: var(--ink-3); margin-block-start: 8px; }

/* Hudoor illustration */
.hud { border-radius: 14px; background: linear-gradient(160deg, #1b1145, #4c1d95); padding: 26px; display: grid; grid-template-columns: 1fr 150px; gap: 20px; align-items: center; aspect-ratio: 16 / 10; }
.hud-dash { background: #fff; border-radius: 10px; padding: 14px; height: 100%; display: flex; flex-direction: column; gap: 10px; }
.hud-row { display: flex; gap: 8px; }
.hud-kpi { flex: 1; border-radius: 8px; background: #f2f4f7; padding: 8px; font-size: 11px; color: #555; }
.hud-kpi b { display: block; font-size: 18px; color: #1b1145; }
.hud.small { aspect-ratio: auto; height: 100%; padding: 14px; gap: 10px; grid-template-columns: 1fr 70px; }
.hud-bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; padding-block-start: 6px; }
.hud-bars i { flex: 1; background: #7c3aed; border-radius: 4px 4px 0 0; opacity: .85; }
.hud-phone { background: #0b0f17; border-radius: 22px; padding: 8px; aspect-ratio: 9 / 18; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.hud-screen { background: #fff; border-radius: 15px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #0d1b2a; font-size: 12px; }
.hud-ring { width: 64px; height: 64px; border-radius: 50%; border: 5px solid #1fb855; display: grid; place-items: center; }
.hud-ring svg { width: 30px; height: 30px; stroke: #1fb855; }

/* Marketing */
.mk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mk-img { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--night); margin-block-end: 12px; }
.mk-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.mk-card:hover .mk-img img { transform: scale(1.04); }
.mk-card p { font-size: 13.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 14px; border-radius: 999px; background: var(--win-2); font-size: 14px; color: var(--ink); }
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gal div { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--win-2); }
.gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.gal div:hover img { transform: scale(1.05); }
.btn-wa.big { margin-block-start: 30px; background: #1fb855; color: #fff; }
.btn-wa.big svg { color: #fff; }

/* Pricing */
.price-box { border-radius: 16px; padding: 28px; color: #fff; background: radial-gradient(120% 120% at 0% 0%, #7c3aed, #140c35 65%); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.price-box .from { font-size: 14px; opacity: .8; }
.price-box .amt { font-size: 64px; font-weight: 700; line-height: 1; margin-block: 6px; letter-spacing: -.02em; }
.price-box .amt small { font-size: 20px; font-weight: 500; }
.price-box .note { opacity: .8; }
.btn-wa { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #111; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.btn-wa svg { width: 20px; height: 20px; color: #1fb855; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink); background: var(--win-2); padding: 12px; border-radius: 12px; }
.checks svg { width: 18px; height: 18px; flex: none; color: var(--ok); }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps div { counter-increment: s; }
.steps div::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--win); font-size: 14px; font-weight: 600; margin-block-end: 12px; }
[lang="ar"] .steps div::before { content: counter(s, arabic-indic); }
.steps p { font-size: 13.5px; }

/* Contact */
.ct-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ct-head .about-name { margin: 0 0 4px; }
.ct-sub { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; }
.ct-sub i { width: 1px; background: var(--line); }
.ct-icons { display: flex; gap: 8px; }
.ct-icons a { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.ct-icons svg { width: 15px; height: 15px; }
.form { margin-block-start: 30px; display: grid; gap: 16px; }
.form .lead { color: var(--ink-3); font-size: 15px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; color: var(--ink); }
.form label > span { display: block; }
.form label em { color: #e5484d; font-style: normal; }
.form input, .form textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--win); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none; resize: vertical;
}
.form input:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.form textarea { min-height: 96px; }
.form .send { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: var(--win-2); color: var(--ink); padding: 11px 20px; border-radius: 10px; font-weight: 500; }
.form .send:hover { background: #111; color: #fff; }
.form .send svg { width: 18px; height: 18px; }
.form small { color: var(--ink-3); font-size: 12.5px; }

/* Phone */
@media (max-width: 767px) {
  body { background-image: url(img/wallpaper-m.webp); overflow: auto; }
  .menubar { height: 32px; font-size: 14px; padding-inline: 10px; }
  .mb-end { gap: 7px; font-size: 11.5px; }
  .mb-ico { width: 14px; height: 14px; }
  .mb-lang { font-size: 11px; padding: 1px 6px; }
  .desktop { position: relative; inset: auto; padding: 52px 20px 130px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 12px; min-height: 100svh; align-content: start; }
  .icon { position: static; transform: none; width: auto; gap: 5px; }
  .icon-img { --icon: 60px; border-radius: 14px; }
  .icon-label { font-size: 12px; padding: 0; }
  [data-desk-only] { display: none !important; }
  .dock { inset-block-end: 10px; width: calc(100% - 20px); max-width: 380px; justify-content: space-around; padding: 10px 12px; border-radius: 30px; }
  .dock-btn { width: 58px; height: 58px; }
  .dock-btn .icon-img { border-radius: 14px; }
  .dock-btn::after { display: none; }
  .verified, .badge { display: none; }
  .win, .win.proj, .win.max, .win.doc, .win.notes, .win.finder { inset: 40px 8px 8px !important; width: auto; height: auto; border-radius: 22px; transform-origin: 50% 100%; animation: sheetIn .38s cubic-bezier(.2,.9,.25,1); }
  .win.closing { animation: sheetOut .25s ease forwards; }
  @keyframes sheetIn { from { transform: translateY(40%); opacity: 0; } }
  @keyframes sheetOut { to { transform: translateY(30%); opacity: 0; } }
  .win-bar { cursor: default; }
  .lights .l-c, .lights .l-s, .lights .l-t { display: none; }
  .lights .l-back { display: inline-flex; align-items: center; gap: 4px; width: auto; height: 38px; padding-inline: 10px 16px; border-radius: 999px;
    background: #ececf1; color: var(--ink); font-size: 16px; font-weight: 600; box-shadow: none; }
  .lights .l-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  [dir="rtl"] .lights .l-back svg { transform: scaleX(-1); }
  .win-bar { height: 58px; }
  .win-body { padding: 22px 16px 32px; }
  .about-hero { grid-template-columns: 1fr; }
  .svc-grid, .cards, .why, .checks, .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-grid, .stats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stats div { padding: 12px 10px; }
  .stats b { font-size: 20px; }
  .why { grid-template-columns: 1fr; }
  .why-c { min-height: 160px; }
  .checks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .win { z-index: 60 !important; }
  .proj-side { border: 0; border-block-end: 1px solid var(--line); }
  .side-h { display: none; }
  .proj-list { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 10px; scrollbar-width: none; }
  .proj-list button { white-space: nowrap; padding: 6px 10px; background: var(--win-2); font-size: 13.5px; }
  .proj-list button[aria-current="true"] { background: var(--ink); color: var(--win); }
  .proj-main > .win-bar { display: none; }
  .proj-side .win-bar { justify-content: space-between; }
  .meta { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shot-frame { padding: 12px 12px 0; }
  .price-box { grid-template-columns: 1fr; }
  .price-box .amt { font-size: 54px; }
  .hud { grid-template-columns: 1fr 110px; padding: 16px; gap: 12px; }
}
@media (max-width: 380px) { .svc-grid, .cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ===== Folders and files ===== */
.fold-wrap { display: block; width: 70px; height: 56px; position: relative; transition: transform .18s ease; }
.mac-fold { width: 100%; height: 100%; filter: drop-shadow(0 4px 8px rgba(0,0,0,.28)); }
.icon:hover .fold-wrap { transform: scale(1.06); }
.icon:active .fold-wrap { transform: scale(.96); }
.ios-fold { display: none; }

.file { position: relative; display: block; width: 46px; height: 58px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.25)); }
.file-page { position: absolute; inset: 0; background: #fff; clip-path: polygon(0 0, 70% 0, 100% 22%, 100% 100%, 0 100%); border-radius: 3px; overflow: hidden; }
.file-page::after { content: ""; position: absolute; inset-block-start: 0; inset-inline-end: 0; width: 30%; height: 22%; background: linear-gradient(225deg, transparent 50%, #d9dce3 50%); }
[dir="rtl"] .file-page { clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 22%); }
[dir="rtl"] .file-page::after { background: linear-gradient(135deg, transparent 50%, #d9dce3 50%); }
.file-thumb { position: absolute; inset: 20% 9% 36%; background: #222 center / cover; border-radius: 2px; }
.file-lines { position: absolute; inset-inline: 12%; inset-block-end: 12%; display: grid; gap: 3px; }
.file-lines i { height: 2px; background: #d6d8de; border-radius: 1px; }
.file-lines i:last-child { width: 60%; }
.file-ext { position: absolute; inset-block-end: 6px; inset-inline-start: -5px; background: #e5484d; color: #fff; font: 700 8.5px/1 -apple-system, sans-serif; letter-spacing: .04em; padding: 2px 4px; border-radius: 3px; }
.file.photo { width: 54px; height: 54px; }
.file.photo .file-page { clip-path: none; border: 3px solid #fff; background: center / cover; border-radius: 3px; }
.file.photo .file-page::after { display: none; }

/* Notes app icon */
.app-notes { background: linear-gradient(180deg, #fff 0%, #f3f3f1 100%); }
.app-notes .nt-top { position: absolute; inset: 0 0 auto; height: 27%; background: linear-gradient(180deg, #ffd95a, #f7c52b); }
.app-notes .nt-dots { position: absolute; inset-inline: 10%; top: 30%; height: 2px; background: radial-gradient(circle, #c9c9c9 1px, transparent 1.3px) 0 0 / 5px 2px repeat-x; }
.app-notes .nt-lines { position: absolute; inset-inline: 10%; top: 47%; display: grid; gap: 15%; height: 40%; }
.app-notes .nt-lines i { height: 1.5px; background: #d9d9d9; }

/* ===== Widgets ===== */
.widgets { position: fixed; z-index: 3; inset-block-start: 58px; inset-inline-end: 22px; width: 344px; display: grid; gap: 16px; }
.wg { border-radius: 22px; overflow: hidden; background: rgba(28,24,48,.5); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5); box-shadow: 0 10px 30px rgba(0,0,0,.25); color: #fff; }
.wg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wg-row .wg { aspect-ratio: 1; }
.wg-cal { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px 18px; height: 164px; }
.cal-top { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,.65); white-space: nowrap; }
.cal-top b { color: #ff453a; font-weight: 600; }
.cal-top i { width: 1px; height: 11px; background: rgba(255,255,255,.3); }
.cal-day { font-size: 54px; font-weight: 600; line-height: 1.05; margin-block-start: 2px; letter-spacing: -.02em; }
.cal-ev { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,.75); margin-block-start: 8px; }
.dot-ok { width: 7px; height: 7px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 3px rgba(48,209,88,.2); flex: none; }
.cal-m { color: #ff453a; font-size: 12.5px; font-weight: 600; margin-block-end: 4px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px 0; font-size: 9.5px; text-align: center; }
.cal-grid b { font-weight: 600; color: rgba(255,255,255,.55); }
.cal-grid span { line-height: 15px; font-variant-numeric: tabular-nums; }
.cal-grid .today { background: #ff453a; border-radius: 50%; width: 15px; margin-inline: auto; font-weight: 700; }

/* Rotating tickers: services and why us — frosted glass, swipeable */
.wg-tick { position: relative; display: flex; flex-direction: column; padding: 14px 14px 12px; isolation: isolate;
  background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.05) 55%, rgba(255,255,255,.1));
  border: 1px solid rgba(255,255,255,.26); backdrop-filter: blur(30px) saturate(1.8); -webkit-backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(255,255,255,.08), 0 14px 36px rgba(10,6,40,.32); }
.wg-tick::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 120px; height: 120px; border-radius: 50%; z-index: -1; filter: blur(30px); opacity: .55; }
.tk-svc::before { background: #a78bfa; }
.tk-feat::before { background: #34d399; inset: auto auto -40% -20%; }
.tk-h { display: flex; align-items: center; gap: 7px; font-size: 15.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.tk-h svg { width: 17px; height: 17px; flex: none; }
.tk-stage { position: relative; flex: 1; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tk-stage:active { cursor: grabbing; }
.tk-item { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 9px;
  opacity: 0; filter: blur(3px); pointer-events: none; transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1), filter .5s ease; }
.tk-item.on { opacity: 1; transform: none; filter: none; }
.tk-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.tk-ico svg { width: 19px; height: 19px; }
.tk-item b { font-size: 17px; font-weight: 700; line-height: 1.35; text-wrap: balance; }
.tk-dots { display: flex; gap: 4px; }
.tk-dots button { width: 5px; height: 5px; padding: 0; border-radius: 3px; background: rgba(255,255,255,.35); transition: width .3s ease, background .3s ease; position: relative; }
.tk-dots button::after { content: ""; position: absolute; inset: -6px -2px; }
.tk-dots button.on { width: 14px; background: #fff; }

/* Some of our work: the four folders under the widgets */
.wg-works { padding-block-start: 2px; }
.wg-h { font-size: 15px; font-weight: 700; margin: 0 4px 10px; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.wg-folders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.wg-folders .icon { position: static; transform: none; width: auto; }

/* WhatsApp call to action: a macOS notification banner */
.mac-notif { position: relative; display: block; padding-block-end: 7px; animation: mnIn .7s 1.4s cubic-bezier(.2,.9,.25,1.1) both; }
@keyframes mnIn { from { opacity: 0; transform: translateX(calc(-40px * var(--dir, 1))); } }
[dir="rtl"] .mac-notif { --dir: -1; }
.mn-stack { position: absolute; inset: auto 14px 0; height: 24px; border-radius: 0 0 16px 16px;
  background: rgba(60,58,72,.42); border: 1px solid rgba(255,255,255,.14); border-block-start: 0; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.mn-card { position: relative; display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 18px; color: #fff;
  background: rgba(58,56,70,.55); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(30px) saturate(1.8); -webkit-backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 32px rgba(0,0,0,.35); transition: background .2s ease; }
.mac-notif:hover .mn-card { background: rgba(72,70,86,.62); }
.mn-app { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #5ef08a, #1fb855); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 2px 6px rgba(0,0,0,.25); }
.mn-app svg { width: 24px; height: 24px; }
.mn-body { flex: 1; min-width: 0; display: grid; gap: 1px; }
.mn-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mn-top b { font-size: 14px; font-weight: 700; }
.mn-top time { font-size: 11.5px; color: rgba(255,255,255,.55); flex: none; }
.mn-text { font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.85); }
.mn-reply { position: absolute; inset-block-start: 50%; inset-inline-end: 12px; transform: translateY(-50%); padding: 5px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); opacity: 0; transition: opacity .15s ease; }
.mac-notif:hover .mn-reply { opacity: 1; }
.mac-notif:hover .mn-top time { opacity: 0; }

/* Price under the pricing icon */
.icon-sub { font-size: 11.5px; font-weight: 600; margin-block-start: -4px; padding: 1px 7px; border-radius: 6px; background: rgba(48,209,88,.9); color: #04230f; white-space: nowrap; }

/* App concepts: illustrative phone screen */
.app-concept svg { width: 62% !important; height: 62% !important; }
.mi-hud svg { width: 70%; height: 70%; display: block; margin: 15%; }
.mini-hud svg { width: 15px !important; height: 15px !important; }
.cmock { border-radius: 14px; padding: 24px 30px; display: grid; grid-template-columns: 1fr 146px; gap: 24px; align-items: center; aspect-ratio: 16 / 10; color: #fff; position: relative; overflow: hidden; }
.cmock::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.12); inset-block-start: -30%; inset-inline-start: -15%; }
.cmock.small { aspect-ratio: auto; height: 100%; padding: 10px; grid-template-columns: 84px; justify-content: center; }
.cm-id { display: grid; gap: 10px; align-content: center; justify-items: start; position: relative; }
.cm-ico { width: 72px; height: 72px; border-radius: 18px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.cm-ico svg { width: 46px; height: 46px; }
.cm-id b { font-size: 34px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.cm-id > span:last-child { font-size: 14px; opacity: .85; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.14); }
.cmock .hud-phone { position: relative; }
.cm-screen { background: #f6f7f9; border-radius: 15px; height: 100%; overflow: hidden; display: flex; flex-direction: column; color: #0d1b2a; font-size: 9.5px; }
.cm-top { display: flex; align-items: center; gap: 6px; padding: 16px 10px 9px; color: #fff; }
.cm-logo { width: 18px; height: 18px; border-radius: 5px; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.cm-logo svg { width: 14px; height: 14px; }
.cm-top b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-kpi { margin: 8px 8px 0; padding: 8px 9px; border-radius: 9px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); display: grid; gap: 1px; }
.cm-kpi small { font-size: 8.5px; color: #6b7280; }
.cm-kpi b { font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.cm-kpi span { font-size: 8.5px; color: #6b7280; }
.cm-screen ul { list-style: none; margin: 0; padding: 7px 8px 0; display: grid; gap: 5px; flex: 1; align-content: start; }
.cm-screen li { display: flex; align-items: center; gap: 5px; background: #fff; border-radius: 7px; padding: 6px; white-space: nowrap; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.cm-screen li i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.cm-screen li span { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.cm-screen li em { font-style: normal; color: #6b7280; font-size: 8.5px; }
.cm-btn { margin: 7px 8px 5px; padding: 6px; border-radius: 8px; color: #fff; text-align: center; font-weight: 600; }
.cm-tabs { display: flex; justify-content: space-around; padding: 5px 10px 8px; border-block-start: 1px solid #e5e7eb; background: #fff; }
.cm-tabs i { width: 10px; height: 10px; border-radius: 3px; background: #d1d5db; }
.cmock.small .cm-screen { font-size: 5.5px; border-radius: 10px; }
.cmock.small .hud-phone { border-radius: 14px; padding: 4px; }
.cmock.small .cm-top { padding: 6px 5px 4px; gap: 3px; }
.cmock.small .cm-logo { width: 9px; height: 9px; border-radius: 3px; }
.cmock.small .cm-logo svg { width: 7px; height: 7px; }
.cmock.small .cm-top b { font-size: 6.5px; }
.cmock.small .cm-kpi { margin: 4px 4px 0; padding: 4px; border-radius: 5px; }
.cmock.small .cm-kpi b { font-size: 8px; }
.cmock.small .cm-kpi small, .cmock.small .cm-kpi span, .cmock.small .cm-screen li em { font-size: 4.5px; }
.cmock.small .cm-screen ul { padding: 3px 4px 0; gap: 2px; }
.cmock.small .cm-screen li { padding: 2.5px; border-radius: 3px; }
.cmock.small .cm-btn { margin: 3px 4px; padding: 2.5px; border-radius: 4px; }
.cmock.small .cm-tabs { padding: 2px 5px 4px; }
.cmock.small .cm-tabs i { width: 5px; height: 5px; border-radius: 1.5px; }

/* Project screenshots gallery and viewer */
button.shot-frame { display: block; width: 100%; cursor: zoom-in; }
.shots { margin-block-start: 22px; }
.shots h3 { font-size: 15px; color: var(--ink-3); font-weight: 500; margin-block-end: 10px; }
.shots-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.shots-m { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-block-start: 12px; max-width: 75%; }
.shot { padding: 0; border-radius: 10px; overflow: hidden; background: var(--win-2); aspect-ratio: 16 / 10; cursor: zoom-in; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.08); transition: transform .18s ease; }
.shot:hover { transform: translateY(-2px); }
.shot.m { aspect-ratio: 9 / 16; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(8,6,20,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: foIn .2s ease; }
.lb figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lb img { max-width: min(86vw, 1280px); max-height: 80vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); user-select: none; -webkit-user-drag: none; }
.lb img.m { max-height: 82vh; }
.lb figcaption { color: rgba(255,255,255,.75); font-size: 14px; }
.lb-x { position: absolute; inset-block-start: 18px; inset-inline-end: 18px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 16px; }
.lb-nav { position: absolute; inset-block-start: 50%; width: 46px; height: 46px; margin-block-start: -23px; border-radius: 50%; background: rgba(255,255,255,.14); }
.lb-nav::before { content: ""; position: absolute; inset: 0; margin: auto; width: 11px; height: 11px; border: solid #fff; border-width: 2.5px 2.5px 0 0; }
.lb-prev { inset-inline-start: 18px; }
.lb-next { inset-inline-end: 18px; }
.lb-prev::before { transform: translateX(2px) rotate(-135deg); }
.lb-next::before { transform: translateX(-2px) rotate(45deg); }
[dir="rtl"] .lb-prev::before { transform: translateX(-2px) rotate(45deg); }
[dir="rtl"] .lb-next::before { transform: translateX(2px) rotate(-135deg); }


/* ===== Menu bar music ===== */
.mb-music { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; }
.mb-music svg { width: 18px; height: 18px; }
.mb-music[aria-expanded="true"] { background: rgba(255,255,255,.18); }
.mb-eq { display: none; gap: 2px; align-items: flex-end; height: 12px; }
.mb-eq i, .np-eq i { width: 2.5px; background: currentColor; border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.mb-eq i:nth-child(2), .np-eq i:nth-child(2) { animation-delay: -.3s; }
.mb-eq i:nth-child(3), .np-eq i:nth-child(3) { animation-delay: -.6s; }
.mb-eq i:nth-child(4), .np-eq i:nth-child(4) { animation-delay: -.15s; }
.np-eq i:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.music-on .mb-play { display: none; }
.music-on .mb-eq { display: flex; }

.np {
  position: fixed; z-index: 70; inset-block-start: 46px; width: 360px; padding: 16px; border-radius: 18px;
  display: grid; grid-template-columns: minmax(0, 1fr) 138px; gap: 16px; color: #fff;
  background: rgba(70,62,96,.55); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 20px 50px rgba(0,0,0,.45);
  backdrop-filter: blur(40px) saturate(1.8); -webkit-backdrop-filter: blur(40px) saturate(1.8);
  animation: npIn .2s ease;
}
.np.closing { animation: npOut .18s ease forwards; }
@keyframes npIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes npOut { to { opacity: 0; transform: translateY(-6px) scale(.98); } }
.np-main { display: flex; flex-direction: column; min-width: 0; }
.np-dots { display: flex; gap: 3px; margin-block-end: 6px; }
.np-dots i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.35); }
.np-txt { display: grid; gap: 2px; text-align: end; }
.np-t { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-a { font-size: 12.5px; color: rgba(255,255,255,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-ctrl { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px 10px; }
.np-ctrl button { color: rgba(255,255,255,.75); display: grid; place-items: center; border-radius: 10px; transition: transform .12s, color .12s; }
.np-ctrl button:hover { color: #fff; }
.np-ctrl button:active { transform: scale(.9); }
.np-ctrl [data-np="prev"], .np-ctrl [data-np="next"] { width: 34px; height: 28px; }
.np-ctrl [data-np="prev"] svg, .np-ctrl [data-np="next"] svg { width: 30px; height: 22px; }
.np-pp { width: 40px; height: 40px; color: #fff !important; }
.np-pp svg { width: 30px; height: 30px; }
.np-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; cursor: pointer; }
.np-bar i { display: block; height: 100%; width: 0; background: #3b82f6; border-radius: 3px; transition: width .25s linear; }
.np-time { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255,255,255,.6); margin-block-start: 5px; font-variant-numeric: tabular-nums; }
.np-art { align-self: center; aspect-ratio: 16 / 11; border-radius: 10px; overflow: hidden; position: relative; display: grid; place-items: center;
  background: radial-gradient(120% 100% at 20% 10%, #8b5cf6, #2a1569 60%, #0d0a24); }
.np-art img { width: 40%; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); transition: transform 1.2s ease; }
.np.on .np-art img { transform: scale(1.06); }
.np-eq { position: absolute; inset-block-end: 8px; inset-inline-start: 10px; display: flex; gap: 2px; align-items: flex-end; height: 14px; color: rgba(255,255,255,.9); opacity: 0; transition: opacity .3s; }
.np.on .np-eq { opacity: 1; }
.np-eq i { animation-play-state: running; }
.np-credit { grid-column: 1 / -1; font-size: 10.5px; color: rgba(255,255,255,.45); margin-block-start: -6px; }

/* ===== Finder window ===== */
.win.finder { width: min(820px, calc(100vw - 48px)); }
.fd-grid, .nt-grid { flex: 1; display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 0; }
.fd-side, .nt-side { background: rgba(244,243,248,.92); border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.fd-side .win-bar, .nt-side .win-bar { border: 0; }
.fd-sec, .nt-sec { font-size: 11.5px; font-weight: 600; color: var(--ink-3); padding: 6px 18px 6px; }
.fd-list, .nt-list { list-style: none; margin: 0; padding: 0 8px 12px; overflow: auto; }
.fd-list button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 7px; font-size: 14px; color: var(--ink); text-align: start; }
.fd-list button:hover { background: rgba(0,0,0,.05); }
.fd-list button[aria-current="true"] { background: rgba(0,0,0,.08); font-weight: 500; }
.fd-list .sf { width: 18px; height: 15px; color: #2f8ce0; flex: none; }
.fd-main, .nt-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.fd-main .win-bar { justify-content: flex-start; gap: 14px; }
.fd-nav { display: flex; gap: 2px; }
.fd-nav button { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; color: var(--ink-2); }
.fd-nav button:hover:not(:disabled) { background: var(--win-2); }
.fd-nav button:disabled { opacity: .3; cursor: default; }
.fd-nav svg { width: 16px; height: 16px; }
[dir="rtl"] .fd-nav svg { transform: scaleX(-1); }
.fd-nav button + button svg { transform: scaleX(-1); }
[dir="rtl"] .fd-nav button + button svg { transform: none; }
.fd-title { font-size: 15px; font-weight: 600; }
.fd-count { margin-inline-start: auto; font-size: 12.5px; color: var(--ink-3); }
.fd-body { padding: 18px 18px 28px; }
.fd-h { font-size: 12px !important; font-weight: 600 !important; color: var(--ink-3); margin: 6px 8px 8px !important; }
.fd-h ~ .fd-h { margin-block-start: 22px !important; }
.fd-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px 4px; }
.fd-item { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 4px 8px; border-radius: 10px; color: var(--ink); font-size: 12.5px; text-align: center; }
.fd-item:hover { background: var(--win-2); }
.fd-item:focus-visible { outline: 2px solid #2f6fde; }
.fd-item .icon-img { --icon: 56px; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 4px 10px rgba(0,0,0,.15); }
.fd-item > span:last-child { line-height: 1.35; }
.fd-item em, .doc-title em { font-style: normal; color: var(--ink-3); }

/* ===== Document window ===== */
.win.doc { width: min(700px, calc(100vw - 48px)); height: min(600px, calc(100vh - 170px)); }
.doc-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; min-width: 0; }
.doc-title .file { width: 15px; height: 19px; filter: none; }
.doc-title .file.photo { width: 18px; height: 18px; }
.doc-title .file-ext, .doc-title .file-lines { display: none; }
.doc-title .file-thumb { inset: 18% 8% 20%; }
.doc-sp { width: 52px; }
.doc-body { background: #e9e8ee; padding: 26px 22px 40px; }
.page { max-width: 560px; margin: 0 auto; background: #fff; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04); overflow: hidden; }
.page-hero { aspect-ratio: 16 / 7; background: var(--night); }
.page-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-in { padding: 26px 32px 32px; }
.page h1 { font-size: 26px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.01em; }
.page-lede { font-size: 16px; margin-block-end: 22px !important; }
.page-steps { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; gap: 14px; }
.page-steps li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.page-steps li::before { content: counter(st); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(150deg, #8b5cf6, #4c1d95); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 600; }
[lang="ar"] .page-steps li::before { content: counter(st, arabic-indic); }
.page-steps b { font-size: 16px; font-weight: 600; }
.page-steps span { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.page-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.page-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; background: var(--win-2); border-radius: 10px; padding: 11px 12px; }
.page-list svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-block-start: 2px; }
.page-note { margin-block-start: 20px !important; padding: 12px 14px; border-radius: 10px; background: #f3efff; color: #4c1d95 !important; font-size: 14px; }
.page-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-block-start: 26px; }
.page-cta .btn-wa.big { margin: 0; }
.page-cta span { font-size: 13.5px; color: var(--ink-3); }

/* ===== Notes window ===== */
.win.notes { width: min(760px, calc(100vw - 48px)); }
.nt-side { background: #f6f5f2; }
.nt-list button { width: 100%; display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; text-align: start; color: var(--ink); }
.nt-list button b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-list button span { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-list button[aria-current="true"] { background: #fbe39a; }
.nt-list li + li { border-block-start: 1px solid var(--line); }
.nt-tools { display: flex; gap: 14px; color: #c69500; }
.nt-tools svg { width: 19px; height: 19px; }
.nt-body { padding: 18px 34px 34px; }
.nt-date { text-align: center; font-size: 12px; color: var(--ink-3); margin-block-end: 18px; }
.nt-body h2 { font-size: 24px; font-weight: 700; margin-block-end: 14px; }
.nt-body p { font-size: 16px; color: var(--ink); line-height: 1.75; margin-block-end: 10px; }
.nt-checks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; font-size: 16px; }
.nt-checks li { display: flex; align-items: center; gap: 10px; }
.nt-checks span { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid #c8c8cc; flex: none; }
.nt-body .btn-wa.big { margin-block-start: 18px; }

/* ===== Phone ===== */
@media (max-width: 767px) {
  .widgets { display: contents; }
  .wg-row { display: contents; }
  .wg-row .wg { grid-column: span 2; order: 1; border-radius: 22px; }
  .wg-works { grid-column: 1 / -1; order: 5; }
  .wg-h { font-size: 16px; margin-inline: 2px; }
  .wg-folders { gap: 12px; }
  .mac-notif { grid-column: 1 / -1; order: 6; }
  .mn-reply { display: none; }
  .shots-grid { grid-template-columns: minmax(0, 1fr); }
  .shots-m { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .lb-nav { display: none; }
  .lb img { max-width: 94vw; }
  .tk-item b { font-size: 16px; }
  .tk-h { font-size: 17px; }
  .tk-h svg { width: 19px; height: 19px; }
  .cmock { grid-template-columns: 1fr 120px; padding: 16px; gap: 12px; aspect-ratio: auto; }
  .cm-ico { width: 52px; height: 52px; border-radius: 14px; }
  .cm-ico svg { width: 32px; height: 32px; }
  .cm-id b { font-size: 22px; }
  .cm-id > span:last-child { font-size: 11px; }
  .cm-screen { font-size: 7.5px; }
  .cm-kpi b { font-size: 12px; }
  .wg-cal { grid-column: 1 / -1; order: 30; height: auto; padding: 14px 16px; }
  .cal-day { font-size: 46px; }
  .icon.is-folder { order: 5; }
  .fold-wrap { width: 60px; height: 60px; }
  .mac-fold { display: none; }
  .ios-fold {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-content: start; width: 100%; height: 100%; padding: 8px; border-radius: 14px;
    background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  }
  .ios-fold i { aspect-ratio: 1; border-radius: 3.5px; background: #0d0a24 center / cover; }
  .ios-fold .mi-hud { background: linear-gradient(160deg, #1b1145, #4c1d95); }
  .np { inset-inline: 8px; inset-block-start: 38px; width: auto; grid-template-columns: minmax(0, 1fr) 120px; }
  .fo { position: fixed; inset: 0; z-index: 65; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px;
    background: rgba(10,8,30,.35); backdrop-filter: blur(28px) saturate(1.3); -webkit-backdrop-filter: blur(28px) saturate(1.3); animation: foIn .25s ease; }
  .fo.closing { animation: foOut .2s ease forwards; }
  @keyframes foIn { from { opacity: 0; } }
  @keyframes foOut { to { opacity: 0; } }
  .fo-title { font-size: 28px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
  .fo-panel { width: min(340px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 10px; padding: 22px 16px; border-radius: 34px;
    background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.25); animation: foPop .3s cubic-bezier(.2,.9,.3,1.2); }
  @keyframes foPop { from { transform: scale(.7); opacity: 0; } }
  .fo-item { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; text-align: center; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
  .fo-item .icon-img { --icon: 60px; border-radius: 14px; }
  .fo-item .file { margin-block: 1px; }
  .win.doc, .win.notes, .win.finder { width: auto; height: auto; }
  .doc-body { padding: 14px 10px 30px; }
  .page-in { padding: 20px 18px 24px; }
  .page h1 { font-size: 22px; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nt-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .nt-side { border: 0; border-block-end: 1px solid var(--line); }
  .nt-sec { display: none; }
  .nt-list { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 10px; scrollbar-width: none; }
  .nt-list li + li { border: 0; }
  .nt-list button { padding: 6px 12px; background: #fff; border-radius: 999px; }
  .nt-list button span { display: none; }
  .nt-main > .win-bar { display: none; }
  .nt-body { padding: 18px 18px 30px; }
}
@media (max-width: 767px) and (max-height: 700px) { .wg-cal { display: none; } }

/* Saudi Business Center: a small verified chip at the end of the phone home screen */
.wg-sbc { display: none; justify-self: center; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; color: rgba(255,255,255,.88);
  font-size: 11.5px; font-weight: 500; white-space: nowrap;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.wg-sbc svg { width: 15px; height: 15px; flex: none; }
.wg-sbc i { width: 1px; height: 10px; background: rgba(255,255,255,.3); }
.wg-sbc bdi { font-variant-numeric: tabular-nums; letter-spacing: .03em; color: rgba(255,255,255,.65); }
/* Back pill on the phone folder overlay */
.fo-back { display: none; position: absolute; inset-block-start: 46px; inset-inline-start: 16px; align-items: center; gap: 4px; height: 40px; padding-inline: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 16px; font-weight: 600; }
.fo-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .fo-back svg { transform: scaleX(-1); }
@media (max-width: 767px) {
  .wg-sbc { display: flex; grid-column: 1 / -1; order: 40; }
  .fo-back { display: inline-flex; }
}

/* Real app screens inside an iPhone frame */
.phones { border-radius: 14px; padding: 30px 22px; display: flex; justify-content: center; align-items: center; gap: 18px; position: relative; overflow: hidden; }
.phones::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.12); inset-block-start: -40%; inset-inline-end: -20%; }
.iph { position: relative; flex: 0 1 190px; aspect-ratio: 390 / 844; padding: 7px; border-radius: 34px; background: #0b0b0f; cursor: zoom-in;
  box-shadow: 0 0 0 1.5px #3a3a40, 0 24px 50px rgba(0,0,0,.4); transition: transform .2s ease; }
.iph:hover { transform: translateY(-4px); }
.iph img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; display: block; }
.iph::after { content: ""; position: absolute; inset-block-start: 14px; left: 50%; width: 30%; height: 15px; margin-left: -15%; border-radius: 10px; background: #0b0b0f; }
.phones .iph:nth-child(2) { flex-basis: 210px; z-index: 1; }
.iph.sm { flex: none; height: 92%; padding: 3px; border-radius: 14px; box-shadow: 0 0 0 1px #3a3a40, 0 10px 20px rgba(0,0,0,.35); cursor: inherit; }
.iph.sm img { border-radius: 11px; }
.iph.sm::after { inset-block-start: 6px; height: 6px; }
.card-phone { display: grid; place-items: center; }
.shots-grid.one { grid-template-columns: minmax(0, 1fr); }
.lb img.m { border-radius: 28px; }
@media (max-width: 767px) {
  .phones { padding: 18px 10px; gap: 8px; }
  .iph { padding: 4px; border-radius: 20px; }
  .iph img { border-radius: 16px; }
  .iph::after { inset-block-start: 8px; height: 8px; }
}
