/* ━━━ SPACEWALKER v3 — Premium Dark Aurora ━━━ */
:root {
  --void:        #04050D;
  --deep:        #080B18;
  --surface:     #0D1225;
  --surface-2:   #121833;
  --bd:          #1A2445;
  --blue-dim:    #1040A0;
  --blue-core:   #2060E0;
  --blue-bright: #4488FF;
  --blue-mist:   #7AAAFF;
  --purple:      #6644CC;
  --teal:        #00C8A0;
  --white:       #F0F4FF;
  --white-dim:   #8899BB;

  --grad-blue: linear-gradient(135deg, #2060E0 0%, #6644CC 100%);
  --grad-bg:   radial-gradient(ellipse at 50% 30%, #0D1A3A 0%, #04050D 70%);

  --font-display: "Space Grotesk", "Syne", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", "Courier New", monospace;

  --glow-blue: 0 0 32px rgba(68,136,255,0.45);
  --glow-soft: 0 0 18px rgba(68,136,255,0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--void);
  color: var(--white);
  font-family: var(--font-display);
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}
body { cursor: none; }
a { color: inherit; text-decoration: none; cursor: none; }
button { font-family: inherit; cursor: none; border: none; background: transparent; color: inherit; }
::selection { background: var(--blue-core); color: var(--white); }

/* scrollbar */
::-webkit-scrollbar { width: 6px; background: var(--void); }
::-webkit-scrollbar-thumb { background: rgba(68,136,255,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(68,136,255,0.55); }

/* ━━━ CURSOR ━━━ */
.cursor-dot2 {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  background: var(--blue-bright);
  box-shadow: 0 0 12px var(--blue-bright), 0 0 22px var(--blue-bright);
  border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-dot2.hover { width: 16px; height: 16px; background: rgba(68,136,255,0.4); }
.cursor-cross {
  position: fixed; top: 0; left: 0; width: 30px; height: 30px;
  border: 1px solid rgba(122,170,255,0.4); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}
.cursor-cross.hover { width: 50px; height: 50px; border-color: var(--blue-bright); }

/* ━━━ NAVBAR ━━━ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(4,5,13,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(68,136,255,0.12);
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled { background: rgba(4,5,13,0.95); border-bottom-color: rgba(68,136,255,0.25); }
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-weight: 700;
  font-size: 14px; letter-spacing: 2px; color: var(--white);
}
.nav-logo .nl-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(68,136,255,0.5);
  background: radial-gradient(circle at 35% 30%, rgba(68,136,255,0.2), rgba(0,0,0,0.6));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(68,136,255,0.35), inset 0 0 12px rgba(68,136,255,0.2);
}
.nav-logo .nl-mark img { width: 105%; height: 105%; object-fit: contain; transform: translateY(-2px); }
.nav-logo .nl-name {
  font-family: var(--font-mono); font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--white);
  font-size: 14px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 1.5px;
  color: var(--white-dim); text-transform: uppercase;
  position: relative; transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: ""; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--blue-bright); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-launch {
  padding: 10px 18px;
  background: var(--grad-blue);
  border-radius: 100px;
  font-family: var(--font-mono); font-weight: 700;
  font-size: 11px; letter-spacing: 2px;
  color: var(--white);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 rgba(68,136,255,0);
}
.nav-launch:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(32,96,224,0.45), 0 0 30px rgba(68,136,255,0.4); }

/* ━━━ GENERAL BUTTON STYLES ━━━ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 8px;
  font-family: var(--font-mono); font-weight: 700;
  font-size: 12px; letter-spacing: 2px;
  transition: all 0.25s;
  color: var(--white);
}
.btn-primary {
  background: var(--grad-blue);
  box-shadow: 0 6px 20px rgba(32,96,224,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(32,96,224,0.5), 0 0 30px rgba(68,136,255,0.5); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--blue-bright);
  color: var(--blue-bright);
}
.btn-ghost:hover { background: rgba(68,136,255,0.1); box-shadow: var(--glow-soft); color: var(--white); }

/* ━━━ HERO BELOW STAGE ━━━ */
.hero-below {
  position: relative;
  padding: 60px 32px 100px;
  background: var(--void);
  text-align: center;
  overflow: hidden;
}
.hero-below::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(68,136,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-below-inner {
  position: relative; z-index: 1;
  max-width: 920px; margin: 0 auto;
}
.hero-below .hero-tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: 5px;
  color: var(--blue-bright);
  margin-bottom: 18px;
}
.hero-below .hero-tag .caret {
  display: inline-block; width: 7px; height: 14px;
  background: var(--blue-bright); vertical-align: -2px;
  margin-left: 3px;
  animation: blink 1s steps(2) infinite;
}
.hero-below .hero-h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 8vw, 112px);
  letter-spacing: -3px;
  line-height: 0.95;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--blue-bright) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 22px;
}
.hero-below .hero-lead {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--white-dim);
  max-width: 620px; margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-below .hero-ctas {
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
[dir="rtl"] .hero-below .hero-tag .caret { margin-left: 0; margin-right: 3px; }

/* ━━━ LANG SWITCH ━━━ */
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: inline-flex; gap: 2px;
  padding: 3px;
  border: 1px solid var(--bd);
  border-radius: 100px;
  background: rgba(13,18,37,0.6);
}
.lang-btn {
  padding: 6px 10px;
  border-radius: 100px;
  font-family: var(--font-mono); font-weight: 700;
  font-size: 10px; letter-spacing: 1px;
  color: var(--white-dim);
  transition: all 0.2s;
}
.lang-btn:hover { color: var(--white); }
.lang-btn.active { background: var(--grad-blue); color: var(--white); }

/* ━━━ STAGE (sticky scroll-driven scene) ━━━ */
.stage-wrap { position: relative; height: 360vh; background: var(--void); }
.stage {
  position: sticky; top: 0;
  width: 100%; height: 100vh;
  overflow: hidden;
  background: var(--grad-bg);
}
.stage canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; }
.stage .tube-layer, .stage .card-layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.stage .tube-layer { z-index: 2; }
.stage .tube-layer, .stage .card-layer { width: 100%; height: 100%; }

