/* SewelniTech — design system: white header, dark hero with a product
   "device", alternating light / dark sections, Inter at weight 500 with tight tracking, 112px section spacing.
   Brand colours: cyan #00C9D6 (primary), amber #FFAA2B (accent). Logical properties keep Arabic mirrored. */

/* ---------- tokens ---------- */
:root, [data-theme="light"] {
  --bg: #FFFFFF; --bg-alt: #F3F3F0; --surface: #FFFFFF; --line: #E1E4E4; --line-2: #CFD4D6;
  --text: #171A1C; --muted: #5B6468; --faint: #8A9296;
  --brand-ink: #007E8A; --accent-ink: #B4620A; --soft: rgba(0, 126, 138, .08); --soft-accent: rgba(255, 170, 43, .14);
  --header: rgba(255, 255, 255, .92); --header-text: #171A1C; --header-muted: #4B5458;
  --card-shadow: 0 14px 45px rgba(20, 30, 33, .07);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0A1120; --bg-alt: #0D1526; --surface: #111A2E; --line: rgba(255, 255, 255, .10); --line-2: rgba(255, 255, 255, .18);
  --text: #EEF2F7; --muted: #A3AEC0; --faint: #76829A;
  --brand-ink: #2BD5E0; --accent-ink: #FFB54A; --soft: rgba(0, 201, 214, .12); --soft-accent: rgba(255, 170, 43, .14);
  --header: rgba(7, 13, 26, .9); --header-text: #EEF2F7; --header-muted: #A3AEC0;
  --card-shadow: 0 14px 45px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
:root {
  --d-bg: #060D1A; --d-line: rgba(255, 255, 255, .11); --d-text: #FFFFFF; --d-muted: #A6B0C2;
  --brand: #00C9D6; --accent: #FFAA2B; --navy: #050B1F;
  --radius: 18px; --wrap: 1240px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
:lang(ar) { --font: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif; }

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
:lang(ar) body { font-size: 17px; line-height: 1.85; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 500; margin: 0 0 .45em; letter-spacing: -.035em; line-height: 1.12; }
:lang(ar) :is(h1, h2, h3, h4) { font-weight: 600; letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 16px; top: 12px; z-index: 99; background: #fff; color: #000; padding: 8px 14px; border-radius: 6px; }
.muted { color: var(--muted); }
.ltr { direction: ltr; unicode-bidi: isolate; }
section { padding: 112px 0; position: relative; }
.light { background: var(--bg); color: var(--text); }
.light.alt, .alt { background: var(--bg-alt); }
.dark { background: var(--d-bg); color: var(--d-text); }
.dark p, .dark .muted { color: var(--d-muted); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 650 12px/1.3 var(--font); letter-spacing: .13em; text-transform: uppercase; color: var(--text); }
.eyebrow.line::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.dark .eyebrow { color: #DDE3EC; }
.eyebrow.accent { color: var(--accent-ink); }
.dark .eyebrow.accent { color: var(--accent); }
:lang(ar) .eyebrow { letter-spacing: 0; font-size: 13.5px; }
.h2 { font-size: clamp(32px, 4vw, 48px); }
.lead-text { font-size: 17px; color: var(--muted); max-width: 520px; }
.dark .lead-text { color: var(--d-muted); }
.idx { font: 600 12.5px/1 var(--font); letter-spacing: .08em; color: var(--accent-ink); }
.dark .idx { color: var(--accent); }

/* ---------- header & menus ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--header); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 4px; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; }
.brand img { width: 40px; height: 40px; }
.brand span { font: 600 22px/1 "Inter", sans-serif; letter-spacing: -.02em; direction: ltr; color: var(--header-text); }
.brand b { color: var(--brand-ink); font-weight: 600; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; margin-inline-end: 16px; padding: 0; }
.menu > li { position: static; }
.menu-trigger { display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; color: var(--header-muted); font: 500 14.5px/1 var(--font); padding: 12px 11px; border-radius: 6px; text-decoration: none; }
.menu-trigger:hover, .menu > li.open .menu-trigger { color: var(--brand-ink); }
.menu-trigger .chev { width: 9px; height: 9px; transition: transform .2s; }
.menu > li.open .chev { transform: rotate(180deg); }
.mega { position: absolute; top: 100%; left: 0; right: 0; display: none; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(10, 20, 30, .25); padding: 44px 0 50px; }
.menu > li.open .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; }
.mega-eyebrow, .mega-label { font: 650 12px/1.3 var(--font); letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
:lang(ar) :is(.mega-eyebrow, .mega-label) { letter-spacing: 0; font-size: 13px; }
.mega-intro h3 { font-size: 38px; margin: 16px 0 12px; color: var(--text); }
.mega-intro p { color: var(--muted); font-size: 17px; max-width: 400px; margin: 0; }
.mega-label { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mega-links ul { list-style: none; margin: 0; padding: 0; }
.mega-links ul.two { columns: 2; column-gap: 44px; }
.mega-links li { break-inside: avoid; }
.mega-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 2px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 16px; }
.mega-links a:hover, .mega-links a:hover .go { color: var(--brand-ink); }
.mega-links .go { color: var(--faint); font-size: 13px; }
[dir="rtl"] .mega-links .go { transform: scaleX(-1); }
.tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--header-text); cursor: pointer; font: 600 13.5px/1 var(--font); text-decoration: none; }
.icon-btn:hover { border-color: var(--brand-ink); }
.icon-btn svg { width: 18px; height: 18px; }
.lang-menu { position: relative; }
.drop { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 170px; display: none; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--card-shadow); padding: 8px; }
.lang-menu.open .drop { display: grid; }
.drop a { padding: 10px 12px; border-radius: 6px; text-decoration: none; font-size: 14.5px; color: var(--text); }
.drop a:hover { background: var(--soft); }
.theme-btn .sun { display: none; }
[data-theme="dark"] .theme-btn .sun { display: block; }
[data-theme="dark"] .theme-btn .moon { display: none; }
.burger { display: none; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14.5px/1 var(--font); text-decoration: none; cursor: pointer; padding: 15px 22px; border-radius: 6px; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #04121A; }
.btn-primary:hover { background: #24DCE6; }
.btn-ghost { color: inherit; border-color: currentColor; background: transparent; }
.btn-sm { padding: 12px 16px; font-size: 13.5px; }
.arrow { display: inline-block; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.ulink { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14.5px; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.ulink:hover { color: var(--brand-ink); }
.dark .ulink:hover { color: var(--brand); }
.link { color: var(--brand-ink); font-weight: 600; text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 100px; color: #fff; overflow: hidden; background:
  radial-gradient(circle at 80% 15%, rgba(0, 201, 214, .20), transparent 30%),
  radial-gradient(circle at 12% 85%, rgba(255, 170, 43, .14), transparent 32%),
  linear-gradient(160deg, #050B18, #0A1428 60%, #0B1830); }
[dir="rtl"] .hero { background: radial-gradient(circle at 20% 15%, rgba(0, 201, 214, .20), transparent 30%), radial-gradient(circle at 88% 85%, rgba(255, 170, 43, .14), transparent 32%), linear-gradient(200deg, #050B18, #0A1428 60%, #0B1830); }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.4vw, 70px); letter-spacing: -.045em; line-height: 1.04; color: #fff; }
:lang(ar) .hero h1 { letter-spacing: 0; line-height: 1.25; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 17px; color: var(--d-muted); max-width: 520px; margin-top: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .btn-ghost, .cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }

.device { position: relative; background: linear-gradient(180deg, #0D1729, #0A1222); border: 1px solid rgba(255,255,255,.12); border-radius: 26px; padding: 14px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); }
.device::after { content: ""; position: absolute; top: -6px; inset-inline-end: 64px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.device-in { background: #070E1C; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; overflow: hidden; }
.device-bar { display: flex; gap: 6px; padding: 12px 16px; }
.device-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2A3553; }
.device-bar i:first-child { background: var(--accent); }
.panel { padding: 8px 22px 20px; }
.panel + .panel { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; }
.panel-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 650 11.5px/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #8C97AE; margin-bottom: 10px; }
.panel-head b { color: var(--brand); font-weight: 600; letter-spacing: .03em; text-transform: none; font-size: 12px; }
:lang(ar) .panel-head { letter-spacing: 0; font-size: 12.5px; }
.orch { position: relative; height: 250px; }
.orch svg.links { position: absolute; inset: 0; width: 100%; height: 100%; }
.orch .base { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.orch .flow { fill: none; stroke-width: 1.6; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; animation: dash 1.4s linear infinite; }
.orch .flow.c { stroke: rgba(0,201,214,.8); } .orch .flow.a { stroke: rgba(255,170,43,.8); } .orch .flow.v { stroke: rgba(168,140,255,.75); }
@keyframes dash { to { stroke-dashoffset: -24; } }
.node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; font-size: 12.5px; font-weight: 600; white-space: nowrap; color: #fff; transition: border-color .3s, box-shadow .3s; }
.node .ni { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; background: rgba(0,201,214,.14); }
.node.active { border-color: rgba(0,201,214,.7); box-shadow: 0 0 0 3px rgba(0,201,214,.12); }
.hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #22E6F0, #00A9B4 55%, #057A86); box-shadow: 0 0 0 9px rgba(0,201,214,.08), 0 0 50px rgba(0,201,214,.45); animation: pulse 3s ease-in-out infinite; }
.hub img { width: 50px; margin: auto; filter: brightness(0) invert(.05); }
.hub small { display: block; font: 700 8.5px/1.2 var(--font); letter-spacing: .06em; color: #031018; margin-top: 4px; }
:lang(ar) .hub small { letter-spacing: 0; font-size: 10px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(0,201,214,.05), 0 0 70px rgba(0,201,214,.55); } }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tab { border: 1px solid rgba(255,255,255,.2); background: transparent; color: #DCE3EF; border-radius: 999px; padding: 8px 14px; font: 600 12.5px/1 var(--font); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #1A1000; }
.quote { font: 500 clamp(22px, 2.1vw, 28px)/1.25 var(--font); letter-spacing: -.02em; color: #fff; margin: 4px 0 14px; }
:lang(ar) .quote { letter-spacing: 0; }
.jsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.jsteps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 6px 0; position: relative; }
.jsteps li::after { content: ""; position: absolute; inset-inline-start: 14px; top: 36px; bottom: -4px; width: 1px; background: rgba(255,170,43,.45); }
.jsteps li:last-child::after { display: none; }
.jsteps .n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,170,43,.7); color: var(--accent); display: grid; place-items: center; font: 600 11.5px/1 var(--font); }
.jsteps strong { display: block; color: #fff; font-size: 15px; font-weight: 600; }
.jsteps span { color: #A3AEC3; font-size: 13.5px; line-height: 1.5; }
.tabpanel[hidden] { display: none; }
.console-note { font-size: 12px; color: #6F7B93; margin: 10px 0 0; }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.02); }
.figures div { padding: 14px 16px; text-align: center; }
.figures div + div { border-inline-start: 1px solid rgba(255,255,255,.08); }
.figures b { display: block; font: 600 24px/1.1 var(--font); color: var(--accent); }
.figures span { font-size: 12px; color: #8C97AE; }

/* ---------- strip ---------- */
.strip { padding: 26px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.strip-label { font: 650 11.5px/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--text); max-width: 150px; }
:lang(ar) .strip-label { letter-spacing: 0; font-size: 12.5px; }
.strip-items { display: flex; flex: 1; justify-content: space-between; flex-wrap: wrap; gap: 10px 0; }
.strip-items span { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--text); padding-inline: 18px; border-inline-start: 1px solid var(--line); }
.strip-items i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--soft); color: var(--brand-ink); font-style: normal; }
.strip-items i svg { width: 16px; height: 16px; }

/* ---------- split: text left, row cards right ---------- */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.split-text { position: sticky; top: 120px; }
.rows { display: grid; gap: 16px; }
.row-card { display: grid; grid-template-columns: 52px 1fr 1.25fr 40px; gap: 20px; align-items: center; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.row-card:hover { border-color: var(--brand-ink); box-shadow: var(--card-shadow); }
.row-card .ri { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-accent); color: var(--accent-ink); }
.row-card .ri svg { width: 20px; height: 20px; }
.row-card h3 { font-size: 21px; margin: 0; }
.row-card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.round { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); font-size: 13px; }
[dir="rtl"] .round { transform: scaleX(-1); }

