/* =========================================================
   DR3 Development — site styles (light theme)
   ========================================================= */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F7F5FE;
  --bg-tint: #F1EDFF;
  --card: #FFFFFF;
  --line: #ECE9F6;
  --line-2: #DDD8EF;
  --ink: #15103A;
  --text: #15103A;
  --muted: #5F5A80;
  --dim: #6B668F;
  --brand: #6D4AFF;
  --brand-2: #5F43B2;
  --brand-deep: #15103A;
  --cyan: #0EA5E9;
  --pink: #EC4899;
  --green: #10B981;
  --shadow-sm: 0 1px 2px rgba(21, 16, 58, .05), 0 4px 14px -6px rgba(21, 16, 58, .08);
  --shadow: 0 1px 2px rgba(21, 16, 58, .04), 0 18px 40px -20px rgba(41, 26, 110, .22);
  --shadow-lg: 0 2px 4px rgba(21, 16, 58, .04), 0 40px 80px -36px rgba(61, 38, 160, .35);
  --radius: 22px;
  --radius-lg: 32px;
  --display: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); line-height: 1.45; margin: 0; letter-spacing: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--brand); color: #fff; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: #7F79AD; }
.ico { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Background ---------- */
.bg-aurora { position: absolute; inset: 0 0 auto; height: 1100px; z-index: -3; overflow: hidden; pointer-events: none; }
.bg-aurora i { position: absolute; border-radius: 50%; filter: blur(80px); animation: drift 22s var(--ease) infinite alternate; }
.bg-aurora i:nth-child(1) { width: 620px; height: 620px; background: #E6DEFF; top: -260px; right: -140px; }
.bg-aurora i:nth-child(2) { width: 480px; height: 480px; background: #D7F3FD; top: 260px; left: -220px; opacity: .8; animation-duration: 28s; }
.bg-aurora i:nth-child(3) { width: 380px; height: 380px; background: #FCE3F1; top: 520px; right: 30%; opacity: .6; animation-duration: 34s; }
@keyframes drift { to { transform: translate3d(50px, 60px, 0) scale(1.12); } }
.bg-grid {
  position: absolute; inset: 0 0 auto; height: 900px; z-index: -2; pointer-events: none;
  background-image: linear-gradient(#EEEBF8 1px, transparent 1px), linear-gradient(90deg, #EEEBF8 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 25%, transparent 75%);
}
body { position: relative; isolation: isolate; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: var(--h); padding: 0 1.4em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; white-space: nowrap; position: relative; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn--sm { --h: 42px; font-size: 15px; padding: 0 1.2em; }
.btn--lg { --h: 56px; font-size: 17px; padding: 0 1.8em; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(135deg, #7B5BFF, #5F43B2); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(95, 67, 178, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(95, 67, 178, .8); }
.btn--primary .ico { transition: transform .25s var(--ease); }
.btn--primary:hover .ico { transform: translateX(-4px); }
.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: #C7BFF0; transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset-inline: 0; top: 14px; z-index: 50; display: flex; justify-content: center; padding-inline: 14px; }
.nav__inner {
  width: min(1200px, 100%); height: 66px; display: flex; align-items: center; gap: 24px;
  padding-inline: 20px 10px; border-radius: 20px; border: 1px solid transparent;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.nav.is-scrolled .nav__inner, .nav.open .nav__inner {
  background: rgba(255, 255, 255, .82); border-color: var(--line); box-shadow: 0 12px 40px -24px rgba(21, 16, 58, .35);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { height: 30px; width: auto; }
.brand__tag { font: 700 10px/1 var(--body); letter-spacing: .18em; padding: 6px 9px; border-radius: 999px; background: var(--brand-2); color: #fff; direction: ltr; }
.nav__links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav__links a { padding: 8px 14px; border-radius: 12px; color: var(--muted); font-weight: 500; font-size: 15.5px; transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--ink); background: var(--bg-tint); }
.nav__mobile-cta { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; position: relative; }
.nav__toggle span { position: absolute; inset-inline: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav.open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: 150px; position: relative; overflow-x: clip; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 620px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-2); color: var(--muted); font-size: 14.5px; box-shadow: var(--shadow-sm);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hero__title { font-size: clamp(36px, 4.4vw, 58px); font-weight: 800; margin: 22px 0 18px; line-height: 1.42; }
.grad-text {
  background: linear-gradient(100deg, #6D4AFF 0%, #8B5CF6 30%, #0EA5E9 65%, #6D4AFF 100%); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: -200% center; } }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; }
.hero__sub b { color: var(--ink); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero__chips { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; }
.hero__chips li { display: flex; align-items: center; gap: 7px; }
.hero__chips .ico { color: var(--green); width: 1.05em; height: 1.05em; }

/* Hero visual */
.hero__visual { position: relative; height: 600px; perspective: 1200px; }
.orbit { position: absolute; inset: 50% auto auto 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; border: 1px dashed #D4CBFA; animation: spin 60s linear infinite; }
.orbit--2 { width: 380px; height: 380px; margin: -190px 0 0 -190px; border-style: solid; border-color: #E3F3FB; animation-direction: reverse; animation-duration: 45s; }
.orbit::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(109, 74, 255, .15); }
.orbit--2::before { background: var(--cyan); box-shadow: 0 0 0 5px rgba(14, 165, 233, .15); top: auto; bottom: -6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__visual::before { content: ""; position: absolute; inset: 15% 18%; border-radius: 50%; background: radial-gradient(circle, rgba(109, 74, 255, .25), transparent 65%); filter: blur(30px); }
.tilt { transition: transform .6s var(--ease); will-change: transform; }

.phone {
  position: absolute; left: 50%; top: 50%; width: 280px; height: 570px; margin: -285px 0 0 -140px; color: #F3F1FF;
  border-radius: 46px; padding: 11px; background: linear-gradient(160deg, #2A2552, #0F0D25);
  box-shadow: 0 0 0 1.5px rgba(21, 16, 58, .2), 0 60px 90px -40px rgba(61, 38, 160, .6), 0 30px 50px -30px rgba(21, 16, 58, .5);
}
.phone__notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: #000; border-radius: 20px; z-index: 2; }
.phone__screen {
  height: 100%; border-radius: 36px; overflow: hidden; padding: 54px 16px 16px; position: relative;
  background: radial-gradient(120% 60% at 100% 0%, #2B1F6B 0%, transparent 60%), #0B0A1D;
  display: flex; flex-direction: column; gap: 12px; font-size: 12px;
}
.phone h1, .phone strong { color: #fff; }
.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-top small { color: #A3A0C7; display: block; }
.app-top strong { font-size: 16px; font-family: var(--display); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #F472B6, #7C5CFF); }
.app-balance { border-radius: 20px; padding: 14px 16px 10px; background: linear-gradient(140deg, #7C5CFF, #4B2FB0); box-shadow: 0 14px 30px -14px #7C5CFF; }
.app-balance small { opacity: .8; }
.app-balance strong { display: block; font-size: 25px; font-family: var(--display); line-height: 1.4; }
.app-balance em { font-style: normal; font-size: 13px; opacity: .8; }
.spark svg { width: 100%; height: 34px; }
.spark path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 2.4s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.app-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-tile { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; padding: 9px; display: flex; flex-direction: column; }
.app-tile b { font-size: 15px; font-family: var(--display); }
.app-tile small { color: #A3A0C7; font-size: 10.5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; margin-bottom: 4px; }
.dot--a { background: #22D3EE; } .dot--b { background: #FBBF24; } .dot--c { background: #F472B6; }
.app-list { display: flex; flex-direction: column; gap: 8px; }
.app-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.app-item i { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, #22D3EE, #3B82F6); flex: none; }
.app-item i.i2 { background: linear-gradient(135deg, #34D399, #10B981); }
.app-item i.i3 { background: linear-gradient(135deg, #F472B6, #A78BFA); }
.app-item div { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.app-item small { color: #A3A0C7; font-size: 10.5px; }
.app-item span { font-weight: 700; font-size: 11.5px; }
.app-tab { margin-top: auto; display: flex; justify-content: space-around; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .06); }
.app-tab i { width: 20px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.app-tab i.on { background: #7C5CFF; width: 28px; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.4; animation: bob 6s ease-in-out infinite; color: var(--ink);
}
.float-card b { display: block; } .float-card small { color: var(--muted); }
.fc-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-tint); color: var(--brand); }
.fc-ico--green { background: #DDF7EC; color: var(--green); }
.fc-pay { top: 12%; left: -2%; }
.fc-nafath { bottom: 13%; right: -4%; animation-delay: -2s; }
.fc-code { bottom: 26%; left: -8%; animation-delay: -4s; direction: ltr; padding: 14px 18px; background: #15103A; border-color: #2A2552; }
.code { font: 500 12.5px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: left; color: #CBD5E1; }
.c-k { color: #C084FC; } .c-v { color: #93C5FD; } .c-f { color: #67E8F9; } .c-p { color: #FCA5A5; } .c-s { color: #86EFAC; } .c-b { color: #FBBF24; }
@keyframes bob { 50% { translate: 0 -12px; } }

/* Marquee */
.marquee-wrap { margin-top: 40px; padding: 26px 0 10px; }
.marquee-label { text-align: center; color: var(--dim); font-size: 14px; margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); direction: ltr; padding-block: 6px 16px; }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.mq-item { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); direction: rtl; flex: none; }
.mq-item img { width: 40px; height: 40px; border-radius: 12px; object-fit: contain; }
.mq-item span { font-weight: 600; color: var(--muted); font-size: 15px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat { padding: 30px 26px; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat b { font: 800 clamp(30px, 3.4vw, 42px)/1.2 var(--display); background: linear-gradient(135deg, #15103A, #5F43B2); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; text-align: right; }
.stat b small { font-size: .55em; margin-inline: 2px; }
.stat > span { color: var(--muted); font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding: 130px 0 0; position: relative; }
.section__head { margin-bottom: 50px; max-width: 720px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section h2 { font-size: clamp(28px, 3.8vw, 50px); font-weight: 800; line-height: 1.45; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-2); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--brand)); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.card:hover { transform: translateY(-5px); border-color: #D6CDFB; box-shadow: var(--shadow); }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(109, 74, 255, .08), transparent 50%);
}
.spot:hover::before { opacity: 1; }
.card--xl { grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(170deg, #F3EFFF 0%, #FFFFFF 55%); }
.card__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: var(--bg-tint); color: var(--brand); transition: transform .4s var(--ease); }
.card:hover .card__ico { transform: rotate(-6deg) scale(1.06); }
.card__ico .ico { width: 26px; height: 26px; stroke-width: 1.8; }
.card__ico--green { background: #DFF7EE; color: #047857; }
.card__ico--violet { background: #EFE7FF; color: #7C3AED; }
.card h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.card--xl h3 { font-size: 30px; }
.card p { color: var(--muted); font-size: 16px; }
.tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); }
.card__art { margin-top: auto; padding-top: 34px; height: 230px; position: relative; }
.art-apps span {
  position: absolute; bottom: -40px; width: 120px; height: 230px; border-radius: 26px; transition: transform .5s var(--ease);
  background: linear-gradient(170deg, #2A2457, #121030); box-shadow: 0 -10px 40px -12px rgba(95, 67, 178, .55);
}
.art-apps span::before { content: ""; position: absolute; inset: 12px 12px auto; height: 64px; border-radius: 16px; background: linear-gradient(135deg, #7C5CFF, #22D3EE); }
.art-apps span::after { content: ""; position: absolute; inset: 88px 12px auto; height: 70px; border-radius: 12px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .12) 0 14px, transparent 14px 22px); }
.art-apps span:nth-child(1) { right: 50%; margin-right: -60px; z-index: 2; bottom: -20px; }
.art-apps span:nth-child(2) { right: 50%; margin-right: 10px; transform: rotate(10deg); opacity: .85; }
.art-apps span:nth-child(3) { right: 50%; margin-right: -130px; transform: rotate(-10deg); opacity: .85; }
.art-apps span:nth-child(2)::before { background: linear-gradient(135deg, #F472B6, #7C5CFF); }
.art-apps span:nth-child(3)::before { background: linear-gradient(135deg, #34D399, #22D3EE); }
.card--xl:hover .art-apps span:nth-child(2) { transform: rotate(14deg) translateY(-8px); }
.card--xl:hover .art-apps span:nth-child(3) { transform: rotate(-14deg) translateY(-8px); }
.card--dark { background: linear-gradient(150deg, #5F43B2, #2A1F6E 60%, #15103A); border-color: transparent; color: #fff; box-shadow: 0 24px 50px -24px rgba(61, 38, 160, .7); }
.card--dark:hover { border-color: transparent; box-shadow: 0 30px 60px -24px rgba(61, 38, 160, .8); }
.card--dark h3 { color: #fff; }
.card--dark p { color: #DCD5FF; }
.card--dark .card__ico { background: rgba(255, 255, 255, .14); color: #fff; }
.card--dark.spot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .12), transparent 50%); }
.card__badge { position: absolute; top: 22px; inset-inline-end: 22px; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 15px; color: #fff; }
.card__link .ico { transition: transform .25s var(--ease); }
.card__link:hover .ico { transform: translateX(-4px); }

/* Portfolio */
.filters { display: flex; gap: 4px; padding: 5px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); flex-wrap: wrap; }
.filters button { border: 0; background: none; padding: 8px 16px; border-radius: 11px; color: var(--muted); font-weight: 600; font-size: 15px; transition: background .25s, color .25s, box-shadow .25s; }
.filters button:hover { color: var(--ink); }
.filters button.on { background: #fff; color: var(--brand-2); box-shadow: var(--shadow-sm); }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.work {
  position: relative; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: 12px; overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .45s var(--ease), border-color .3s, box-shadow .4s; isolation: isolate;
}
.work:hover { transform: translateY(-6px); border-color: #D6CDFB; box-shadow: var(--shadow); }
.work__logo { aspect-ratio: 1.25; border-radius: 16px; display: grid; place-items: center; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 55%, #EEE9FF, var(--bg-soft) 70%); }
.work__logo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .7) 50%, transparent 60%); transform: translateX(100%); transition: transform .9s var(--ease); }
.work:hover .work__logo::after { transform: translateX(-100%); }
.work__logo img { width: 46%; height: auto; max-height: 62%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(21, 16, 58, .18)); transition: transform .5s var(--ease); }
.work:hover .work__logo img { transform: scale(1.08); }
.work__body { padding: 14px 6px 4px; display: flex; flex-direction: column; flex: 1; }
.work__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.work h3 { font-size: 18px; font-weight: 700; }
.chip { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--brand-2); white-space: nowrap; font-weight: 700; }
.chip--salla { background: #DFF7EE; color: #047857; }
.chip--zid { background: #EFE7FF; color: #7C3AED; }
.chip--apps { background: #E0F4FD; color: #0369A1; }
.chip--systems { background: #FEF3D7; color: #B45309; }
.work p { color: var(--muted); font-size: 14.5px; margin-top: 6px; line-height: 1.6; }
.work__links { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; flex-wrap: wrap; }
.work__links a { font-size: 13px; padding: 5px 11px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; transition: background .2s, border-color .2s; }
.work__links a:hover { background: var(--bg-tint); border-color: #D6CDFB; }
.work__links svg { width: 14px; height: 14px; }
.work.is-hidden { display: none; }
.work-empty { text-align: center; color: var(--muted); padding: 40px; }
.skeleton { aspect-ratio: .82; border-radius: var(--radius); background: linear-gradient(90deg, var(--bg-soft) 25%, #EEEBF8 50%, var(--bg-soft) 75%); background-size: 200% 100%; animation: sk 1.4s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* Process */
.process-wrap { padding: 60px 50px; border-radius: 36px; background: var(--bg-soft); border: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; inset-inline: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.step { position: relative; padding: 0 4px; }
.step__n {
  width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 22px; position: relative;
  font: 800 22px var(--display); background: #fff; border: 1px solid var(--line-2); color: var(--brand-2); box-shadow: var(--shadow-sm);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.step:hover .step__n { background: linear-gradient(135deg, #7B5BFF, #5F43B2); color: #fff; border-color: transparent; transform: translateY(-3px); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* Contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact__side { position: sticky; top: 110px; }
.contact__side p { color: var(--muted); margin-top: 16px; font-size: 18px; }
.contact__links { display: grid; gap: 12px; margin-top: 34px; }
.clink { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .25s, transform .25s var(--ease); }
.clink:hover { border-color: #D6CDFB; transform: translateX(-4px); }
.clink b { display: block; line-height: 1.4; } .clink small { color: var(--muted); }
.clink__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-tint); color: var(--brand); flex: none; }
.clink__ico svg { width: 24px; height: 24px; }
.clink__ico--wa { background: #DCFCE7; color: #16A34A; }
.form { position: relative; padding: 34px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 20px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; margin-bottom: 12px; font-size: 15.5px; color: var(--ink); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choices--sm { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 14px; border-radius: 14px; cursor: pointer;
  background: var(--bg-soft); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; line-height: 1.4; transition: all .2s;
}
.choices--sm .choice span { min-height: 44px; justify-content: center; text-align: center; font-size: 14px; }
.choice span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; border: 2px solid var(--line-2); background: #fff; transition: border-color .2s, box-shadow .2s, background .2s; }
.choice input:checked + span::before { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.choices--sm .choice span::before { display: none; }
.choice span:hover { border-color: var(--line-2); background: #fff; }
.choice input:checked + span { background: var(--bg-tint); border-color: var(--brand); color: var(--brand-2); font-weight: 700; box-shadow: 0 0 0 3px rgba(109, 74, 255, .14); }
.choice input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-weight: 700; font-size: 15px; color: var(--ink); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 13px 16px; border-radius: 14px;
  background: var(--bg-soft); border: 1px solid var(--line); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.field input[dir="ltr"] { text-align: right; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(109, 74, 255, .13); }
.field.has-error input { border-color: #EF4444; background: #FEF2F2; }
.field em { font-style: normal; color: #DC2626; font-size: 13px; }
.field em:empty { display: none; }
.hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.form__msg { text-align: center; font-size: 15px; color: #DC2626; }
.form__msg:empty { display: none; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .ico { animation: spin 1s linear infinite; }
.form__done { position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, .97); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 12px; animation: fadeUp .5s var(--ease); }
.form__done[hidden] { display: none; }
.form__done h3 { font-size: 30px; }
.form__done p { color: var(--muted); max-width: 360px; margin-bottom: 10px; }
.done-ico { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #34D399, #10B981); box-shadow: 0 0 0 12px rgba(16, 185, 129, .12), 0 20px 50px -10px rgba(16, 185, 129, .5); animation: pop .6s var(--ease); }
.done-ico .ico { width: 40px; height: 40px; color: #fff; stroke-width: 3; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* Footer */
.footer { margin-top: 140px; padding: 50px 0 40px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { height: 34px; width: auto; }
.footer__brand p { color: var(--muted); font-size: 15px; }
.footer__nav { display: flex; gap: 6px 22px; justify-content: flex-end; flex-wrap: wrap; }
.footer__nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.footer__nav a:hover { color: var(--brand-2); }
.footer__copy { grid-column: 1 / -1; color: var(--dim); font-size: 14px; border-top: 1px solid var(--line-2); padding-top: 24px; margin-top: 10px; }

.wa-fab {
  position: fixed; bottom: 22px; left: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s var(--ease);
}
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: ring 2.4s infinite; }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover { transform: scale(1.08); }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav__links {
    position: fixed; inset: 88px 14px auto; flex-direction: column; padding: 12px; border-radius: 20px; gap: 2px;
    background: rgba(255, 255, 255, .97); border: 1px solid var(--line); box-shadow: var(--shadow-lg); backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease);
  }
  .nav.open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links a { padding: 14px 16px; font-size: 17px; }
  .nav__mobile-cta { display: block; text-align: center; margin-top: 8px; background: linear-gradient(135deg, #7B5BFF, #5F43B2); color: #fff !important; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; margin-inline-start: auto; }
}

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; min-height: 0; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__sub { margin-inline: auto; }
  .hero__ctas, .hero__chips { justify-content: center; }
  .hero__visual { height: 560px; max-width: 560px; width: 100%; margin-inline: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--xl { grid-column: 1 / -1; grid-row: auto; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .contact__side { position: static; }
  .process-wrap { padding: 44px 30px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 18px; }
  .steps::before { display: none; }
}
@media (max-width: 880px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .stat b { font-size: 28px; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .work-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hide-sm { display: none; }
  .hero { padding-top: 120px; }
  .hero__title { font-size: 32px; line-height: 1.5; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__visual { height: 500px; transform: scale(.86); margin-block: -30px; }
  .fc-pay { left: -6%; } .fc-code { left: -12%; bottom: 22%; } .fc-nafath { right: -8%; }
  .orbit { width: 420px; height: 420px; margin: -210px 0 0 -210px; }
  .section { padding-top: 90px; }
  .section__head { margin-bottom: 30px; }
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 18px; border-radius: 20px; }
  .card--xl { padding: 24px; }
  .card__ico { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 14px; }
  .card__ico .ico { width: 22px; height: 22px; }
  .card h3 { font-size: 17px; }
  .card p { font-size: 14px; line-height: 1.65; }
  .card--xl h3 { font-size: 24px; }
  .card--xl p { font-size: 15.5px; }
  .card--dark { grid-column: 1 / -1; }
  .card__badge { top: 16px; inset-inline-end: 16px; }
  .card__art { height: 190px; }
  .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filters button { flex: none; }
  .work-grid { gap: 12px; }
  .work { padding: 10px; }
  .work h3 { font-size: 16px; }
  .work p { display: none; }
  .work__meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .process-wrap { padding: 30px 20px; border-radius: 26px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
  .step__n { grid-row: span 2; width: 54px; height: 54px; border-radius: 17px; font-size: 18px; margin: 0; }
  .step h3 { font-size: 19px; }
  .form { padding: 22px 18px; border-radius: 24px; }
  .row2 { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr 1fr; }
  .wa-fab { width: 54px; height: 54px; bottom: 16px; left: 16px; }
}

/* =========================================================
   Multi-page components
   ========================================================= */
a.card { display: block; color: inherit; }
a.card--xl { display: flex; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 14.5px; color: var(--brand-2); }
.card__more .ico { transition: transform .25s var(--ease); }
.card:hover .card__more .ico { transform: translateX(-4px); }
.card--dark .card__more { color: #fff; }
.card--xl .card__more { order: 3; }
.card--xl .card__art { order: 4; }
.center-cta { display: flex; justify-content: center; margin-top: 34px; }
.section--flush { padding-top: 30px; }
.section--tight { padding-top: 90px; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); margin-top: 16px; max-width: 620px; }
.lead a { color: var(--brand-2); font-weight: 700; }
.small-h { font-size: 22px !important; margin-bottom: 18px; }
.ltr-r { direction: ltr; unicode-bidi: plaintext; text-align: right; }

.btn--light { background: #fff; color: var(--brand-deep); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.btn--light:hover { transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); }

/* Page hero */
.page-hero { padding-top: 140px; position: relative; overflow-x: clip; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; min-height: 440px; }
.page-hero__grid--solo { grid-template-columns: 1fr; min-height: 0; padding-bottom: 20px; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 58px); font-weight: 800; line-height: 1.45; }
.page-hero .eyebrow { margin-top: 10px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--muted); font-weight: 500; }
.crumbs a:hover { color: var(--brand-2); }
.crumbs b { color: var(--ink); font-weight: 600; }

.svc-visual { position: relative; height: 380px; display: grid; place-items: center; }
.svc-visual__ring { position: absolute; width: 330px; height: 330px; border-radius: 50%; border: 1px dashed #D4CBFA; animation: spin 50s linear infinite; }
.svc-visual__ring::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(109, 74, 255, .15); }
.svc-visual::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(109, 74, 255, .28), transparent 65%); filter: blur(24px); }
.svc-visual__tile { position: relative; width: 150px; height: 150px; border-radius: 42px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, #8B6CFF, #5F43B2); box-shadow: 0 30px 60px -20px rgba(95, 67, 178, .7), inset 0 1px 0 rgba(255, 255, 255, .35); animation: bob 6s ease-in-out infinite; }
.svc-visual__tile.is-dark { background: linear-gradient(140deg, #5F43B2, #15103A); }
.svc-visual__tile .ico { width: 64px; height: 64px; stroke-width: 1.5; }
.svc-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-weight: 700; font-size: 14px; white-space: nowrap; animation: bob 7s ease-in-out infinite; backdrop-filter: blur(10px); }
.svc-chip span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-tint); color: var(--brand); }
.svc-chip .ico { width: 18px; height: 18px; }
.svc-chip--1 { top: 12%; right: 0; animation-delay: -1s; }
.svc-chip--2 { top: 46%; left: -4%; animation-delay: -3s; }
.svc-chip--3 { bottom: 8%; right: 10%; animation-delay: -5s; }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feat { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D6CDFB; }
.feat__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-tint); color: var(--brand); margin-bottom: 16px; }
.feat__ico .ico { width: 24px; height: 24px; stroke-width: 1.8; }
.feat h3 { font-size: 19px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15.5px; }

/* Why */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: 50px; border-radius: 36px; background: linear-gradient(135deg, #F3EFFF, #EAF7FD); border: 1px solid var(--line); }
.why h2 { font-size: clamp(30px, 3.6vw, 44px) !important; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .8); border: 1px solid #fff; box-shadow: var(--shadow-sm); }
.checks li::before { content: ""; width: 26px; height: 26px; border-radius: 9px; flex: none; background: #DFF7EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/15px no-repeat; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq-wrap .section__head { position: sticky; top: 110px; margin: 0; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: #D6CDFB; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 30px; height: 30px; border-radius: 10px; flex: none; background: var(--bg-tint); position: relative; transition: transform .3s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--brand); transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--brand); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 16px; }

/* CTA band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 50px 54px; border-radius: 36px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #6D4AFF 0%, #5F43B2 45%, #2A1F6E 100%); box-shadow: 0 40px 80px -40px rgba(95, 67, 178, .8); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at 10% 0%, rgba(34, 211, 238, .35), transparent 50%), radial-gradient(400px circle at 100% 100%, rgba(236, 72, 153, .3), transparent 50%); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px) !important; }
.cta-band p { color: #E3DDFF; margin-top: 8px; font-size: 17px; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Service links */
.svc-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.svc-links--center { max-width: 760px; margin: 30px auto 0; }
.svc-links a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 700; transition: border-color .25s, transform .25s var(--ease); }
.svc-links a:hover { border-color: #D6CDFB; transform: translateY(-3px); }
.svc-links a > .ico { margin-inline-start: auto; color: var(--dim); }
.svc-links a span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-tint); color: var(--brand); flex: none; }
.svc-links a span .ico { width: 20px; height: 20px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; }
.about-card { padding: 40px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.about-card h2 { font-size: 32px !important; margin-bottom: 14px; }
.about-card p { color: var(--muted); font-size: 18px; margin-bottom: 24px; }
.about-card p a { color: var(--brand-2); font-weight: 700; }
.about-card--brand { background: linear-gradient(150deg, #6D4AFF, #2A1F6E); border: 0; color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 16px; }
.about-card--brand img { width: 140px; height: auto; }
.about-card--brand p { color: #E3DDFF; margin: 0; font-family: var(--display); font-size: 20px; }

.work-toolbar { display: flex; justify-content: flex-start; margin-bottom: 24px; }
.contact-crumbs { padding-top: 130px; }
.contact-crumbs .crumbs { margin: 0; }
.section--contact { padding-top: 24px; }
.contact__side h1 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; }

/* 404 */
.nf { padding: 170px 0 40px; text-align: center; }
.nf b { font: 800 clamp(100px, 20vw, 180px)/1 var(--display); background: linear-gradient(135deg, #6D4AFF, #0EA5E9); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.nf h1 { font-size: clamp(26px, 4vw, 40px); margin-top: 10px; }
.nf p { color: var(--muted); margin-top: 10px; }

/* Footer (multi-column) */
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer__brand p { max-width: 320px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h3 { font-size: 16px; margin-bottom: 6px; }
.footer__col a { color: var(--muted); font-size: 15px; width: fit-content; }
.footer__col a:hover { color: var(--brand-2); }

@media (max-width: 1080px) {
  .page-hero__grid { grid-template-columns: 1fr; text-align: center; }
  .page-hero__copy { display: flex; flex-direction: column; align-items: center; }
  .page-hero .crumbs { justify-content: center; }
  .page-hero .lead { margin-inline: auto; }
  .page-hero .hero__ctas { justify-content: center; }
  .svc-visual { height: 320px; max-width: 480px; width: 100%; margin-inline: auto; }
  .feat-grid, .feat-grid--4 { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; padding: 40px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .faq-wrap .section__head { position: static; margin-bottom: 30px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .page-hero { padding-top: 112px; }
  .page-hero h1 { font-size: 29px; line-height: 1.55; }
  .svc-visual { height: 280px; transform: scale(.9); }
  .svc-visual__ring { width: 270px; height: 270px; }
  .svc-visual__tile { width: 120px; height: 120px; border-radius: 34px; }
  .svc-visual__tile .ico { width: 52px; height: 52px; }
  .svc-chip { font-size: 13px; padding: 8px 12px 8px 10px; }
  .svc-chip--2 { left: -2%; }
  .feat-grid, .feat-grid--4 { grid-template-columns: 1fr; gap: 12px; }
  .feat { padding: 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; }
  .feat__ico { grid-row: span 2; margin: 0; }
  .why { padding: 28px 20px; border-radius: 26px; gap: 20px; }
  .checks li { font-size: 15.5px; padding: 12px 14px; }
  .faq summary { padding: 16px 18px; font-size: 16px; }
  .faq details p { padding: 0 18px 18px; font-size: 15px; }
  .cta-band { padding: 34px 24px; border-radius: 28px; }
  .cta-band__btns { width: 100%; }
  .cta-band__btns .btn { flex: 1; }
  .about-card { padding: 28px 22px; }
  .contact-crumbs { padding-top: 104px; }
  .center-cta .btn { width: 100%; }
  .section__head--row > .btn { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; text-align: right; }
  .footer__brand { align-items: flex-start; }
}

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

/* Skip link & brand pill */
.skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--brand-2); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }
.pill b { color: var(--ink); font-weight: 700; }
.hero__sub > b:first-child { color: var(--brand-2); }

/* ===== Portfolio: edited images ===== */
.work__logo--full { background: var(--bg-soft); }
.work__logo--full img { width: 100%; height: 100%; max-height: none; object-fit: cover; filter: none; }
.work:hover .work__logo--full img { transform: scale(1.04); }
.mq-item img { object-fit: cover; }

/* ===== Stars & reviews ===== */
.stars { font-size: 15px; letter-spacing: 1px; color: #E5E1F0; line-height: 1; white-space: nowrap; direction: rtl; }
.stars b { color: #F59E0B; font-weight: 400; }
.work__rate { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.work__rate small { color: var(--muted); font-size: 13px; }
.reviews { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.review { flex: 1 1 320px; max-width: 420px; margin: 0; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; position: relative; transition: transform .35s var(--ease), box-shadow .35s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review::before { content: "”"; position: absolute; top: 6px; inset-inline-end: 20px; font: 800 80px/1 Georgia, serif; color: var(--bg-tint); }
.review .stars { font-size: 18px; }
.review blockquote { margin: 0; font-size: 16.5px; line-height: 1.85; color: var(--ink); flex: 1; position: relative; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption b { display: block; font-size: 15.5px; line-height: 1.4; }
.review figcaption small { color: var(--muted); font-size: 13.5px; }
.review__img { width: 48px; height: 48px; border-radius: 14px; overflow: hidden; flex: none; display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, #EEE9FF, var(--bg-soft) 70%); border: 1px solid var(--line); }
.review__img img { width: 70%; height: 70%; object-fit: contain; }
.review__img--full img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 640px) {
  .reviews { gap: 12px; }
  .review { max-width: none; }
  .review { padding: 20px; }
  .work__rate small { display: none; }
  .stars { font-size: 13px; }
}

/* ===== Arabic headline spacing (prevents lines touching) ===== */
.grad-text { padding-block: .06em .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.section h2 .muted, .page-hero h1 .grad-text { display: inline-block; margin-top: .05em; }
.card h3, .feat h3, .step h3 { line-height: 1.5; }
.cta-band h2, .why h2, .about-card h2, .contact__side h1, .contact__side h2 { line-height: 1.45; }
.hero__sub, .lead { line-height: 1.85; }
@media (max-width: 640px) {
  .section h2 { font-size: 27px; line-height: 1.55; }
  .cta-band h2 { font-size: 26px !important; }
  .why h2 { font-size: 27px !important; }
  .contact__side h1, .contact__side h2 { font-size: 28px; }
  .fc-pay { top: 6%; left: -4%; }
  .fc-code { bottom: 30%; left: -10%; }
  .fc-nafath { bottom: 6%; right: -6%; }
}

/* ===== Join page ===== */
.join { max-width: 880px; }
.join .section__head { text-align: center; margin-inline: auto; }
.join .section__head .eyebrow { justify-content: center; }
.join .section__head .lead { margin-inline: auto; }
.join-form { gap: 18px; }
.form__step { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.form__step:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.form__step span { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-tint); color: var(--brand-2); font-size: 15px; }
.join-fields { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; justify-content: center; }
.join-fields b { font-family: var(--display); }
.join-fields ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.join-fields li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 600; color: var(--brand-2); box-shadow: var(--shadow-sm); }
.cv-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; border: 1.5px dashed #C7BFF0; background: var(--bg-soft); cursor: pointer; transition: border-color .2s, background .2s; }
.cv-drop:hover, .cv-drop.over { border-color: var(--brand); background: var(--bg-tint); }
.cv-drop.has-file { border-style: solid; border-color: var(--green); background: #ECFDF5; }
.cv-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.cv-drop__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--brand); flex: none; box-shadow: var(--shadow-sm); }
.cv-drop__ico .ico { width: 24px; height: 24px; }
.cv-drop__txt b { display: block; font-size: 16px; word-break: break-all; }
.cv-drop__txt small { color: var(--muted); }
.cv-err { font-style: normal; color: #DC2626; font-size: 13px; margin-top: -10px; }
.cv-err:empty { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.consent.has-error span { color: #DC2626; }
.join-form .choices { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.join-form .choices--sm { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
@media (max-width: 640px) {
  .join-form .choices { grid-template-columns: 1fr 1fr; }
  .join-form .choices--sm { grid-template-columns: 1fr 1fr; }
  .cv-drop { padding: 14px; }
}

/* Socials (marketers) */
.socials { padding: 16px; border-radius: 18px; background: linear-gradient(135deg, #FDF2F8, #F3F0FF); border: 1px solid #F5D0FE; }
.socials[hidden] { display: none; }
.socials legend { padding: 0 6px; }
.socials legend small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }
.socials__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.soc input { background: #fff !important; }
.soc-err { font-style: normal; color: #DC2626; font-size: 13px; display: block; margin-top: 8px; }
.soc-err:empty { display: none; }
@media (max-width: 640px) { .socials__grid { grid-template-columns: 1fr; } }

/* Hero/banner content shows immediately (better LCP): slide only, no fade */
.rise { animation: rise .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.nav-sentinel { position: absolute; top: 0; inset-inline: 0; height: 24px; pointer-events: none; }

/* ===== فريقنا (صفحة من نحن) ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.member { position: relative; padding: 28px 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center; transition: opacity .9s var(--ease) var(--d, 0s), transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D6CDFB; }
.member__ph { width: 120px; height: 120px; margin: 0 auto 16px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, var(--cyan), var(--brand)); }
.member__ph img, .member__ini { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #F1EDFF; border: 3px solid #fff; }
.member__ini { font: 800 42px var(--display, inherit); color: var(--brand-2); }
.member h3 { font-size: 19px; margin-bottom: 2px; }
.member__role { display: block; color: var(--brand-2); font-weight: 600; font-size: 15px; }
.member p { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.member__in { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-top: 14px; border-radius: 10px; background: #F1EDFF; color: var(--brand-2); transition: background .2s, color .2s; }
.member__in:hover { background: var(--brand); color: #fff; }
.member__in svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .member { padding: 20px 12px 18px; }
  .member__ph { width: 88px; height: 88px; }
  .member__ini { font-size: 32px; }
  .member h3 { font-size: 16px; }
  .member p { font-size: 13.5px; }
}