/* central S mark */
.stage-logo {
  position: absolute;
  left: 50%; top: 42%;
  z-index: 4;
  pointer-events: none;
  transform: translate(-50%, -50%);
  user-select: none;
  filter: drop-shadow(0 0 28px rgba(68,136,255,0.55));
}
.stage-logo-circle {
  width: clamp(120px, 12vw, 170px);
  height: clamp(120px, 12vw, 170px);
  border-radius: 50%;
  border: 1.5px solid rgba(68,136,255,0.6);
  background:
    radial-gradient(circle at 35% 30%, rgba(68,136,255,0.18) 0%, rgba(13,18,37,0.6) 60%, rgba(4,5,13,0.95) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    inset 0 0 26px rgba(68,136,255,0.3),
    0 0 36px rgba(68,136,255,0.55),
    0 0 80px rgba(32,96,224,0.3);
  position: relative;
}
.stage-logo-circle::before {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  border: 1px dashed rgba(68,136,255,0.25);
  pointer-events: none;
}
.stage-logo-circle img {
  width: 88%; height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(68,136,255,0.5));
}
.stage-logo-halo {
  position: absolute;
  left: 50%; top: 42%;
  width: clamp(220px, 22vw, 320px);
  height: clamp(220px, 22vw, 320px);
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(68,136,255,0.4) 0%, rgba(32,96,224,0.12) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(18px);
  animation: halo-pulse 4s ease-in-out infinite;
}
@keyframes halo-pulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%,-50%) scale(1.12); opacity: 1; }
}
.stage-logo-rings {
  position: absolute;
  left: 50%; top: 42%;
  width: clamp(260px, 26vw, 380px);
  height: clamp(260px, 26vw, 380px);
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}
.stage-logo-rings span {
  position: absolute; inset: 0;
  border: 1px solid rgba(68,136,255,0.22);
  border-radius: 50%;
  animation: ring-spin 18s linear infinite;
}
.stage-logo-rings span:nth-child(2) {
  inset: 14%;
  border-style: dashed;
  border-color: rgba(122,170,255,0.28);
  animation-duration: 26s;
  animation-direction: reverse;
}
.stage-logo-rings span:nth-child(3) {
  inset: 30%;
  border-color: rgba(102,68,204,0.18);
  animation-duration: 42s;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* hero text below the logo */
.hero-text {
  position: absolute;
  left: 0; right: 0;
  bottom: 8vh;
  z-index: 5;
  text-align: center;
  pointer-events: none;
}
.hero-text .hero-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -2px;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 14px;
}
.hero-text .hero-h1 .grad {
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text .hero-tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: 5px;
  color: var(--blue-bright);
  margin-bottom: 28px;
}
.hero-text .hero-tag .caret {
  display: inline-block; width: 8px; height: 16px;
  background: var(--blue-bright); vertical-align: -2px;
  margin-left: 3px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-text .hero-ctas { display: inline-flex; gap: 14px; pointer-events: auto; }

/* HUD bits */
.phase-pill {
  position: absolute; top: 96px; left: 50%; transform: translateX(-50%);
  z-index: 6;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid rgba(68,136,255,0.4);
  background: rgba(4,5,13,0.7); backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: var(--white);
}
.phase-pill .pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 10px var(--blue-bright); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; transform: scale(0.6); } }

