/* برق 360 — صفحات الشركة (الرئيسية والخدمات). بتتحمّل بعد site.css وبتستخدم نفس المتغيرات. */

/* ── الشريط المتحرك ── */
.marquee { border-block: 1px solid var(--border); background: rgba(7,10,20,.6); overflow: hidden; padding-block: 22px; direction: ltr; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 56px; font-size: clamp(18px, 2vw, 26px); font-weight: 700; color: #475569; white-space: nowrap; }
.marquee span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, #38BDF8, #7C3AED); }
.marquee span:nth-child(3n+1) { color: #E2E8F0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── من نحن ── */
.about { padding-block: 140px; }
.manifesto { font-size: clamp(30px, 4.4vw, 58px); line-height: 1.25; font-weight: 700; color: #fff; max-width: 1050px; margin: 18px 0 36px; letter-spacing: -.02em; }
.manifesto em { font-style: normal; background: linear-gradient(90deg, #93C5FD, #A78BFA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 760px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.pillar { padding: 34px; border-radius: 22px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); position: relative; overflow: hidden; }
.pillar b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; letter-spacing: .14em; color: #60A5FA; margin-bottom: 14px; direction: ltr; text-align: start; }
.pillar h3 { font-size: 24px; margin-bottom: 8px; }
.pillar p { color: var(--muted); margin: 0; }

/* ── كروت الخدمات ── */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-card { position: relative; display: flex; flex-direction: column; min-height: 420px; padding: 36px; border-radius: 26px; text-decoration: none; color: inherit; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); border: 1px solid var(--border); transition: transform .5s cubic-bezier(.16,1,.3,1), border-color .4s; }
.svc-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: linear-gradient(135deg, #38BDF8, #7C3AED); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.svc-card:hover { transform: translateY(-6px); }
.svc-card:hover::before { opacity: 1; }
.svc-num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 14px; color: #60A5FA; letter-spacing: .1em; }
.svc-card h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 10px 0 10px; }
.svc-card p { color: var(--muted); margin: 0; max-width: 460px; }
.svc-go { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; color: #93C5FD; font-weight: 700; }
.svc-go::after { content: "←"; transition: transform .3s; }
html[dir="ltr"] .svc-go::after { content: "→"; }
.svc-card:hover .svc-go::after { transform: translateX(-6px); }
html[dir="ltr"] .svc-card:hover .svc-go::after { transform: translateX(6px); }
.svc-vis { margin-top: auto; padding-top: 28px; height: 190px; position: relative; }

/* ── مشاهد الخدمات: واجهات بشكل حقيقي ── */
.svc-grid { grid-template-columns: repeat(6, 1fr); }
.svc-grid .svc-card { grid-column: span 2; }
.svc-vis { height: 240px; }
.mk { position: relative; height: 100%; font-family: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', sans-serif; color: #CBD5E1; }
.mk-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding-inline: 12px; background: #0F172A; border-bottom: 1px solid rgba(148,163,184,.12); direction: ltr; }
.mk-bar i { width: 8px; height: 8px; border-radius: 50%; background: #EF4444; }
.mk-bar i:nth-child(2) { background: #F59E0B; } .mk-bar i:nth-child(3) { background: #22C55E; }
.mk-bar span { margin-inline: auto; font-size: 11px; color: #64748B; font-family: 'Plus Jakarta Sans', sans-serif; display: inline-flex; gap: 5px; align-items: center; }
.mk-bar .url { color: #86EFAC; }
.mk-phone { position: relative; width: 150px; height: 100%; max-height: 300px; margin: 0 auto; border-radius: 24px; border: 2px solid #334155; background: #070B16; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(59,130,246,.55); }
@keyframes mkIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes mkGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* الأنظمة: لوحة تحكم */
.mk-dash { border-radius: 14px; overflow: hidden; border: 1px solid rgba(148,163,184,.14); background: #0B1122; }
.mk-dash-body { display: flex; height: calc(100% - 28px); }
.mk-dash aside { width: 34px; background: #080C18; display: flex; flex-direction: column; gap: 8px; padding: 10px 8px; }
.mk-dash aside b { height: 14px; border-radius: 4px; background: #1E293B; }
.mk-dash aside b.on { background: linear-gradient(135deg, #3B82F6, #7C3AED); }
.mk-dash-main { flex: 1; padding: 10px; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; min-width: 0; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mk-kpis div { background: #111A2E; border-radius: 8px; padding: 6px 8px; }
.mk-kpis small { display: block; font-size: 9px; color: #64748B; }
.mk-kpis em { display: block; height: 8px; margin-top: 5px; border-radius: 4px; transform-origin: inline-start; animation: mkGrow 1.2s cubic-bezier(.16,1,.3,1) both; }
.mk-kpis .w1 { width: 70%; background: #3B82F6; } .mk-kpis .w2 { width: 50%; background: #A78BFA; animation-delay: .15s; } .mk-kpis .w3 { width: 35%; background: #22C55E; animation-delay: .3s; }
.mk-chart { background: #111A2E; border-radius: 8px; padding: 6px 8px; display: flex; flex-direction: column; min-height: 58px; }
.svc-card .mk-rows li:nth-child(3) { display: none; }
.mk-chart small { font-size: 9px; color: #64748B; }
.mk-chart .bars { flex: 1; display: flex; align-items: flex-end; gap: 5px; padding-top: 4px; direction: ltr; }
.mk-chart .bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #60A5FA, #2563EB); transform-origin: bottom; animation: barUp 3.6s ease-in-out infinite; }
.mk-chart .bars i:nth-child(1) { height: 35%; } .mk-chart .bars i:nth-child(2) { height: 55%; animation-delay: .1s; } .mk-chart .bars i:nth-child(3) { height: 42%; animation-delay: .2s; } .mk-chart .bars i:nth-child(4) { height: 70%; animation-delay: .3s; } .mk-chart .bars i:nth-child(5) { height: 60%; animation-delay: .4s; } .mk-chart .bars i:nth-child(6) { height: 88%; animation-delay: .5s; } .mk-chart .bars i:nth-child(7) { height: 76%; animation-delay: .6s; background: linear-gradient(180deg, #A78BFA, #7C3AED); }
@keyframes barUp { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.72); } }
.mk-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.mk-rows li { display: flex; align-items: center; gap: 6px; background: #111A2E; border-radius: 6px; padding: 4px 6px; animation: mkIn .6s both; }
.mk-rows li:nth-child(2) { animation-delay: .2s; } .mk-rows li:nth-child(3) { animation-delay: .4s; }
.mk-rows .av { width: 16px; height: 16px; border-radius: 50%; background: #1E3A8A; color: #BFDBFE; font-size: 9px; display: grid; place-items: center; font-family: 'Plus Jakarta Sans', sans-serif; }
.mk-rows em { flex: 1; height: 6px; border-radius: 3px; background: #334155; }
.mk-rows .st { font-size: 9px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.st-new { background: rgba(59,130,246,.18); color: #93C5FD; } .st-hot { background: rgba(245,158,11,.18); color: #FCD34D; } .st-won { background: rgba(34,197,94,.18); color: #86EFAC; }

/* المواقع: الموقع بيتبني + نسخة موبايل */
.mk-web { display: flex; align-items: flex-end; gap: 12px; }
.mk-browser { flex: 1; height: 100%; border-radius: 12px; overflow: hidden; border: 1px solid rgba(148,163,184,.14); background: #0B1122; }
.mk-site { padding: 10px; display: grid; gap: 9px; }
.mk-site > *, .mk-mini-phone > * { animation: build 5s cubic-bezier(.16,1,.3,1) infinite both; }
.mk-site .s-hero { animation-delay: .35s; } .mk-site .s-cards { animation-delay: .7s; }
@keyframes build { 0% { opacity: 0; transform: translateY(10px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.s-nav { display: flex; align-items: center; gap: 6px; }
.s-nav b { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, #38BDF8, #7C3AED); }
.s-nav span { width: 22px; height: 5px; border-radius: 3px; background: #334155; }
.s-nav em { margin-inline-start: auto; width: 34px; height: 12px; border-radius: 5px; background: #2563EB; }
.s-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; align-items: center; }
.s-hero strong { display: block; height: 10px; border-radius: 4px; background: #E2E8F0; margin-bottom: 6px; }
.s-hero strong.short { width: 60%; background: linear-gradient(90deg, #93C5FD, #A78BFA); }
.s-hero p { height: 5px; width: 85%; border-radius: 3px; background: #475569; margin: 4px 0 8px; }
.s-hero em, .mk-mini-phone em { display: block; width: 46px; height: 13px; border-radius: 5px; background: linear-gradient(135deg, #3B82F6, #7C3AED); }
.s-hero figure, .mk-mini-phone figure { margin: 0; aspect-ratio: 4/3; border-radius: 8px; background: radial-gradient(circle at 30% 30%, rgba(96,165,250,.6), transparent 60%), linear-gradient(135deg, #1E3A8A, #312E81); }
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.s-cards i { height: 34px; border-radius: 6px; background: #111A2E; border: 1px solid rgba(148,163,184,.12); }
.mk-mini-phone { width: 82px; height: 160px; flex: none; border-radius: 16px; border: 2px solid #3B82F6; background: #070B16; padding: 8px 6px; display: grid; gap: 5px; align-content: start; box-shadow: 0 16px 40px -16px rgba(59,130,246,.8); }
.mk-mini-phone strong { height: 6px; border-radius: 3px; background: #E2E8F0; }
.mk-mini-phone p { height: 4px; border-radius: 2px; background: #475569; margin: 0; }
.mk-mini-phone .s-cards { grid-template-columns: 1fr 1fr; } .mk-mini-phone .s-cards i { height: 22px; }
.mk-mini-phone > :nth-child(3), .mk-mini-phone > :nth-child(4) { animation-delay: .5s; } .mk-mini-phone > :nth-child(5), .mk-mini-phone > :nth-child(6) { animation-delay: .9s; }

/* التطبيقات */
.mk-app .mk-phone { padding: 18px 10px 0; display: flex; flex-direction: column; gap: 8px; }
.mk-phone .notch { position: absolute; top: 5px; left: 50%; width: 46px; height: 8px; margin-left: -23px; border-radius: 6px; background: #1E293B; }
.app-notif { position: absolute; top: 14px; inset-inline: 8px; z-index: 2; display: flex; gap: 7px; align-items: center; background: rgba(30,41,59,.96); border: 1px solid rgba(148,163,184,.2); border-radius: 12px; padding: 6px 8px; animation: notif 5s cubic-bezier(.16,1,.3,1) infinite; }
.app-notif .ic { width: 20px; height: 20px; border-radius: 6px; flex: none; background: linear-gradient(135deg, #3B82F6, #7C3AED); }
.app-notif b { display: block; font-size: 9.5px; color: #fff; line-height: 1.3; } .app-notif small { font-size: 8px; color: #94A3B8; }
@keyframes notif { 0%, 35% { transform: translateY(-140%); opacity: 0; } 45%, 80% { transform: none; opacity: 1; } 92%, 100% { transform: translateY(-140%); opacity: 0; } }
.app-head { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.app-head small { display: block; font-size: 10px; color: #94A3B8; } .app-head b { display: block; width: 58px; height: 7px; border-radius: 4px; background: #E2E8F0; margin-top: 3px; }
.app-head .av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #38BDF8, #7C3AED); }
.app-card { position: relative; border-radius: 12px; padding: 10px; background: linear-gradient(135deg, #1D4ED8, #6D28D9); overflow: hidden; }
.app-card em { display: block; height: 7px; width: 70%; border-radius: 4px; background: rgba(255,255,255,.85); }
.app-card em.short { width: 40%; margin-top: 5px; background: rgba(255,255,255,.5); }
.app-card .ring { position: absolute; inset-inline-end: 8px; top: 8px; width: 24px; height: 24px; border-radius: 50%; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.app-label { font-size: 9.5px; color: #94A3B8; }
.app-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.app-list li { display: flex; align-items: center; gap: 6px; background: #111A2E; border-radius: 7px; padding: 6px; }
.app-list i { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid #475569; flex: none; }
.app-list em { flex: 1; height: 5px; border-radius: 3px; background: #334155; }
.app-list li.done i { background: #22C55E; border-color: #22C55E; animation: blink 2s ease-in-out infinite; }
.app-list li.done em { background: #1E293B; }
.app-tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 8px 0 10px; border-top: 1px solid rgba(148,163,184,.12); }
.app-tabs i { width: 14px; height: 14px; border-radius: 4px; background: #334155; } .app-tabs i.on { background: #3B82F6; }

/* الوكيل الذكي: واتساب */
.mk-chat .mk-phone { width: 190px; display: flex; flex-direction: column; border-color: #25D366; box-shadow: 0 20px 50px -20px rgba(37,211,102,.45); }
.wa-head { display: flex; align-items: center; gap: 7px; padding: 8px; background: #075E54; color: #fff; }
.wa-av { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #2563EB; display: grid; place-items: center; flex: none; }
.wa-head b { display: block; font-size: 9.5px; line-height: 1.2; } .wa-head small { font-size: 8px; color: #B7F5CD; }
.wa-body { flex: 1; background: #EFEAE2; padding: 8px 6px; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; overflow: hidden; }
.wa-body p { margin: 0; max-width: 86%; padding: 5px 8px; border-radius: 9px; font-size: 9.5px; line-height: 1.45; color: #111B21; box-shadow: 0 1px 0 rgba(0,0,0,.06); opacity: 0; animation: chat 9s infinite both; }
.wa-body .in { align-self: flex-start; background: #fff; } .wa-body .out { align-self: flex-end; background: #D9FDD3; }
.wa-body .sys { align-self: center; background: #DCFCE7; color: #166534; font-weight: 700; font-size: 9px; border-radius: 999px; }
.wa-body .typing { display: flex; gap: 3px; }
.wa-body .typing i { width: 4px; height: 4px; border-radius: 50%; background: #667781; animation: dot 1s infinite; }
.wa-body .typing i:nth-child(2) { animation-delay: .15s; } .wa-body .typing i:nth-child(3) { animation-delay: .3s; }
.wa-body .m1 { animation-name: chat1; } .wa-body .m2 { animation-name: chat2; } .wa-body .m3 { animation-name: chat3; } .wa-body .m4 { animation-name: chatTyping; } .wa-body .m5 { animation-name: chat5; } .wa-body .m6 { animation-name: chat6; } .wa-body .m7 { animation-name: chat7; }
@keyframes chat1 { 0%, 4% { opacity: 0; transform: translateY(6px); } 8%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chat2 { 0%, 14% { opacity: 0; transform: translateY(6px); } 18%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chat3 { 0%, 26% { opacity: 0; transform: translateY(6px); } 30%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chatTyping { 0%, 36% { opacity: 0; display: flex; } 38%, 46% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes chat5 { 0%, 47% { opacity: 0; transform: translateY(6px); } 51%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chat6 { 0%, 60% { opacity: 0; transform: translateY(6px); } 64%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chat7 { 0%, 72% { opacity: 0; transform: scale(.9); } 77%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* الأمن: طرفية */
.mk-term { border-radius: 12px; overflow: hidden; border: 1px solid rgba(148,163,184,.14); background: #04060D; }
.term { padding: 10px 12px; direction: ltr; text-align: left; font: 500 10.5px/1.75 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace; }
.term p { margin: 0; white-space: nowrap; overflow: hidden; color: #94A3B8; opacity: 0; animation: termLine 9s steps(1) infinite; }
.term b { color: #60A5FA; font-weight: 700; } .term u { text-decoration: none; font-weight: 700; }
.term .ok u { color: #22C55E; } .term .warn { color: #FCD34D; } .term .warn u { color: #F59E0B; }
.term .fix { color: #93C5FD; } .term .done { color: #86EFAC; font-weight: 700; }
.term .l1 { animation-name: t1; } .term .l2 { animation-name: t2; } .term .l3 { animation-name: t3; } .term .l4 { animation-name: t4; } .term .l5 { animation-name: t5; } .term .l6 { animation-name: t6; } .term .l7 { animation-name: t7; } .term .l8 { animation-name: t8; } .term .l9 { animation-name: t9; }
@keyframes t1 { 0%, 2% { opacity: 0; } 3%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes t2 { 0%, 12% { opacity: 0; } 13%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes t3 { 0%, 20% { opacity: 0; } 21%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes t4 { 0%, 30% { opacity: 0; } 31%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes t5 { 0%, 42% { opacity: 0; } 43%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes t6 { 0%, 50% { opacity: 0; } 51%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes t7 { 0%, 58% { opacity: 0; } 59%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes t8 { 0%, 68% { opacity: 0; } 69%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes t9 { 0%, 78% { opacity: 0; } 79%, 96% { opacity: 1; } 100% { opacity: 0; } }


/* المشاهد متوقفة عند أول إطار لحد ما الزائر يوصل لها */
.mk-gate .mk:not(.is-live), .mk-gate .mk:not(.is-live) *, .mk-gate .mk:not(.is-live) *::after { animation-play-state: paused !important; }

/* ── مشاهد التسويق ── */
.p-meta { --pc: #0866FF; } .p-google { --pc: #34A853; } .p-tiktok { --pc: #FE2C55; } .p-snap { --pc: #FFFC00; }

/* لوحة الحملة */
.mk-ads { border-radius: 14px; overflow: hidden; border: 1px solid rgba(148,163,184,.14); background: #0B1122; display: flex; flex-direction: column; }
.ads-body { flex: 1; min-height: 0; padding: 10px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; }
.ads-plat { display: flex; gap: 5px; flex-wrap: wrap; direction: ltr; }
.ads-plat b { font: 700 9px 'Plus Jakarta Sans', sans-serif; padding: 2px 8px; border-radius: 999px; color: #E2E8F0; background: color-mix(in srgb, var(--pc) 22%, transparent); border: 1px solid color-mix(in srgb, var(--pc) 45%, transparent); }
.ads-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ads-kpis div { background: #111A2E; border-radius: 8px; padding: 5px 8px; }
.ads-kpis small { display: block; font-size: 9px; color: #64748B; }
.ads-kpis strong { font: 800 15px 'Plus Jakarta Sans', sans-serif; color: #fff; }
.ads-kpis .down { color: #4ADE80; }
@property --leads { syntax: '<integer>'; inherits: false; initial-value: 0; }
.ads-count { --leads: 0; counter-reset: l var(--leads); animation: leads 6s ease-out infinite; }
.ads-count::after { content: counter(l); }
@keyframes leads { 0% { --leads: 0; } 70%, 100% { --leads: 441; } }
.ads-line { width: 100%; height: 100%; min-height: 30px; }
.ads-line .area { fill: rgba(124,58,237,.18); }
.ads-line .stroke { fill: none; stroke: #A78BFA; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 300; animation: draw 6s ease-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 300; } 60%, 100% { stroke-dashoffset: 0; } }
.ads-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ads-feed li { display: flex; align-items: center; gap: 6px; font-size: 9.5px; color: #CBD5E1; background: #111A2E; border-radius: 6px; padding: 4px 7px; opacity: 0; animation: feed 6s infinite both; }
.ads-feed li:nth-child(2) { animation-delay: .8s; } .ads-feed li:nth-child(3) { animation-delay: 1.6s; }
.ads-feed i, .roi-table i { width: 7px; height: 7px; border-radius: 50%; background: var(--pc); flex: none; display: inline-block; }
@keyframes feed { 0%, 10% { opacity: 0; transform: translateX(10px); } 18%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.svc-card .ads-feed li:nth-child(3) { display: none; }

/* صفحة هبوط */
.mk-lp { position: relative; }
.mk-lp .mk-browser { height: 100%; }
.lp-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; align-items: center; }
.lp-copy strong { display: block; height: 11px; border-radius: 4px; background: #E2E8F0; margin-bottom: 7px; }
.lp-copy strong.short { width: 65%; background: linear-gradient(90deg, #67E8F9, #A78BFA); }
.lp-copy p { height: 5px; border-radius: 3px; background: #475569; margin: 6px 0; } .lp-copy p.short { width: 70%; }
.lp-form { background: #111A2E; border: 1px solid rgba(148,163,184,.14); border-radius: 10px; padding: 10px; display: grid; gap: 4px; }
.lp-form label { font-size: 9.5px; color: #94A3B8; }
.lp-form .f { position: relative; height: 20px; border-radius: 6px; background: #0B1122; border: 1px solid #334155; overflow: hidden; }
.lp-form .f::after { content: ''; position: absolute; inset-block: 6px; inset-inline-start: 7px; width: 60%; border-radius: 3px; background: #CBD5E1; transform-origin: inline-start; animation: type 6s steps(8) infinite; }
.lp-form .f2::after { width: 45%; animation-name: type2; }
@keyframes type { 0%, 5% { transform: scaleX(0); } 25%, 100% { transform: scaleX(1); } }
@keyframes type2 { 0%, 28% { transform: scaleX(0); } 48%, 100% { transform: scaleX(1); } }
.lp-form em { margin-top: 4px; font-style: normal; text-align: center; font-size: 10px; font-weight: 700; color: #fff; padding: 5px; border-radius: 6px; background: linear-gradient(135deg, #0891B2, #7C3AED); animation: press 6s infinite; }
@keyframes press { 0%, 52%, 60%, 100% { transform: none; } 56% { transform: scale(.94); } }
.lp-toast { position: absolute; inset-inline-end: 14px; bottom: 14px; display: flex; gap: 8px; align-items: center; background: rgba(20,83,45,.95); border: 1px solid #22C55E; border-radius: 12px; padding: 8px 12px; color: #fff; box-shadow: 0 14px 30px -10px rgba(34,197,94,.6); animation: toast 6s cubic-bezier(.16,1,.3,1) infinite; }
.lp-toast i { width: 18px; height: 18px; border-radius: 50%; background: #22C55E; }
.lp-toast b { display: block; font-size: 11px; } .lp-toast small { font-size: 9px; color: #BBF7D0; }
@keyframes toast { 0%, 60% { opacity: 0; transform: translateY(12px); } 68%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* واتساب عروض */
.mk-broadcast .offer { padding: 4px; }
.offer-img { display: block; height: 54px; border-radius: 6px; margin-bottom: 4px; background: radial-gradient(circle at 70% 30%, rgba(253,224,71,.7), transparent 45%), linear-gradient(160deg, #0EA5E9, #1E3A8A 70%); }
.mk-broadcast .offer span:last-child { padding: 0 4px 2px; display: block; }

/* SEO */
.mk-seo { border-radius: 14px; background: #fff; color: #202124; padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.seo-search { display: flex; align-items: center; gap: 8px; border: 1px solid #DADCE0; border-radius: 999px; padding: 7px 12px; font-size: 11px; color: #5F6368; box-shadow: 0 1px 6px rgba(32,33,36,.15); }
.seo-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.seo-results li small { display: block; font: 10px 'Plus Jakarta Sans', sans-serif; color: #4D5156; direction: ltr; text-align: start; }
.seo-results li b { display: block; height: 9px; width: 70%; margin: 4px 0; border-radius: 3px; background: #1A0DAB; opacity: .55; }
.seo-results li p { margin: 0; height: 5px; width: 90%; border-radius: 3px; background: #DADCE0; }
.seo-results .r-you { order: 3; border-radius: 8px; padding: 6px 8px; background: #F0FDF4; outline: 1px solid #86EFAC; animation: rankUp 7s cubic-bezier(.16,1,.3,1) infinite; }
.seo-results .r-you b { height: auto; width: auto; background: none; opacity: 1; color: #1A0DAB; font-size: 12px; font-weight: 600; }
.seo-results .r-you u { text-decoration: none; margin-inline-start: 6px; font-size: 9px; font-weight: 700; color: #fff; background: #16A34A; border-radius: 999px; padding: 1px 6px; }
@keyframes rankUp { 0%, 20% { order: 3; transform: translateY(0); } 21% { order: 0; transform: translateY(40px); } 35%, 100% { order: 0; transform: none; } }

/* سوشيال */
.mk-social .mk-phone { padding: 20px 8px 0; display: flex; flex-direction: column; gap: 8px; }
.ig-head { display: flex; align-items: center; gap: 8px; }
.ig-head .av { width: 28px; height: 28px; border-radius: 50%; padding: 2px; background: conic-gradient(#F59E0B, #EC4899, #8B5CF6, #F59E0B); box-shadow: inset 0 0 0 4px #070B16; }
.ig-head b { display: block; font: 700 10px 'Plus Jakarta Sans', sans-serif; color: #fff; } .ig-head small { font-size: 8.5px; color: #94A3B8; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ig-grid i { position: relative; aspect-ratio: 1; opacity: 0; animation: post 7s infinite both; background: linear-gradient(135deg, #1E3A8A, #6D28D9); }
.ig-grid .g2, .ig-grid .g7 { background: linear-gradient(135deg, #0E7490, #1E40AF); } .ig-grid .g3, .ig-grid .g5 { background: radial-gradient(circle at 60% 35%, rgba(253,224,71,.6), transparent 45%), linear-gradient(160deg, #0EA5E9, #1E3A8A); } .ig-grid .g4, .ig-grid .g9 { background: linear-gradient(135deg, #BE185D, #7C3AED); } .ig-grid .g8 { background: linear-gradient(135deg, #334155, #0F172A); }
.ig-grid .reel::after { content: '▶'; position: absolute; top: 2px; inset-inline-end: 3px; font-size: 7px; color: #fff; }
.ig-grid i:nth-child(2) { animation-delay: .25s; } .ig-grid i:nth-child(3) { animation-delay: .5s; } .ig-grid i:nth-child(4) { animation-delay: .75s; } .ig-grid i:nth-child(5) { animation-delay: 1s; } .ig-grid i:nth-child(6) { animation-delay: 1.25s; } .ig-grid i:nth-child(7) { animation-delay: 1.5s; } .ig-grid i:nth-child(8) { animation-delay: 1.75s; } .ig-grid i:nth-child(9) { animation-delay: 2s; }
@keyframes post { 0% { opacity: 0; transform: scale(.8); } 8%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ig-like { align-self: center; font-size: 10px; font-weight: 700; color: #fff; background: #EC4899; border-radius: 999px; padding: 3px 10px; animation: pop 7s infinite; }
@keyframes pop { 0%, 40% { opacity: 0; transform: scale(.6); } 46%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* تقرير العائد */
.mk-roi { border-radius: 14px; overflow: hidden; border: 1px solid rgba(148,163,184,.14); background: #0B1122; display: flex; flex-direction: column; }
.roi-table { width: calc(100% - 20px); margin: 10px; border-collapse: collapse; font-size: 11px; }
.roi-table th { text-align: start; font-size: 9.5px; font-weight: 600; color: #64748B; padding: 5px 6px; border-bottom: 1px solid #1E293B; }
.roi-table td { padding: 7px 6px; color: #E2E8F0; border-bottom: 1px solid #111A2E; font-family: 'Plus Jakarta Sans', sans-serif; }
.roi-table td:first-child { display: flex; gap: 6px; align-items: center; }
.roi-table td:last-child { color: #4ADE80; font-weight: 800; }
.roi-table tbody tr { animation: mkIn .7s both; } .roi-table tbody tr:nth-child(2) { animation-delay: .2s; } .roi-table tbody tr:nth-child(3) { animation-delay: .4s; }
.roi-foot { margin: auto 10px 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: linear-gradient(135deg, rgba(34,197,94,.15), rgba(124,58,237,.15)); font-size: 10.5px; color: #CBD5E1; }
.roi-foot b { font: 800 16px 'Plus Jakarta Sans', sans-serif; color: #4ADE80; }


/* ── شارة تجريبي ── */
.beta { display: inline-block; vertical-align: middle; margin-inline-start: 10px; padding: 3px 10px; border-radius: 999px; font: 700 11px/1.4 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', sans-serif; letter-spacing: .02em; color: #FCD34D; background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.4); }
.svc-copy > .beta { margin: 0 0 10px; }

/* ── دراسة الحالة ── */
.case { padding-block: 120px; }
.case .section-head p { max-width: 720px; margin: 14px auto 0; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; text-align: center; }
.case-stats > div { padding: 26px 16px; border-radius: 22px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(59,130,246,.08), rgba(11,17,34,.4)); }
.case-stats strong { display: block; font: 800 clamp(34px, 4vw, 52px)/1.1 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', sans-serif; background: linear-gradient(90deg, #93C5FD, #C4B5FD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-stats strong .roll-col, .case-stats strong span { background: inherit; -webkit-background-clip: text; background-clip: text; }
.case-stats span[data-i18n] { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.case-col { position: relative; border-radius: 22px; border: 1px solid var(--border); background: rgba(11,17,34,.6); padding: 28px; }
.case-col b { display: block; margin-bottom: 16px; font: 800 13px 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', sans-serif; letter-spacing: .04em; color: #93C5FD; }
.case-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.case-col li { display: flex; gap: 10px; color: #CBD5E1; font-size: 15px; line-height: 1.7; }
.case-col li::before { content: ""; flex: none; margin-top: 10px; width: 6px; height: 6px; border-radius: 50%; background: #3B82F6; }
.case-col:nth-child(3) li::before { background: #22C55E; }
.case-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.case-tags > span { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); color: #E2E8F0; font-size: 14px; background: rgba(255,255,255,.03); }
.case-tags i { font-style: normal; }
.case-tags .beta { margin-inline-start: 8px; }
.case-media { max-width: 860px; margin: 44px auto 0; }
.case-note { text-align: center; font-size: 13px; margin-top: 14px; }

/* ── العملاء المؤسسين ── */
.founders-sec { padding-block: 40px 120px; }
.founders-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 56px; border-radius: 30px; border: 1px solid rgba(124,58,237,.35); background: radial-gradient(700px 400px at 90% 0%, rgba(124,58,237,.2), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(37,99,235,.16), transparent 60%), rgba(8,12,24,.7); overflow: hidden; }
.founders-card h2 { margin: 12px 0 14px; }
.founders-card h2 strong { background: linear-gradient(90deg, #93C5FD, #C4B5FD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.founders-card .muted { margin-bottom: 28px; }
.fo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fo-list li { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,.03); }
.fo-list b { color: #fff; font-size: 17px; }
.fo-list span { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
@media (max-width: 960px) {
  .case-grid, .founders-card, .case-stats { grid-template-columns: 1fr; }
  .founders-card { padding: 30px 22px; gap: 30px; }
  .case { padding-block: 90px; }
}

/* مشاهد صفحة الخدمات أكبر */
.svc-stage .svc-vis { height: 100%; }
.svc-stage .mk-phone { max-height: 340px; width: 180px; }
.svc-stage .mk-chat .mk-phone { width: 230px; }
.svc-stage .wa-body p { font-size: 11px; }
.svc-stage .term { font-size: 12.5px; }

/* ── المنتج ── */
.product { padding-block: 130px; background: radial-gradient(900px 500px at 20% 50%, rgba(37,99,235,.18), transparent 60%); }
.product-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.product-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.product-list li { display: flex; gap: 12px; color: #CBD5E1; }
.product-list li::before { content: ""; flex: none; margin-top: 9px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #38BDF8, #7C3AED); box-shadow: 0 0 12px #3B82F6; }

/* ── طريقة العمل ── */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 27px; inset-inline: 6%; height: 1px; background: linear-gradient(90deg, transparent, #334155, transparent); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step i { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; font-style: normal; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: #fff;
  background: #0B1122; border: 1px solid #334155; }
.step:hover i { background: linear-gradient(135deg, #3B82F6, #7C3AED); border-color: transparent; box-shadow: 0 10px 30px -8px rgba(59,130,246,.8); }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }
.process.is-flow::after { content: ""; position: absolute; top: 27px; inset-inline: 6%; height: 2px; margin-top: -.5px; background: linear-gradient(90deg, #7C3AED, #3B82F6, #22D3EE); transform: scaleX(var(--flow, 0)); transform-origin: right; box-shadow: 0 0 14px rgba(59,130,246,.7); }
[dir="ltr"] .process.is-flow::after { transform-origin: left; background: linear-gradient(90deg, #22D3EE, #3B82F6, #7C3AED); }
.process.is-flow > .step { z-index: 1; }
.process.is-flow .step i { transition: background .45s, border-color .45s, box-shadow .45s, transform .45s cubic-bezier(.16,1,.3,1); }
.process.is-flow .step.on i { background: linear-gradient(135deg, #3B82F6, #7C3AED); border-color: transparent; box-shadow: 0 10px 30px -8px rgba(59,130,246,.8); transform: scale(1.08); }
.process.is-flow .step h3, .process.is-flow .step p { transition: opacity .45s; }
.process.is-flow .step:not(.on) h3, .process.is-flow .step:not(.on) p { opacity: .45; }

/* ── التقنيات ── */
.stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; direction: ltr; }
.stack span { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.03); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; color: #CBD5E1; transition: border-color .3s, color .3s, transform .3s; }
.stack span:hover { border-color: #3B82F6; color: #fff; transform: translateY(-3px); }

/* ── التواصل ── */
.contact-cta { padding-block: 150px; text-align: center; position: relative; overflow: hidden; background: radial-gradient(700px 400px at 50% 100%, rgba(124,58,237,.35), transparent 70%); }
.contact-cta h2 { font-size: clamp(36px, 6vw, 84px); line-height: 1.1; letter-spacing: -.025em; max-width: 1000px; margin-inline: auto; }
.contact-cta p { color: var(--muted); font-size: 19px; max-width: 620px; margin: 18px auto 36px; }
.contact-cta .hero-ctas { justify-content: center; }
.btn-xl { min-height: 60px; padding-inline: 34px; font-size: 18px; border-radius: 16px; }

/* ── صفحة الخدمات ── */
.page-hero { position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center; overflow: hidden; background: #05070F; padding: 0; }
.page-hero .hero-inner { position: relative; z-index: 1; padding-top: 130px; padding-bottom: 90px; max-width: 980px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1.08; letter-spacing: -.025em; }
.page-hero h1 strong { background: linear-gradient(90deg, #93C5FD, #A78BFA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero h1 strong .wi { background: linear-gradient(90deg, #93C5FD, #A78BFA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color: #CBD5E1; font-size: clamp(17px, 1.6vw, 20px); max-width: 700px; margin: 0 auto 30px; }

.svc-nav { position: sticky; top: 72px; z-index: 20; background: rgba(5,7,15,.75); backdrop-filter: blur(14px); border-block: 1px solid var(--border); }
.svc-nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.svc-nav a { flex: none; padding: 9px 18px; border-radius: 999px; color: #94A3B8; text-decoration: none; font-weight: 600; border: 1px solid transparent; transition: .3s; }
.svc-nav a:hover, .svc-nav a.on { color: #fff; border-color: rgba(59,130,246,.45); background: rgba(59,130,246,.1); }

.svc-detail { padding-block: 120px; border-bottom: 1px solid var(--border); scroll-margin-top: 130px; }
.svc-detail:nth-of-type(even) { background: rgba(255,255,255,.012); }
.svc-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.svc-detail:nth-of-type(even) .svc-row .svc-copy { order: 2; }
.svc-copy .svc-num { font-size: 64px; line-height: 1; opacity: .18; display: block; margin-bottom: -6px; color: #fff; }
.svc-copy h2 { font-size: clamp(32px, 4vw, 52px); }
.svc-copy > p { color: var(--muted); font-size: 18px; max-width: 560px; }
.deliver { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.deliver li { display: flex; gap: 10px; color: #E2E8F0; font-size: 16px; }
.deliver li::before { content: "✓"; flex: none; color: #86EFAC; font-weight: 800; }
.svc-stage { height: 380px; border-radius: 28px; border: 1px solid var(--border); background: radial-gradient(circle at 50% 30%, rgba(59,130,246,.16), transparent 65%), #080C18; padding: 36px; position: relative; overflow: hidden; }
.svc-stage .svc-vis { height: 100%; padding: 0; }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model { padding: 34px; border-radius: 22px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.model h3 { font-size: 22px; } .model p { color: var(--muted); margin: 0; }

.product-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; padding: 44px; border-radius: 30px; border: 1px solid rgba(59,130,246,.35);
  background: radial-gradient(700px 400px at 90% 20%, rgba(124,58,237,.18), transparent 60%), #080C18; text-decoration: none; color: inherit; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.product-card:hover { transform: translateY(-6px); }

@media (max-width: 960px) {
  .pillars, .svc-grid, .models, .product-grid, .svc-row, .product-card { grid-template-columns: 1fr; }
  .svc-detail:nth-of-type(even) .svc-row .svc-copy { order: 0; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .process::before, .process.is-flow::after { display: none; }
  .deliver { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
  .svc-grid .svc-card, .svc-grid .svc-card:nth-child(-n+2) { grid-column: auto; }
  .svc-stage { height: 300px; }
  .about, .product, .contact-cta { padding-block: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .mk *, .mk-site > *, .mk-mini-phone > * { animation: none !important; }
  .wa-body p, .term p, .ads-feed li, .ig-grid i, .ig-like, .lp-toast { opacity: 1; }
  .wa-body .typing { display: none; }
}

.nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after { content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: linear-gradient(90deg, #38BDF8, #7C3AED); }
@media (max-width: 1100px) { .nav-links a:nth-child(4) { display: none; } }

.manifesto em .wi, .contact-cta h2 strong .wi, .founders-card h2 strong .wi { background: linear-gradient(90deg, #93C5FD, #A78BFA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-cta h2 strong { background: linear-gradient(90deg, #93C5FD, #A78BFA); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ═════════ إمكانية الوصول ═════════ */
.skip-link { position: fixed; z-index: 10000; top: 10px; inset-inline-start: 10px; padding: 10px 16px; border-radius: 10px; background: #fff; color: #05070F; font-weight: 700; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid #60A5FA; outline-offset: 3px; border-radius: 6px; }

/* نصوص بلغتين من لوحة التحكم (المدونة) */
html[lang="ar"] .l-en, html[lang="en"] .l-ar { display: none !important; }

/* ═════════ التواصل ═════════ */
.contact-sec { padding-block: 120px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-copy h2 { margin: 12px 0 16px; }
.contact-copy h2 strong, .contact-copy h2 strong .wi { background: linear-gradient(90deg, #93C5FD, #A78BFA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-or { margin: 30px 0 12px; color: #fff; font-weight: 600; }
.contact-form { max-width: none; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 16px; resize: vertical; background: rgba(255,255,255,.04); color: #fff; border: 1px solid rgba(148,163,184,.25); transition: border-color .2s, box-shadow .2s; }
.field textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.field textarea::placeholder, .field input::placeholder { color: #64748B; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.form-note a { color: #93C5FD; text-decoration: underline; }
.contact-form .form-msg.err { background: rgba(220,38,38,.12); border-color: rgba(248,113,113,.4); color: #FCA5A5; }
.contact-form .form-msg p { margin: 0; }
.contact-ok { padding: 40px 24px; border-radius: 24px; background: rgba(34,197,94,.1) !important; border: 1px solid rgba(74,222,128,.4) !important; color: #fff !important; font-size: 18px; }
.contact-ok p { margin: 0; }

/* ═════════ صفحة دراسة الحالة ═════════ */
.cp-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.cp-meta > div { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,.02); }
.cp-meta dt { font-size: 13px; color: #93C5FD; font-weight: 700; margin-bottom: 4px; }
.cp-meta dd { margin: 0; color: #fff; }
.cp-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.cp-block { position: relative; padding: 32px; border-radius: 22px; border: 1px solid var(--border); background: rgba(11,17,34,.6); }
.cp-block h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 12px; }
.cp-block p { margin: 0; color: #CBD5E1; line-height: 1.9; }
.cp-block:last-child { border-color: rgba(245,158,11,.35); }
.cp-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cp-video { margin: 0; }
.cp-video figcaption { margin-top: 12px; text-align: center; color: #fff; font-weight: 600; }

/* ═════════ المدونة ═════════ */
.page-hero-sm { min-height: 52vh; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 24px; border-radius: 22px; border: 1px solid var(--border); background: rgba(11,17,34,.6); color: inherit; text-decoration: none; }
.post-card h3 { font-size: 20px; line-height: 1.5; margin: 4px 0 0; color: #fff; }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.post-card .svc-go { margin-top: auto; padding-top: 8px; }
.post-cover { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0B1122; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-cover-art { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 75% 25%, rgba(56,189,248,.45), transparent 45%), radial-gradient(circle at 20% 90%, rgba(124,58,237,.5), transparent 50%), linear-gradient(135deg, #0B1122, #111A3A); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13px; color: var(--muted); }
.post-meta > span:first-child { color: #93C5FD; font-weight: 700; }
.post { padding-block: 150px 80px; }
.post-wrap { max-width: 780px; }
.post-back { display: inline-block; margin-bottom: 26px; color: #93C5FD; }
.post h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.3; margin: 14px 0 16px; color: #fff; }
.post-lead { font-size: 19px; color: #CBD5E1; line-height: 1.9; }
.post-cover-lg { margin: 30px 0 40px; }
.post-body { font-size: 18px; line-height: 2; color: #CBD5E1; }
.post-body h2 { font-size: clamp(22px, 2.6vw, 30px); color: #fff; margin: 42px 0 12px; }
.post-body ul, .post-body ol { padding-inline-start: 24px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: #fff; }
.post-body a { color: #93C5FD; text-decoration: underline; }

/* ═════════ الصفحات القانونية ═════════ */
.legal { padding-block: 150px 100px; }
.legal-wrap { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 4vw, 48px); color: #fff; margin-bottom: 8px; }
.legal-body { margin-top: 30px; color: #CBD5E1; font-size: 17px; line-height: 2; }
.legal-body h2 { font-size: 24px; color: #fff; margin: 36px 0 10px; }
.legal-body a { color: #93C5FD; text-decoration: underline; }

/* ═════════ شريط الموافقة ═════════ */
.consent { position: fixed; z-index: 9000; inset-inline: 16px; bottom: 16px; max-width: 560px; margin-inline-start: auto; padding: 18px 20px; border-radius: 18px; background: rgba(11,17,34,.97); border: 1px solid rgba(148,163,184,.25); box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); color: #E2E8F0; }
.consent p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.8; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.consent-more { margin-inline-end: auto; color: #93C5FD; font-size: 14px; text-decoration: underline; }

@media (max-width: 960px) {
  .contact-grid, .cp-blocks, .cp-videos, .post-grid, .cp-meta, .field-row { grid-template-columns: 1fr; }
  .contact-sec { padding-block: 90px; }
  .post, .legal { padding-block: 120px 60px; }
}
.post-sep { border: 0; height: 1px; margin: 34px 0 10px; background: linear-gradient(90deg, rgba(96,165,250,.5), rgba(167,139,250,.3), transparent); }
