/* =====================================================================
   aamaly.online — الواجهة العامة (الرئيسية / الدخول / المستفيدون / التبرع الذاتي / اتصل بنا)
   الهوية: كحلي → زمردي (من الشعار) + «خطوط البيانات» المتدفقة إلى السحابة كعنصر بصري متكرر
   كل الأصناف تبدأ بـ ax- حتى لا تتعارض مع main_page_css.css الذي تستخدمه صفحات أخرى
   ===================================================================== */
:root {
  --ax-navy: #0b3550;
  --ax-navy-2: #072638;
  --ax-navy-3: #0f4566;
  --ax-ink: #0e2433;
  --ax-green: #0b8a68;
  --ax-green-2: #087256;
  --ax-mint: #34d0a2;
  --ax-mint-soft: #e3f6ef;
  --ax-paper: #f5f9f7;
  --ax-line: rgba(11, 53, 80, .1);
  --ax-muted: #5b7380;
  --ax-amber: #f2b35b;
  --ax-grad: linear-gradient(100deg, #0b3550 0%, #0b6b63 55%, #0b8a68 100%);
  --ax-grad-soft: linear-gradient(135deg, #f2faf7 0%, #e7f2f8 100%);
  --ax-shadow: 0 1px 2px rgba(7, 38, 56, .06), 0 18px 40px -24px rgba(7, 38, 56, .45);
  --ax-shadow-lg: 0 2px 6px rgba(7, 38, 56, .08), 0 40px 80px -40px rgba(7, 38, 56, .6);
  --ax-r: 22px;
  --ax-font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --ax-display: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
}

body.ax {
  margin: 0; background: #fff !important; color: var(--ax-ink);
  font-family: var(--ax-font); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.ax * { box-sizing: border-box; }
.ax a { color: inherit; text-decoration: none; }
.ax h1, .ax h2, .ax h3, .ax h4 { font-family: var(--ax-display); color: inherit; margin: 0; line-height: 1.25; letter-spacing: -.01em; }
.ax p { margin: 0; }
.ax img { max-width: 100%; }
.ax-wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.ax-n { font-family: var(--ax-display); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.ax :focus-visible { outline: 3px solid rgba(52, 208, 162, .55); outline-offset: 2px; border-radius: 10px; }

/* ----------------------------------------------------------- أزرار */
.ax-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px;
  border-radius: 15px; border: 1px solid transparent; font: 700 15.5px var(--ax-font); cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.ax-btn:active { transform: translateY(1px); }
.ax-btn .bi { font-size: 18px; }
.ax-btn-primary { background: var(--ax-grad); color: #fff !important; box-shadow: 0 16px 30px -16px rgba(11, 138, 104, .9); }
.ax-btn-primary:hover { box-shadow: 0 20px 34px -14px rgba(11, 138, 104, .95); filter: brightness(1.05); }
.ax-btn-mint { background: var(--ax-mint); color: var(--ax-navy-2) !important; }
.ax-btn-mint:hover { background: #4fdcb1; box-shadow: 0 14px 30px -14px rgba(52, 208, 162, .9); }
.ax-btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: #fff !important; }
.ax-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(52, 208, 162, .6); }
.ax-btn-line { background: #fff; border-color: var(--ax-line); color: var(--ax-navy) !important; }
.ax-btn-line:hover { border-color: var(--ax-green); color: var(--ax-green) !important; }
.ax-btn-sm { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.ax-btn-block { width: 100%; }
.ax-btn .ax-spin { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: axSpin .7s linear infinite; }
.ax-btn.is-busy { pointer-events: none; opacity: .9; }
.ax-btn.is-busy .ax-spin { display: inline-block; }
.ax-btn.is-busy .bi { display: none; }
@keyframes axSpin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------- الشريط العلوي */
.ax-top {
  position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s, background .2s;
}
.ax-top.is-stuck { border-bottom-color: var(--ax-line); box-shadow: 0 10px 30px -24px rgba(7, 38, 56, .6); background: rgba(255, 255, 255, .94); }
.ax-top .ax-wrap { display: flex; align-items: center; gap: 18px; height: 74px; }
.ax-brand { display: flex; align-items: center; gap: 10px; flex: none; }
.ax-brand img { height: 38px; width: auto; }
.ax-brand b { display: block; font: 800 18px var(--ax-display); color: var(--ax-navy); line-height: 1.1; }
.ax-brand small { display: block; font: 600 11.5px var(--ax-font); color: var(--ax-green); letter-spacing: .3px; direction: ltr; text-align: end; }
.ax-menu { display: flex; align-items: center; gap: 2px; margin: 0 auto 0 0; padding: 0; list-style: none; }
.ax-menu a {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 13px; border-radius: 12px;
  font: 600 14.5px var(--ax-font); color: #3c5664; transition: background .15s, color .15s;
}
.ax-menu a .bi { font-size: 16px; color: #8aa3ad; transition: color .15s; }
.ax-menu a:hover { background: var(--ax-mint-soft); color: var(--ax-navy); }
.ax-menu a:hover .bi, .ax-menu a.is-on .bi { color: var(--ax-green); }
.ax-menu a.is-on { color: var(--ax-navy); background: #eef5f3; }
.ax-top-cta { display: flex; align-items: center; gap: 8px; flex: none; }
.ax-burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--ax-line); background: #fff; color: var(--ax-navy); font-size: 22px; align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 1199.98px) {
  .ax-burger { display: inline-flex; margin-inline-start: auto; }
  .ax-top-cta .ax-btn-label { display: none; }
  .ax-top-cta .ax-btn { width: 46px; padding: 0; height: 46px; }
  .ax-drawer {
    position: fixed; inset: 74px 0 auto 0; max-height: calc(100vh - 74px); overflow: auto; background: #fff;
    border-top: 1px solid var(--ax-line); box-shadow: 0 30px 50px -30px rgba(7, 38, 56, .6);
    padding: 12px 20px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .ax-top.is-open .ax-drawer { transform: none; opacity: 1; visibility: visible; }
  .ax-menu { flex-direction: column; align-items: stretch; margin: 0; gap: 4px; }
  .ax-menu a { height: 52px; font-size: 15.5px; padding: 0 14px; }
}
@media (min-width: 1200px) { .ax-drawer { display: contents; } }

/* ----------------------------------------------------------- عنصر الخطوط المتدفقة (من الشعار) */
.ax-streams { position: absolute; pointer-events: none; }
.ax-streams path { fill: none; stroke-linecap: round; }
.ax-streams .flow { stroke-dasharray: 2 26; animation: axFlow 2.4s linear infinite; }
.ax-streams .flow.s2 { animation-duration: 3.1s; } .ax-streams .flow.s3 { animation-duration: 1.9s; } .ax-streams .flow.s4 { animation-duration: 3.6s; }
@keyframes axFlow { to { stroke-dashoffset: -112; } }
@media (prefers-reduced-motion: reduce) { .ax-streams .flow, .ax-float, .ax-orb { animation: none !important; } }

/* ----------------------------------------------------------- البطل (الرئيسية) */
.ax-hero {
  position: relative; overflow: hidden; color: #e8f4f1;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(52, 208, 162, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(59, 130, 246, .18), transparent 60%),
    linear-gradient(160deg, #0b3550 0%, #072638 70%);
}
.ax-hero::before {   /* شبكة نقاط خفيفة */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px); background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.ax-hero .ax-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, 440px); gap: 56px; align-items: center; padding: 70px 0 110px; }
.ax-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: #bfe3d8; }
.ax-eyebrow i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ax-mint); color: var(--ax-navy-2); font-size: 13px; font-style: normal; }
.ax-hero h1 { margin-top: 20px; font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; color: #fff; }
.ax-hero h1 em { font-style: normal; background: linear-gradient(90deg, #6ff0c6, #34d0a2 40%, #7cc8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ax-hero .lead { margin-top: 18px; max-width: 600px; font-size: 18px; color: #b9d4cf; line-height: 1.9; }
.ax-sectors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ax-sector { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: #dff1ec; }
.ax-sector .bi { color: var(--ax-mint); }
.ax-hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ax-proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ax-proof div { line-height: 1.3; }
.ax-proof b { display: block; font: 800 30px var(--ax-display); color: #fff; }
.ax-proof span { font-size: 13.5px; color: #9fbcb7; }

/* بطاقة الدخول */
.ax-login {
  position: relative; z-index: 2; background: #fff; color: var(--ax-ink); border-radius: 26px; padding: 30px 28px 26px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08);
}
.ax-login::after {   /* حافة متوهجة */
  content: ""; position: absolute; inset: -1px; border-radius: 27px; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(52, 208, 162, .9), transparent 35%, transparent 70%, rgba(124, 200, 255, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.ax-login-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ax-login-head .ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--ax-mint-soft); color: var(--ax-green); font-size: 22px; flex: none; }
.ax-login-head h2 { font-size: 21px; font-weight: 800; color: var(--ax-navy); }
.ax-login-head p { font-size: 13.5px; color: var(--ax-muted); }
.ax-field { margin-bottom: 14px; }
.ax-field label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 700; color: #34505d; }
.ax-input { position: relative; }
.ax-input > .bi { position: absolute; inset-inline-start: 15px; top: 50%; transform: translateY(-50%); color: #8aa3ad; font-size: 18px; pointer-events: none; transition: color .15s; }
.ax-input input {
  width: 100%; height: 54px; padding-inline: 46px 48px; border-radius: 15px; border: 1.5px solid #dbe6e3; background: #f7faf9;
  font: 600 16px var(--ax-font); color: var(--ax-ink); transition: border-color .15s, box-shadow .15s, background .15s;
}
.ax-input input[dir="ltr"] { text-align: right; }
.ax-input input[dir="ltr"]:placeholder-shown { text-align: right; }
.ax-input input:focus { outline: 0; border-color: var(--ax-green); background: #fff; box-shadow: 0 0 0 4px rgba(11, 138, 104, .12); }
.ax-input input:focus + .bi, .ax-input:focus-within > .bi { color: var(--ax-green); }
.ax-input .ax-eye { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 11px; background: transparent; color: #7d96a0; font-size: 18px; cursor: pointer; }
.ax-input .ax-eye:hover { background: #eef5f3; color: var(--ax-navy); }
.was-validated .ax-input input:invalid { border-color: #e0524c; background: #fff7f6; }
.ax-err-msg { display: none; margin-top: 5px; font-size: 12.5px; color: #c0352f; }
.was-validated .ax-input input:invalid ~ .ax-err-msg, .was-validated .ax-field input:invalid ~ .ax-err-msg { display: block; }
.ax-caps { display: none; margin-top: 6px; font-size: 12.5px; color: #9a5b13; }
.ax-caps.is-on { display: flex; align-items: center; gap: 6px; }
.ax-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fdecec; color: #a12a24; font-size: 14px; margin-bottom: 16px; }
.ax-alert .bi { font-size: 18px; }
.ax-alert ul { margin: 0; padding: 0; list-style: none; }
.ax-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 18px; font-size: 13.5px; }
.ax-row a { color: var(--ax-green); font-weight: 700; }
.ax-login-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--ax-line); font-size: 13px; color: var(--ax-muted); }
.ax-login-foot a { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ax-navy); }
.ax-login-foot a:hover { color: var(--ax-green); }
.ax-ver { position: absolute; top: 16px; inset-inline-end: 18px; font-size: 11.5px; color: #9ab0b8; direction: ltr; }
.ax-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 12.5px; color: #8aa3ad; }

.ax-login-wrap { position: relative; }
.ax-login-wrap .ax-streams { top: 54%; inset-inline-start: 100%; width: 460px; height: 270px; transform: translateY(-50%); margin-inline-start: -90px; opacity: .9; z-index: 1; }
.ax-orb { position: absolute; border-radius: 50%; background: var(--ax-mint); animation: axBob 6s ease-in-out infinite; }
.ax-orb.o1 { width: 18px; height: 18px; top: -26px; inset-inline-end: 34px; }
.ax-orb.o2 { width: 9px; height: 9px; top: -44px; inset-inline-end: 64px; opacity: .8; animation-delay: -2s; }
.ax-orb.o3 { width: 30px; height: 30px; top: -14px; inset-inline-end: -6px; background: #2bb88f; animation-delay: -4s; }
@keyframes axBob { 50% { transform: translateY(-8px); } }

/* الموجة أسفل البطل */
.ax-hero-curve { position: absolute; inset: auto 0 -1px 0; height: 70px; color: #fff; }
.ax-hero-curve svg { width: 100%; height: 100%; display: block; }

/* ----------------------------------------------------------- الأقسام العامة */
.ax-sec { padding: 96px 0; position: relative; }
.ax-sec.is-paper { background: var(--ax-paper); }
.ax-head { max-width: 720px; margin-bottom: 44px; }
.ax-head.is-center { margin-inline: auto; text-align: center; }
.ax-kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 13.5px var(--ax-font); color: var(--ax-green); letter-spacing: .2px; }
.ax-kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--ax-grad); }
.ax-head h2 { margin-top: 12px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; color: var(--ax-navy); }
.ax-head p { margin-top: 14px; font-size: 17px; color: var(--ax-muted); }

/* شريط الثقة */
.ax-trust { margin-top: -54px; position: relative; z-index: 3; }
.ax-trust-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: var(--ax-r); box-shadow: var(--ax-shadow-lg); border: 1px solid var(--ax-line); overflow: hidden; }
.ax-trust-card > div { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.ax-trust-card > div + div { border-inline-start: 1px solid var(--ax-line); }
.ax-trust-card .ic { width: 48px; height: 48px; flex: none; border-radius: 15px; display: grid; place-items: center; font-size: 22px; background: var(--ax-mint-soft); color: var(--ax-green); }
.ax-trust-card b { display: block; font: 800 16px var(--ax-display); color: var(--ax-navy); }
.ax-trust-card span { font-size: 13.5px; color: var(--ax-muted); line-height: 1.5; display: block; }

/* الوحدات — شبكة bento */
.ax-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.ax-tile {
  grid-column: span 4; position: relative; overflow: hidden; padding: 26px; border-radius: var(--ax-r); background: #fff;
  border: 1px solid var(--ax-line); box-shadow: var(--ax-shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ax-tile:hover { transform: translateY(-4px); box-shadow: var(--ax-shadow-lg); border-color: rgba(11, 138, 104, .3); }
.ax-tile .ic { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; font-size: 25px; color: #fff; background: var(--ax-grad); box-shadow: 0 14px 26px -14px rgba(11, 138, 104, .9); }
.ax-tile h3 { margin-top: 18px; font-size: 20px; font-weight: 800; color: var(--ax-navy); }
.ax-tile p { margin-top: 8px; font-size: 15px; color: var(--ax-muted); }
.ax-tile ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.ax-tile li { padding: 4px 10px; border-radius: 9px; background: #f1f6f5; font-size: 12.5px; font-weight: 600; color: #3c5664; }
.ax-tile.is-wide { grid-column: span 8; }
.ax-tile.is-dark { background: linear-gradient(150deg, #0b3550, #072638); color: #dbece8; border-color: transparent; }
.ax-tile.is-dark h3 { color: #fff; }
.ax-tile.is-dark p { color: #a9c5c0; }
.ax-tile.is-dark li { background: rgba(255, 255, 255, .08); color: #d5ebe6; }
.ax-tile.is-dark .ic { background: var(--ax-mint); color: var(--ax-navy-2); }
.ax-tile.is-dark .ax-streams { left: -30px; right: auto; top: 50%; transform: translateY(-50%); width: 46%; height: 90%; opacity: .5; }
.ax-tile.is-dark > :not(.ax-streams) { position: relative; z-index: 1; }
.ax-tile .ax-tag { position: absolute; top: 22px; inset-inline-end: 22px; padding: 4px 10px; border-radius: 99px; background: #fff1e0; color: #9a5b13; font-size: 12px; font-weight: 700; }

/* كيف تعمل — تدفق */
.ax-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.ax-step { position: relative; padding: 28px 26px; border-radius: var(--ax-r); background: #fff; border: 1px solid var(--ax-line); }
.ax-step::before { counter-increment: step; content: counter(step); position: absolute; top: 22px; inset-inline-end: 24px; font: 800 48px var(--ax-display); color: #eaf2ef; line-height: 1; }
.ax-step .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--ax-mint-soft); color: var(--ax-green); font-size: 22px; }
.ax-step h3 { margin-top: 16px; font-size: 19px; color: var(--ax-navy); font-weight: 800; }
.ax-step p { margin-top: 8px; color: var(--ax-muted); font-size: 15px; }
.ax-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; inset-inline-end: -18px; width: 18px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ax-green) 0 4px, transparent 4px 8px);
}

/* القطاعات */
.ax-sectors-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ax-sec-card { position: relative; overflow: hidden; padding: 30px 28px; border-radius: 26px; color: #fff; min-height: 300px; display: flex; flex-direction: column; isolation: isolate; }
.ax-sec-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9; }
.ax-sec-card.c1 { background: linear-gradient(155deg, #0b3550, #0f4566); }
.ax-sec-card.c2 { background: linear-gradient(155deg, #0b6b63, #0b8a68); }
.ax-sec-card.c3 { background: linear-gradient(155deg, #12304a, #1f5d8c); }
.ax-sec-card .big-ic { position: absolute; inset-inline-start: -20px; bottom: -40px; font-size: 190px; opacity: .08; line-height: 1; z-index: -1; }
.ax-sec-card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-size: 24px; }
.ax-sec-card h3 { margin-top: 18px; font-size: 23px; font-weight: 800; }
.ax-sec-card p { margin-top: 8px; color: rgba(255, 255, 255, .78); font-size: 15px; }
.ax-sec-card ul { margin: auto 0 0; padding: 18px 0 0; list-style: none; display: grid; gap: 8px; }
.ax-sec-card li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .92); }
.ax-sec-card li .bi { color: var(--ax-mint); }

/* التطبيق */
.ax-app { position: relative; overflow: hidden; border-radius: 32px; background: linear-gradient(140deg, #072638, #0b3550 60%, #0b6b63); color: #e6f3ef; padding: 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ax-app .ax-streams { inset: 10% auto auto -60px; width: 520px; height: 300px; opacity: .25; }
.ax-app h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: #fff; margin-top: 14px; }
.ax-app .lead { margin-top: 12px; color: #b5d0cb; font-size: 17px; }
.ax-app-note { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; padding: 8px 14px; border-radius: 12px; background: rgba(242, 179, 91, .14); color: #ffd79c; font-size: 14px; }
.ax-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ax-store { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 18px 0 22px; border-radius: 16px; background: #fff; color: var(--ax-navy-2) !important; transition: transform .15s, box-shadow .2s; }
.ax-store:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .6); }
.ax-store .bi { font-size: 28px; }
.ax-store small { display: block; font-size: 11.5px; color: #5b7380; line-height: 1.1; }
.ax-store strong { display: block; font: 800 17px var(--ax-display); line-height: 1.2; direction: ltr; text-align: start; }
.ax-app-visual { position: relative; display: flex; justify-content: center; align-items: center; gap: 24px; }
.ax-phone { width: 210px; height: 410px; border-radius: 38px; background: #0a1c27; padding: 12px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8), inset 0 0 0 2px rgba(255, 255, 255, .08); transform: rotate(-6deg); }
.ax-phone-screen { height: 100%; border-radius: 28px; background: linear-gradient(180deg, #f5faf8, #e6f2ee); overflow: hidden; padding: 18px 14px; color: var(--ax-navy); display: flex; flex-direction: column; gap: 10px; }
.ax-phone-screen .t { font: 800 15px var(--ax-display); display: flex; align-items: center; gap: 6px; }
.ax-phone-screen .t .bi { color: var(--ax-green); }
.ax-phone-clock { text-align: center; padding: 14px 0 6px; }
.ax-phone-clock b { display: block; font: 800 38px var(--ax-display); direction: ltr; }
.ax-phone-clock span { font-size: 11.5px; color: var(--ax-muted); }
.ax-phone-btn { margin: 4px auto 0; width: 112px; height: 112px; border-radius: 50%; background: var(--ax-grad); color: #fff; display: grid; place-items: center; text-align: center; font: 800 14px var(--ax-display); box-shadow: 0 0 0 10px rgba(11, 138, 104, .12), 0 0 0 20px rgba(11, 138, 104, .06); }
.ax-phone-btn .bi { display: block; font-size: 30px; margin-bottom: 2px; }
.ax-phone-row { display: flex; justify-content: space-between; padding: 9px 11px; border-radius: 12px; background: #fff; font-size: 11.5px; box-shadow: 0 6px 14px -10px rgba(7, 38, 56, .5); }
.ax-phone-row b { color: var(--ax-green); }
.ax-qrs { display: grid; gap: 12px; }
.ax-qr { width: 130px; padding: 10px; border-radius: 18px; background: #fff; text-align: center; color: var(--ax-navy); font-size: 12.5px; font-weight: 700; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .7); }
.ax-qr img { display: block; width: 110px; height: 110px; object-fit: contain; margin-bottom: 4px; border-radius: 8px; }

/* الخدمات الإضافية */
.ax-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ax-svc { display: flex; gap: 16px; padding: 24px; border-radius: var(--ax-r); background: #fff; border: 1px solid var(--ax-line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ax-svc:hover { transform: translateY(-3px); box-shadow: var(--ax-shadow-lg); border-color: rgba(11, 138, 104, .3); }
.ax-svc .ic { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 23px; background: var(--ax-mint-soft); color: var(--ax-green); }
.ax-svc h3 { font-size: 18px; font-weight: 800; color: var(--ax-navy); }
.ax-svc p { margin-top: 4px; font-size: 14.5px; color: var(--ax-muted); }
.ax-svc .go { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ax-green); }

/* نداء أخير */
.ax-cta { position: relative; overflow: hidden; border-radius: 32px; padding: 54px; background: var(--ax-grad); color: #fff; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.ax-cta .ax-streams { inset: auto auto -40px -40px; width: 480px; height: 260px; opacity: .3; }
.ax-cta h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.ax-cta p { margin-top: 8px; color: rgba(255, 255, 255, .82); font-size: 17px; }
.ax-cta .acts { margin-inline-start: auto; display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.ax-cta .ax-btn-white { background: #fff; color: var(--ax-navy) !important; }
.ax-cta .ax-btn-white:hover { box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5); }

/* ----------------------------------------------------------- الفوتر */
.ax-foot { background: #061f2e; color: #a8c0c6; padding: 64px 0 28px; margin-top: 0; }
.ax-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.ax-foot .logo { height: 90px; width: auto; }
.ax-foot p { margin-top: 14px; font-size: 14.5px; line-height: 1.9; max-width: 340px; }
.ax-foot h4 { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.ax-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.ax-foot ul a:hover { color: var(--ax-mint); }
.ax-foot .mail { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 600; direction: ltr; }
.ax-foot .mail:hover { border-color: var(--ax-mint); }
.ax-foot-bottom { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: #7f9aa2; }
.ax-foot-bottom a { color: #a8c0c6; }
.ax-totop { position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 1020; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--ax-navy); color: #fff !important; font-size: 22px; box-shadow: 0 16px 30px -14px rgba(7, 38, 56, .8); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.ax-totop.is-on { opacity: 1; visibility: visible; transform: none; }

/* ----------------------------------------------------------- صفحات الدخول الفرعية (المستفيدون / التبرع الذاتي) */
.ax-auth { position: relative; overflow: hidden; min-height: calc(100vh - 74px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ax-auth-form { display: flex; align-items: center; justify-content: center; padding: 56px 24px; background: #fff; position: relative; }
.ax-auth-form .inner { width: min(440px, 100%); }
.ax-auth-form .badge-k { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: var(--ax-mint-soft); color: var(--ax-green); font-weight: 700; font-size: 13.5px; }
.ax-auth-form h1 { margin-top: 16px; font-size: clamp(28px, 3vw, 36px); font-weight: 800; color: var(--ax-navy); }
.ax-auth-form .sub { margin-top: 8px; color: var(--ax-muted); font-size: 16px; margin-bottom: 26px; }
.ax-auth-side { position: relative; overflow: hidden; color: #e3f1ed; padding: 56px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(700px 400px at 100% 0, rgba(52, 208, 162, .25), transparent 60%), linear-gradient(160deg, #0b3550, #072638); }
.ax-auth-side .ax-streams { left: -120px; right: auto; bottom: 3%; width: 560px; height: 300px; opacity: .22; }
.ax-auth-side > :not(.ax-streams):not(.ax-scroll) { position: relative; z-index: 1; }
.ax-auth-side .ax-scroll { z-index: 1; }
.ax-auth-side h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; color: #fff; }
.ax-auth-side .lead { margin-top: 12px; color: #b3cdc8; font-size: 16.5px; max-width: 520px; line-height: 1.9; }
.ax-points { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 520px; position: relative; }
.ax-points li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.ax-points .ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(52, 208, 162, .16); color: var(--ax-mint); font-size: 19px; }
.ax-points b { display: block; color: #fff; font-size: 15.5px; }
.ax-points span { font-size: 14px; color: #a9c4bf; }
.ax-warn { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 12px 14px; border-radius: 14px; background: #fff6e8; color: #8a520f; font-size: 13.5px; line-height: 1.7; }
.ax-warn .bi { font-size: 18px; }
.ax-helper { margin-top: 18px; text-align: center; font-size: 14px; color: var(--ax-muted); }
.ax-helper a { color: var(--ax-green); font-weight: 700; }
.ax-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 26px; font-size: 14px; font-weight: 600; color: var(--ax-muted); }
.ax-back:hover { color: var(--ax-green); }

/* صورة الكشك */
.ax-kiosk-img { position: relative; max-width: 380px; margin: 0 auto 26px; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .5)); }
.ax-scroll { position: absolute; bottom: 22px; inset-inline-start: 50%; transform: translateX(50%); display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; color: #a9c4bf; }
.ax-scroll .bi { animation: axBob 1.6s ease-in-out infinite; font-size: 20px; color: var(--ax-mint); }

/* ----------------------------------------------------------- صفحة التبرع الذاتي (العرض) */
.ax-devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ax-device { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; padding: 22px; border-radius: 26px; background: #fff; border: 1px solid var(--ax-line); box-shadow: var(--ax-shadow); }
.ax-device .pic { position: relative; border-radius: 18px; background: var(--ax-grad-soft); display: grid; place-items: center; padding: 14px; min-height: 260px; }
.ax-device .pic img { max-height: 280px; object-fit: contain; }
.ax-device .pic .tag { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 12px; border-radius: 99px; background: var(--ax-navy); color: #fff; font-size: 12px; font-weight: 700; }
.ax-device h3 { font-size: 20px; font-weight: 800; color: var(--ax-navy); }
.ax-device p { margin-top: 6px; color: var(--ax-muted); font-size: 14.5px; }
.ax-specs { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ax-specs li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 11px; background: #f5f9f8; font-size: 13.5px; }
.ax-specs li span:first-child { color: var(--ax-muted); }
.ax-specs li span:last-child { font-weight: 700; color: var(--ax-navy); text-align: end; }
.ax-link-btn { margin-top: 14px; border: 0; background: none; padding: 0; font: 700 14px var(--ax-font); color: var(--ax-green); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }

.ax-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ax-feat { padding: 24px; border-radius: var(--ax-r); background: #fff; border: 1px solid var(--ax-line); }
.ax-feat .ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--ax-mint-soft); color: var(--ax-green); font-size: 21px; }
.ax-feat h3 { margin-top: 14px; font-size: 17.5px; font-weight: 800; color: var(--ax-navy); }
.ax-feat p { margin-top: 6px; font-size: 14.5px; color: var(--ax-muted); }

.ax-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 16px; background: #eaf2ef; margin-bottom: 18px; }
.ax-tab { height: 44px; padding: 0 20px; border: 0; border-radius: 12px; background: transparent; font: 700 14.5px var(--ax-font); color: #3c5664; cursor: pointer; }
.ax-tab.is-on { background: #fff; color: var(--ax-navy); box-shadow: 0 8px 18px -12px rgba(7, 38, 56, .6); }
.ax-panel { display: none; }
.ax-panel.is-on { display: block; animation: axIn .25s ease-out; }
@keyframes axIn { from { opacity: 0; transform: translateY(6px); } }
.ax-spec-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--ax-line); }
.ax-spec-table td { padding: 15px 20px; border-bottom: 1px solid var(--ax-line); font-size: 15px; vertical-align: top; }
.ax-spec-table tr:last-child td { border-bottom: 0; }
.ax-spec-table td:first-child { width: 190px; font-weight: 800; color: var(--ax-navy); background: #f7faf9; }

.ax-pays { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ax-pay { min-width: 150px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--ax-line); text-align: center; font: 800 18px var(--ax-display); color: var(--ax-navy); box-shadow: var(--ax-shadow); }
.ax-pay small { display: block; margin-top: 2px; font: 600 12.5px var(--ax-font); color: var(--ax-muted); }

.ax-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ax-check { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #e2f0ec; font-size: 15.5px; }
.ax-check .bi { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ax-mint); color: var(--ax-navy-2); font-size: 16px; }
.ax-dark { background: linear-gradient(160deg, #0b3550, #072638); color: #e3f1ed; }
.ax-dark .ax-head h2 { color: #fff; }
.ax-dark .ax-head p { color: #a9c4bf; }
.ax-dark .ax-kicker { color: var(--ax-mint); }

/* ----------------------------------------------------------- اتصل بنا */
.ax-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 24px; align-items: start; }
.ax-contact-info { position: relative; overflow: hidden; padding: 34px 30px; border-radius: 28px; background: linear-gradient(160deg, #0b3550, #072638); color: #dbece8; }
.ax-contact-info { padding-bottom: 120px; }
.ax-contact-info .ax-streams { left: -150px; right: auto; bottom: -40px; width: 460px; height: 220px; opacity: .3; }
.ax-contact-info > :not(.ax-streams) { position: relative; z-index: 1; }
.ax-contact-info h2 { font-size: 26px; font-weight: 800; color: #fff; }
.ax-contact-info .lead { margin-top: 10px; color: #a9c4bf; font-size: 15.5px; }
.ax-ci { position: relative; display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.ax-ci .ic { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; background: rgba(52, 208, 162, .16); color: var(--ax-mint); font-size: 19px; }
.ax-ci small { display: block; font-size: 12.5px; color: #8fb0aa; }
.ax-ci b { display: block; color: #fff; font-size: 15.5px; }
.ax-contact-form { padding: 32px 30px; border-radius: 28px; background: #fff; border: 1px solid var(--ax-line); box-shadow: var(--ax-shadow-lg); }
.ax-contact-form h3 { font-size: 22px; font-weight: 800; color: var(--ax-navy); }
.ax-contact-form .sub { margin: 6px 0 20px; color: var(--ax-muted); font-size: 15px; }
.ax-contact-form .form-control, .ax-contact-form .form-select, .ax-modal .form-control, .ax-modal .form-select { height: 50px; border-radius: 14px; border: 1.5px solid #dbe6e3; background: #f7faf9; }
.ax-contact-form textarea.form-control, .ax-modal textarea.form-control { height: auto; min-height: 120px; }
.ax-contact-form .form-control:focus, .ax-modal .form-control:focus { border-color: var(--ax-green); box-shadow: 0 0 0 4px rgba(11, 138, 104, .12); background: #fff; }
.ax-contact-form .btn-primary, .ax-modal .btn-primary { background: var(--ax-grad); border: 0; border-radius: 14px; height: 50px; padding: 0 26px; font-weight: 700; }

/* نافذة طلب النسخة التجريبية */
.ax-modal .modal-content { border: 0; border-radius: 28px; overflow: hidden; font-family: var(--ax-font); }
.ax-modal-head { position: relative; overflow: hidden; padding: 24px 26px; color: #fff; background: linear-gradient(140deg, #0b3550, #0b6b63); }
.ax-modal-head .ax-streams { inset: auto -40px -40px auto; width: 340px; height: 180px; opacity: .3; }
.ax-modal-head h5 { position: relative; font: 800 21px var(--ax-display); margin: 0; }
.ax-modal-head p { position: relative; margin-top: 6px; color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.ax-modal-head .btn-close { position: absolute; top: 18px; inset-inline-end: 18px; filter: invert(1); opacity: .8; z-index: 2; }
.ax-modal .modal-body { padding: 24px 26px; }

/* ظهور تدريجي عند التمرير */
.ax-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.ax-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ax-reveal { opacity: 1; transform: none; transition: none; } }

/* ----------------------------------------------------------- استجابة */
@media (max-width: 1199.98px) {
  .ax-hero .ax-wrap { grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); gap: 36px; }
  .ax-login-wrap .ax-streams { display: none; }
}
@media (max-width: 991.98px) {
  .ax-hero .ax-wrap { grid-template-columns: 1fr; padding: 40px 0 100px; }
  .ax-login-wrap { order: -1; max-width: 480px; width: 100%; margin-inline: auto; }
  .ax-hero-copy { text-align: center; }
  .ax-hero .lead { margin-inline: auto; }
  .ax-sectors, .ax-hero-ctas, .ax-proof { justify-content: center; }
  .ax-trust-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-trust-card > div:nth-child(3) { border-inline-start: 0; }
  .ax-trust-card > div:nth-child(n+3) { border-top: 1px solid var(--ax-line); }
  .ax-tile, .ax-tile.is-wide { grid-column: span 6; }
  .ax-flow, .ax-sectors-grid, .ax-services, .ax-feats { grid-template-columns: 1fr 1fr; }
  .ax-step::after { display: none; }
  .ax-app { grid-template-columns: 1fr; padding: 40px 28px; }
  .ax-foot-grid { grid-template-columns: 1fr 1fr; }
  .ax-auth { grid-template-columns: 1fr; min-height: 0; }
  .ax-auth-side { padding: 44px 24px 70px; }
  .ax-devices { grid-template-columns: 1fr; }
  .ax-contact { grid-template-columns: 1fr; }
  .ax-sec { padding: 70px 0; }
}
@media (max-width: 640px) {
  .ax-wrap { width: calc(100% - 32px); }
  .ax-top .ax-wrap { height: 66px; gap: 10px; }
  .ax-drawer { inset: 66px 0 auto 0 !important; }
  .ax-brand img { height: 32px; }
  .ax-brand b { font-size: 16px; }
  .ax-login { padding: 26px 20px 22px; border-radius: 22px; }
  .ax-trust-card, .ax-flow, .ax-sectors-grid, .ax-services, .ax-feats, .ax-checks { grid-template-columns: 1fr; }
  .ax-trust-card > div + div { border-inline-start: 0; border-top: 1px solid var(--ax-line); }
  .ax-tile, .ax-tile.is-wide { grid-column: span 12; }
  .ax-proof { gap: 18px; }
  .ax-proof b { font-size: 24px; }
  .ax-app-visual { flex-direction: column; }
  .ax-qrs { grid-auto-flow: column; }
  .ax-cta { padding: 34px 24px; }
  .ax-cta .acts { margin-inline-start: 0; width: 100%; }
  .ax-cta .acts .ax-btn { flex: 1; }
  .ax-foot-grid { grid-template-columns: 1fr; }
  .ax-device { grid-template-columns: 1fr; }
  .ax-spec-table td:first-child { width: 120px; }
  .ax-hero-ctas .ax-btn { flex: 1 1 100%; }
}