/* ---------- dark "AI across the experience" ---------- */
.net { background: radial-gradient(circle at 18% 10%, rgba(0, 150, 170, .30), transparent 28%), radial-gradient(circle at 86% 74%, rgba(110, 70, 200, .24), transparent 30%), var(--d-bg); overflow: hidden; }
.net::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.5px); background-size: 46px 46px; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 75%); mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 75%); pointer-events: none; }
.net .bigmark { position: absolute; top: 40px; inset-inline-end: 4%; font: 700 220px/1 "Inter", sans-serif; color: rgba(255,255,255,.035); letter-spacing: -.06em; pointer-events: none; }
.net .wrap { position: relative; }
.dcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
.dcard { border: 1px solid var(--d-line); border-radius: 22px; padding: 30px; background: rgba(255,255,255,.015); box-shadow: 0 22px 70px rgba(0,0,0,.33); display: flex; flex-direction: column; }
.dcard.hl { background: linear-gradient(170deg, rgba(0, 201, 214, .16), rgba(110, 70, 200, .16) 70%); border-color: rgba(0,201,214,.35); }
.dcard .for { margin: 26px 0 14px; font: 650 12px/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
:lang(ar) .dcard .for { letter-spacing: 0; font-size: 13px; }
.dcard h3 { font-size: 22px; color: #fff; }
.dcard p { font-size: 15px; }
.dcard .links { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }
.dcard .links a { font-weight: 600; font-size: 14.5px; color: #fff; text-decoration: none; }
.dcard .links a:hover { color: var(--brand); }
.start-bar { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px; border: 1px dashed var(--d-line); border-radius: 18px; }
.start-bar h3 { margin: 0 0 4px; font-size: 20px; color: #fff; }
.start-bar p { margin: 0; font-size: 15px; }
.start-bar .ulink { color: #fff; }

/* ---------- product family ---------- */
.product { background: radial-gradient(circle at 8% 20%, rgba(0, 170, 190, .30), transparent 28%), radial-gradient(circle at 86% 80%, rgba(80, 70, 190, .36), transparent 32%), linear-gradient(160deg, #070D1C, #0D1430); color: #fff; }
.product-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 54px; }
.product-head .ulink { color: #fff; }
.dash { display: grid; grid-template-columns: 64px 1fr; background: #F7F8FA; color: #171A1C; border-radius: 22px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0,0,0,.7); }
.dash-side { background: #0B1222; display: grid; align-content: start; gap: 12px; padding: 18px 14px; }
.dash-side i { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.08); }
.dash-side i:first-child { background: linear-gradient(135deg, var(--brand), #6B5BE0); }
.dash-main { padding: 24px 26px 28px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dash-top strong { font-size: 18px; font-weight: 600; }
.dash-top small { color: #8A9296; margin-inline-start: 8px; font-size: 12.5px; }
.dash-tag { font-size: 12px; border: 1px solid #DDE1E3; border-radius: 999px; padding: 4px 10px; color: #5B6468; }
.kpis3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kpi { background: #fff; border: 1px solid #E6E9EB; border-radius: 14px; padding: 16px 18px; }
.kpi span { font-size: 12.5px; color: #6B7478; }
.kpi b { display: block; font: 600 30px/1.2 var(--font); margin-top: 6px; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: 12px; color: #12A150; }
.dash-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; margin-top: 14px; }
.chart, .mix { background: #fff; border: 1px solid #E6E9EB; border-radius: 14px; padding: 16px 18px; }
.chart h4, .mix h4 { font: 600 13px/1.3 var(--font); margin: 0 0 12px; letter-spacing: 0; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--brand), #4C6BE0); opacity: .85; }
.mix div { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-bottom: 1px solid #EEF0F1; }
.mix div:last-child { border-bottom: 0; }
.mix i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 8px; background: var(--brand); }
.mix div:nth-of-type(2) i { background: var(--accent); } .mix div:nth-of-type(3) i { background: #6B5BE0; }
.dash-note { font-size: 12px; color: #8A9296; margin: 12px 0 0; }
.mods4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.mod { border: 1px solid var(--d-line); border-radius: 16px; padding: 22px 20px; background: rgba(255,255,255,.02); text-decoration: none; color: #fff; display: block; }
.mod:hover { border-color: rgba(0,201,214,.5); }
.mod h3 { font-size: 17px; color: #fff; margin-bottom: 6px; }
.mod p { font-size: 14px; margin: 0; color: var(--d-muted); }

/* ---------- delivery timeline ---------- */
.dhead { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 40px; }
.dhead .h2 { margin: 0; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 27px; inset-inline: 26px; border-top: 1px dashed var(--line-2); }
.tcard { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px; }
.tcard .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--soft-accent); margin-bottom: 22px; }
.tcard h3 { font-size: 21px; margin: 10px 0 8px; }
.tcard p { font-size: 14px; color: var(--muted); margin: 0; }
.after-link { margin-top: 30px; }

/* ---------- industries ---------- */
.inds { background: #0C121B; color: #fff; }
.icards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.icard { position: relative; min-height: 340px; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; text-decoration: none; color: #fff; background: #141D2B; box-shadow: 0 22px 70px rgba(0,0,0,.2); isolation: isolate; transition: transform .2s; }
.icard:hover { transform: translateY(-3px); }
.icard .art { position: absolute; inset: 0; z-index: -1; }
.icard .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,12,20,.92) 85%); }
.icard .art svg { position: absolute; top: 34px; inset-inline-start: 30px; width: 84px; height: 84px; color: rgba(255,255,255,.85); }
.icard.c1 .art { background: radial-gradient(circle at 75% 20%, rgba(0,201,214,.55), transparent 45%), linear-gradient(140deg, #0E3A48, #0B1A2B); }
.icard.c2 .art { background: radial-gradient(circle at 75% 20%, rgba(255,170,43,.5), transparent 45%), linear-gradient(140deg, #3B2A12, #12141E); }
.icard.c3 .art { background: radial-gradient(circle at 75% 20%, rgba(130,110,255,.5), transparent 45%), linear-gradient(140deg, #24205A, #0F1226); }
.icard.c4 .art { background: radial-gradient(circle at 75% 20%, rgba(34,197,94,.45), transparent 45%), linear-gradient(140deg, #123A2A, #0D1620); }
.icard.c5 .art { background: radial-gradient(circle at 75% 20%, rgba(236,72,153,.42), transparent 45%), linear-gradient(140deg, #3A1430, #121220); }
.icard h3 { font-size: 22px; margin: 0 0 6px; display: flex; justify-content: space-between; gap: 10px; color: #fff; }
.icard h3 span { font-size: 15px; opacity: .8; }
[dir="rtl"] .icard h3 span { transform: scaleX(-1); }
.icard p { margin: 0; font-size: 14.5px; color: #C9D1DD; }

/* ---------- news ---------- */
.news-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 44px; }
.news-head .h2 { margin: 0; }
.news-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; }
.ncard { background: var(--surface); border-radius: var(--radius); box-shadow: var(--card-shadow); overflow: hidden; text-decoration: none; color: inherit; display: block; }
.ncard.feature .poster { aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(0,201,214,.45), transparent 40%), radial-gradient(circle at 10% 90%, rgba(255,170,43,.35), transparent 40%), linear-gradient(150deg, #0B1428, #070D1C); }
.poster img { width: 46px; }
.poster strong { font: 600 clamp(22px, 2.6vw, 34px)/1.15 var(--font); letter-spacing: -.02em; }
.poster strong em { font-style: normal; color: var(--accent); }
.ncard .body { padding: 22px 26px 26px; }
.ncard .meta { display: flex; justify-content: space-between; gap: 10px; font: 650 11.5px/1.3 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.ncard .meta span:last-child { color: var(--faint); letter-spacing: 0; text-transform: none; font-weight: 500; }
:lang(ar) .ncard .meta { letter-spacing: 0; }
.ncard h3 { font-size: 22px; }
.ncard p { color: var(--muted); font-size: 14.5px; margin: 0; }
.news-list { display: grid; gap: 20px; }
.ncard.row { display: grid; grid-template-columns: 150px 1fr; }
.ncard.row .thumb { background: radial-gradient(circle at 70% 25%, rgba(0,201,214,.5), transparent 50%), linear-gradient(150deg, #10223A, #0A1222); display: grid; place-items: center; color: rgba(255,255,255,.85); }
.ncard.row + .ncard.row .thumb { background: radial-gradient(circle at 70% 25%, rgba(255,170,43,.5), transparent 50%), linear-gradient(150deg, #2A1E10, #0F121C); }
.ncard.row .thumb svg { width: 40px; height: 40px; }

/* ---------- perspectives ---------- */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.pcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--surface); display: flex; flex-direction: column; text-decoration: none; color: inherit; min-height: 260px; transition: border-color .2s; }
.pcard:hover { border-color: var(--brand-ink); }
.pcard .kind { font: 650 11.5px/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: 36px; }
:lang(ar) .pcard .kind { letter-spacing: 0; }
.pcard h3 { font-size: 22px; }
.pcard p { color: var(--muted); font-size: 14.5px; }
.pcard .ulink { margin-top: auto; align-self: flex-start; }

/* ---------- final CTA & footer ---------- */
.cta { padding: 96px 0; color: #fff; overflow: hidden; background: radial-gradient(circle at 78% 30%, rgba(255, 170, 43, .26), transparent 26%), linear-gradient(135deg, #0B1220, #13223A); }
[dir="rtl"] .cta { background: radial-gradient(circle at 22% 30%, rgba(255, 170, 43, .26), transparent 26%), linear-gradient(225deg, #0B1220, #13223A); }
.cta .wrap { position: relative; }
.cta h2 { font-size: clamp(34px, 4.2vw, 52px); max-width: 680px; color: #fff; }
.cta .big-arrow { position: absolute; inset-inline-end: 6%; top: 50%; transform: translateY(-50%); width: 220px; height: 220px; color: rgba(255,255,255,.07); }
[dir="rtl"] .cta .big-arrow { transform: translateY(-50%) scaleX(-1); }
footer { background: #0A0F18; color: #A6B0C2; padding: 70px 0 34px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(6, 1fr); gap: 28px; }
.foot-grid h4 { font-size: 14px; color: #fff; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: #A6B0C2; text-decoration: none; }
.foot-grid a:hover { color: #fff; }
footer .brand span { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: #76829A; }
.foot-bottom a { color: #A6B0C2; text-decoration: none; }

/* ---------- inner pages ---------- */
.page-hero { padding: 84px 0 92px; color: #fff; background: radial-gradient(circle at 82% 18%, rgba(0, 201, 214, .18), transparent 30%), linear-gradient(160deg, #050B18, #0B1630); }
[dir="rtl"] .page-hero { background: radial-gradient(circle at 18% 18%, rgba(0, 201, 214, .18), transparent 30%), linear-gradient(200deg, #050B18, #0B1630); }
.crumbs { font-size: 13.5px; color: var(--d-muted); margin-bottom: 22px; }
.crumbs a { color: var(--d-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.page-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(38px, 4.8vw, 60px); letter-spacing: -.04em; line-height: 1.08; color: #fff; }
:lang(ar) .page-hero h1 { letter-spacing: 0; line-height: 1.3; }
.page-hero .lead { font-size: 18px; color: var(--d-muted); max-width: 600px; }
.page-hero .eyebrow { color: var(--accent); }
.arch { background: #0A1222; color: #EEF2F9; border-radius: 22px; padding: 26px; border: 1px solid rgba(255,255,255,.12); font-size: 13px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.arch .row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.arch .chip { border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 8px 11px; background: rgba(255,255,255,.03); }
.arch .chip.hl { border-color: rgba(0,201,214,.6); color: #fff; background: rgba(0,201,214,.1); }
.arch .lbl { text-align: center; color: #8C97AE; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin: 12px 0; }
:lang(ar) .arch .lbl { letter-spacing: 0; font-size: 12px; }
.arch .down { text-align: center; color: var(--accent); margin: 6px 0; }
.need { font-size: 22px; line-height: 1.55; max-width: 880px; letter-spacing: -.01em; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
a.card { text-decoration: none; display: block; color: inherit; }
a.card:hover { border-color: var(--brand-ink); }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-accent); color: var(--accent-ink); margin-bottom: 16px; }
.card .ico svg { width: 20px; height: 20px; }
.cap { display: flex; gap: 16px; align-items: flex-start; }
.cap .idx { padding-top: 6px; }
.cap h3 { font-size: 18px; margin-bottom: 4px; }
.outputs { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 18px; font-weight: 600; font-size: 15px; background: var(--surface); }
.kpis .card { border-style: dashed; }
.disclaimer { font-size: 14px; color: var(--faint); margin-top: 18px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related .btn-ghost { color: var(--text); border-color: var(--line-2); }
.head { max-width: 760px; margin-bottom: 48px; }
.head p { font-size: 17px; color: var(--muted); }
.prose { max-width: 760px; font-size: 18px; }
.prose h2 { font-size: 30px; margin-top: 1.4em; }
.prose ul { padding-inline-start: 1.2em; }
.modules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.module { border-radius: var(--radius); padding: 26px; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 110px; }
.module h3 { font-size: 19px; }
.module p { color: var(--muted); font-size: 15px; margin: 0; }
.module .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--brand-ink); }
.module .ico svg { width: 20px; height: 20px; }
.delivery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.dstep { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.dstep h3 { font-size: 20px; margin: 12px 0 6px; }
.dstep p { color: var(--muted); font-size: 14px; margin: 0; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; }
.form input, .form select, .form textarea { font: 400 16px/1.4 var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.form-msg { font-size: 14.5px; color: var(--accent-ink); min-height: 1.4em; }
.steps-side { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.steps-side li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.steps-side .n { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 12.5px; font-weight: 600; }
.steps-side strong { display: block; }
.steps-side span { color: var(--muted); font-size: 14.5px; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .orch .flow, .hub { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .menu { display: none; }
  .burger { display: inline-flex; }
  .site-header.open .menu { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 84px; inset-inline: 0; margin: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; max-height: calc(100vh - 84px); overflow: auto; }
  .site-header.open .mega { position: static; box-shadow: none; border: 0; padding: 0 0 8px; background: transparent; }
  .site-header.open .mega .wrap { width: 100%; }
  .site-header.open .mega-grid { display: block; }
  .site-header.open :is(.mega-intro, .mega-label) { display: none; }
  .site-header.open .mega-links ul.two { columns: 1; }
  .site-header.open .mega-links a { padding: 11px 6px; font-size: 15px; }
  .hero-grid, .split, .product-head, .dhead, .news-head, .news-grid, .page-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-text { position: static; }
  .dcards, .icards, .pcards, .g3 { grid-template-columns: 1fr 1fr; }
  .timeline, .delivery { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { display: none; }
  .mods4, .g4 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  section { padding: 76px 0; }
  .hero { padding: 56px 0 70px; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .tools .btn-sm, .tools .lang-label { display: none; }
  .row-card { grid-template-columns: 46px 1fr; }
  .row-card p { grid-column: 2; }
  .row-card .round { display: none; }
  .dcards, .icards, .pcards, .g2, .g3, .g4, .timeline, .delivery, .mods4, .modules, .kpis3, .dash-row { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .ncard.row { grid-template-columns: 1fr; }
  .ncard.row .thumb { height: 110px; }
  .strip-items span { border: 0; padding-inline: 0 14px; }
  .orch { height: 230px; }
  .node { font-size: 11px; padding: 6px 8px; gap: 5px; }
  .node .ni { width: 18px; height: 18px; font-size: 10px; }
  .hub { width: 84px; height: 84px; }
  .figures b { font-size: 20px; }
  .net .bigmark { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* hero fixes: eyebrow readable on dark, figures under the buttons, compact device */
.hero .eyebrow { color: #DDE3EC; }
.hero .figures { margin-top: 44px; max-width: 520px; border: 0; border-top: 1px solid rgba(255,255,255,.12); border-radius: 0; background: none; }
.hero .figures div { text-align: start; padding: 18px 16px 0 0; }
.hero .figures div + div { border-inline-start: 0; }
.hero .figures b { font-size: 30px; color: #fff; letter-spacing: -.03em; }
.hero .orch { height: 220px; }
.hero .jsteps li { padding: 3px 0; }
.hero .jsteps span { font-size: 13px; }

/* ---------- technology landscape: one row of brand marks under the hero ---------- */
.tech { padding: 24px 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 55px rgba(13, 22, 25, .08); position: relative; z-index: 3; }
.tech .wrap { display: flex; align-items: center; gap: 26px; }
.tech-label { margin: 0; max-width: 150px; font: 700 11px/1.5 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
:lang(ar) .tech-label { letter-spacing: 0; font-size: 13px; }
.tech-row { flex: 1; display: flex; align-items: center; }
.tech-row .tech-card { flex: 1 1 0; min-height: 62px; justify-content: center; gap: 10px; padding: 10px 14px; border: 0; border-inline-start: 1px solid var(--line); border-radius: 0; background: transparent; }
.tech-row .tech-card:hover { transform: translateY(-3px); box-shadow: none; border-color: var(--line); }
.tech-card { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 12px 18px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); text-decoration: none; transition: transform .25s, border-color .2s, box-shadow .25s; }
.tech-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 14px 30px -18px rgba(0,0,0,.35); }
.tech-card b { font-size: 19px; font-weight: 600; letter-spacing: -.035em; direction: ltr; white-space: nowrap; }
.tech-card .mark { flex: none; display: block; }
.tech-card .mark-amazonwebservices { color: #252F3E; }
[data-theme="dark"] .tech-card .mark-amazonwebservices { color: #fff; }
.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tech-grid .tech-card b { font-size: 16px; }
.tlogo { display: inline-flex; align-items: center; }
@media (max-width: 1120px) {
  .tech .wrap { display: block; } .tech-label { max-width: none; margin-bottom: 16px; }
  .tech-row { flex-wrap: wrap; gap: 10px; } .tech-row .tech-card { flex: 1 1 calc(33.333% - 10px); border: 1px solid var(--line); border-radius: 12px; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .tech-row .tech-card { flex-basis: calc(50% - 8px); } .tech-grid { grid-template-columns: 1fr 1fr; } .tech-card b { font-size: 16px; } }

/* ---------- technology page (light hero + dark conceptual architecture) ---------- */
.tech-hero { padding: 40px 0 96px; background: var(--bg); color: var(--text); border-bottom: 1px solid var(--line); }
.tech-hero .crumbs { color: var(--muted); margin-bottom: 64px; }
.tech-hero .crumbs a { color: var(--muted); }
.tech-hero .crumbs a:hover { color: var(--text); }
.tech-hero h1 { font-size: clamp(40px, 5vw, 66px); letter-spacing: -.045em; line-height: 1.04; margin-bottom: 18px; }
:lang(ar) .tech-hero h1 { letter-spacing: 0; line-height: 1.3; }
.tech-hero .lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.tarch { background: #0B121C; color: #E8EDF4; border-radius: 6px; padding: 26px 28px 30px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.tarch-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.1); }
.tarch-top strong { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.tarch-top small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
:lang(ar) .tarch-top small { letter-spacing: 0; font-size: 12px; }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lanes span { border: 1px solid rgba(255,255,255,.16); padding: 14px 8px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
:lang(ar) .lanes span { letter-spacing: 0; }
.tdown { text-align: center; color: #fff; margin: 16px 0; font-size: 18px; }
.tlayer { border: 1px solid rgba(255,255,255,.28); padding: 18px 20px; }
.tl-head { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
:lang(ar) .tl-head { letter-spacing: 0; }
.tlayer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.tlayer li { border-inline-start: 2px solid var(--accent); padding-inline-start: 10px; font-size: 14px; direction: ltr; text-align: start; }
[dir="rtl"] .tlayer li { direction: ltr; text-align: right; }
.tsys { text-align: center; }
.tsys b { display: block; font-size: 13.5px; letter-spacing: .03em; text-transform: uppercase; }
.tsys small { color: #9AA6B8; font-size: 12.5px; }
.timeline.t4 { grid-template-columns: repeat(4, 1fr); margin-top: 44px; }
.tnote { max-width: 820px; margin-top: 36px; }
@media (max-width: 720px) { .timeline.t4 { grid-template-columns: 1fr; } .tlayer ul { grid-template-columns: 1fr; } .tech-hero .crumbs { margin-bottom: 32px; } }

/* ---------- hover motion ---------- */
.tech-card .go { display: none; }
.btn-primary:hover { transform: translateY(-2px); }
/* "Advanced technology" rows: slide toward the reading direction, arrow turns 45° and fills */
.row-card { transition: padding .25s, border-color .25s, box-shadow .25s; }
.row-card:hover { padding-inline-start: 32px; border-color: rgba(0, 163, 174, .42); box-shadow: 0 18px 50px rgba(20, 30, 33, .08); }
.round { transition: transform .25s, background .25s, border-color .25s, color .25s; }
.row-card:hover .round { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: #04121A; }
[dir="rtl"] .row-card:hover .round { transform: rotate(-45deg); }
.row-card .ri { transition: transform .25s; }
.row-card:hover .ri { transform: scale(1.08); }
/* dark audience cards: lift (the highlighted middle one stays put) */
.dcard { transition: transform .3s, border-color .3s, background .3s, box-shadow .3s; }
.dcard:hover { transform: translateY(-8px); border-color: rgba(0, 201, 214, .55); background: linear-gradient(145deg, rgba(255,255,255,.114), rgba(255,255,255,.043)); box-shadow: 0 30px 80px rgba(0,0,0,.53); }
.dcard.hl:hover { transform: none; background: linear-gradient(170deg, rgba(0, 201, 214, .22), rgba(110, 70, 200, .2) 70%); }
/* product modules */
.mod { transition: transform .3s, border-color .3s, background .3s; }
.mod:hover { transform: translateY(-8px); border-color: rgba(160, 200, 255, .6); background: rgba(255,255,255,.11); }
.kpi { transition: border-color .3s, transform .3s; }
.kpi:hover { border-color: var(--brand); transform: translateY(-3px); }
/* delivery timeline */
.tcard { transition: transform .25s, box-shadow .25s; }
.tcard:hover { transform: translateY(-6px); box-shadow: 0 22px 55px rgba(20, 30, 33, .09); }
/* industry cards: the art zooms */
.icard .art { transition: transform .7s, filter .7s; }
.icard:hover { transform: none; }
.icard:hover .art { transform: scale(1.065); filter: saturate(1.12); }
/* news */
.ncard { transition: transform .25s, box-shadow .25s; }
.ncard:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(20, 30, 33, .12); }
/* perspectives: lift and turn dark */
.pcard { transition: transform .25s, background .25s, color .25s, border-color .25s; }
.pcard:hover { transform: translateY(-7px); background: #10202A; border-color: #10202A; color: #fff; }
.pcard:hover h3, .pcard:hover .ulink { color: #fff; }
.pcard:hover p { color: #BCCACC; }
/* inner-page cards */
.card { transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 55px rgba(20, 30, 33, .09); border-color: rgba(0, 163, 174, .35); }
.figures div { transition: transform .25s; }
.figures div:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .row-card, .dcard, .mod, .tcard, .icard .art, .ncard, .pcard, .card, .tech-card, .kpi { transition: none; } }
.pcard:hover .kind { color: var(--brand); }
@media (max-width: 720px) { .tech-row { display: grid; grid-template-columns: 1fr 1fr; } .tech-row .tech-card { padding-inline: 8px; gap: 8px; } .tech-row .tech-card b { font-size: 15px; } }

/* nine marks: label above, the row takes the full width */
.tech .wrap { display: block; }
.tech-label { max-width: none; margin-bottom: 14px; }
.tech-row .tech-card { padding: 8px 10px; gap: 8px; min-height: 58px; }
.tech-row .tech-card:first-child { border-inline-start: 0; }
.tech-row .tech-card b { font-size: 16px; letter-spacing: -.03em; }
.tech-card .mark { flex-shrink: 0; }
.mark-odoo { transform: scale(1.6); margin-inline: 6px; }
.tech-grid.five { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1280px) and (min-width: 1121px) { .tech-row .tech-card b { font-size: 14.5px; } }
@media (max-width: 1120px) { .tech-row .tech-card:first-child { border: 1px solid var(--line); } }
@media (max-width: 1120px) and (min-width: 721px) { .tech-grid.five { grid-template-columns: repeat(3, 1fr); } }

/* ---------- product detail pages (detail template) ---------- */
.detail-hero { background: var(--bg-alt); }
.tlayer ul.native li { direction: inherit; text-align: start; }
.pico { color: var(--brand); display: inline-flex; }
.detail-body { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; padding-top: 40px; }
.toc { position: sticky; top: 110px; padding-top: 72px; }
.toc-in { border-top: 1px solid var(--line); padding-top: 18px; }
.toc p { font: 700 11px/1.4 var(--font); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; color: var(--text); }
:lang(ar) .toc p { letter-spacing: 0; font-size: 12.5px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.toc a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s, padding .2s; }
.toc a:hover { color: var(--text); padding-inline-start: 4px; }
.detail-main > section { padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.detail-main > section:last-child { border-bottom: 0; }
.detail-main .lead-text { max-width: 760px; }
.dcaps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 36px; }
.dcap { padding: 22px 0; border-top: 1px solid var(--line); transition: padding .25s; }
.dcap:hover { padding-inline-start: 10px; }
.dcap h3 { font-size: 20px; margin: 8px 0 6px; }
.dcap p { margin: 0; color: var(--muted); font-size: 15px; }
.dout { background: var(--bg-alt); margin-inline: -40px; padding-inline: 40px !important; border-radius: 6px; border-bottom: 0 !important; }
.outs { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.outs li { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 18px 22px; font-weight: 600; transition: transform .25s, border-color .25s; }
.outs li:hover { transform: translateX(6px); border-color: var(--brand); }
[dir="rtl"] .outs li:hover { transform: translateX(-6px); }
.meas { list-style: none; margin: 28px 0 0; padding: 0; }
.meas li { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); font-size: 18px; font-weight: 500; }
.meas li span { color: var(--brand-ink); font-size: 14px; }
.rels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.rel { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 20px; border-radius: 6px; background: var(--bg-alt); color: var(--text); text-decoration: none; font-weight: 600; transition: background .2s, transform .25s; }
.rel:hover { transform: translateY(-3px); background: var(--soft); }
.showcase .sc-head { max-width: 760px; }
.sc-badge { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.showcase .mod .idx { color: var(--accent); font-size: 12px; font-weight: 700; display: block; margin-bottom: 14px; }
.showcase .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
@media (max-width: 1120px) { .detail-body { grid-template-columns: 1fr; gap: 0; } .toc { display: none; } .rels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .dcaps, .rels { grid-template-columns: 1fr; } .dout { margin-inline: -16px; padding-inline: 16px !important; } .detail-main > section { padding: 52px 0; } }

/* ---------- contact page (two columns) ---------- */
.contact-hero { background: var(--bg-alt); padding: 64px 0 104px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-text h1 { font-size: clamp(42px, 5vw, 68px); letter-spacing: -.045em; line-height: 1.04; margin-bottom: 18px; }
:lang(ar) .contact-text h1 { letter-spacing: 0; line-height: 1.3; }
.contact-text .lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.team { margin-top: 40px; display: grid; gap: 10px; justify-items: start; }
.team .eyebrow { margin-bottom: 6px; }
.team-link { color: var(--text); text-decoration: none; font-size: 16px; }
.team-link:hover { color: var(--brand-ink); }
.team-link[href="#"] { display: none; }
.team-city { margin: 0; color: var(--muted); font-size: 14.5px; }
.next { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.next h2 { font-size: 22px; }
.inquiry { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 40px; box-shadow: 0 30px 70px -40px rgba(20,30,33,.25); }
.inquiry h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; margin: 0; }
.inquiry .card-note { color: var(--muted); font-size: 14px; margin: 4px 0 10px; }
.inquiry input, .inquiry select, .inquiry textarea { border-radius: 4px; background: var(--bg); }
.inquiry .btn { justify-self: start; }
@media (max-width: 1120px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 720px) { .inquiry { padding: 24px; } }

/* product status badges */
.pstatus { display: inline-block; font: 700 10.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; margin-bottom: 12px; vertical-align: middle; }
:lang(ar) .pstatus { letter-spacing: 0; font-size: 11.5px; }
.pstatus.pilot { background: rgba(0, 201, 214, .14); color: var(--brand-ink); }
.pstatus.validation { background: rgba(255, 170, 43, .18); color: var(--accent-ink); }
.pstatus.demand { background: rgba(140, 151, 174, .18); color: var(--muted); }
.mod .pstatus.pilot { color: #2BD5E0; } .mod .pstatus.validation { color: #FFB54A; } .mod .pstatus.demand { color: #A6B0C2; }
.eyebrow .pstatus { margin: 0 0 0 10px; }
.pnote { margin-top: 16px; padding: 14px 16px; border-inline-start: 3px solid var(--accent); background: var(--soft-accent); font-size: 14.5px; max-width: 560px; border-radius: 4px; }

/* ---------- photos ---------- */
.icard .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.icard { min-height: 420px; }
.ncard.feature .poster.has-photo { position: relative; isolation: isolate; background: #071019; }
.poster .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.poster.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,11,31,.15) 30%, rgba(5,11,31,.85)); }
.photo-band { background: var(--bg); padding-top: 56px; }
.photo-band img { display: block; width: 100%; height: clamp(240px, 34vw, 460px); object-fit: cover; object-position: center 30%; border-radius: 6px; }
.showcase .wrap { position: relative; }
.sc-photo { float: inline-end; width: min(38%, 420px); margin-inline-start: 40px; margin-bottom: 24px; }
.sc-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.showcase .mods4, .showcase .related { clear: both; }
@media (max-width: 720px) { .sc-photo { float: none; width: 100%; margin: 0 0 28px; } .icard { min-height: 360px; } }
.mods4:has(> :nth-child(5)) { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .mods4:has(> :nth-child(5)) { grid-template-columns: 1fr; } }

/* ---------- hero: pulsing logo and shining cards ---------- */
.hub .ring { position: absolute; inset: -9px; border: 1.5px solid rgba(0, 201, 214, .6); border-radius: 50%; animation: hub-ring 2.8s ease-out infinite; pointer-events: none; }
.hub .ring.r2 { animation-delay: 1.4s; border-color: rgba(255, 170, 43, .5); }
@keyframes hub-ring { 0% { opacity: .9; transform: scale(.88); } 80%, 100% { opacity: 0; transform: scale(1.35); } }
.hub img { animation: hub-beat 2.8s ease-in-out infinite; }
@keyframes hub-beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.14); } 24% { transform: scale(1); } 36% { transform: scale(1.08); } 50% { transform: scale(1); } }
.device-in, .panel, .node, .figures div { position: relative; overflow: hidden; }
.node { position: absolute; }
.panel::after, .node::after, .device-in::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .09), transparent 70%); transform: translateX(-110%); animation: panel-sheen 16s ease-in-out infinite; }
.node::after { background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, .22), transparent 75%); animation-duration: 14s; }
.node:nth-of-type(2)::after { animation-delay: .5s; } .node:nth-of-type(3)::after { animation-delay: 1s; } .node:nth-of-type(4)::after { animation-delay: 1.5s; }
.node:nth-of-type(5)::after { animation-delay: 2s; } .node:nth-of-type(6)::after { animation-delay: 2.5s; } .node:nth-of-type(7)::after { animation-delay: 3s; }
.panel + .panel::after { animation-delay: 1.2s; }
@keyframes panel-sheen { 0%, 82% { transform: translateX(-110%); } 96%, 100% { transform: translateX(110%); } }
@media (prefers-reduced-motion: reduce) { .hub .ring, .hub img, .panel::after, .node::after, .device-in::after { animation: none; } .hub .ring { display: none; } }
.inquiry .hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.inquiry .wa-after { justify-self: start; }
.inquiry .wa-after[hidden] { display: none; }

/* larger header logo */
.site-header .brand { gap: 12px; }
.site-header .brand img { width: 48px; height: 48px; }
.site-header .brand span { font-size: 26px; }
@media (max-width: 720px) { .site-header .brand { gap: 9px; } .site-header .brand img { width: 40px; height: 40px; } .site-header .brand span { font-size: 21px; } }
/* header mark: navy sound bars on light backgrounds, white bars on dark */
.site-header .logo-on-dark { display: none; }
[data-theme="dark"] .site-header .logo-on-light { display: none; }
[data-theme="dark"] .site-header .logo-on-dark { display: block; }
.inquiry { position: relative; }
/* mobile fixes: the "other technologies" grid and the contact columns must shrink with the screen */
.contact-grid > * { min-width: 0; }
.contact-text h1 { overflow-wrap: anywhere; }
@media (max-width: 1120px) { .tech-grid.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .tech-grid.five { grid-template-columns: 1fr 1fr; } .tech-grid .tech-card { padding: 10px; gap: 8px; } .tech-grid .tech-card b { font-size: 14px; white-space: normal; } }
@media (max-width: 1120px) { .dout { margin-inline: 0; padding-inline: 24px !important; } }
.icards .icard { min-height: 380px; }
/* news poster: logo pinned to the top-left corner in every language, away from the people in the photo */
.ncard.feature .poster > img:not(.bg) { position: absolute; top: 14px; left: 14px; right: auto; margin: 0; width: 34px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }
.ncard.feature .poster strong { margin-top: auto; }
