@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --navy-950: #061522;
    --navy-900: #0a2033;
    --navy-800: #103552;
    --cyan-700: #087f8c;
    --cyan-600: #0f9ba8;
    --cyan-100: #dff7f6;
    --gold-500: #f3b63f;
    --gold-100: #fff4d8;
    --ink: #142331;
    --muted: #637381;
    --surface: #ffffff;
    --surface-alt: #f4f8fa;
    --border: #dce7ec;
    --shadow-sm: 0 10px 30px rgba(6, 21, 34, 0.08);
    --shadow-lg: 0 24px 70px rgba(6, 21, 34, 0.16);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    padding-top: 80px;
    color: var(--ink);
    background: var(--surface-alt);
    font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}
html[lang='en'] body, html:not([dir='rtl']) body { font-family: 'Manrope', 'Segoe UI', Arial, sans-serif; }
img, video { display: block; max-width: 100%; }
a { color: var(--cyan-700); text-decoration: none; }
a:hover { color: var(--navy-800); }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(243, 182, 63, 0.8); outline-offset: 4px; }

.skip-link {
    position: fixed;
    inset-inline-start: 16px;
    top: -80px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 10px;
    color: #fff;
    background: var(--navy-950);
    transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

header, .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px max(24px, calc((100vw - var(--container)) / 2));
    color: var(--ink);
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid rgba(220, 231, 236, 0.9);
    box-shadow: 0 8px 30px rgba(6, 21, 34, 0.06);
    backdrop-filter: blur(16px);
}
header.scrolled { box-shadow: 0 12px 34px rgba(6, 21, 34, 0.12); }
.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: max-content;
    color: var(--navy-900);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}
