:root {
  --bg: #041018;
  --bg2: #07202c;
  --cyan: #2ec8e8;
  --teal: #0d9b7a;
  --lime: #8fd14f;
  --ink: #e8f6fb;
  --muted: #9cb8c4;
  --card: rgba(10, 36, 48, 0.62);
  --line: rgba(46, 200, 232, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); font-family: Outfit, system-ui, sans-serif; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

#fluid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100%;
}
.noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor, .cursor-dot {
  position: fixed; z-index: 80; pointer-events: none; border-radius: 50%;
  mix-blend-mode: screen; transition: transform .15s ease;
}
.cursor { width: 42px; height: 42px; border: 1px solid var(--cyan); left: -21px; top: -21px; }
.cursor-dot { width: 6px; height: 6px; background: var(--cyan); left: -3px; top: -3px; }

.loader {
  position: fixed; inset: 0; z-index: 100; background: #02080c;
  display: grid; place-items: center; gap: 14px; align-content: center;
  transition: opacity .7s ease, visibility .7s;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader img { width: 78px; animation: pulse 1.4s ease-in-out infinite; }
.loader p { letter-spacing: .28em; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.loader-bar { width: 160px; height: 2px; background: #133; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--cyan)); animation: load 1.6s ease forwards; }
.loader-drop {
  width: 18px; height: 24px; background: var(--cyan);
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  position: absolute; top: 18%; animation: drop 1.8s ease-in infinite;
  filter: drop-shadow(0 0 12px var(--cyan));
}
@keyframes load { to { width: 100%; } }
@keyframes pulse { 50% { transform: scale(1.06); filter: drop-shadow(0 0 16px var(--cyan)); } }
@keyframes drop { 0% { transform: translateY(-20px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(40vh); opacity: 0; } }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 36px; backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(4,16,24,.85), transparent);
  border-bottom: 1px solid transparent;
  transition: background .3s, border .3s;
}
.nav.scrolled { background: rgba(4,16,24,.88); border-bottom-color: var(--line); }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: Syne, sans-serif; font-weight: 800; letter-spacing: .04em; }
.nav-brand img { width: 42px; height: 42px; border-radius: 10px; }
.nav-brand span span { display: block; font-size: 10px; letter-spacing: .22em; color: var(--cyan); font-weight: 600; }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  border: 1px solid var(--cyan); color: var(--cyan); padding: 8px 16px; border-radius: 999px; font-size: 13px;
}
.nav-cta:hover { background: var(--cyan); color: #031016; }
.nav-burger { display: none; background: none; border: 0; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 6px; }
.nav-burger span { display: block; height: 2px; background: #fff; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: rgba(4,16,24,.96);
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 22px;
  font-size: 28px; font-family: Syne, sans-serif;
}
.mobile-menu.open { display: flex; }

.hero { position: relative; z-index: 2; min-height: 100vh; display: grid; place-items: end start; padding: 140px 8vw 80px; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: saturate(1.15) contrast(1.05); opacity: .45;
  animation: ken 22s ease-in-out infinite alternate;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,16,24,.25) 0%, rgba(4,16,24,.55) 50%, var(--bg) 100%);
}
@keyframes ken { to { transform: scale(1.08); } }
.hero-content { position: relative; max-width: 920px; }
.eyebrow {
  color: var(--cyan); letter-spacing: .28em; text-transform: uppercase; font-size: 12px; margin-bottom: 16px;
}
h1, h2 { font-family: Syne, sans-serif; font-weight: 800; letter-spacing: -.03em; }
h1 { font-size: clamp(40px, 7vw, 86px); line-height: .95; }
h1 em { font-style: italic; background: linear-gradient(90deg, var(--cyan), var(--lime)); -webkit-background-clip: text; color: transparent; }
h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 18px; }
.lead { max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.6; margin: 22px 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; display: inline-flex; }
.btn-primary { background: linear-gradient(90deg, var(--teal), var(--cyan)); color: #031016; font-weight: 600; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn:hover { transform: translateY(-2px); }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; }
.hero-stats strong { display: block; font-size: 28px; font-family: Syne, sans-serif; }
.hero-stats span { color: var(--muted); font-size: 13px; }
.scroll-hint {
  position: absolute; right: 8vw; bottom: 40px; writing-mode: vertical-rl;
  letter-spacing: .3em; font-size: 11px; color: var(--muted);
}

.marquee { position: relative; z-index: 2; border-block: 1px solid var(--line); overflow: hidden; padding: 16px 0; background: rgba(0,20,28,.4); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 28s linear infinite; font-family: Syne, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
@keyframes slide { to { transform: translateX(-50%); } }

section { position: relative; z-index: 2; padding: 100px 0; }
.container { width: min(1180px, 90vw); margin: 0 auto; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about p { color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.checks { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.checks li::before { content: "▹ "; color: var(--cyan); }
.about-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.about-card img { width: 100%; height: 260px; object-fit: cover; }
.about-meta { padding: 22px; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.about-meta strong { color: var(--ink); margin-right: 8px; }

.use-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.use-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  min-height: 380px; transform-style: preserve-3d; transition: border .35s, box-shadow .35s;
}
.use-card:hover { border-color: var(--cyan); box-shadow: 0 24px 60px rgba(46,200,232,.16); }
.use-media { position: relative; height: 210px; overflow: hidden; }
.use-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, opacity .4s; }
.use-media .use-prod {
  position: absolute; inset: 0; object-fit: contain; background: rgba(4,18,28,.55);
  opacity: 0; transform: scale(1.08);
}
.use-card:hover .use-media > img:first-child { transform: scale(1.12); }
.use-card:hover .use-prod { opacity: 1; transform: scale(1); }
.use-body { padding: 20px 18px 22px; }
.icon { font-size: 22px; color: var(--cyan); }
.use-body h3 { margin: 8px 0 8px; }
.use-body p { color: var(--muted); font-size: 14px; line-height: 1.55; }

.runway { margin-bottom: 70px; overflow: hidden; }
.runway-head { margin-bottom: 28px; }
.runway-stage {
  perspective: 1400px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.runway-row {
  display: flex; gap: 18px; width: max-content;
  animation: pass 42s linear infinite;
  transform: rotateX(12deg) rotateZ(-2deg);
  padding: 18px 0 28px;
}
.runway-row.reverse { animation-direction: reverse; animation-duration: 48s; transform: rotateX(12deg) rotateZ(2deg); }
.runway-stage:hover .runway-row { animation-play-state: paused; }
@keyframes pass { to { transform: rotateX(12deg) rotateZ(-2deg) translateX(-50%); } }
.runway-row.reverse { }
@keyframes passB { to { transform: rotateX(12deg) rotateZ(2deg) translateX(-50%); } }
.runway-row.reverse { animation-name: passB; }

.run-card {
  width: 280px; height: 200px; flex: 0 0 auto; margin: 0;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  position: relative; cursor: pointer; background: #071820;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition: transform .35s, box-shadow .35s;
}
.run-card:hover { transform: translateY(-10px) scale(1.04); box-shadow: 0 24px 50px rgba(46,200,232,.2); }
.run-card img { width: 100%; height: 100%; object-fit: cover; }
.run-card span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px;
  background: linear-gradient(transparent, rgba(2,10,16,.9)); font-size: 13px;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 20px; }
.filters button {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
}
.filters button.on { background: linear-gradient(90deg, var(--teal), var(--cyan)); color: #031016; border-color: transparent; }

.folio {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 12px;
}
.folio-item {
  position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line);
  cursor: pointer; margin: 0;
}
.folio-item.tall { grid-row: span 2; }
.folio-item.hide { display: none; }
.folio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; background: #0a2230; }
.folio-item:hover img { transform: scale(1.08) rotate(.4deg); }
.folio-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 12px;
  background: linear-gradient(transparent, rgba(2,10,16,.88)); font-size: 12px;
}

.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(2,8,12,.88);
  display: grid; place-items: center; backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 980px); max-height: 78vh; border-radius: 16px; box-shadow: 0 30px 80px #000; }
.lightbox p { margin-top: 12px; color: var(--cyan); letter-spacing: .08em; }
.lb-close {
  position: absolute; top: 22px; right: 28px; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer;
}

.gallery {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px;
}
.g-item { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); }
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; background: #0a2230; }
.g-item:hover img { transform: scale(1.08); }
.g-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 12px 14px;
  background: linear-gradient(transparent, rgba(2,10,16,.85)); font-size: 13px;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tags span {
  border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: 12px; color: var(--muted);
}

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.steps span { display: block; font-family: Syne, sans-serif; font-size: 36px; color: var(--cyan); opacity: .7; }
.steps p { color: var(--muted); margin-top: 8px; }

.brand-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 28px; }
.brand {
  border: 1px solid var(--line); border-radius: 16px; padding: 22px 8px; text-align: center;
  font-family: Syne, sans-serif; letter-spacing: .06em; background: var(--card);
}

