:root {
  --bg: #050f0a;
  --bg-2: #081610;
  --surface: #0c1d14;
  --surface-2: #10261a;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #ecf4ef;
  --muted: #9ab2a4;
  --green: #14a862;
  --green-deep: #0b5a35;
  --gold: #d6aa4c;
  --gold-light: #f3d985;
  --light: #f4f6f1;
  --ink: #0b1d13;
  --ink-muted: #4d6357;
  --radius: 22px;
  --max: 1240px;
  --font: "Sora", "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --grad-gold: linear-gradient(120deg, #b8862f 0%, #f3d985 45%, #c99a3c 100%);
  --grad-brand: linear-gradient(120deg, #0b5a35 0%, #14a862 45%, #d6aa4c 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--gold);
  box-shadow: 12px 0 0 -1px rgba(214, 170, 76, .5), 22px 0 0 -2px rgba(214, 170, 76, .25);
  margin-inline-end: 22px;
}
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
  cursor: pointer;
  border: 0;
  font-family: inherit;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--grad-gold); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(214, 170, 76, .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(214, 170, 76, .7); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 15, 10, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand-name { font-weight: 700; letter-spacing: .04em; font-size: 17px; line-height: 1.1; }
.brand-name small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: .02em; }
[lang="ar"] { font-family: "Cairo", system-ui, sans-serif; letter-spacing: 0; }
.brand-name small[lang="ar"] { font-size: 13px; font-weight: 600; text-align: start; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { padding: 11px 22px; font-size: 14px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-size: 14px; font-weight: 600;
  transition: background .2s ease, border-color .2s ease;
}
.lang-switch:hover { background: rgba(255, 255, 255, .1); border-color: rgba(214, 170, 76, .5); }
.lang-switch svg { width: 16px; height: 16px; color: var(--gold); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .25s ease, background .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 40%, rgba(20, 168, 98, .28), transparent 70%),
    radial-gradient(40% 40% at 90% 75%, rgba(214, 170, 76, .18), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(11, 90, 53, .35), transparent 70%),
    var(--bg);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 70% at 60% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 45%, #000 20%, transparent 75%);
  opacity: .6;
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 600;
  margin: 22px 0 26px;
}
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 560px; margin: 0 0 38px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-mark {
  width: min(420px, 100%);
  aspect-ratio: 1;
  border-radius: 32px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01)),
    rgba(8, 22, 16, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 40px 120px -40px rgba(20, 168, 98, .45);
}
.hero-mark img { width: 68%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); animation: float 7s ease-in-out infinite; }
.hero-mark .corner {
  position: absolute; width: 22px; height: 22px; border: 2px solid var(--gold); opacity: .8;
}
.corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.corner.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.corner.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.hero-chip {
  position: absolute;
  font-family: var(--mono);
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(5, 15, 10, .85);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.hero-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(20, 168, 98, .2); }
.hero-chip.c1 { top: 8%; left: -6%; }
.hero-chip.c2 { bottom: 10%; right: -4%; }
.hero-chip.c2 i { background: var(--gold); box-shadow: 0 0 0 4px rgba(214, 170, 76, .2); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  border-top: 1px solid var(--line);
}
.hero-stats div { padding: 22px 0 0; padding-inline-end: 20px; }
.hero-stats strong { display: block; font-size: 15px; font-weight: 600; }
.hero-stats span { font-size: 13px; color: var(--muted); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Ticker ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 20px 0;
}
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 28px;
  display: inline-flex; align-items: center; gap: 28px;
}
.ticker-track span::after { content: ""; width: 7px; height: 7px; background: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; scroll-margin-top: 76px; }
.section { padding: 130px 0; }
.section-head { max-width: 820px; margin: 0 auto 70px; text-align: center; }
.section-head h2, .about h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -.03em;
  font-weight: 600;
  margin: 18px 0 22px;
}
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* About (light) */
.about { background: var(--light); color: var(--ink); }
.about .eyebrow { color: var(--green-deep); }
.about .eyebrow::before { background: var(--green-deep); box-shadow: 12px 0 0 -1px rgba(11, 90, 53, .5), 22px 0 0 -2px rgba(11, 90, 53, .25); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.about h2 { margin-top: 18px; }
.about p { color: var(--ink-muted); font-size: 17px; }
.about p strong { color: var(--ink); font-weight: 600; }
.pillars { display: grid; gap: 14px; margin-top: 8px; }
.pillar {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11, 29, 19, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(11, 29, 19, .35); }
.pillar .num { font-family: var(--mono); font-size: 13px; color: var(--gold); font-weight: 500; padding-top: 3px; }
.pillar h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.pillar p { margin: 0; font-size: 15px; }

/* Services */
.services { background: var(--bg); }
.band {
  background: var(--grad-brand);
  padding: 100px 0 180px;
  position: relative;
  overflow: hidden;
}
.band::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}
.band .section-head { margin-bottom: 0; position: relative; z-index: 1; }
.band .eyebrow { color: #fff; }
.band .eyebrow::before { background: #fff; box-shadow: 12px 0 0 -1px rgba(255, 255, 255, .5), 22px 0 0 -2px rgba(255, 255, 255, .25); }
.band p { color: rgba(255, 255, 255, .85); }

.service-list { margin-top: -110px; position: relative; z-index: 2; display: grid; gap: 22px; }
.service {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 50px;
  align-items: center;
  padding: 48px 52px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: border-color .3s ease, transform .3s ease;
}
.service:hover { border-color: rgba(214, 170, 76, .35); }
.service:nth-child(even) { grid-template-columns: 260px 1fr; }
.service:nth-child(even) .service-art { order: -1; }
.service .tag { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.service h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; font-weight: 600; margin: 10px 0 16px; line-height: 1.15; }
.service p { color: var(--muted); margin: 0 0 22px; font-size: 16px; }
.service p strong { color: var(--text); font-weight: 500; }
.bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bullets li {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .03);
}
.service-art {
  aspect-ratio: 1;
  border-radius: 20px;
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(20, 168, 98, .55), transparent 70%),
    radial-gradient(70% 70% at 80% 90%, rgba(214, 170, 76, .5), transparent 70%),
    #0a2216;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.service-art::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 26px 26px;
}
.service-art svg { width: 46%; height: 46%; position: relative; color: #fff; stroke-width: 1.4; transition: transform .5s ease; }
.service:hover .service-art svg { transform: scale(1.06); }

/* Security */
.security {
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(214, 170, 76, .14), transparent 70%),
    radial-gradient(50% 60% at 10% 80%, rgba(20, 168, 98, .18), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  position: relative;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.cert:hover { transform: translateY(-4px); border-color: rgba(214, 170, 76, .4); background: rgba(255, 255, 255, .04); }
.cert .badge {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(214, 170, 76, .12);
  border: 1px solid rgba(214, 170, 76, .35);
  color: var(--gold-light);
  margin-bottom: 22px;
}
.cert .badge svg { width: 28px; height: 28px; }
.cert .code { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.cert h3 { font-size: 20px; margin: 6px 0 10px; font-weight: 600; }
.cert p { margin: 0; color: var(--muted); font-size: 15px; }

.encrypt {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(140deg, rgba(20, 168, 98, .12), rgba(214, 170, 76, .08));
}
.encrypt h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 10px 0 14px; letter-spacing: -.02em; font-weight: 600; }
.encrypt p { color: var(--muted); margin: 0; }
.cipher {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.9;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  overflow: hidden;
  color: var(--muted);
}
.cipher .row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); }
.cipher .row:last-child { border-bottom: 0; }
.cipher .k { color: var(--muted); }
.cipher .v { color: var(--gold-light); text-align: right; }
.cipher .ok { color: var(--green); }
.cipher #cipher-stream { color: #6fd3a1; word-break: break-all; display: block; min-height: 1.9em; }