.hud, .hud-r {
  position: absolute; top: 96px; z-index: 6;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,0.45);
  display: flex; flex-direction: column; gap: 4px;
}
.hud { left: 24px; }
.hud-r { right: 24px; text-align: right; }
.hud .hud-val, .hud-r .hud-val { color: var(--blue-bright); }

.scroll-hint-2 {
  position: absolute; right: 24px; bottom: 24px; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,0.55);
}
.scroll-hint-2 .ln { width: 40px; height: 1px; background: var(--blue-bright); animation: ln 1.4s linear infinite; }
@keyframes ln { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 50.001% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* ━━━ FLOATING SERVICE CARDS ━━━ */
.fcard {
  position: absolute;
  width: 210px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13,18,37,0.92) 0%, rgba(8,11,24,0.95) 100%);
  color: var(--white);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 0.5px;
  pointer-events: auto;
  border: 1px solid var(--bd);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.65),
    0 0 0 1px rgba(68,136,255,0.05),
    inset 0 -2px 0 rgba(0,0,0,0.4);
  transform-origin: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.fcard:hover {
  border-color: var(--blue-bright);
  box-shadow:
    0 0 0 1px var(--blue-bright),
    0 0 24px rgba(68,136,255,0.45),
    0 18px 40px rgba(0,0,0,0.75);
}
.fcard .ico {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 9px;
  background: rgba(68,136,255,0.08);
  border: 1px solid rgba(68,136,255,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-bright);
}
.fcard .ico svg { width: 18px; height: 18px; }
.fcard .lbl { flex: 1; line-height: 1.2; font-weight: 600; }
.fcard .lbl small {
  display: block; font-family: var(--font-mono); font-weight: 400;
  font-size: 9px; letter-spacing: 1.5px; color: var(--white-dim); margin-top: 3px;
}

.fcard .node {
  position: absolute;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 12px var(--blue-bright), 0 0 22px var(--blue-bright);
  animation: nodepulse 1.8s ease-in-out infinite;
}
@keyframes nodepulse { 50% { transform: scale(1.4); opacity: 0.6; } }

