/* ==================================================================
   REYNX STUDIO — About Page v4 (about.html)
   TECH LUXE v4 — بروفيشنال · تكنولوجي · كرييتف · فخم
   تيم الموقع: أبيض / رمادي / أسود
   v4: اتشالت كلمة REYNX الخلفية · الشريط الأسود بقى خط شعرة بسيط ·
   الإحصائيات بقت أعمدة متوازنة بشرطة رفيعة · الـ CTA اتشال
   v14: اللوحات البصرية اتنقلت لـ signoff.css الموحّد (توقيع سفلي في كل الصفحات)
   ملحوظة: الـ <nav> و<footer> أخوات لـ <main class="ax-page">
   فقواعد النافبار هنا top-level (مش جوّه .ax-page).
   ================================================================== */

/* ============================================================
   0) BASE — نفس خلفية الهوم بالظبط
   ============================================================ */
html,
body {
    background: linear-gradient(180deg, #d3d9dd 0%, #b7bfc5 100%) !important;
    background-attachment: fixed !important;
    color: #101114;
    /* الخط الأساسي: Poppins (لاتيني) + Cairo (عربي) */
    font-family: 'Poppins', 'Cairo', sans-serif;
}

.ax-page {
    position: relative;
    background: transparent;
    color: #101114;
}

/* ============================================================
   NAVBAR — شفاف على الخلفية البيضا + لوجو أسود
   ============================================================ */
.navbar,
.navbar::before,
.navbar::after {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.nav-links a { color: rgba(0, 0, 0, .62); }
.nav-links a:hover,
.nav-links a.active { color: #000; }

.search-btn,
.action-icon,
.lang-btn { color: rgba(0, 0, 0, .7); }

.search-btn:hover,
.action-icon:hover,
.lang-btn:hover { color: #000; }

.logo-img {
    filter: brightness(0);
    opacity: 1;
}

.login-btn-alt {
    background: rgba(0, 0, 0, .05);
    border-color: rgba(0, 0, 0, .3);
    color: #111 !important;
}
.login-btn-alt:hover {
    background: rgba(0, 0, 0, .1);
    border-color: rgba(0, 0, 0, .5);
    color: #111 !important;
}

.hamburger-icon span { background: #111; }

/* ============================================================
   PRELOADER — اللودر القياسي بتاع رينكس (الستايل من main.css)
   هنا بس شبكة أمان CSS: لو الـ JS وقع، اللودر يختفي لوحده
   ============================================================ */
.page-loader {
    animation: axLoaderFailsafe .4s ease 4.2s forwards;
}

@keyframes axLoaderFailsafe {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* ============================================================
   SCROLL PROGRESS — خيط رفيع فوق الصفحة (blend يخليه شايف على كل خلفية)
   ============================================================ */
.ax-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 9000;
    pointer-events: none;
}

.ax-progress i {
    display: block;
    height: 100%;
    background: #ffffff;
    mix-blend-mode: difference;
    transform: scaleX(0);
    transform-origin: left center;
}
html[dir="rtl"] .ax-progress i { transform-origin: right center; }

/* ============================================================
   1) HERO — Antigravity + كشف سينمائي للعناوين + HUD
   ============================================================ */
.ax-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-top: 132px;
    overflow: hidden;
    background: transparent;
}

/* طبقة الـ particles — نفس قواعد .rx-hero .particles */
.ax-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.ax-hero-particles [data-container] {
    position: absolute;
    inset: 0;
}
.ax-hero-particles canvas { display: block; }

/* هالة بيضا خفيفة ورا النص */
.ax-hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 56% 50% at 50% 45%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 72%);
}

/* سبوتلايت الماوس — --rx-mx/--rx-my من about.js */
.ax-hero-glow {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    transition: background .2s ease-out;
    background: radial-gradient(480px circle at var(--rx-mx, 50%) var(--rx-my, 40%), rgba(255, 255, 255, .5), transparent 62%);
}

.ax-hero-inner {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 52px 24px 64px;
}

/* ── Eyebrow — مونو كابيرال متباعد (بيتفكّش بالسكرامبل) ── */
.ax-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .38em;
    text-transform: uppercase;
    color: rgba(16, 17, 20, .55);
    animation: axFadeUp .8s cubic-bezier(.16, 1, .3, 1) 1.1s both;
}
.ax-eyebrow::before {
    content: '';
    width: 44px;
    height: 1px;
    background: rgba(16, 17, 20, .4);
    flex: none;
}

/* ── Title — كل سطر يطلع من ورا قناع (mask reveal) ── */
.ax-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: clamp(2.6rem, 6.6vw, 5.6rem);
    font-weight: 300;
    letter-spacing: -0.05em;
    line-height: 1.06;
    color: #101114;
}