/* Process (light) */
.process { background: var(--light); color: var(--ink); }
.process .section-head p { color: var(--ink-muted); }
.process .eyebrow { color: var(--green-deep); }
.process .eyebrow::before { background: var(--green-deep); box-shadow: 12px 0 0 -1px rgba(11, 90, 53, .5), 22px 0 0 -2px rgba(11, 90, 53, .25); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 0; padding-inline-end: 28px; position: relative; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}
.step .bar { height: 3px; background: rgba(11, 29, 19, .1); margin-bottom: 26px; position: relative; overflow: hidden; border-radius: 3px; }
.step .bar::after { content: ""; position: absolute; inset: 0; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.step.in .bar::after { transform: scaleX(1); }
.step:nth-child(2) .bar::after { transition-delay: .2s; }
.step:nth-child(3) .bar::after { transition-delay: .4s; }
.step:nth-child(4) .bar::after { transition-delay: .6s; }
.step h3 { margin: 0 0 10px; font-size: 22px; font-weight: 600; }
.step p { margin: 0; color: var(--ink-muted); font-size: 15px; }

/* CTA */
.cta { padding: 140px 0; text-align: center; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 900px; height: 900px; max-width: 160vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(20, 168, 98, .25), transparent 60%);
  pointer-events: none;
}
.cta h2 { font-size: clamp(38px, 6vw, 80px); line-height: 1.03; letter-spacing: -.035em; font-weight: 600; margin: 20px auto 24px; max-width: 900px; position: relative; }
.cta p { color: var(--muted); max-width: 640px; margin: 0 auto 40px; font-size: 17px; position: relative; }