/* tube layer */
.tube { fill: none; stroke: #0D1E3A; stroke-width: 6; stroke-linecap: round; }
.tube-flow { fill: none; stroke: var(--blue-bright); stroke-width: 1.8; stroke-linecap: round; opacity: 0.9; filter: drop-shadow(0 0 4px var(--blue-bright)); }

/* ━━━ OUR WORK (live previews) ━━━ */
.work {
  position: relative;
  padding: 140px 32px 100px;
  background: var(--grad-bg);
}
.section-eyebrow {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 12px; letter-spacing: 4px;
  color: var(--blue-bright);
  margin-bottom: 12px;
}
.section-h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.05;
}
.section-sub {
  font-family: var(--font-display);
  font-size: 16px; color: var(--white-dim);
  max-width: 560px;
  line-height: 1.6;
}
.work-inner { max-width: 1320px; margin: 0 auto; }
.work-head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
  margin-bottom: 64px;
}
.work-meta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--white-dim);
  text-align: right; line-height: 1.8;
}
.work-meta b { color: var(--white); font-weight: 700; }

.work-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.work-card {
  position: relative;
  border-radius: 18px;
  background: var(--deep);
  border: 1px solid var(--bd);
  padding: 24px;
  perspective: 1400px;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  overflow: hidden;
}
.work-card:hover {
  border-color: rgba(68,136,255,0.4);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 50px rgba(68,136,255,0.2);
}
.work-card .frame {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 12px;
  background: var(--void);
  overflow: hidden;
  border: 1px solid var(--bd);
  transform-style: preserve-3d;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.5s ease;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.65),
    0 0 60px rgba(32,96,224,0.18);
}
.work-card.flip-right .frame { transform: rotateY(6deg) rotateX(4deg); }
.work-card:hover .frame { transform: rotateY(0) rotateX(0); }
.work-card .browser-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #11172E, #0A0F22);
  border-bottom: 1px solid var(--bd);
}
.browser-bar .traffic { display: flex; gap: 6px; }
.browser-bar .traffic span {
  width: 10px; height: 10px; border-radius: 50%;
}
.browser-bar .traffic .r { background: #FF5F57; }
.browser-bar .traffic .y { background: #FEBC2E; }
.browser-bar .traffic .g { background: #28C840; }
.browser-bar .url {
  flex: 1;
  background: var(--void);
  border: 1px solid var(--bd);
  border-radius: 6px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-mist);
  display: flex; align-items: center; gap: 8px;
}
.browser-bar .url::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 6px var(--teal);
}
.work-card .preview {
  position: absolute; left: 0; right: 0;
  top: 40px; bottom: 0;
  overflow: hidden;
  background: #000;
}
.work-card .preview iframe {
  width: calc(100% / 0.55);
  height: calc(100% / 0.55);
  border: 0;
  transform-origin: 0 0;
  transform: scale(0.55);
  pointer-events: none;
  background: #000;
}
.work-card .preview .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 70%, rgba(4,5,13,0.4) 100%);
  pointer-events: none;
}
.work-card .ft {
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  margin-top: 22px;
}
.work-card .info h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 8px;
}
.work-card .info .blurb {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--white-dim); line-height: 1.6;
  letter-spacing: 0.5px;
  margin-bottom: 12px; max-width: 340px;
}
.work-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work-card .tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px;
  padding: 4px 9px;
  background: rgba(13,18,37,0.8);
  border: 1px solid var(--bd);
  border-radius: 4px;
  color: var(--blue-bright);
}
.work-card .visit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--grad-blue);
  border-radius: 8px;
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  letter-spacing: 1.5px; color: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.work-card .visit:hover { transform: translateY(-2px); box-shadow: var(--glow-blue); }

/* ━━━ MARKETPLACE ━━━ */
.market {
  position: relative; padding: 140px 32px 120px;
  background:
    linear-gradient(0deg, rgba(68,136,255,0.04) 0%, transparent 30%),
    var(--deep);
  overflow: hidden;
}
.market::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 80px, rgba(26,36,69,0.4) 80px, rgba(26,36,69,0.4) 81px);
  pointer-events: none;
  opacity: 0.6;
}
.market-inner { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; }