.ax-line {
    display: block;
    overflow: hidden;
    padding-bottom: .07em;
    margin-bottom: -.07em;
}

.ax-line > span {
    display: block;
    transform: translateY(118%);
    animation: axLineUp 1.05s cubic-bezier(.16, 1, .3, 1) both;
}

.ax-line:nth-child(1) > span { animation-delay: 1.2s; }
.ax-line:nth-child(2) > span { animation-delay: 1.34s; }

@keyframes axLineUp {
    to { transform: translateY(0); }
}

/* تدرج مونو (أسود → رمادي → أسود) */
.ax-grad {
    background-image: linear-gradient(100deg, #101114 0%, #5f656d 55%, #101114 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ax-sub {
    margin: 24px 0 0;
    max-width: 540px;
    font-size: .98rem;
    line-height: 1.9;
    color: #5f656d;
    animation: axFadeUp .9s cubic-bezier(.16, 1, .3, 1) 1.5s both;
}

/* ── Buttons — رفيعين ومضبوطين (+ مغناطيسية من الـ JS) ── */
.ax-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
    animation: axFadeUp .9s cubic-bezier(.16, 1, .3, 1) 1.62s both;
}

.ax-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 40px;
    border: 1px solid transparent;
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    will-change: transform;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
}
.ax-btn i {
    font-size: .78rem;
    transition: transform .3s ease;
}
.ax-btn:hover i { transform: scale(1.12); }

/* في الاتجاه LTR السهم يتقلّب عشان يفضل يشاور لقدام */
html[dir="ltr"] .ax-btn i.fa-arrow-left { transform: scaleX(-1); }
html[dir="ltr"] .ax-btn:hover i.fa-arrow-left { transform: scaleX(-1) scale(1.12); }

/* سودا صلبة (Primary) */
.ax-btn-solid {
    background: #101114;
    border-color: #101114;
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(16, 17, 20, .2);
}
.ax-btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(16, 17, 20, .28);
}

/* زجاج أبيض (Secondary) */
.ax-btn-glass {
    background: rgba(255, 255, 255, .55);
    border-color: rgba(255, 255, 255, .85);
    color: #101114;
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
}
.ax-btn-glass:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .85);
    border-color: rgba(16, 17, 20, .1);
}

/* ── HUD أسفل الهيرو — إحداثيات حيّة + علامة سكرول ── */
.ax-hud {
    position: absolute;
    z-index: 3;
    bottom: 30px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .6rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(16, 17, 20, .42);
    user-select: none;
    white-space: nowrap;
    animation: axFadeUp .8s ease 1.85s both;
}
.ax-hud-bl { left: clamp(20px, 4vw, 52px); }
.ax-hud-br { right: clamp(20px, 4vw, 52px); }

/* ── دليل سكرول رفيع ── */
.ax-scroll {
    position: absolute;
    z-index: 3;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 54px;
    background: rgba(16, 17, 20, .16);
    overflow: hidden;
}
.ax-scroll span {
    position: absolute;
    left: 0;
    top: -40%;
    width: 100%;
    height: 40%;
    background: #101114;
    animation: axScrollCue 2.6s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes axScrollCue {
    0% { top: -40%; }
    60%, 100% { top: 110%; }
}

/* ============================================================
   2) الفاصل — خط شعرة بسيط بعرض الصفحة (بدل الشريط الأسود)
   ============================================================ */
.ax-rule {
    position: relative;
    z-index: 5;
    height: 1px;
    background: rgba(16, 17, 20, .12);
}

/* ============================================================
   3) SECTION BASE — مسافات مريحة + فواصل شعرة
   ============================================================ */
.ax-section {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 120px 24px;
}

/* خط شعرة رفيع يفصل الأقسام عن بعض */
.ax-caps,
.ax-process {
    border-top: 1px solid rgba(16, 17, 20, .1);
}

.ax-tag {
    display: block;
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: rgba(16, 17, 20, .45);
}

.ax-tag-light { color: rgba(255, 255, 255, .45); }

.ax-h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 300;
    letter-spacing: -0.035em;
    line-height: 1.18;
    color: #101114;
}
.ax-h2 .ax-grad { display: block; }