/* Contact */
.contact { padding: 0 0 130px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  transition: border-color .3s ease, transform .3s ease;
  min-width: 0;
}
.contact-card:hover { border-color: rgba(214, 170, 76, .45); transform: translateY(-3px); }
.contact-card .ico {
  flex: none;
  width: 62px; height: 62px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--grad-gold);
  color: var(--ink);
}
.contact-card .ico svg { width: 26px; height: 26px; }
.contact-card small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { display: block; font-size: clamp(17px, 2vw, 22px); font-weight: 600; margin-top: 4px; overflow-wrap: anywhere; }
.contact-card .go { margin-inline-start: auto; color: var(--gold); flex: none; }
.contact-card .go svg { width: 22px; height: 22px; transition: transform .25s ease; }
.contact-card:hover .go svg { transform: translate(3px, -3px); }

/* WhatsApp */
.contact-card--addr strong { font-size: clamp(16px, 1.7vw, 19px); }
.contact-card--wa .ico { background: #25d366; color: #fff; }
.contact-card--wa:hover { border-color: rgba(37, 211, 102, .55); }
.contact-card--wa .go { color: #25d366; }
.wa-fab {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 60;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .65);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 40px -10px rgba(37, 211, 102, .8); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.foot-links a { font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.copy { font-size: 13px; color: var(--muted); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* ---------- Arabic / RTL ---------- */
html[lang="ar"] {
  --font: "Cairo", "Sora", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cairo", ui-monospace, monospace;
}
html[lang="ar"] body { line-height: 1.85; }
/* Letter-spacing breaks Arabic letter joining */
html[lang="ar"] *, html[lang="ar"] *::before, html[lang="ar"] *::after { letter-spacing: 0 !important; }
html[lang="ar"] .hero h1 { font-size: clamp(38px, 6vw, 78px); line-height: 1.25; font-weight: 700; }
html[lang="ar"] .section-head h2, html[lang="ar"] .about h2, html[lang="ar"] .cta h2 { line-height: 1.3; font-weight: 700; }
html[lang="ar"] .service h3, html[lang="ar"] .encrypt h3 { line-height: 1.4; font-weight: 700; }
html[lang="ar"] .eyebrow, html[lang="ar"] .service .tag, html[lang="ar"] .contact-card small { font-family: var(--font); font-size: 14px; font-weight: 600; }
html[lang="ar"] .brand-name small[lang="en"] { font-family: "Sora", sans-serif; font-size: 10px; letter-spacing: .08em !important; }
[dir="rtl"] .eyebrow::before { box-shadow: -12px 0 0 -1px rgba(214, 170, 76, .5), -22px 0 0 -2px rgba(214, 170, 76, .25); }
[dir="rtl"] .about .eyebrow::before, [dir="rtl"] .process .eyebrow::before { box-shadow: -12px 0 0 -1px rgba(11, 90, 53, .5), -22px 0 0 -2px rgba(11, 90, 53, .25); }
[dir="rtl"] .band .eyebrow::before { box-shadow: -12px 0 0 -1px rgba(255, 255, 255, .5), -22px 0 0 -2px rgba(255, 255, 255, .25); }
[dir="rtl"] .btn svg, [dir="rtl"] .contact-card .go svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .contact-card:hover .go svg { transform: scaleX(-1) translate(3px, -3px); }
[dir="rtl"] .step .bar::after { transform-origin: right; }
[dir="rtl"] .brand-name small { text-align: right; }
[dir="rtl"] .contact-card strong { text-align: right; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 0; }
  .encrypt { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .menu-open .site-header { background: rgba(5, 15, 10, .97); }
  .menu-open .nav-links {
    display: flex;
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 24px;
    background: rgba(5, 15, 10, .97);
    border-bottom: 1px solid var(--line);
  }
  .menu-open .nav-links a { display: block; padding: 16px 8px; font-size: 18px; color: var(--text); border-bottom: 1px solid var(--line); }
  .service, .service:nth-child(even) { grid-template-columns: 1fr; padding: 34px 26px; gap: 28px; }
  .service:nth-child(even) .service-art { order: 0; }
  .service-art { max-width: 200px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 0 10px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 90px 0; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { margin-top: 56px; }
  .sec-grid, .steps { grid-template-columns: 1fr; }
  .step { padding-inline-end: 0; }
  .encrypt { padding: 28px 22px; }
  .cipher { font-size: 12px; padding: 18px; }
  .contact-card { padding: 24px 20px; gap: 16px; }
  .contact-card .ico { width: 52px; height: 52px; border-radius: 14px; }
  .contact-card .go { display: none; }
  .contact-card strong { font-size: 14px; }
  .band { padding: 80px 0 150px; }
  .cta { padding: 100px 0; }
  .brand-name small { display: none; }
  .brand img { height: 28px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 15px; white-space: nowrap; }
  .wa-fab { width: 54px; height: 54px; bottom: 18px; inset-inline-end: 16px; }
  .wa-fab svg { width: 28px; height: 28px; }
  .nav { gap: 12px; }
  .nav-actions { gap: 8px; }
  .lang-switch { padding: 0 12px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
