/* حضوري — الموقع التعريفي
   الاتجاه: Bold Minimal + Bento · تركواز داكن مع لمسة كهرماني · Readex Pro للعناوين و IBM Plex Sans Arabic للنص */
:root {
  --bg: #f7f5f0; --surface: #ffffff; --ink: #0d1f1d; --muted: #5d6b69; --line: #e4e1d8;
  --deep: #0b3b37; --deep-2: #072a27; --accent: #0f766e; --accent-soft: #dff1ee; --mint: #5eead4;
  --amber: #f59e0b; --amber-2: #fbbf24; --bad: #c2410c;
  --r: 22px; --ease: cubic-bezier(.22, 1, .36, 1);
  --display: 'Readex Pro', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.25; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; }
h2 em { font-style: normal; color: var(--accent); }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.flip { transform: scaleX(1); } /* السهم يشير لليسار = للأمام في RTL */

/* ---------- الأزرار ---------- */
.btn { --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding-inline: 22px; border-radius: 999px; font: 600 16px/1 'IBM Plex Sans Arabic', sans-serif; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; position: relative; overflow: hidden; white-space: nowrap; }
.btn.sm { --h: 40px; padding-inline: 16px; font-size: 15px; }
.btn.lg { --h: 56px; padding-inline: 28px; font-size: 17px; }
.btn.block { width: 100%; }
.btn.primary { background: var(--deep); color: #fff; box-shadow: 0 8px 24px -10px rgba(11, 59, 55, .6); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(11, 59, 55, .7); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.amber { background: var(--amber); color: var(--deep-2); }
.btn.amber:hover { transform: translateY(-2px); background: var(--amber-2); }
.btn.outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn.outline-light:hover { border-color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.shine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(120%); transition: transform .8s var(--ease); }
.shine:hover::after { transform: translateX(-120%); }

/* ---------- الشريط العلوي ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.nav.scrolled { background: rgba(247, 245, 240, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 22px var(--display); text-decoration: none; }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--deep); color: var(--mint); display: grid; place-items: center; font-size: 20px; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(13, 31, 29, .05); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.burger { display: none; width: 42px; height: 42px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger i { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- الواجهة ---------- */
.hero { position: relative; padding: 140px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 40% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 40% 40%, #000 20%, transparent 75%); opacity: .7; animation: gridMove 30s linear infinite; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.g1 { width: 460px; height: 460px; background: #99f6e4; inset-inline-start: -120px; top: 40px; animation: floaty 14s var(--ease) infinite alternate; }
.g2 { width: 380px; height: 380px; background: #fde68a; inset-inline-end: 8%; bottom: -120px; animation: floaty 18s var(--ease) infinite alternate-reverse; }
@keyframes gridMove { to { background-position: 56px 56px; } }
@keyframes floaty { to { transform: translate(40px, -30px) scale(1.1); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); }
.pill b { color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.hero h1 { font-size: clamp(42px, 6.6vw, 84px); font-weight: 700; margin: 22px 0 22px; line-height: 1.15; }
.rotator { display: inline-grid; color: var(--accent); position: relative; vertical-align: bottom; }
.rotator span { grid-area: 1 / 1; animation: wordIn .7s var(--ease) both; }
.rotator span.out { animation: wordOut .5s var(--ease) both; }
.rotator::after { content: ''; position: absolute; inset-inline: 0; bottom: .08em; height: .14em; background: var(--amber); opacity: .55; border-radius: 4px; z-index: -1; }
@keyframes wordIn { from { opacity: 0; transform: translateY(.45em); filter: blur(6px); } }
@keyframes wordOut { to { opacity: 0; transform: translateY(-.45em); filter: blur(6px); } }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points .ic { width: 18px; height: 18px; color: var(--accent); }

/* الجوال */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone { width: 290px; height: 590px; border-radius: 46px; background: #0b1514; padding: 12px; box-shadow: 0 50px 80px -30px rgba(11, 59, 55, .55), 0 0 0 1.5px #24312f inset; position: relative; transform: rotate(-4deg); animation: phoneFloat 7s var(--ease) infinite alternate; }
@keyframes phoneFloat { to { transform: rotate(-2deg) translateY(-12px); } }
.notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 96px; height: 26px; background: #0b1514; border-radius: 20px; z-index: 3; }
.screen { height: 100%; border-radius: 36px; background: #f4f7f6; overflow: hidden; padding: 54px 16px 16px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.scr-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.clock { font: 700 22px var(--display); color: var(--ink); direction: ltr; }
.map { flex: 1; border-radius: 22px; background: #e6eeea; position: relative; overflow: hidden; }
.road { position: absolute; background: #fff; border-radius: 4px; }
.r1 { width: 140%; height: 14px; top: 38%; left: -20%; transform: rotate(-18deg); }
.r2 { width: 12px; height: 140%; left: 64%; top: -20%; transform: rotate(10deg); }
.r3 { width: 120%; height: 8px; top: 74%; left: -10%; transform: rotate(6deg); }
.fence { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; left: 50%; top: 50%; translate: -50% -50%; background: rgba(15, 118, 110, .14); border: 2px dashed rgba(15, 118, 110, .55); }
.radar { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; left: 50%; top: 50%; translate: -50% -50%; border: 2px solid var(--accent); animation: radar 2.6s var(--ease) infinite; }
@keyframes radar { from { transform: scale(.2); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.me { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; left: 50%; top: 50%; translate: -50% -50%; box-shadow: 0 0 0 6px rgba(37, 99, 235, .2); animation: walk 9s var(--ease) infinite; }
@keyframes walk { 0% { left: 12%; top: 18%; } 35%, 100% { left: 52%; top: 54%; } }
.branch-tag { position: absolute; bottom: 10px; inset-inline-start: 10px; background: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.status { display: flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 12px; padding: 8px 12px; }
.status .ic { width: 18px; height: 18px; }
.checkin { height: 58px; border-radius: 18px; background: var(--deep); color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 17px; animation: press 9s infinite; }
@keyframes press { 0%, 40% { transform: scale(1); } 44% { transform: scale(.95); background: var(--accent); } 48%, 100% { transform: scale(1); } }
.toast-ok { position: absolute; inset-inline: 14px; bottom: 86px; background: #052e2b; color: #d1fae5; border-radius: 14px; padding: 10px 12px; font-size: 13px; display: flex; gap: 8px; align-items: center; animation: toastIn 9s var(--ease) infinite; }
.toast-ok .ic { width: 18px; height: 18px; color: var(--mint); }
@keyframes toastIn { 0%, 45% { opacity: 0; transform: translateY(14px); } 50%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-6px); } }
.float-card { position: absolute; display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; padding: 12px 16px; box-shadow: 0 20px 40px -18px rgba(11, 59, 55, .35); font-size: 14px; }
.float-card small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
.float-card .ic { color: var(--accent); width: 26px; height: 26px; }
.float-card .num { font: 700 22px var(--display); color: var(--deep); }
.fc1 { top: 70px; inset-inline-end: -10px; animation: floaty 6s var(--ease) infinite alternate; }
.fc2 { bottom: 70px; inset-inline-start: -20px; display: block; animation: floaty 8s var(--ease) infinite alternate-reverse; }

/* ---------- الأرقام ---------- */
.stats { background: var(--deep); color: #fff; padding: 42px 0; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding-inline-start: 20px; border-inline-start: 1px solid rgba(255,255,255,.14); }
.stat b { font: 700 clamp(34px, 4vw, 48px)/1.1 var(--display); color: var(--mint); direction: ltr; text-align: start; }
.stat span { color: rgba(255,255,255,.72); font-size: 15px; }

/* ---------- الأقسام ---------- */
.section { padding: clamp(80px, 11vw, 130px) 0; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.kicker { display: inline-block; font-weight: 600; font-size: 14px; color: var(--accent); background: var(--accent-soft); padding: 4px 14px; border-radius: 999px; margin-bottom: 18px; }
.kicker.light { background: rgba(94, 234, 212, .14); color: var(--mint); }
.sec-sub { color: var(--muted); margin-top: 16px; font-size: 18px; }

/* بنتو */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(11, 59, 55, .45); border-color: rgba(15, 118, 110, .35); }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 16px; }
.card-ic { width: 50px; height: 50px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.card.dark { background: var(--deep); color: #fff; border-color: var(--deep); }
.card.dark p { color: rgba(255,255,255,.72); }
.card.dark .card-ic { background: rgba(94, 234, 212, .14); color: var(--mint); }
.b-geo { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; }
.b-face { grid-column: span 2; grid-row: span 2; background: radial-gradient(circle at 80% 110%, rgba(94,234,212,.35), transparent 55%), var(--deep); }
.b-device, .b-branches, .b-leave { grid-column: span 2; }
.b-reports { grid-column: span 3; }
.b-notify { grid-column: span 3; }
.mini-map { margin-top: 24px; flex: 1; min-height: 200px; border-radius: 16px; background: linear-gradient(#e6eeea, #dde8e3); position: relative; overflow: hidden; background-image: linear-gradient(rgba(255,255,255,.8) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.8) 2px, transparent 2px); background-size: 44px 44px; background-color: #e3ece8; }
.mini-map .fence, .mini-map .radar { width: 46%; }
.mini-map .me { animation: none; left: 54%; top: 46%; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 22px; }
.bars i { flex: 1; height: var(--h); background: linear-gradient(var(--accent), #14b8a6); border-radius: 6px 6px 3px 3px; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.bars i:nth-child(3) { background: var(--amber); }
.in-view .bars i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: .08s; } .bars i:nth-child(3) { transition-delay: .16s; } .bars i:nth-child(4) { transition-delay: .24s; } .bars i:nth-child(5) { transition-delay: .32s; } .bars i:nth-child(6) { transition-delay: .4s; }

/* الخطوات */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 27px; inset-inline: 28px; height: 2px; background: repeating-linear-gradient(to left, var(--line) 0 10px, transparent 10px 18px); }
.steps li { position: relative; }
.step-n { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: 700 22px var(--display); margin-bottom: 20px; position: relative; transition: background .4s, color .4s; }
.steps li:hover .step-n { background: var(--accent); color: #fff; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* الرواتب */
.payroll { background: var(--deep-2); color: #fff; position: relative; overflow: hidden; }
.payroll::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(94,234,212,.18), transparent 65%); inset-inline-end: -200px; top: -200px; }
.payroll h2 em { color: var(--amber); }
.pay-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; }
.pay-text p { color: rgba(255,255,255,.72); margin-top: 22px; font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(94,234,212,.16); color: var(--mint); margin-top: 3px; }
.checks.dark .ic { background: var(--accent-soft); color: var(--accent); }
.slip { background: #fff; color: var(--ink); border-radius: 26px; padding: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: rotate(2deg); transition: transform .6s var(--ease); }
.slip:hover { transform: rotate(0) scale(1.02); }
.slip-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px dashed var(--line); padding-bottom: 16px; }
.slip-head small { display: block; color: var(--muted); font-size: 14px; }
.badge { background: #dcfce7; color: #166534; font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.slip dl { margin: 12px 0; }
.slip dl div { display: flex; justify-content: space-between; padding: 9px 0; font-size: 15px; }
.slip dt { color: var(--muted); }
.slip dd { margin: 0; font-weight: 600; direction: ltr; font-variant-numeric: tabular-nums; }
.slip .plus dd { color: #15803d; }
.slip .minus dd { color: var(--bad); }
.slip-total { display: flex; justify-content: space-between; align-items: center; background: var(--accent-soft); border-radius: 16px; padding: 14px 18px; }
.slip-total b { font: 700 26px var(--display); color: var(--deep); }

/* الباقات */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(11, 59, 55, .5); }
.plan.popular { background: var(--deep); color: #fff; border-color: var(--deep); }
.plan .tag { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--amber); color: var(--deep-2); font-size: 13px; font-weight: 700; padding: 3px 14px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan .tl { color: var(--muted); font-size: 15px; }
.plan.popular .tl, .plan.popular .per, .plan.popular .yr { color: rgba(255,255,255,.7); }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font: 700 52px/1 var(--display); letter-spacing: -.02em; }
.plan.popular .price b { color: var(--mint); }
.plan .per { color: var(--muted); font-size: 15px; line-height: 1.4; }
.plan .yr { color: var(--muted); font-size: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan.popular .yr { border-color: rgba(255,255,255,.14); }
.plan .yr strong { color: var(--ink); font-size: 18px; }
.plan.popular .yr strong { color: #fff; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 8px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: center; }
.plan li .ic { width: 18px; height: 18px; color: var(--accent); }
.plan.popular li .ic { color: var(--mint); }
.plan.popular .btn.primary { background: var(--amber); color: var(--deep-2); }
.plan-btns { display: grid; gap: 8px; }
.plan .btn.wa svg, .wa-direct svg { flex: none; }
.plan.popular .btn.ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.plan.popular .btn.ghost:hover { border-color: #fff; }
.wa-direct { color: #128c4a; border-color: #b7e4c7; }
.wa-direct:hover { border-color: #128c4a; }
.plans-note { text-align: center; margin-top: 28px; color: var(--muted); }
.plans-note a { color: var(--accent); font-weight: 600; }

/* التسجيل */
.trial { background: linear-gradient(180deg, var(--bg), #ecf5f2); }
.trial-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.trial-text p { color: var(--muted); margin-top: 20px; font-size: 18px; }
.trial-form { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 40px 80px -40px rgba(11, 59, 55, .35); }
.trial-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.trial-form label small { font-weight: 400; color: var(--muted); font-size: 13px; }
.opt { font-weight: 400; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, select { width: 100%; height: 52px; border: 1.5px solid var(--line); border-radius: 14px; padding-inline: 16px; font: 500 16px 'IBM Plex Sans Arabic', sans-serif; background: var(--bg); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
input:focus, select:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(15, 118, 110, .15); }
input[dir="ltr"] { text-align: left; }
input[dir="ltr"]::placeholder { text-align: right; }
.trial-form .invalid { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(194, 65, 12, .12); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: var(--bad); font-size: 15px; min-height: 0; font-weight: 500; }
.form-error:empty { display: none; }
.form-hint { text-align: center; color: var(--muted); font-size: 14px; }
.form-hint a { color: var(--accent); }
.trial-done { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 20px 0; }
.trial-done .big { width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; animation: pop .6s var(--ease); }
.trial-done .big .ic { width: 36px; height: 36px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }

/* الأسئلة */
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(15, 118, 110, .4); box-shadow: 0 16px 40px -28px rgba(11, 59, 55, .5); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 26px/1 var(--display); color: var(--accent); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; font-size: 16px; }

/* دعوة أخيرة */
.cta-band { padding: 0 0 clamp(80px, 10vw, 120px); }
.cta-in { background: var(--deep); color: #fff; border-radius: 32px; padding: clamp(36px, 6vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 32px; position: relative; overflow: hidden; }
.cta-in::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(94, 234, 212, .08); inset-inline-start: -140px; top: -160px; }
.cta-in h2 { font-size: clamp(26px, 3.4vw, 40px); max-width: 640px; }
.cta-in p { color: rgba(255,255,255,.72); margin-top: 12px; }
.cta-in .support-line { color: #fff; font-weight: 600; }
.cta-in .support-line a, .foot-in p a { color: inherit; text-decoration: none; border-bottom: 1px dashed currentColor; }
.foot-in p a { color: var(--accent); }
.faq details p a { color: var(--accent); font-weight: 600; text-decoration: none; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* الفوتر */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 12px 32px; align-items: center; }
.foot-in p { color: var(--muted); font-size: 15px; }
.foot-in nav { display: flex; gap: 20px; font-size: 15px; }
.foot-in nav a { text-decoration: none; color: var(--muted); }
.foot-in nav a:hover { color: var(--ink); }
.foot-in small { grid-column: 1 / -1; color: var(--muted); }

/* واتساب */
.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; z-index: 40; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); animation: waPulse 2.4s infinite; }
.wa-float[hidden], [data-whatsapp][hidden] { display: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- الظهور عند التمرير ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in-view { opacity: 1; transform: none; }
/* الواجهة تظهر بحركة CSS مباشرة دون انتظار التمرير */
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: heroIn .9s var(--ease) both; }
.hero .reveal:nth-child(2) { animation-delay: .08s; } .hero .reveal:nth-child(3) { animation-delay: .16s; }
.hero .reveal:nth-child(4) { animation-delay: .24s; } .hero .reveal:nth-child(5) { animation-delay: .32s; }
.hero-visual.reveal { animation-delay: .2s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } }

/* ---------- الاستجابة ---------- */
@media (max-width: 1060px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-geo { grid-column: span 2; grid-row: auto; }
  .b-face, .b-device, .b-branches, .b-leave, .b-reports, .b-notify { grid-column: span 1; grid-row: auto; }
  .b-face { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
  .steps::before { display: none; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 72px; inset-inline: 12px; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.3); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
  .burger { display: flex; }
  .nav-cta .btn.ghost { display: none; }
  .hero { padding-top: 110px; }
  .hero-in, .pay-in, .trial-in, .faq-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 520px; }
  .stats-in { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .foot-in { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 40px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .plans, .bento, .steps { grid-template-columns: 1fr; }
  .b-geo, .b-face { grid-column: auto; }
  .row2 { grid-template-columns: 1fr; }
  .trial-form { padding: 22px; border-radius: 22px; }
  .phone { width: 260px; height: 530px; }
  .fc1 { inset-inline-end: 0; top: 30px; }
  .fc2 { inset-inline-start: 0; bottom: 30px; }
  .hero-cta .btn { flex: 1; }
  .nav-cta .btn.primary { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