.ax-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 26px;
    margin-bottom: 58px;
}

.ax-head-note {
    max-width: 320px;
    margin: 0;
    font-size: .88rem;
    line-height: 1.85;
    color: #5f656d;
}

/* ============================================================
   4) MANIFESTO + STATS — يتكشف كلمة كلمة + عدادات متوازنة
   ============================================================ */
.ax-manifesto { padding-top: 124px; }

.ax-lead {
    max-width: 940px;
    margin: 0 0 74px;
    font-size: clamp(1.35rem, 2.9vw, 2.05rem);
    font-weight: 300;
    line-height: 1.72;
    letter-spacing: -0.01em;
    color: #5f656d;
}

.ax-lead .ax-em {
    color: #101114;
    font-weight: 400;
}

/* كلمات المانيفستو — الشفافية بيتوجّهها من السكرول (الـ JS) */
.ax-lead .ax-w {
    opacity: .13;
    transition: opacity .28s linear;
}

/* الإحصائيات: أعمدة متوازنة في النص — من غير صناديق ولا خطوط جانبية */
.ax-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 24px;
}

.ax-stat {
    position: relative;
    text-align: center;
    padding: 6px 6px 0;
}

/* الأرقام: Poppins رفيع (300) — فخم وهادي بدل الت Bold التقيل.
   font-family صريح عشان الرقم يفضل Poppins في العربي والإنجليزي */
.ax-stat h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 4.8vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    color: #101114;
}

/* الأرقام لاتينية دايمًا → Poppins حتى في وضع RTL */
html[dir="rtl"] .ax-stat h3 { font-family: 'Poppins', sans-serif !important; }

/* شرطة رفيعة تحت الرقم */
.ax-stat-dash {
    display: block;
    width: 26px;
    height: 1px;
    margin: 16px auto 14px;
    background: rgba(16, 17, 20, .5);
}

.ax-stat p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: .82rem;
    font-weight: 400;
    color: #6b7075;
}

/* ============================================================
   5) CAPABILITIES — كروت بميل3D + ولمعة تتبّع الماوس
   ============================================================ */
.ax-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    perspective: 1200px;
}

.ax-card {
    position: relative;
    padding: 36px 32px 34px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(16, 17, 20, .08);
    box-shadow: 0 12px 34px rgba(16, 17, 20, .05);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    will-change: transform;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1),
                background .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.ax-card:hover {
    background: rgba(255, 255, 255, .82);
    border-color: rgba(16, 17, 20, .16);
    box-shadow: 0 22px 52px rgba(16, 17, 20, .09);
}

/* لمعة بيضا تتحرك مع الماوس (--gx/--gy من الـ JS) */
.ax-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: radial-gradient(320px 230px at var(--gx, 65%) var(--gy, 0%),
                rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 62%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}
.ax-card:hover::after { opacity: 1; }

/* المحتوى فوق اللمعة */
.ax-card > * { position: relative; z-index: 1; }

/* صف علوي: رقم مونو + ايقونة خفيفة (من غير بلاط) */
.ax-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 42px;
}

.ax-card-num {
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .72rem;
    letter-spacing: 2.4px;
    color: rgba(16, 17, 20, .38);
}

.ax-card-top i {
    font-size: .95rem;
    color: rgba(16, 17, 20, .38);
    transition: color .35s ease, transform .35s ease;
}
.ax-card:hover .ax-card-top i {
    color: #101114;
    transform: translateY(-2px);
}

.ax-card h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #101114;
}

.ax-card p {
    margin: 0;
    font-size: .88rem;
    line-height: 1.9;
    color: #5f656d;
}

/* ============================================================
   6) PROCESS — خط تقدّم بين خطّي يمتلئ مع السكرول
   ============================================================ */
.ax-steps {
    position: relative;
    border-top: 1px solid rgba(16, 17, 20, .14);
}