.m-head {
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 24px;
  margin-bottom: 40px;
}
.m-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -1.5px; line-height: 1;
  color: var(--white);
}
.m-title .slash { color: var(--blue-bright); }
.m-title .caret { display: inline-block; width: 12px; height: 36px; background: var(--blue-bright); vertical-align: -6px; margin-left: 6px; animation: blink 1s steps(2) infinite; box-shadow: 0 0 12px var(--blue-bright); }

.filters {
  display: flex; gap: 6px; padding: 4px;
  background: var(--surface);
  border: 1px solid var(--bd);
  border-radius: 100px;
}
.filter {
  padding: 8px 16px; border-radius: 100px;
  background: transparent; color: var(--white-dim);
  font-family: var(--font-mono); font-weight: 700;
  font-size: 11px; letter-spacing: 2px;
  transition: all 0.2s;
}
.filter.active { background: var(--grad-blue); color: var(--white); box-shadow: 0 4px 14px rgba(32,96,224,0.4); }
.filter:not(.active):hover { color: var(--white); background: rgba(68,136,255,0.08); }

/* icon row */
.iconrow {
  display: flex; gap: 16px; overflow-x: auto;
  padding: 24px 0 36px;
  margin-bottom: 24px;
  scrollbar-width: none;
}
.iconrow::-webkit-scrollbar { display: none; }
.itile {
  flex: 0 0 140px;
  height: 140px;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--bd);
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  box-shadow:
    inset 0 -6px 0 rgba(0,0,0,0.35),
    0 14px 30px rgba(0,0,0,0.55),
    0 0 0 1px rgba(68,136,255,0.04);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.itile:hover {
  transform: translateY(-6px);
  border-color: rgba(68,136,255,0.5);
  box-shadow:
    inset 0 -6px 0 rgba(0,0,0,0.4),
    0 20px 40px rgba(0,0,0,0.7),
    0 0 30px rgba(68,136,255,0.3);
}
.itile .ig {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--grad-blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 0 18px rgba(32,96,224,0.5);
}
.itile .ig svg { width: 26px; height: 26px; }
.itile .iname {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 11px; letter-spacing: 1.5px; color: var(--white);
}

/* product grid */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--deep) 100%);
  border: 1px solid var(--bd);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.pcard-head { display: flex; align-items: center; gap: 12px; }
.picon {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 11px;
  background: var(--grad-blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(32,96,224,0.4);
}
.picon svg { width: 22px; height: 22px; }
.pcard:hover {
  transform: translateY(-4px) scale(1.012);
  border-color: rgba(68,136,255,0.5);
  box-shadow: 0 24px 50px rgba(0,0,0,0.6), 0 0 30px rgba(68,136,255,0.25);
}
.pcard .pt { display: flex; justify-content: space-between; align-items: center; }
.pbadge {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 10px; letter-spacing: 1.5px;
  padding: 4px 10px; border-radius: 4px;
  color: var(--white);
}
.pbadge.sale { background: var(--blue-core); }
.pbadge.rent { background: var(--purple); }
.pbadge.free { background: var(--teal); color: #02131A; }
.pid { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; color: rgba(122,170,255,0.5); }

.pcard h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; letter-spacing: -0.5px; color: var(--white);
}
.pcat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: var(--blue-bright); }
.pdesc {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 12px; line-height: 1.6; color: var(--white-dim);
  min-height: 48px;
}
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 10px; letter-spacing: 1px;
  padding: 4px 9px; border-radius: 4px;
  background: var(--bd); color: var(--blue-bright);
}
.pft {
  display: flex; justify-content: flex-end; align-items: center;
  padding-top: 14px; margin-top: auto;
  border-top: 1px solid var(--bd);
}
.bacq {
  padding: 10px 18px;
  background: var(--grad-blue);
  border-radius: 8px;
  font-family: var(--font-mono); font-weight: 700;
  font-size: 11px; letter-spacing: 1.5px; color: var(--white);
  display: inline-flex; align-items: center; gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bacq:hover { transform: translateY(-2px); box-shadow: var(--glow-blue); }

/* ━━━ CONTACT INFO TILES ━━━ */
.contact-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 920px;
  margin: 56px auto 0;
}
.ci {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--bd);
  text-align: start;
  transition: all 0.2s;
}
.ci:hover {
  border-color: var(--blue-bright);
  background: rgba(68,136,255,0.05);
  transform: translateY(-3px);
  box-shadow: var(--glow-soft);
}
.ci-key {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 10px; letter-spacing: 2px; color: var(--blue-bright);
}
.ci-val {
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; color: var(--white);
}

