/* === Master Team — multi-page site, light (default) + dark themes ===
   Brand: deep navy #071a45 / #0d2452 · indigo #344dff / #7d92ff · lime #33b3ff */
:root {
    --navy-900: #050f2b;
    --navy-800: #071a45;
    --navy-700: #0d2452;
    --navy-600: #1a3375;
    --indigo: #344dff;
    --indigo-strong: #2231cf;
    --indigo-soft: #7d92ff;
    --indigo-50: #eef1ff;
    --indigo-100: #cdd6ff;
    --lime: #33b3ff;
    --lime-strong: #1e9be6;
    --lime-ink: #06344f;

    /* theme surfaces — LIGHT (default) */
    --bg: #ffffff;
    --bg-soft: #f6f8fd;
    --card: #ffffff;
    --ink: #0d1b3e;
    --gray: #55617d;
    --gray-light: #8a95ad;
    --border: #e3e8f4;
    --icon-tile: var(--indigo-50);
    --nav-bg: rgba(255, 255, 255, 0.88);
    --nav-ink: #0d1b3e;
    --nav-muted: #55617d;
    --nav-border: #e3e8f4;
    --logo-filter: none;

    --grad: linear-gradient(120deg, #344dff 0%, #7d92ff 100%);
    --grad-hero: radial-gradient(ellipse at 20% -10%, #1a3375 0%, #071a45 45%, #050f2b 100%);

    /* hero surface: light lavender by default (like the original site),
       deep navy in dark mode */
    --hero-bg: radial-gradient(ellipse at 30% -20%, #dfe4fb 0%, #edf0fc 45%, #ffffff 100%);
    --hero-ink: #0d1b3e;
    --hero-sub: #55617d;
    --hero-muted: #8a95ad;
    --hero-grid-line: rgba(13, 27, 62, 0.05);
    --hero-grad-a: #2231cf;
    --hero-grad-b: #1e9be6;
    --stat-accent: #344dff;
    --shadow-sm: 0 2px 8px rgba(7, 26, 69, 0.05);
    --shadow: 0 10px 34px rgba(7, 26, 69, 0.09);
    --shadow-lg: 0 24px 64px rgba(7, 26, 69, 0.14);
    --shadow-indigo: 0 12px 36px rgba(52, 77, 255, 0.32);
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --container: 1200px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ar: 'IBM Plex Sans Arabic', 'Inter', sans-serif;
}

[data-theme="dark"] {
    --hero-bg: radial-gradient(ellipse at 20% -10%, #1a3375 0%, #071a45 45%, #050f2b 100%);
    --hero-ink: #ffffff;
    --hero-sub: #c9d1ec;
    --hero-muted: #97a3c8;
    --hero-grid-line: rgba(255, 255, 255, 0.04);
    --hero-grad-a: #7d92ff;
    --hero-grad-b: #33b3ff;
    --stat-accent: #33b3ff;
    --bg: #050f2b;
    --bg-soft: #08173d;
    --card: #0d2452;
    --ink: #eef1fb;
    --gray: #b3bdd9;
    --gray-light: #7f8bb0;
    --border: rgba(125, 146, 255, 0.22);
    --icon-tile: rgba(125, 146, 255, 0.14);
    --nav-bg: rgba(5, 15, 43, 0.88);
    --nav-ink: #ffffff;
    --nav-muted: #b3bdd9;
    --nav-border: rgba(125, 146, 255, 0.2);
    --logo-filter: brightness(0) invert(1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background .25s ease, color .25s ease;
}
[dir="rtl"] body,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea { font-family: var(--font-ar); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600; font-size: 15px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: var(--shadow-indigo); }
.btn-primary:hover { background: var(--indigo-strong); transform: translateY(-2px); }
.btn-lime { background: #ffffff; color: var(--navy-800); box-shadow: 0 12px 32px rgba(0, 0, 0, .22); }
.btn-lime:hover { background: #eaf6ff; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--border); color: var(--ink); background: var(--card); }
.btn-outline:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
/* Transparent over the navy hero at the top of every page; frosted
   glass appears only once you scroll. */
.navbar {
    position: fixed; inset-inline: 0; top: 0; z-index: 100;
    padding: 20px 0;
    background: transparent;
    transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
.navbar.scrolled {
    padding: 10px 0;
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: var(--shadow-sm);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.navbar .logo-img {
    height: 48px; width: auto; max-width: none;
    filter: var(--logo-filter);
    transition: height .25s ease, filter .25s ease;
}
.navbar.scrolled .logo-img { height: 38px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
    position: relative;
    color: var(--nav-muted); font-size: 15px; font-weight: 600;
    padding: 6px 2px;
    transition: color .2s ease;
    white-space: nowrap;
}
.nav-links a::after {
    content: '';
    position: absolute; inset-inline: 0; bottom: -2px;
    height: 2.5px; border-radius: 999px;
    background: linear-gradient(90deg, var(--indigo-soft), var(--lime));
    transform: scaleX(0); transform-origin: 0 50%;
    transition: transform .28s ease;
}
[dir="rtl"] .nav-links a::after { transform-origin: 100% 50%; }
.nav-links a:hover { color: var(--nav-ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--nav-ink); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle, .theme-toggle {
    background: transparent; color: var(--nav-ink);
    border: 1px solid var(--nav-border);
    border-radius: 999px; padding: 8px 14px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.lang-toggle { font-family: var(--font-ar); }
.lang-toggle:hover, .theme-toggle:hover { border-color: var(--indigo); }
.theme-toggle {
    width: 38px; height: 38px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--nav-ink);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle:hover { color: var(--indigo); }
[data-theme="dark"] .theme-toggle:hover { color: var(--lime); }
.theme-toggle .tt-moon { display: block; }
.theme-toggle .tt-sun { display: none; }
[data-theme="dark"] .theme-toggle .tt-moon { display: none; }
[data-theme="dark"] .theme-toggle .tt-sun { display: block; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--nav-ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero (home) ---------- */
/* Same lavender-indigo tone as the inner pages but deeper, and the
   gradient itself drifts slowly for a living background. */
.hero {
    position: relative;
    /* white fading into the original masterteam.sa periwinkle */
    background: linear-gradient(180deg, #ffffff 0%, #eceefc 34%, #dfe2f9 66%, #d2d6f5 100%);
    background-size: 100% 220%;
    animation: heroPanY 18s ease-in-out infinite alternate;
    color: var(--hero-ink);
    padding: 150px 0 80px;
    overflow: hidden;
}
@keyframes heroPanY {
    from { background-position: 50% 0%; }
    to   { background-position: 50% 26%; }
}
[data-theme="dark"] .hero {
    background: linear-gradient(115deg, #1a3375 0%, #0d2452 30%, #050f2b 58%, #251f66 82%, #1a3375 100%);
    background-size: 240% 240%;
}
@keyframes heroPan {
    from { background-position: 0% 30%; }
    to   { background-position: 100% 70%; }
}
.hero .hero-grid { display: none; }
.hero .hero-subtitle { color: #2e3a5e; }
.hero .stat-label { color: #3c4870; }
[data-theme="dark"] .hero .hero-subtitle { color: #c9d1ec; }
[data-theme="dark"] .hero .stat-label { color: #97a3c8; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .3; }
.orb-1 { width: 560px; height: 560px; background: #33a0ff; top: -180px; inset-inline-end: -120px; }
.orb-2 { width: 420px; height: 420px; background: #33b3ff; opacity: .1; bottom: -220px; inset-inline-start: -140px; }
[data-theme="dark"] .orb-1 { background: #344dff; opacity: .38; }
.aurora {
    position: absolute;
    width: 150%; height: 340px;
    filter: blur(72px);
    opacity: .22;
    background: linear-gradient(90deg, transparent 0%, #33b0ff 28%, #3367ff 55%, #7fd0ff 82%, transparent 100%);
    animation: auroraDrift 16s ease-in-out infinite alternate;
}
.aurora.a1 { top: 4%; left: -25%; transform: rotate(-11deg); }
[data-theme="dark"] .aurora {
    opacity: .32;
    background: linear-gradient(90deg, transparent 0%, #344dff 28%, #7d4dff 52%, #33b3ff 82%, transparent 100%);
}
.aurora.a2 {
    bottom: -6%; right: -25%; left: auto;
    opacity: .16;
    background: linear-gradient(90deg, transparent 0%, #33b0ff 30%, #334fff 65%, transparent 100%);
    transform: rotate(-9deg);
    animation-duration: 22s;
    animation-direction: alternate-reverse;
}
[data-theme="dark"] .aurora.a2 {
    opacity: .2;
    background: linear-gradient(90deg, transparent 0%, #a855f7 30%, #344dff 65%, transparent 100%);
}
@keyframes auroraDrift {
    from { translate: -4% 0; }
    to   { translate: 4% -20px; }
}
.hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
                      linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
}
.hero-container {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    gap: 10px;
    text-align: center;
}
.hero-content { display: flex; flex-direction: column; align-items: center; max-width: 820px; }
.badge {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(7, 26, 69, .88);
    border: 1px solid rgba(7, 26, 69, .88);
    color: #b3e3ff;
    padding: 7px 16px; border-radius: 999px;
    font-size: 13.5px; font-weight: 600;
    margin-bottom: 24px;
}
[data-theme="dark"] .badge {
    background: rgba(51, 179, 255, .12);
    border-color: rgba(51, 179, 255, .4);
    color: #b3e3ff;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(51,179,255,.22); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(51,179,255,.22);} 50% { box-shadow: 0 0 0 8px rgba(51,179,255,.08);} }
.hero-title { font-size: clamp(36px, 4.6vw, 54px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 22px; }
.hero-title span { display: block; }
.gradient-text {
    background: linear-gradient(100deg, var(--hero-grad-a) 5%, var(--hero-grad-b) 95%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    /* keep Arabic glyph overhangs inside the clipped area */
    padding: 0 .1em .12em;
    margin: 0 -.1em -.12em;
}
.hero-subtitle { font-size: 17.5px; color: var(--hero-sub); max-width: 640px; margin-bottom: 10px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: var(--border); color: var(--ink); background: var(--card); }
.hero .btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); background: var(--card); }
[data-theme="dark"] .hero .btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
[data-theme="dark"] .hero .btn-ghost:hover { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.12); }
.hero-stats { display: flex; gap: 44px; margin-top: 28px; flex-wrap: wrap; justify-content: center; }
.stat-value { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.stat-value span { color: var(--stat-accent); }
.stat-label { color: var(--hero-muted); font-size: 14px; margin-top: 2px; }

/* ---------- 3D product galaxy (hero visual) ----------
   Products orbit as satellites around the Faris AI copilot core:
   three tilted rings with traveling light pulses, product chips
   floating at staggered 3D depths, whole scene tilts with the mouse. */
.galaxy {
    position: relative;
    height: 470px;
    width: 100%;
    margin-top: 46px;
    perspective: 1200px;
}
.g-scene {
    position: absolute; inset: 0;
    transform-style: preserve-3d;
    transform: rotateX(var(--gx, 0deg)) rotateY(var(--gy, 0deg));
    transition: transform .3s ease-out;
}
.g-core {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    z-index: 3;
}
.g-core-orb {
    width: 128px; height: 128px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #344dff, #071a45 75%);
    border: 1px solid rgba(125,146,255,.5);
    display: flex; align-items: center; justify-content: center;
    animation: coreGlow 4s ease-in-out infinite;
}
.g-core-orb img { width: 58px; height: 58px; object-fit: contain; }
@keyframes coreGlow {
    0%,100% { box-shadow: 0 0 60px rgba(52,77,255,.55), inset 0 0 30px rgba(125,146,255,.35); }
    50% { box-shadow: 0 0 100px rgba(52,77,255,.85), inset 0 0 44px rgba(125,146,255,.5); }
}
.g-core-label {
    text-align: center; font-weight: 800; font-size: 15px; color: #fff;
    background: rgba(7,26,69,.75); border: 1px solid rgba(125,146,255,.3);
    border-radius: 12px; padding: 7px 16px;
    backdrop-filter: blur(6px);
}
.g-core-label small { display: block; font-weight: 500; font-size: 11.5px; color: #97a3c8; }
.g-ring {
    position: absolute; top: 50%; left: 50%;
    border: 1.5px solid rgba(51, 103, 255, .38);
    border-radius: 50%;
    transform-style: preserve-3d;
}
[data-theme="dark"] .g-ring { border: 1px solid rgba(125,146,255,.28); }
.g-ring i {
    position: absolute; top: -4px; left: 50%;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 14px 3px rgba(51,179,255,.65);
}
.g-ring.r1 { width: 300px; height: 300px; margin: -150px; transform: rotateX(68deg) rotateY(-8deg);  animation: ringSpin 14s linear infinite; }
.g-ring.r2 { width: 430px; height: 430px; margin: -215px; transform: rotateX(72deg) rotateY(12deg);  animation: ringSpin 22s linear infinite reverse; }
.g-ring.r3 { width: 560px; height: 560px; margin: -280px; transform: rotateX(76deg) rotateY(-20deg); animation: ringSpin 32s linear infinite; }
@keyframes ringSpin {
    from { transform: rotateX(var(--tilt, 72deg)) rotateZ(0deg); }
    to   { transform: rotateX(var(--tilt, 72deg)) rotateZ(360deg); }
}
.g-ring.r1 { --tilt: 68deg; }
.g-ring.r2 { --tilt: 72deg; }
.g-ring.r3 { --tilt: 76deg; }
.g-chip {
    position: absolute; top: 50%; left: 50%;
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(160deg, rgba(13,36,82,.92), rgba(7,26,69,.85));
    border: 1px solid rgba(125,146,255,.38);
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow: 0 16px 44px rgba(0,0,0,.45), 0 0 24px rgba(52,77,255,.18);
    backdrop-filter: blur(8px);
    white-space: nowrap;
    animation: chipFloat 6s ease-in-out infinite;
}
.g-chip img { width: 34px; height: 34px; object-fit: contain; }
.g-chip:hover { border-color: rgba(51,179,255,.65); box-shadow: 0 16px 44px rgba(0,0,0,.5), 0 0 34px rgba(51,179,255,.25); }
img[src*="flowplus"] { transform: scale(1.3); }
.product-icon.logo-img-box img[src*="flowplus"] { transform: scale(1.25); }
#flow-plus .product-icon.logo-img-box { width: 56px; height: 56px; }
#flow-plus .product-icon.logo-img-box img { transform: scale(1); }
.chat-avatar-img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; }
.g-chip span { font-size: 14px; font-weight: 700; color: #e6eaf9; direction: ltr; unicode-bidi: isolate; }
.g-chip img[src*="dr3"],
.g-chip img[src*="splus"],
.g-chip img[src*="flowplus"] { filter: brightness(0) invert(1); }
.g-chip em { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .07em; color: var(--navy-800); background: var(--lime); padding: 2px 7px; border-radius: 6px; }
@keyframes chipFloat {
    0%,100% { transform: translate(-50%, -50%) translate3d(var(--cx), var(--cy), var(--cz)); }
    50%     { transform: translate(-50%, -50%) translate3d(var(--cx), calc(var(--cy) - 14px), var(--cz)); }
}
.g-chip.c1 { --cx: -10px;  --cy: -200px; --cz: 70px;  animation-delay: 0s; }
.g-chip.c2 { --cx: 195px;  --cy: -110px; --cz: 30px;  animation-delay: -1.2s; }
.g-chip.c3 { --cx: 215px;  --cy: 95px;   --cz: -20px; animation-delay: -2.4s; }
.g-chip.c4 { --cx: 15px;   --cy: 195px;  --cz: 50px;  animation-delay: -3.6s; }
.g-chip.c5 { --cx: -220px; --cy: 110px;  --cz: -10px; animation-delay: -4.8s; }
.g-chip.c6 { --cx: -215px; --cy: -105px; --cz: 40px;  animation-delay: -6s; }
.g-star {
    position: absolute; width: 4px; height: 4px; border-radius: 50%;
    background: #3367ff;
    animation: starTwinkle 3s ease-in-out infinite;
}
[data-theme="dark"] .g-star { background: #7d92ff; }
.g-star.s1 { top: 12%; left: 18%; animation-delay: 0s; }
.g-star.s2 { top: 24%; left: 78%; animation-delay: -.6s; background: var(--lime); }
.g-star.s3 { top: 62%; left: 88%; animation-delay: -1.2s; }
.g-star.s4 { top: 82%; left: 30%; animation-delay: -1.8s; }
.g-star.s5 { top: 48%; left: 6%;  animation-delay: -2.4s; background: var(--lime); }
.g-star.s6 { top: 8%;  left: 55%; animation-delay: -1s; }
@keyframes starTwinkle { 0%,100% { opacity: .25; transform: scale(1); } 50% { opacity: 1; transform: scale(1.6); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: var(--hero-bg);
    color: var(--hero-ink);
    padding: 140px 0 64px;
    position: relative; overflow: hidden;
}
.page-hero .hero-orb { opacity: .22; }
[data-theme="dark"] .page-hero .hero-orb { opacity: .35; }
.page-hero .eyebrow { color: var(--indigo); }
[data-theme="dark"] .page-hero .eyebrow { color: var(--lime); }
.page-hero h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; position: relative; }
.page-hero p { color: var(--hero-sub); font-size: 17px; max-width: 640px; position: relative; }

/* ---------- Trusted strip + logo marquee ---------- */
.trusted { background: var(--navy-900); padding: 30px 0 46px; color: #fff; overflow: hidden; }
.trusted-label { text-align: center; color: #97a3c8; font-size: 13.5px; letter-spacing: .04em; margin-bottom: 20px; }
.trusted-logo {
    background: #fff;
    border-radius: 14px; padding: 10px 20px;
    display: flex; align-items: center; justify-content: center;
    min-width: 130px;
    flex-shrink: 0;
}
.trusted-logo img { height: 44px; width: auto; max-width: 150px; object-fit: contain; }
.marquee {
    overflow: hidden;
    margin-bottom: 14px;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
    display: flex; gap: 14px; width: max-content;
    animation: marqueeScroll 42s linear infinite;
}
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Sections base ---------- */
section { scroll-margin-top: 80px; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-block;
    color: var(--indigo); font-size: 13px; font-weight: 800; letter-spacing: .14em;
    margin-bottom: 14px;
}
[data-theme="dark"] .eyebrow { color: var(--indigo-soft); }
.eyebrow.light { color: var(--lime); }
.section-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-sub { color: var(--gray); font-size: 17px; }
.section-cta { text-align: center; margin-top: 44px; }

/* ---------- Products ---------- */
.products { padding: 96px 0; background: var(--bg-soft); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--indigo-100); }
[data-theme="dark"] .product-card:hover { border-color: rgba(125,146,255,.5); }
.product-card.featured {
    background: var(--grad-hero);
    color: #fff; border-color: var(--navy-600);
}
.product-card.featured p { color: #fff; }
.product-card.featured .product-role { color: var(--lime); }
.product-card.featured.alt { background: linear-gradient(140deg, #2231cf 0%, #071a45 80%); }
.product-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.product-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--icon-tile);
    display: flex; align-items: center; justify-content: center;
    font-size: 25px;
}
.product-icon.logo-img-box { background: #fff; border: 1px solid var(--border); padding: 8px; }
.product-icon.logo-img-box img { width: 100%; height: 100%; object-fit: contain; }
.product-icon.logo-img-box.dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.product-card.featured .product-icon.logo-img-box:not(.dark) { background: rgba(255,255,255,.95); border-color: transparent; }
.product-tag {
    font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 11px; border-radius: 999px;
    background: var(--icon-tile); color: var(--indigo);
}
[data-theme="dark"] .product-tag { color: var(--indigo-soft); }
.product-tag.new { background: var(--lime); color: var(--lime-ink); }
.product-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.product-sub { display: block; font-size: 13.5px; font-weight: 600; color: var(--gray-light); margin-top: 2px; }
.product-card.featured .product-sub { color: #97a3c8; }
.product-role { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.product-card > p:not(.product-role) { color: var(--gray); font-size: 14.5px; flex: 1; }
.product-card.featured > p:not(.product-role) { color: #fff; }
.product-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.product-link { color: var(--indigo); font-weight: 700; font-size: 14.5px; }
[data-theme="dark"] .product-link { color: var(--indigo-soft); }
.product-card.featured .product-link { color: var(--lime); }
.product-link:hover { text-decoration: underline; }
.product-brochure {
    font-size: 13px; font-weight: 600; color: var(--gray-light);
    border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px;
    transition: color .15s, border-color .15s;
}
.product-brochure:hover { color: var(--indigo); border-color: var(--indigo-100); }
.product-card.featured .product-brochure { color: #c9d1ec; border-color: rgba(255,255,255,.25); }
.product-card.featured .product-brochure:hover { color: #fff; border-color: rgba(255,255,255,.6); }

/* Home compact product tiles */
.product-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-tile {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 26px 20px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--indigo-100); }
.product-tile img { height: 58px; width: auto; max-width: 90px; object-fit: contain; }
.product-tile b { font-size: 16px; font-weight: 800; }
.product-tile small { color: var(--gray); font-size: 13px; line-height: 1.45; }
.product-tile .product-tag.new { margin-top: 2px; }

/* ---------- Faris spotlight ---------- */
.faris { padding: 96px 0; background: var(--navy-900); }
.faris .section-title { color: #fff; }
.faris-card {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
    color: #fff;
}
.faris-text > p { color: #c9d1ec; font-size: 16.5px; margin-bottom: 30px; }
.faris-steps { display: grid; gap: 16px; margin-bottom: 34px; }
.faris-step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
    font-size: 13px; font-weight: 800; color: var(--lime);
    border: 1px solid rgba(51,179,255,.4); border-radius: 10px;
    padding: 6px 10px; line-height: 1;
    flex-shrink: 0; margin-top: 3px;
}
.faris-step h4 { font-size: 16.5px; font-weight: 700; color: #fff; }
.faris-step p { color: #97a3c8; font-size: 14px; }

.chat-window {
    background: rgba(13, 36, 82, .75);
    border: 1px solid rgba(125,146,255,.28);
    border-radius: var(--radius-xl);
    padding: 22px;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
    animation: floaty 8s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }
.chat-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: #e6eaf9; margin-bottom: 18px; }
.chat-avatar {
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--grad);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-ar); font-size: 16px; color: #fff;
}
.chat-msg { border-radius: 16px; padding: 13px 16px; font-size: 14px; margin-bottom: 12px; }
.chat-msg.user { background: var(--indigo); color: #fff; border-end-start-radius: 4px; max-width: 90%; }
.chat-msg.bot { background: rgba(7, 26, 69, .7); border: 1px solid rgba(125,146,255,.2); border-end-end-radius: 4px; color: #e6eaf9; }
.chat-bars { display: grid; gap: 8px; margin: 6px 0 12px; }
.cbar { display: flex; align-items: center; gap: 10px; }
.cbar i { display: block; height: 12px; border-radius: 999px; flex-basis: var(--w); background: linear-gradient(90deg, #344dff, #7d92ff); }
.cbar:first-child i { background: linear-gradient(90deg, #1e9be6, #33b3ff); }
.cbar b { font-size: 11.5px; color: #97a3c8; font-weight: 700; }
.chat-note { color: #c9d1ec; font-size: 13px; }

/* ---------- Services ---------- */
.services { padding: 96px 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 30px;
    transition: transform .2s ease, box-shadow .2s ease;
    background: var(--card);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-num {
    font-size: 14px; font-weight: 800; color: var(--indigo);
    background: var(--icon-tile);
    display: inline-block; padding: 6px 12px; border-radius: 10px;
    margin-bottom: 18px;
}
[data-theme="dark"] .service-num { color: var(--indigo-soft); }
.service-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 15px; }
.service-card.highlight { background: var(--grad-hero); color: #fff; border-color: var(--navy-600); }
.service-card.highlight p { color: #c9d1ec; margin-bottom: 14px; }
.service-card.highlight .service-num { background: rgba(51,179,255,.15); color: var(--lime); }
.service-card.highlight .product-link { color: var(--lime); }

/* ---------- Engagement models ---------- */
.engagement { padding: 96px 0; background: var(--bg-soft); }
.engagement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.engagement-card {
    position: relative;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 32px;
    display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.engagement-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.engagement-card.primary { background: var(--grad-hero); color: #fff; border-color: var(--navy-600); }
.engagement-card.primary p { color: #c9d1ec; }
.engagement-num {
    font-size: 15px; font-weight: 800; color: var(--indigo);
    background: var(--icon-tile);
    display: inline-block; padding: 7px 14px; border-radius: 10px;
    margin-bottom: 18px;
    align-self: flex-start;
}
[data-theme="dark"] .engagement-num { color: var(--indigo-soft); }
.engagement-card.primary .engagement-num { background: rgba(51,179,255,.15); color: var(--lime); }
.engagement-tag {
    position: absolute; top: 20px; inset-inline-end: 20px;
    font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    background: var(--lime); color: var(--lime-ink);
    padding: 5px 11px; border-radius: 999px;
}
.engagement-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.engagement-card > p { color: var(--gray); font-size: 15px; margin-bottom: 18px; flex: 1; }
.engagement-list { list-style: none; display: grid; gap: 9px; }
.engagement-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; }
.engagement-list .check { width: 20px; height: 20px; font-size: 11px; margin-top: 1px; }

/* ---------- Capabilities ---------- */
.capabilities { padding: 96px 0; background: var(--bg-soft); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
    transition: border-color .2s, box-shadow .2s;
}
.cap-card:hover { border-color: var(--indigo-100); box-shadow: var(--shadow); }
.cap-icon { font-size: 26px; margin-bottom: 12px; }
.cap-card h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.cap-card p { color: var(--gray); font-size: 14px; }

/* ---------- Innovation services (home) ---------- */
.innovation { padding: 96px 0; background: var(--navy-900); color: #fff; overflow: hidden; }
.innovation-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.innovation .section-title { color: #fff; }
.innovation-text > p { color: #c9d1ec; font-size: 16.5px; margin-bottom: 28px; }
.innovation-models {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-top: 26px; padding-top: 22px;
    border-top: 1px solid rgba(125, 146, 255, .18);
}
.innovation-model {
    font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
    color: #b3e3ff; border: 1px solid rgba(51,179,255,.4);
    border-radius: 999px; padding: 6px 14px;
}
.svc-cloud { display: flex; flex-wrap: wrap; gap: 14px; }
.svc-chip {
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(160deg, rgba(13,36,82,.9), rgba(7,26,69,.8));
    border: 1px solid rgba(125,146,255,.32);
    border-radius: 16px;
    padding: 14px 20px;
    font-size: 15px; font-weight: 700; color: #e6eaf9;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    animation: chipBob 6s ease-in-out infinite;
}
.svc-chip:nth-child(2n) { animation-delay: -1.5s; }
.svc-chip:nth-child(3n) { animation-delay: -3s; }
.svc-chip:nth-child(4n) { animation-delay: -4.5s; }
@keyframes chipBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.svc-chip:hover {
    border-color: rgba(51,179,255,.65);
    box-shadow: 0 14px 40px rgba(0,0,0,.4), 0 0 26px rgba(51,179,255,.2);
}
.svc-chip svg { width: 22px; height: 22px; color: var(--lime); flex-shrink: 0; }

/* ---------- NCA compliance ---------- */
.nca { padding: 96px 0; }
.nca-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.nca-badge-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
    padding: 44px; text-align: center;
    box-shadow: var(--shadow);
}
.nca-badge-card img { max-height: 170px; margin: 0 auto 18px; }
.nca-badge-card .nca-name { font-weight: 800; font-size: 17px; }
.nca-badge-card .nca-sub { color: var(--gray); font-size: 14px; }
.nca-points { display: grid; gap: 16px; margin-top: 28px; }
.nca-point {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px 20px;
}
.nca-point img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.nca-point h4 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.nca-point p { color: var(--gray); font-size: 14px; }

/* ---------- DGA & Qiyas ---------- */
.dga { padding: 96px 0; background: var(--bg-soft); }
.dga-badges { display: grid; gap: 18px; }
.dga-badge-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
    padding: 34px; text-align: center;
    box-shadow: var(--shadow);
}
.dga-badge-card img { max-height: 84px; margin: 0 auto 16px; }
.dga-badge-card:not(.dark-card) img { max-height: 128px; }
.dga-logo-dark { display: none; }
[data-theme="dark"] .dga-logo-light { display: none; }
[data-theme="dark"] .dga-badge-card img.dga-logo-dark { display: block; max-height: 72px; }
.dga .nca-name { font-size: 14.5px; }
.dga .nca-sub { font-size: 12.5px; }
.dga-badge-card.dark-card { background: var(--grad-hero); border-color: var(--navy-600); transform: translateX(24px); }
[dir="rtl"] .dga-badge-card.dark-card { transform: translateX(-24px); }
.dga-badge-card.dark-card .nca-name { color: #fff; }
.dga-badge-card.dark-card .nca-sub { color: #c9d1ec; }

/* ---------- Proudly Saudi band ---------- */
.saudi-band { background: var(--navy-900); padding: 44px 0; color: #fff; }
.saudi-band-inner { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.saudi-made-logo { height: 84px; width: auto; background: #fff; border-radius: 14px; padding: 13px 20px; }
.saudi-band p { color: #c9d1ec; font-size: 16px; max-width: 560px; }
.saudi-made-card { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.saudi-made-card img { height: 52px; width: auto; }
[data-theme="dark"] .saudi-made-card img { background: #fff; border-radius: 10px; padding: 7px 10px; }

/* ---------- Hosting ---------- */
.hosting { padding: 96px 0; background: var(--bg-soft); }
.hosting-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hosting-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 30px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.hosting-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.hosting-card img { height: 52px; width: auto; margin-bottom: 18px; }
[data-theme="dark"] .hosting-card img,
[data-theme="dark"] .nca-point img { background: #fff; border-radius: 10px; padding: 6px; }
[data-theme="dark"] .nca-badge-card img { background: #fff; border-radius: 14px; padding: 12px; }
.hosting-kicker { color: var(--indigo); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
[data-theme="dark"] .hosting-kicker { color: var(--indigo-soft); }
.hosting-card h3 { font-size: 19px; font-weight: 800; margin: 4px 0 10px; }
.hosting-card p { color: var(--gray); font-size: 14.5px; }

/* ---------- About ---------- */
.about { padding: 96px 0; }
.about-container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about-text > p { color: var(--gray); font-size: 16.5px; margin-bottom: 26px; }
.feature-list { list-style: none; display: grid; gap: 13px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; font-weight: 500; }
.check {
    width: 24px; height: 24px; flex-shrink: 0; border-radius: 8px;
    background: var(--lime); color: var(--lime-ink);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
}
.about-visual { display: grid; gap: 18px; }
.about-stat-card {
    background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 26px 30px;
    display: flex; align-items: baseline; gap: 20px;
}
[data-theme="dark"] .about-stat-card { background: var(--card); }
.about-stat-card.alt { background: var(--grad-hero); color: #fff; border-color: var(--navy-600); transform: translateX(24px); }
[dir="rtl"] .about-stat-card.alt { transform: translateX(-24px); }
.about-stat-num { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.about-stat-num span { color: var(--indigo); }
[data-theme="dark"] .about-stat-num span { color: var(--indigo-soft); }
.about-stat-card.alt .about-stat-num span { color: var(--lime); }
.about-stat-label { font-size: 14.5px; color: var(--gray); }
.about-stat-card.alt .about-stat-label { color: #c9d1ec; }

/* ---------- Clients ---------- */
.clients { padding: 96px 0; background: var(--bg-soft); }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.client-logo {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 22px 16px;
    display: flex; align-items: center; justify-content: center;
    min-height: 110px;
    text-align: center; font-weight: 700; font-size: 15px; color: var(--navy-700);
    transition: border-color .2s, box-shadow .2s;
}
.client-logo:hover { border-color: var(--indigo-100); box-shadow: var(--shadow); }
.client-logo img { max-height: 64px; max-width: 85%; object-fit: contain; }
.client-logo.more { color: var(--gray-light); font-weight: 600; background: var(--card); }

/* ---------- CTA ---------- */
.cta { padding: 40px 0 96px; background: var(--bg-soft); }
.cta.on-white { background: var(--bg); }
.cta-card {
    position: relative; overflow: hidden;
    background: var(--grad-hero);
    border-radius: var(--radius-xl);
    padding: 70px 40px;
    text-align: center; color: #fff;
}
.cta-bg-orb {
    position: absolute; width: 500px; height: 500px; border-radius: 50%;
    background: #344dff; filter: blur(110px); opacity: .5;
    top: -240px; inset-inline-end: -120px;
}
.cta-card h2 { position: relative; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 12px; }
.cta-card p { position: relative; color: #c9d1ec; font-size: 17px; margin-bottom: 30px; }
.cta-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { padding: 96px 0; }
.contact-container { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-icon {
    width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
    background: var(--icon-tile);
    color: var(--indigo);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
[data-theme="dark"] .contact-icon { color: var(--indigo-soft); }
.contact-icon svg { width: 22px; height: 22px; }
.contact-socials { display: flex; gap: 8px; margin-top: 6px; }
.contact-socials a {
    width: 36px; height: 36px; border-radius: 10px;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray);
    transition: background .15s, color .15s, border-color .15s;
}
.contact-socials a:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.contact-socials svg { width: 17px; height: 17px; }
.contact-label { font-size: 13px; font-weight: 700; letter-spacing: .05em; color: var(--gray-light); text-transform: uppercase; }
.contact-item a { color: var(--indigo); font-weight: 600; }
[data-theme="dark"] .contact-item a { color: var(--indigo-soft); }
.contact-item a:hover { text-decoration: underline; }
.contact-form {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 34px;
    box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 11px;
    padding: 12px 14px;
    font-size: 15px; font-family: inherit; color: var(--ink);
    background: var(--bg-soft);
    transition: border-color .15s ease, background .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none; border-color: var(--indigo); background: var(--card);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 14px; font-size: 14.5px; font-weight: 600; text-align: center; min-height: 22px; }
.form-status.ok { color: #3f8f27; }
[data-theme="dark"] .form-status.ok { color: var(--lime); }
.form-status.err { color: #d33c3c; }

/* ---------- Success stories ---------- */
.stories { padding: 96px 0; }
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.story-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.story-head {
    background: var(--grad-hero);
    padding: 26px 26px 22px;
    color: #fff;
}
.story-entity { font-size: 13px; font-weight: 700; letter-spacing: .05em; color: var(--lime); text-transform: uppercase; margin-bottom: 8px; }
.story-head h3 { font-size: 19px; font-weight: 800; line-height: 1.35; }
.story-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.story-head h3 a { transition: color .15s ease; }
.story-head h3 a:hover { color: var(--lime); }
.story-readmore { margin-top: 14px; }

/* Full story page */
.story-full { padding: 72px 0 96px; }
.story-full-inner { max-width: 820px; margin: 0 auto; }
.story-cover { width: 100%; border-radius: var(--radius-lg); display: block; margin-bottom: 36px; box-shadow: var(--shadow-lg); }
.story-full-inner p { color: var(--gray); font-size: 17px; line-height: 1.85; margin-bottom: 22px; }
.story-full-inner .story-products { margin-top: 8px; }
.story-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 700; color: var(--indigo); }
[data-theme="dark"] .story-back { color: var(--indigo-soft); }
.legal .story-full-inner h2 { font-size: 21px; font-weight: 800; margin: 34px 0 12px; }
.legal .story-full-inner h2:first-child { margin-top: 0; }
.legal .story-full-inner p { font-size: 15.5px; margin-bottom: 16px; }
.legal .story-full-inner ul { margin: 0 0 18px; padding-inline-start: 1.4em; color: var(--gray); font-size: 15.5px; line-height: 1.8; }
.legal .story-full-inner li { margin-bottom: 6px; }

/* Values icons (careers) */
.value-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--icon-tile);
    color: var(--indigo);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
[data-theme="dark"] .value-icon { color: var(--indigo-soft); }
.value-icon svg { width: 26px; height: 26px; }
.story-body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.story-body p { color: var(--gray); font-size: 14.5px; flex: 1; }
.story-products { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.story-chip {
    display: inline-flex; align-items: center; gap: 7px;
    border: 1px solid var(--border); border-radius: 999px;
    padding: 5px 12px; font-size: 12.5px; font-weight: 700;
}
.story-chip img { height: 18px; width: auto; }

/* ---------- Careers ---------- */
.benefits { padding: 96px 0; background: var(--bg-soft); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit-card {
    display: flex; align-items: center; gap: 13px;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px 20px;
    font-weight: 600; font-size: 15px;
}
.benefit-card .check { flex-shrink: 0; }
.values { padding: 96px 0; }
.founder-quote {
    margin-top: 70px;
    background: var(--grad-hero);
    border-radius: var(--radius-xl);
    padding: 54px;
    color: #fff;
    display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
    position: relative; overflow: hidden;
}
.founder-quote .cta-bg-orb { opacity: .35; }
.founder-photo {
    width: 150px; height: 150px; border-radius: 50%;
    object-fit: cover; object-position: top;
    background: radial-gradient(circle at 35% 30%, #344dff, #071a45 80%);
    border: 3px solid rgba(51, 179, 255, .6);
    position: relative;
}
.founder-quote blockquote { font-size: clamp(16px, 2vw, 20px); font-weight: 500; line-height: 1.7; position: relative; }
.founder-quote cite { display: block; margin-top: 16px; font-style: normal; font-weight: 800; font-size: 13.5px; letter-spacing: .1em; color: var(--lime); }
.positions { padding: 96px 0; background: var(--bg-soft); }
.position-row {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px 26px; margin-bottom: 14px;
    transition: border-color .2s, box-shadow .2s;
    flex-wrap: wrap;
}
.position-row:hover { border-color: var(--indigo-100); box-shadow: var(--shadow); }
.position-title { font-size: 17px; font-weight: 800; }
.position-loc { color: var(--gray); font-size: 14px; display: flex; align-items: center; gap: 7px; }
.position-loc svg { width: 15px; height: 15px; }

/* ---------- About: vision/mission + leadership ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.vm-card {
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 32px; background: var(--card);
}
.vm-card.vision { background: var(--grad-hero); color: #fff; border-color: var(--navy-600); }
.vm-card .eyebrow { margin-bottom: 10px; }
.vm-card.vision .eyebrow { color: var(--lime); }
.vm-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.vm-card p { color: var(--gray); font-size: 15.5px; }
.vm-card.vision p { color: #c9d1ec; }
.leadership { padding: 96px 0; background: var(--bg-soft); }
.leader-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px; }
.leader-card { text-align: center; }
.leader-photo-wrap { position: relative; display: inline-block; }
.leader-li {
    position: absolute; bottom: 10px; inset-inline-start: 6px;
    width: 40px; height: 40px; border-radius: 12px;
    background: #0a66c2; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(10, 102, 194, .4);
    transition: transform .2s ease;
}
.leader-li:hover { transform: scale(1.12); }
.leader-li svg { width: 20px; height: 20px; }
.leader-photo {
    width: 100%; max-width: 216px; aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover; object-position: top;
    margin: 0 auto 18px;
    background: linear-gradient(160deg, var(--indigo-50), #fff);
    transition: transform .25s ease, box-shadow .25s ease;
}
[data-theme="dark"] .leader-photo { background: linear-gradient(160deg, #dfe5fb, #fff); }
.leader-card:hover .leader-photo { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.leader-card h4 { font-size: 18px; font-weight: 800; color: var(--indigo); }
[data-theme="dark"] .leader-card h4 { color: var(--indigo-soft); }
.leader-card span { color: var(--gray); font-size: 14.5px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #c9d1ec; padding: 70px 0 0; }
.footer-container { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1fr; gap: 44px; padding-bottom: 50px; }
.footer-brand .logo-img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; color: #97a3c8; max-width: 300px; }
.mw-link { color: #c9d1ec; font-weight: 600; }
.mw-link:hover { color: #fff; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
    width: 38px; height: 38px; border-radius: 11px;
    border: 1px solid rgba(125,146,255,.3);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; color: #c9d1ec;
    transition: background .15s, color .15s;
}
.social-links a:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.social-links svg { width: 17px; height: 17px; }
.saudi-made-badge {
    display: inline-flex; align-items: center;
    margin-top: 20px;
    background: #fff; border-radius: 12px; padding: 9px 14px;
}
.saudi-made-badge img { height: 36px; width: auto; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-addr { display: block; color: #97a3c8; font-size: 14.5px; padding: 5px 0; }
.footer-col a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .footer-col a[href^="tel:"] { text-align: right; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(125,146,255,.15); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: #97a3c8; }
.footer-legal a { color: #97a3c8; }
.footer-legal a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .nav-links a { padding: 8px 11px; font-size: 13.5px; }
}
@media (max-width: 990px) {
    .nav-links {
        position: fixed; top: 72px; inset-inline: 12px;
        background: var(--nav-bg);
        backdrop-filter: blur(14px);
        border: 1px solid var(--nav-border);
        border-radius: var(--radius-lg);
        flex-direction: column; gap: 4px; padding: 14px;
        display: none;
    }
    .nav-links.open { display: flex; }
    .navbar .nav-links a { padding: 11px 14px; border-radius: 10px; font-size: 15px; color: var(--nav-ink); }
    .navbar .nav-links a::after { display: none; }
    .navbar .nav-links a:hover { background: var(--icon-tile); }
    .navbar .nav-links a.active { background: var(--indigo); color: #fff; }
    .menu-toggle { display: block; }
}
@media (max-width: 1024px) {
    .hero-container, .faris-card, .about-container, .contact-container, .nca-wrap, .innovation-wrap { grid-template-columns: 1fr; }
    .stories-grid, .leader-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .vm-grid { grid-template-columns: 1fr; }
    .founder-quote { grid-template-columns: 1fr; padding: 40px; }
    .galaxy { height: 460px; }
    .product-grid, .services-grid, .cap-grid, .hosting-grid { grid-template-columns: repeat(2, 1fr); }
    .engagement-grid { grid-template-columns: 1fr; }
    .product-tiles { grid-template-columns: repeat(2, 1fr); }
    .client-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .about-stat-card.alt, [dir="rtl"] .about-stat-card.alt { transform: none; }
    .dga-badge-card.dark-card, [dir="rtl"] .dga-badge-card.dark-card { transform: none; }
}
@media (max-width: 680px) {
    .nav-links {
        position: fixed; top: 62px; inset-inline: 12px;
        background: var(--nav-bg);
        backdrop-filter: blur(14px);
        border: 1px solid var(--nav-border);
        border-radius: var(--radius-lg);
        flex-direction: column; gap: 4px; padding: 14px;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 11px 14px; border-radius: 10px; }
    .nav-links a:hover { background: var(--icon-tile); }
    .menu-toggle { display: block; }
    .nav-actions .btn { display: none; }
    .hero { padding: 120px 0 70px; }
    .hero-stats { gap: 28px; }
    .galaxy { height: 340px; }
    .g-scene { transform: scale(.62) rotateX(var(--gx, 0deg)) rotateY(var(--gy, 0deg)); }
    .product-grid, .services-grid, .cap-grid, .hosting-grid, .form-row, .product-tiles { grid-template-columns: 1fr; }
    .client-grid { grid-template-columns: repeat(2, 1fr); }
    .products, .services, .capabilities, .about, .clients, .contact, .faris, .nca, .hosting, .stories, .benefits, .values, .positions, .leadership, .engagement, .innovation { padding: 68px 0; }
    .page-hero { padding: 116px 0 50px; }
    .stories-grid, .leader-grid, .benefit-grid { grid-template-columns: 1fr; }
}