.ax-prog {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: -16px;
    width: 1px;
    background: rgba(16, 17, 20, .1);
    overflow: hidden;
}

.ax-prog i {
    position: absolute;
    inset: 0;
    background: #101114;
    transform: scaleY(0);
    transform-origin: top center;
    will-change: transform;
}

.ax-step {
    display: grid;
    grid-template-columns: 80px minmax(140px, 220px) 1fr;
    gap: 24px;
    align-items: center;
    padding: 30px 16px;
    border-bottom: 1px solid rgba(16, 17, 20, .14);
    border-radius: 14px;
    transition: background .3s ease;
}
.ax-step:hover { background: rgba(255, 255, 255, .5); }

.ax-step-num {
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(16, 17, 20, .3);
    transition: color .3s ease;
}
.ax-step:hover .ax-step-num { color: #101114; }

.ax-step h3 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 400;
    color: #101114;
}

.ax-step p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.85;
    color: #5f656d;
}

/* ============================================================
   7) ANIMATIONS + SCROLL REVEAL
   ============================================================ */
@keyframes axFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rx-reveal,
.reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(5px);
    will-change: transform, opacity;
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--rx-delay, 0s);
}

.rx-reveal.rx-in,
.reveal.visible,
.rx-reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    .ax-eyebrow, .ax-sub, .ax-btns, .ax-hud,
    .ax-line > span { animation: none !important; }
    .ax-line > span { transform: none !important; }
    .ax-scroll span { animation: none !important; top: 30%; opacity: .4; }
    .ax-lead .ax-w { opacity: 1 !important; transition: none !important; }
    /* اللودر القياسي: اللوجو ثابت ظاهر + شبكة أمان CSS تفضل شغالة */
    .loader-logo-text { animation: none !important; opacity: 1 !important; }
    .rx-reveal,
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
    .ax-card, .ax-step, .ax-btn { transition: none !important; }
}

/* ============================================================
   8) FOOTER — أسود زي فوتر الهوم بالظبط
   ============================================================ */
.rx-footer,
footer.rx-footer {
    --rxf-stone-line: rgba(255, 255, 255, .12);
    --rxf-white: #f2f4f6;

    width: min(1240px, calc(100% - 96px));
    margin: 0 auto;
    padding: 24px 0 42px;
    background: transparent;
    color: var(--rxf-white);
}