.logo:hover { color: var(--cyan-700); }
.logo img { width: 58px; height: 48px; object-fit: contain; border-radius: 10px; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy small { color: var(--cyan-700); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; }
.navigation, header nav { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.navigation a, header nav a, header > h3 a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.navigation a:hover, header nav a:hover, header > h3 a:hover, .navigation a[aria-current='page'] {
    color: var(--cyan-700);
    background: var(--cyan-100);
}
header > h3 { margin: 0; font-size: 0.9rem; font-weight: 700; }
header > h3 i { color: var(--cyan-700); margin-inline-start: -8px; }
.language-switch { margin-inline-start: auto; }
.language-switch a { color: var(--cyan-700); background: var(--cyan-100); }
.nav-cta, .navigation .nav-cta { color: #fff; background: var(--navy-900); }
.nav-cta:hover, .navigation .nav-cta:hover { color: #fff; background: var(--cyan-700); transform: translateY(-1px); }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--navy-900);
    background: #fff;
    cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 4px;
    background: currentColor;
    content: '';
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle span { margin: 4px 0; }
.menu-toggle[aria-expanded='true'] span { opacity: 0; }
.menu-toggle[aria-expanded='true']::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded='true']::after { transform: translateY(-6px) rotate(-45deg); }

.container, .section-inner { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
section { padding: 88px max(24px, calc((100vw - var(--container)) / 2)); }
.section-heading { max-width: 720px; margin-bottom: 40px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--cyan-700);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.eyebrow::before { width: 24px; height: 3px; border-radius: 99px; background: var(--gold-500); content: ''; }
.section-heading h2, .title {
    margin: 0 0 14px;
    color: var(--navy-900) !important;
    font-size: clamp(2rem, 4vw, 3.2rem) !important;
    font-weight: 800 !important;
    line-height: 1.25;
    letter-spacing: -0.025em;
}
html[dir='rtl'] .section-heading h2,
html[dir='rtl'] .title { letter-spacing: 0; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }

.hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 80px);
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(90deg, rgba(6, 21, 34, 0.98) 0%, rgba(6, 21, 34, 0.87) 48%, rgba(6, 21, 34, 0.18) 100%), url('imges/hero-erp-v2.png') center / cover no-repeat;
}
html[dir='rtl'] .hero {
    background: linear-gradient(270deg, rgba(6, 21, 34, 0.98) 0%, rgba(6, 21, 34, 0.88) 46%, rgba(6, 21, 34, 0.12) 100%), url('imges/hero-erp-v2.png') center / cover no-repeat;
}
.hero::before {
    position: absolute;
    inset: auto -8% -45% auto;
    z-index: -1;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 155, 168, 0.42), transparent 66%);
    content: '';
}
.hero-grid {
    width: min(100%, var(--container));
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    align-items: center;
    gap: 64px;
    margin-inline: auto;
}
.hero-copy { max-width: 720px; }
.hero .eyebrow { color: #9fe4e7; }
.hero h1 {
    margin: 8px 0 20px;
    color: #fff;
    font-size: clamp(2.7rem, 6vw, 5.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow: 0 18px 46px rgba(0, 0, 0, 0.25);
}
html[dir='rtl'] .hero h1 { letter-spacing: 0; }
.hero h1 span { color: var(--gold-500); }
.hero-copy > p { max-width: 650px; margin: 0 0 30px; color: rgba(255,255,255,0.82); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn, .Main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover, .Main-btn:hover { transform: translateY(-2px); }
.btn-primary, .Main-btn { color: var(--navy-950); background: var(--gold-500); box-shadow: 0 12px 30px rgba(243,182,63,0.22); }
.btn-primary:hover, .Main-btn:hover { color: var(--navy-950); background: #ffc85a; }
.btn-secondary { color: #fff; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }
.btn-secondary:hover { color: #fff; background: rgba(255,255,255,0.16); }
.hero-panel {
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-lg);
    background: rgba(10,32,51,0.72);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
}
.hero-panel-label { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #fff; font-weight: 800; }
.hero-panel-label i { color: var(--gold-500); }
.hero-features { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.hero-features li {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    color: rgba(255,255,255,0.86);
    background: rgba(255,255,255,0.06);
}
.hero-features i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: rgba(15,155,168,0.65); }

.trust-bar { padding-block: 22px; color: #fff; background: var(--navy-900); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px; color: rgba(255,255,255,0.83); font-size: 0.93rem; font-weight: 700; }
.trust-item i { color: var(--gold-500); }
.services-section, .industries-section { background: #fff; }
.card-grid, .services-grid, .modules-grid, .industries-grid, .contact-grid { display: grid; gap: 20px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card, .module-card, .industry-card, .contact-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover, .module-card:hover, .industry-card:hover, .contact-card:hover { transform: translateY(-6px); border-color: rgba(15,155,168,0.42); box-shadow: var(--shadow-lg); }
.service-card { padding: 28px; }
.service-card::after {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan-600), var(--gold-500));
    content: '';
    opacity: 0;
    transition: opacity 0.25s ease;
}
.service-card:hover::after { opacity: 1; }
.service-icon, .contact-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 16px; color: var(--cyan-700); background: var(--cyan-100); font-size: 1.4rem; }
.service-card:nth-child(2) .service-icon { color: #9b6500; background: var(--gold-100); }
.service-card h3, .module-card h3, .industry-card h3, .contact-card h3 { margin: 0 0 9px; color: var(--navy-900); font-size: 1.2rem; }
.service-card p, .module-card p, .industry-card p, .contact-card p { margin: 0; color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--cyan-700); font-weight: 800; }
.card-link i { transition: transform 0.2s ease; }
[dir='rtl'] .card-link:hover i { transform: translateX(-4px); }
[dir='ltr'] .card-link:hover i { transform: translateX(4px); }

.modules-grid { grid-template-columns: repeat(4, 1fr); }
.module-card { min-height: 278px; }
.module-media { height: 132px; overflow: hidden; background: var(--navy-900); }
.module-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.84; transition: transform 0.4s ease, opacity 0.4s ease; }
.module-card:hover .module-media img { transform: scale(1.06); opacity: 1; }
.module-body { padding: 20px; }
.module-body p { font-size: 0.94rem; line-height: 1.65; }
.industries-grid { grid-template-columns: repeat(3, 1fr); }
.industry-card { min-height: 250px; display: flex; align-items: flex-end; padding: 24px; color: #fff; background-position: center; background-size: cover; }
.industry-card::before { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 18%, rgba(6,21,34,0.92) 100%); content: ''; }
.industry-card > div { position: relative; z-index: 1; }
.industry-card h3, .industry-card p { color: #fff; }
.industry-card p { color: rgba(255,255,255,0.72); }

.partners-preview { overflow: hidden; background: var(--navy-950); }
.partners-preview .section-heading h2, .partners-preview .section-heading p { color: #fff !important; }
.partners-preview .section-heading p { color: rgba(255,255,255,0.7) !important; }
.logo-cloud { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-cloud a { height: 96px; display: grid; place-items: center; padding: 14px; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; background: #fff; }
.logo-cloud img { width: 100%; height: 100%; object-fit: contain; filter: saturate(0.78); transition: filter 0.2s ease, transform 0.2s ease; }
.logo-cloud a:hover img { filter: saturate(1); transform: scale(1.04); }

.contact-section { background: linear-gradient(180deg, var(--surface-alt), #fff); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: stretch; }
.contact-panel { padding: 34px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(145deg, var(--navy-900), var(--navy-800)); box-shadow: var(--shadow-lg); }
.contact-panel h2 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.25; }
.contact-panel p { margin: 0 0 24px; color: rgba(255,255,255,0.72); }
.contact-panel .btn { width: 100%; }
.contact-grid { grid-template-columns: 1fr 1fr; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 24px; }
.contact-card .contact-icon { flex: 0 0 auto; margin: 0; }
.contact-card p { font-size: 0.92rem; }

.site-footer, .footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px max(24px, calc((100vw - var(--container)) / 2)); color: rgba(255,255,255,0.72); background: var(--navy-950); }
.site-footer p, .footer p, .footer h3 { margin: 0; }
.footer h3 { color: rgba(255,255,255,0.78); font-size: 0.92rem; font-weight: 500; }
.footer spsn, .footer span { color: var(--gold-500); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: #fff; }

/* Legacy content pages */
.legacy-page { background: radial-gradient(circle at 10% 10%, rgba(15,155,168,0.09), transparent 28%), var(--surface-alt); }
.page-banner {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 330px;
    display: grid;
    align-items: end;
    margin: 0;
    padding: 74px max(24px, calc((100vw - var(--container)) / 2));
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(105deg, rgba(6, 21, 34, 0.97), rgba(10, 32, 51, 0.88) 58%, rgba(8, 127, 140, 0.42)),
        url('imges/hero-erp-v2.png') center / cover no-repeat;
}
.page-banner::after {
    position: absolute;
    inset: auto -120px -230px auto;
    z-index: -1;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 54px rgba(255, 255, 255, 0.025), 0 0 0 108px rgba(255, 255, 255, 0.018);
    content: '';
}
.page-banner-inner { width: min(100%, 820px); }
.page-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; color: #9fe4e7; font-size: 0.88rem; font-weight: 700; }
.page-breadcrumb a { color: #fff; }
.page-breadcrumb i { color: var(--gold-500); font-size: 0.65rem; }
.page-banner h1 { margin: 0 0 14px; max-width: 760px; color: #fff; font-size: clamp(2.4rem, 5vw, 4.3rem); font-weight: 700; line-height: 1.15; text-wrap: balance; }
.page-banner p { max-width: 740px; margin: 0; color: rgba(255, 255, 255, 0.76); font-size: 1.08rem; line-height: 1.9; }
.legacy-page > section, .legacy-page main > section {
    width: min(calc(100% - 40px), 1060px);
    margin: 42px auto;
    padding: 42px clamp(22px, 5vw, 58px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.legacy-page > .page-banner { width: 100%; margin: 0; padding: 74px max(24px, calc((100vw - var(--container)) / 2)); border: 0; border-radius: 0; box-shadow: none; }
.legacy-page > section:not(.page-banner), .legacy-page main > section {
    position: relative;
}
.legacy-page > section:not(.page-banner)::before, .legacy-page main > section::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(90deg, var(--cyan-600), var(--gold-500));
    content: '';
}
.legacy-page .title { display: block; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--border); text-align: start !important; }
.EXpos, .EXConstruction { text-align: start; }
pre { max-width: 100%; margin: 0; padding: 0; overflow: visible; color: var(--ink) !important; font: inherit !important; line-height: 2 !important; text-align: start !important; white-space: pre-wrap; word-break: normal; overflow-wrap: anywhere; }
pre u { display: inline-block; margin-top: 20px; color: var(--cyan-700); font-size: 1.08rem; font-weight: 800; text-decoration: none; }
.article-content { display: grid; gap: 13px; color: var(--ink); }
.article-content h3 {
    position: relative;
    margin: 28px 0 2px;
    padding-inline-start: 18px;
    color: var(--navy-900);
    font-size: clamp(1.15rem, 2vw, 1.38rem);
    line-height: 1.55;
}
.article-content h3::before {
    position: absolute;
    inset-inline-start: 0;
    top: 0.42em;
    width: 6px;
    height: 1em;
    border-radius: 99px;
    background: linear-gradient(var(--cyan-600), var(--gold-500));
    content: '';
}
.article-content p { margin: 0; color: #334754; line-height: 2; }
.article-content p + p { padding-top: 2px; }
.about-story { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 34px; align-items: start; }
.about-copy { display: grid; gap: 18px; }
.about-copy h3 { margin: 0; color: var(--navy-900); font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.45; }
.about-copy p { margin: 0; color: #405561; line-height: 2; }
.about-statement { position: relative; padding: 30px; overflow: hidden; border-radius: var(--radius-md); color: #fff; background: linear-gradient(145deg, var(--navy-900), var(--cyan-700)); box-shadow: var(--shadow-lg); }
.about-statement::after { position: absolute; inset: auto -80px -100px auto; width: 240px; height: 240px; border: 1px solid rgba(255,255,255,0.16); border-radius: 50%; content: ''; }
.about-statement i { margin-bottom: 18px; color: var(--gold-500); font-size: 2rem; }
.about-statement h3 { margin: 0 0 12px; color: #fff; font-size: 1.45rem; }
.about-statement p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,0.78); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.value-item { padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface-alt); }
.value-item i { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 12px; color: var(--cyan-700); background: var(--cyan-100); }
.value-item h3 { margin: 0 0 7px; color: var(--navy-900); font-size: 1.08rem; }
.value-item p { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.75; }
.content { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.card { border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.icon img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.info { text-align: center; }
.info h3 { color: var(--navy-900); }

/* Pricing and tables */
.pricing-page main { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.pricing, .modules, .compare-plans { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 78px 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.pricing h1, .modules h1, .modules h2, .compare-plans h2 { margin: 0 0 14px; color: var(--navy-900); font-size: clamp(2.2rem, 5vw, 3.7rem); text-align: center; }
.pricing > p, .modules > p, .compare-plans > p { max-width: 720px; margin: 0 auto 38px; color: var(--muted); text-align: center; }
.pricing .grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; margin: 0 !important; }
.pricing .card { width: auto !important; margin: 0 !important; padding: 0 !important; overflow: hidden; text-align: center; }
.pricing .card-header { padding: 22px; color: var(--navy-900); background: var(--surface-alt) !important; border-bottom: 1px solid var(--border); }
.pricing .card.recommanded { border: 2px solid var(--cyan-600) !important; transform: translateY(-8px); }
.pricing .card.recommanded .card-header { color: #fff; background: var(--cyan-700) !important; }
.pricing .card-body { padding: 26px !important; background: #fff !important; }
.pricing .card-body h3 { margin: 0 0 18px; color: var(--navy-900); font-size: 2rem; }
.pricing .card-body ul { margin: 0; padding: 0; list-style: none; }
.pricing .card-body li { padding: 8px; border-bottom: 1px solid var(--border); }
.pricing .card-body a { display: block; margin-top: 22px; padding: 12px; border-radius: 12px; color: #fff; background: var(--navy-900); font-weight: 800; }
.responsive-table { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--border); text-align: center; }
th:first-child { text-align: start; }
tr:first-child th { color: #fff; background: var(--navy-900); }
tr:hover td, tr:hover th:not(:first-child) { background: #f7fbfc; }
td .fa-check, td .fa-solid { color: var(--cyan-700); }

.floating-contact { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 900; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #25d366; box-shadow: 0 14px 32px rgba(37,211,102,0.34); font-size: 1.45rem; transition: transform 0.2s ease; }
.floating-contact:hover { color: #fff; transform: translateY(-3px) scale(1.04); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
@media (max-width: 1020px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-panel { max-width: 620px; }
    .modules-grid { grid-template-columns: repeat(3, 1fr); }
    .logo-cloud { grid-template-columns: repeat(3, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    body { padding-top: 72px; font-size: 16px; }
    header, .site-header { min-height: 72px; padding: 9px 20px; flex-wrap: wrap; }
    .logo img { width: 50px; height: 42px; }
    .menu-toggle { display: grid; margin-inline-start: auto; }
    header > h3 { order: 2; }
    .navigation, header nav { position: absolute; inset: 71px 14px auto; display: grid; gap: 4px; padding: 12px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,0.98); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease; }
    .navigation.open, header nav.open { opacity: 1; visibility: visible; transform: none; }
    .navigation a, header nav a { justify-content: flex-start; width: 100%; padding: 11px 14px; border-radius: 10px; }
    .hero { min-height: auto; padding-block: 76px; background-position: 62% center; }
    .page-banner { min-height: 290px; padding-block: 54px; }
    .services-grid, .industries-grid { grid-template-columns: 1fr 1fr; }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-list { grid-template-columns: 1fr 1fr; }
    .pricing .grid { grid-template-columns: 1fr !important; }
    .pricing .card.recommanded { transform: none; }
    .about-story { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    section { padding: 66px 20px; }
    .brand-copy span { font-size: 0.9rem; }
    .brand-copy small { display: none; }
    .language-switch a { width: 42px; height: 42px; justify-content: center; padding: 0; font-size: 0; }
    .language-switch a::before { font-size: 0.75rem; content: 'EN'; }
    html[lang='en'] .language-switch a::before { content: 'AR'; }
    .language-switch i { display: none; }
    .hero h1 { font-size: clamp(2.4rem, 13vw, 3.65rem); }
    .hero-panel { padding: 20px; }
    .services-grid, .modules-grid, .industries-grid, .contact-grid { grid-template-columns: 1fr; }
    .logo-cloud { grid-template-columns: repeat(2, 1fr); }
    .trust-list { grid-template-columns: 1fr; }
    .trust-item { justify-content: flex-start; }
    .site-footer, .footer { align-items: flex-start; flex-direction: column; }
    .legacy-page > section, .legacy-page main > section { width: min(calc(100% - 24px), 1060px); margin-block: 24px; padding: 26px 20px; border-radius: 20px; }
    .legacy-page > .page-banner { width: 100%; min-height: 260px; margin: 0; padding: 46px 20px; border-radius: 0; }
    .value-grid { grid-template-columns: 1fr; }
}
