
.al-footer{
--alf-teal:#00c896; --alf-teal-d:#079f83; --alf-mint:#e9f9f5;
--alf-ink:#0b3b45; --alf-body:#4d6e74; --alf-mute:#6f8f93; --alf-line:#d9ebe7;
position:relative; direction:rtl; isolation:isolate; overflow:hidden;
background:
radial-gradient(720px 320px at 96% -40%, rgba(0,200,150,.15), transparent 64%),
radial-gradient(620px 300px at 0% 140%, rgba(0,200,150,.11), transparent 62%),
linear-gradient(180deg,#ffffff 0%,#f7fdfb 48%,#eef9f6 100%);
color:var(--alf-body);
font-family:"Cairo","Tajawal",system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;
padding:20px 0 0; border-top:1px solid var(--alf-line);
box-shadow:0 -12px 36px rgba(6,60,55,.05);
}
.al-footer *{box-sizing:border-box}
.al-footer::before{
content:""; position:absolute; inset:0; z-index:-2; pointer-events:none; opacity:.45;
background-image:
linear-gradient(rgba(0,200,150,.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(0,200,150,.05) 1px, transparent 1px);
background-size:42px 42px;
-webkit-mask-image:radial-gradient(80% 110% at 50% 0%, #000 10%, transparent 84%);
mask-image:radial-gradient(80% 110% at 50% 0%, #000 10%, transparent 84%);
}
.al-footer::after{
content:""; position:absolute; z-index:-1; top:-230px; inset-inline-start:-170px;
width:520px; height:520px; border-radius:50%;
background:radial-gradient(circle, rgba(0,200,150,.12), transparent 70%);
filter:blur(10px); animation:alGlow 16s ease-in-out infinite;
}
@keyframes alGlow{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(42px,24px,0)}}
.al-footer-line{position:absolute; top:0; inset-inline:0; height:3px; pointer-events:none;
background:linear-gradient(90deg,transparent,var(--alf-teal) 18%,#34e0b3 50%,var(--alf-teal) 82%,transparent);
opacity:.85}
.al-row{
width:min(1400px, calc(100% - 40px)); margin:0 auto;
display:flex; align-items:flex-start; justify-content:space-between;
gap:clamp(12px, 1.4vw, 26px); flex-wrap:nowrap;
}
.al-footer h3{
margin:0 0 9px; color:var(--alf-ink); font-size:.86rem; font-weight:800; letter-spacing:.1px;
position:relative; padding-bottom:8px; white-space:nowrap;
}
.al-footer h3::after{content:""; position:absolute; inset-inline-start:0; bottom:0;
width:22px; height:3px; border-radius:2px; background:linear-gradient(90deg,var(--alf-teal),rgba(0,200,150,0))}
.al-footer a{color:var(--alf-body); text-decoration:none}
.al-footer a:hover{color:var(--alf-teal-d)}
.al-brand{display:flex; flex-direction:column; align-items:center; justify-content:center;
align-self:stretch; flex:0 0 auto; min-width:130px; padding:0 4px}
.al-brand-lockup{display:flex; flex-direction:column; align-items:center; gap:7px; text-align:center}
.al-brand-mark{
position:relative; width:94px; height:94px; flex:0 0 auto; border-radius:24px;
display:grid; place-items:center; overflow:hidden; background:#fff;
box-shadow:0 12px 26px rgba(6,90,78,.16), 0 0 0 1px rgba(0,200,150,.24);
}
.al-brand-mark img{width:64px; height:auto; display:block}
.al-brand-mark::after{content:""; position:absolute; inset:-10%;
background:linear-gradient(115deg,transparent 38%,rgba(0,200,150,.16) 50%,transparent 62%);
transform:translateX(-130%); animation:alSweep 7s ease-in-out infinite}
@keyframes alSweep{0%,68%{transform:translateX(-130%)}100%{transform:translateX(130%)}}
.al-brand-tx{display:flex; flex-direction:column; align-items:center; line-height:1.2}
.al-brand-tx strong{color:var(--alf-ink); font-size:1.28rem; font-weight:800; letter-spacing:.2px}
.al-brand-tx small{color:var(--alf-teal-d); font-size:.6rem; font-weight:800; letter-spacing:2.6px; direction:ltr}
.al-links{display:flex; flex-direction:column; gap:7px}
.al-links a{font-size:.82rem; display:inline-flex; align-items:center; gap:7px; width:fit-content;
transition:color .18s, transform .18s; white-space:nowrap}
.al-links a::before{content:""; width:5px; height:5px; border-radius:50%; flex:0 0 5px;
background:linear-gradient(160deg,#34e0b3,var(--alf-teal)); box-shadow:0 0 0 3px rgba(0,200,150,.14);
transition:box-shadow .2s, transform .2s}
.al-links a:hover{transform:translateX(-3px); color:var(--alf-teal-d)}
.al-links a:hover::before{box-shadow:0 0 0 4px rgba(0,200,150,.24); transform:scale(1.15)}
.al-links a.al-ltr{direction:ltr; font-size:.74rem; letter-spacing:-.1px;
font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace; color:#415f66}
.al-apps{display:flex; flex-direction:column; gap:7px; flex:0 0 auto}
.al-store{
position:relative; display:flex; align-items:center; justify-content:flex-start; gap:8px;
padding:4px 8px 4px 10px; border-radius:13px; min-width:132px;
background:#fff; border:1px solid #dfeeea; color:var(--alf-ink) !important;
box-shadow:0 3px 10px rgba(6,90,78,.08), inset 0 1px 0 #fff;
transition:transform .26s cubic-bezier(.2,.9,.25,1), box-shadow .26s, border-color .26s;
overflow:hidden; isolation:isolate;
}
.al-store::after{content:""; position:absolute; inset:0; z-index:-1;
background:linear-gradient(115deg,transparent 38%,rgba(0,200,150,.16) 50%,transparent 62%);
transform:translateX(-140%); transition:transform .75s}
.al-store:hover{transform:translateY(-2px); border-color:rgba(0,200,150,.55);
box-shadow:0 10px 20px rgba(6,90,78,.16), 0 0 0 1px rgba(0,200,150,.18)}
.al-store:hover::after{transform:translateX(140%)}
.al-store__ic{width:30px; height:30px; flex:0 0 30px; display:grid; place-items:center;
filter:drop-shadow(0 4px 6px rgba(6,90,78,.30))}
.al-store__ic img{width:30px; height:30px; display:block}
.al-store__tx{display:flex; flex-direction:column; align-items:flex-start; line-height:1.1; min-width:0; text-align:right}
.al-store__tx small{font-size:.52rem; font-weight:700; color:#7fa39f; letter-spacing:.4px; direction:rtl}
.al-store__tx b{font-size:.8rem; font-weight:800; color:var(--alf-ink)}
.al-qr{display:flex; flex-direction:column; align-items:center; gap:5px; flex:0 0 auto; padding-top:2px}
.al-qr a{display:block; position:relative; border-radius:16px; overflow:visible}
.al-qr a::before{content:""; position:absolute; inset:-7px; border-radius:24px; z-index:-1;
background:radial-gradient(circle, rgba(0,200,150,.24), transparent 70%); filter:blur(9px)}
.al-qr img{
display:block; width:88px; height:88px; border-radius:14px; padding:4px; background:#fff;
box-shadow:0 8px 20px rgba(6,90,78,.16), 0 0 0 1px rgba(0,200,150,.28);
transition:transform .3s ease;
}
.al-qr a:hover img{transform:scale(1.05)}
.al-qr__cap{display:inline-flex; align-items:center; gap:5px; font-size:.62rem; font-weight:700; color:var(--alf-mute)}
.al-qr__cap svg{width:11px; height:11px; stroke:var(--alf-teal-d); fill:none}
.al-footer{padding-bottom:calc(var(--tk-h, 0px) + 12px)}
.al-bottom{
width:min(1400px, calc(100% - 40px)); margin:16px auto 0; padding:10px 0 12px;
padding-inline-end:clamp(0px, 5vw, 72px);
border-top:1px solid var(--alf-line);
display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
font-size:.71rem; color:var(--alf-mute);
}
.al-bottom .al-copy{display:inline-flex; align-items:center; gap:8px; direction:ltr}
.al-bottom .al-copy .al-ar{direction:rtl; font-family:"Cairo",Tahoma,sans-serif}
.al-bottom .al-dot{width:6px; height:6px; border-radius:50%; background:var(--alf-teal); box-shadow:0 0 8px rgba(0,200,150,.6)}
.al-legal{display:inline-flex; align-items:center; gap:4px; flex-wrap:wrap}
.al-legal a{font-size:.71rem; color:#57787e; padding:3px 5px; border-radius:7px; transition:.2s}
.al-legal a:hover{color:var(--alf-teal-d); background:rgba(0,200,150,.09)}
.al-legal .sep{color:#b9d4cf}
@media(max-width:1240px){
.al-brand{min-width:104px}
.al-brand-mark{width:74px; height:74px; border-radius:20px}
.al-brand-mark img{width:48px}
}
@media(max-width:1020px){
.al-row{flex-wrap:wrap; justify-content:space-between; gap:18px 24px}
.al-brand{flex:0 0 auto; align-self:flex-start}
.al-apps{flex-direction:row; gap:8px}
.al-store{padding:5px 12px 5px 8px}
.al-store__ic, .al-store__ic img{width:32px; height:32px; flex:0 0 32px}
.al-qr{align-items:flex-end}
}
@media(max-width:620px){
.al-row{width:calc(100% - 28px); gap:16px}
.al-apps{width:100%; flex-direction:column; align-items:stretch}
.al-apps .al-store{width:100%; justify-content:flex-start}
.al-qr{width:100%; flex-direction:row; align-items:center; gap:10px}
.al-qr img{width:80px; height:80px}
.al-bottom{width:calc(100% - 28px); justify-content:center; text-align:center}
}


/* ============================================================
   DELTA-02 — إصلاحات (CSP + ترتيب + تفاصيل بصرية)
   ============================================================ */

/* (1) منع تكرار الكلمة: عناصر الترجمة تُخفى حتى تُترجم فعلياً بواسطة JS
       (الموقع الحالي لا يبدّل data-ar/data-en لأن CSP يمنع السكربت المضمّن) */

/* (2) تثبيت صف واحد على الديسكتوب — لا التفاف */
.al-row{flex-wrap:nowrap}
@media(min-width:1241px){
  .al-row{display:flex; flex-wrap:nowrap; align-items:flex-start; justify-content:space-between}
  .al-apps-col{order:5}
  .al-qr{order:6}
}

/* (3) عمود التطبيقات: أندرويد فوق آيفون، والأزرار مصطفّة لليمين داخلياً */
.al-apps-col{display:flex; flex-direction:column; align-items:flex-end; flex:0 0 auto}
.al-apps{display:flex; flex-direction:column; align-items:flex-end; gap:8px; flex:0 0 auto}
.al-store{width:172px; justify-content:flex-start; direction:rtl}
.al-store__ic{order:2}
.al-store__tx{order:1; align-items:flex-end; text-align:right}

/* (4) حجم اللوجو والهوية متناسقان مع ارتفاع العمود */
.al-brand{flex:0 0 auto; display:flex; align-items:center}
.al-brand-mark img{height:96px; width:auto; display:block}
.al-brand-lockup{display:flex; flex-direction:column; align-items:center; gap:6px}
.al-brand-tx{align-items:center}

/* (5) QR: يعود إلى عمود رأسي نظيف مع التسمية تحته */
.al-qr{display:flex; flex-direction:column; align-items:center; gap:7px; flex:0 0 auto; padding-top:2px}
.al-qr__cap{display:inline-flex; align-items:center; justify-content:center; gap:6px;
  color:var(--alf-body); font-size:.72rem; font-weight:700; white-space:nowrap}
.al-qr__cap svg{width:13px; height:13px; stroke:var(--alf-teal-d)}

/* (6) روابط التواصل بالبريد: اتجاه لاتيني صحيح */
.al-ltr{direction:ltr; unicode-bidi:isolate; text-align:right; display:inline-block}

/* (7) الشريط السفلي */
.al-bottom{padding-top:14px}
@media(max-width:1240px){
  .al-row{flex-wrap:wrap}
  .al-store{width:auto}
}

/* Compact mobile download panel inspired by the supplied reference; no store availability is implied. */
.al-download-col{align-items:stretch;min-width:295px;max-width:330px;flex:0 0 auto}
.al-download-col h3{margin-bottom:2px;font-size:.95rem}.al-download-hint{margin:0 0 9px;color:#527470;font-size:.72rem;text-align:right}
.al-download-body{direction:ltr;display:flex;align-items:center;gap:12px}.al-download-body .al-apps{display:flex;align-items:stretch;gap:8px;flex:1;min-width:0}
.al-download-body .al-device-link{direction:ltr;width:100%;min-width:155px;display:flex;gap:9px;border:1px solid #9ab5ae;border-radius:9px;padding:5px 10px;align-items:center}
.al-device-link i{font-size:23px;width:25px;text-align:center;color:#087e6e}.al-device-link span{display:flex;flex-direction:column;text-align:left;line-height:1.1}.al-device-link small{font-size:.57rem;color:#58746f;direction:rtl}.al-device-link b{font-size:.9rem;color:#123c3d}
.al-download-body .al-qr{padding:0;width:auto;flex:0 0 auto}.al-download-body .al-qr a{display:block}.al-download-body .al-qr img{width:108px;height:108px;padding:4px;border-radius:10px}
@media(max-width:1240px){.al-download-col{min-width:280px;max-width:100%}}
@media(max-width:620px){.al-download-col{width:100%;min-width:0}.al-download-body{justify-content:flex-start}.al-download-body .al-apps{flex:0 1 190px}.al-download-body .al-device-link{min-width:0}.al-download-body .al-qr{width:auto;flex-direction:column}}