.rx-footer-box {
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    max-width: 1160px;
    margin: 0 auto;
    padding: 42px 62px 24px;
    direction: ltr;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 28px;
    background: #000000;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.rx-footer-box * { box-sizing: border-box; }

/* اللوحة سودا خالص — الدايرة الزخرفية اتشالت */
.rx-footer-box::before { display: none; }

/* حقل Antigravity جوّه الفوتر */
.rx-footer-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.rx-footer-particles [data-container] { position: absolute; inset: 0; }
.rx-footer-particles canvas { display: block; }
.rx-footer-box > :not(.rx-footer-particles) { position: relative; z-index: 1; }

.rx-footer-brand-row {
    position: relative;
    z-index: 1;
    direction: ltr;
    text-align: left;
    margin: 0 0 30px;
}

/* العربية: اللوحة كلها بتنقلب RTL (كانت مفروضة LTR) */
html[dir="rtl"] .rx-footer-box { direction: rtl; text-align: right; }
html[dir="rtl"] .rx-footer-brand-row { direction: rtl; text-align: right; }

.rx-footer-logo {
    width: 96px;
    height: 36px;
    background-color: #f2f4f6;
    -webkit-mask-image: url('../assets/images/logo.png');
    mask-image: url('../assets/images/logo.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: left center;
    mask-position: left center;
}

.rx-footer-cols {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.rx-footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rx-footer-col h4 {
    margin: 0 0 4px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .64rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.rx-footer-col a,
.rx-footer-col p {
    display: block;
    width: fit-content;
    margin: 0;
    font-size: .85rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color .25s ease, transform .3s ease;
    color: rgba(255, 255, 255, .72);
}

.rx-footer-col a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.rx-footer-divider {
    position: relative;
    z-index: 1;
    height: 1px;
    margin: 24px 0 15px;
    background: rgba(255, 255, 255, .12);
}

.rx-footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.rx-footer-copy,
.rx-footer-note {
    font-size: .78rem;
    color: rgba(255, 255, 255, .45);
}

.rx-footer-social { display: flex; gap: 10px; }

.rx-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: .8rem;
    text-decoration: none;
    transition: all .3s ease;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .8);
}

.rx-footer-social a:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0a0b0d;
    transform: translateY(-2px);
}

/* ============================================================
   9) RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .ax-cards { grid-template-columns: repeat(2, 1fr); }
    .ax-head { flex-direction: column; align-items: flex-start; }
    .ax-head-note { max-width: 520px; }

    /* الإحصائيات: عمودين */
    .ax-stats { grid-template-columns: repeat(2, 1fr); gap: 46px 24px; }

    .ax-step {
        grid-template-columns: 64px 1fr;
        gap: 10px 20px;
    }
    .ax-step p { grid-column: 2 / -1; }

    .rx-footer-cols { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
    .rx-footer-box { padding: 38px 34px 24px; }
    .rx-footer-brand-row { margin-bottom: 26px; }
    .rx-footer-divider { margin: 20px 0 14px; }
}

@media (max-width: 768px) {
    .ax-hero { padding-top: 112px; }
    .ax-section { padding: 88px 20px; }
    .ax-manifesto { padding-top: 94px; }
    .ax-lead { margin-bottom: 56px; }
    .ax-hud { display: none; }
    .ax-prog { inset-inline-start: -12px; }
}

@media (max-width: 640px) {
    .ax-cards { grid-template-columns: 1fr; }
    .ax-card { padding: 30px 26px 28px; }
    .ax-step {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 24px 12px;
    }
    .ax-step p { grid-column: auto; }
    .ax-btn { padding: 13px 26px; }

    .rx-footer,
    footer.rx-footer { width: calc(100% - 38px); }
    .rx-footer-box { padding: 32px 22px 24px; }
}

@media (max-width: 576px) {
    /* الإحصائيات: عمودين مدمجين */
    .ax-stats { gap: 36px 18px; }
    .rx-footer-cols { grid-template-columns: repeat(2, 1fr); }
    .rx-footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   10) RTL — خط Cairo + إصلاح ايقونات Font Awesome
   ============================================================ */
html[dir="rtl"] .ax-page,
html[dir="rtl"] .ax-page *,
html[dir="rtl"] footer.rx-footer,
html[dir="rtl"] footer.rx-footer * {
    font-family: 'Cairo', 'Poppins', 'Inter', Arial, sans-serif !important;
}

html[dir="rtl"] .ax-page i[class*="fa-"],
html[dir="rtl"] footer.rx-footer i[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}
html[dir="rtl"] .ax-page i.fa-solid,
html[dir="rtl"] footer.rx-footer i.fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
html[dir="rtl"] .ax-page i.fa-regular,
html[dir="rtl"] footer.rx-footer i.fa-regular {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}
html[dir="rtl"] .ax-page i.fa-brands,
html[dir="rtl"] footer.rx-footer i.fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* العربية: الحروف متصلة → تتبّع موجب/صفر مش سالب */
html[dir="rtl"] .ax-title { letter-spacing: 0 !important; line-height: 1.45 !important; }
html[dir="rtl"] .ax-h2 { letter-spacing: -0.01em !important; line-height: 1.55 !important; }
html[dir="rtl"] .ax-lead { letter-spacing: 0 !important; line-height: 1.95 !important; }
html[dir="rtl"] .ax-stat p,
html[dir="rtl"] .ax-head-note { letter-spacing: 0 !important; }

/* عناوين التدرّج المونو: مساحة تحت عشان النزل (descenders) ما تتقفلش */
html[dir="rtl"] .ax-grad {
    line-height: 1.5 !important;
    padding-bottom: 0.12em;
}

/* النصوص اللاتينية الثابتة تفضل مونو حتى في وضع RTL */
html[dir="rtl"] .ax-tag,
html[dir="rtl"] .ax-eyebrow,
html[dir="rtl"] .ax-card-num,
html[dir="rtl"] .ax-step-num,
html[dir="rtl"] .ax-hud,
html[dir="rtl"] footer.rx-footer .rx-footer-col h4 {
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace !important;
}

/* End Reynx About v4 — Tech Luxe */