/* ━━━ CONTACT ━━━ */
.contact {
  position: relative; padding: 140px 32px 80px;
  text-align: center;
  background: var(--grad-bg);
}
.contact .section-eyebrow { display: inline-block; margin: 0 auto 18px; }
.contact h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 7vw, 92px);
  letter-spacing: -2px;
  line-height: 0.95;
  margin-bottom: 22px;
  color: var(--white);
}
.contact h2 .grad {
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact p {
  font-family: var(--font-display);
  color: var(--white-dim); max-width: 560px; margin: 0 auto 40px;
  font-size: 16px; line-height: 1.7;
}
.cbtns { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* footer */
footer {
  border-top: 1px solid var(--bd);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: 1320px; margin: 80px auto 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; color: var(--white-dim);
}
footer .foot-logo { display: flex; align-items: center; gap: 10px; color: var(--white); }
footer .foot-logo .nl-mark { width: 32px; height: 32px; }
footer .fnav { display: flex; justify-content: center; gap: 24px; }
footer .fnav a:hover { color: var(--blue-bright); }
footer .fsoc { display: flex; gap: 10px; justify-content: end; align-items: center; }
footer .fsoc a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--bd);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
footer .fsoc a:hover { border-color: var(--blue-bright); background: rgba(68,136,255,0.08); color: var(--blue-bright); box-shadow: var(--glow-soft); }
footer .fsoc svg { width: 14px; height: 14px; fill: currentColor; }
footer .fsoc .ig-handle {
  margin-left: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 100px;
  border: 1px solid var(--bd);
  font-family: var(--font-mono); font-size: 11px; color: var(--white); letter-spacing: 1px;
  transition: all 0.2s;
  width: auto;
}
footer .fsoc .ig-handle:hover { border-color: var(--blue-bright); color: var(--blue-bright); background: rgba(68,136,255,0.06); }
footer .copy { grid-column: 1 / -1; text-align: center; padding-top: 12px; border-top: 1px dashed var(--bd); }

/* ━━━ RESPONSIVE ━━━ */
@media (max-width: 1024px) {
  .nav-links { gap: 18px; }
  .contact-info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .hud, .hud-r { display: none; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .fnav, footer .fsoc { justify-content: center; }
  .nav-launch span:last-child { display: none; }
}
@media (max-width: 560px) {
  .pgrid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .fcard { width: 160px; padding: 10px 12px; }
  .stage-wrap { height: 300vh; }
  .hero-below .hero-ctas { flex-direction: column; }
}

/* ━━━ RTL adjustments ━━━ */
[dir="rtl"] .hero-h1 { letter-spacing: 0; }
[dir="rtl"] .section-h2 { letter-spacing: 0; }
[dir="rtl"] .m-title { letter-spacing: 0; }
[dir="rtl"] .nav-logo { flex-direction: row; }
[dir="rtl"] body { font-family: "Tajawal", "Space Grotesk", sans-serif; }