.contact-list { display: grid; gap: 10px; margin: 20px 0; }
.contact-list a { color: var(--cyan); }
.hours { color: var(--muted); font-size: 14px; }
.form {
  display: grid; gap: 12px; background: var(--card); border: 1px solid var(--line);
  padding: 28px; border-radius: 22px;
}
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.form input, .form select, .form textarea {
  background: rgba(2,10,16,.55); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 1px solid var(--cyan); }

.lang { display: flex; gap: 4px; }
.lang button {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  padding: 4px 8px; border-radius: 8px; cursor: pointer; font-size: 11px;
}
.lang button.on { color: #031016; background: var(--cyan); border-color: transparent; }
html[dir="rtl"] { font-family: "Noto Sans Arabic", Outfit, sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2 { font-family: "Noto Sans Arabic", Syne, sans-serif; letter-spacing: 0; }
html[dir="rtl"] .scroll-hint { right: auto; left: 8vw; }

.wizard, .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.wizard { align-items: start; }
.wizard fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--card); display: grid; gap: 8px; }
.wizard legend { padding: 0 8px; color: var(--cyan); }
.wizard label { display: flex; gap: 8px; color: var(--muted); }
.cardx { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; min-height: 140px; }
.cardx p, .cardx cite { color: var(--muted); margin-top: 8px; line-height: 1.55; }
.cardx h3 { margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills span { border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; }
.ba-frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.ba-frame img { width: 100%; max-height: 420px; object-fit: cover; }
.ba-l, .ba-r { position: absolute; bottom: 14px; background: rgba(2,10,16,.7); padding: 6px 12px; border-radius: 999px; font-size: 12px; }
.ba-l { left: 14px; } .ba-r { right: 14px; }
details { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; background: var(--card); }
details p { color: var(--muted); margin-top: 10px; }
.map { width: 100%; height: 220px; border: 0; border-radius: 16px; margin-top: 12px; filter: invert(.9) hue-rotate(160deg); }
.wa-float {
  position: fixed; z-index: 70; right: 22px; bottom: 22px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #031016; display: grid; place-items: center;
  font-weight: 800; box-shadow: 0 10px 30px rgba(37,211,102,.4);
}
html[dir="rtl"] .wa-float { right: auto; left: 22px; }

.footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .nav-links { display: none; }
}
@media (max-width: 960px) {
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .split, .use-grid, .steps, .brand-row, .wizard, .grid3, .folio { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .g-item.tall, .folio-item.tall { grid-row: span 1; }
  .cursor, .cursor-dot { display: none; }
}
@media (max-width: 620px) {
  .split, .use-grid, .steps, .brand-row, .footer-row, .wizard, .grid3, .folio { grid-template-columns: 1fr; }
  .hero { padding: 120px 6vw 60px; }
  .hero-stats { flex-direction: column; gap: 12px; }
}
