/* lab-builder-agy: nk.studio/impact design system + AITYPE identity (pure black #000, violet #7c3aed/#a78bfa, white #fff) */
@font-face{font-family:"DM Sans";font-weight:100 1000;font-style:normal;font-display:swap;src:url(fonts/dmsans-a.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"DM Sans";font-weight:100 1000;font-style:normal;font-display:swap;src:url(fonts/dmsans-b.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  --bg: #000000;
  --fg: #ffffff;
  --mu: rgba(255, 255, 255, 0.68);
  --body-c: rgba(255, 255, 255, 0.88);
  --acc: #a78bfa;
  --fill: #7c3aed;
  --teal: #6366f1;
  --line: rgba(167, 139, 250, 0.16);
  --panel: rgba(15, 11, 26, 0.72);
  --panel2: rgba(22, 16, 38, 0.82);
  --gut: clamp(20px, 3vw, 40px);
  --wrapw: min(1440px, calc(100vw - 2 * var(--gut)));
  --head: "Noto Kufi Arabic", "DM Sans", system-ui, sans-serif;
  --text: "Readex Pro", "Alexandria", "DM Sans", system-ui, sans-serif;
  --label: "Readex Pro", "Alexandria", "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --cta-underline-height: 2px;
}
html[lang="en"] {
  --head: "DM Sans", "Sora", system-ui, sans-serif;
  --text: "DM Sans", "Sora", system-ui, sans-serif;
  --label: "DM Sans", "Geist Mono", system-ui, sans-serif;
  --body: var(--text);
}
html[lang="ar"] {
  --body: var(--text);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; background: #000; scroll-padding-top: 96px; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.7 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { width: var(--wrapw); margin-inline: auto; position: relative; }
.mu { color: var(--acc); }
.w { display: inline-block; }
.small { font-size: 14px; color: var(--mu); line-height: 1.7; }
.center { text-align: center; margin-top: 18px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; }

/* top scroll progress bar */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fill), var(--acc), #fff);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 70;
}
html[dir="rtl"] .progress { transform-origin: 100% 50%; }

/* subtle ambient guide lines */
.guides { display: none; }

/* nk.studio rolling text effect (.nk-roll) */
.nk-roll {
  display: inline-grid;
  overflow: hidden;
  line-height: 1.35;
  vertical-align: middle;
}
.nk-roll > span {
  grid-area: 1 / 1;
  display: inline-block;
  transition: transform 0.45s var(--ease-soft), color 0.3s;
}
.nk-roll > span:last-child {
  transform: translateY(110%);
  color: var(--acc);
}
a:hover .nk-roll > span:first-child,
button:hover .nk-roll > span:first-child {
  transform: translateY(-110%);
}
a:hover .nk-roll > span:last-child,
button:hover .nk-roll > span:last-child {
  transform: translateY(0);
}

/* nk.studio 2px animated underline CTA (.nk-link) */
.nk-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  font: 500 clamp(16px, 1.15vw, 19px)/1.3 var(--label);
  color: #fff;
  cursor: pointer;
}
.nk-link::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: var(--cta-underline-height);
  background: rgba(255, 255, 255, 0.28);
}
.nk-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: var(--cta-underline-height);
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.45s var(--ease-soft);
}
.nk-link:hover::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  background: var(--fill);
  color: #fff;
  border: 1px solid rgba(196, 181, 253, 0.35);
  border-radius: 3px;
  font: 500 15px/1.2 var(--label);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: background-color 0.25s, border-color 0.25s, transform 0.2s var(--ease), box-shadow 0.25s;
}
.btn:hover {
  background: #8b5cf6;
  border-color: #c4b5fd;
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.55);
}
.btn:active { transform: scale(0.98); }
.btn.ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.24);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: #fff;
  box-shadow: none;
}
.btn.sm { min-height: 36px; padding: 0 16px; font-size: 13px; }
.lg-btn { min-height: 52px; padding: 0 30px; font-size: 16px; }
.arr { width: 15px; height: 15px; flex: none; transition: transform 0.3s var(--ease-soft); }
html[dir="rtl"] .arr { transform: scaleX(-1); }
.btn:hover .arr, .nk-link:hover .arr { transform: translateY(-2px) translateX(-2px) scaleX(-1); }
html[dir="ltr"] .btn:hover .arr, html[dir="ltr"] .nk-link:hover .arr { transform: translateY(-2px) translateX(2px); }

/* Header (nk.studio fixed 3-column layout) */
.topbar { display: none; }
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 75%, transparent 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.nav-in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 94px;
}
.logo { display: inline-flex; align-items: center; gap: 14px; line-height: 0; justify-self: start; }
.lg {
  display: block;
  width: 96px;
  height: 96px;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.22));
}
.lg-a { fill: #fff; }
.lg-star {
  fill: #fff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 22px rgba(226, 232, 240, 0.65));
}
.lg-orbit { fill: none; stroke: rgba(255, 255, 255, 0.45); stroke-width: 2.5; }
.lg-word { display: block; height: 33px; width: auto; color: #fff; }

.links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 38px);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  justify-self: center;
}
.links a { padding: 6px 4px; }
.nav-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang {
  font: 600 14px var(--label);
  color: var(--mu);
  padding: 4px 8px;
  transition: color 0.2s;
}
.lang:hover { color: #fff; }
.burger {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.mobile-menu { display: none; }

/* nk.studio Display Typography */
h1 {
  font: 500 clamp(44px, 6.8vw, 112px)/1.12 var(--head);
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: #fff;
}
html[lang="en"] h1 {
  font-size: clamp(48px, 7.6vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
h1 em {
  font-style: normal;
  color: var(--acc);
  display: inline-block;
  position: relative;
}
.bh { display: none; }
.nk-dot { color: var(--acc); }

h2 {
  font: 500 clamp(34px, 5vw, 84px)/1.14 var(--head);
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: #fff;
  max-width: 22ch;
  margin-inline: auto;
}
html[lang="en"] h2 {
  font-size: clamp(38px, 5.6vw, 94px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
h3 { font: 500 clamp(22px, 2vw, 32px)/1.3 var(--head); color: #fff; }

/* nk.studio Section Headers (Centered Monumental Editorial) */
.split {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: clamp(48px, 5.5vw, 88px);
}
.split > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 clamp(17px, 1.35vw, 22px)/1.4 var(--label);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
  transform: translateY(-10px);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}
html[lang="en"] .eb { text-transform: uppercase; letter-spacing: 0.09em; font-size: clamp(15px, 1.15vw, 18px); }
.eb::before {
  content: "/";
  color: var(--acc);
  font-weight: 700;
  font-size: 1.12em;
}
#hero .eb {
  font-size: clamp(19px, 1.55vw, 25px);
  margin-bottom: 14px;
  transform: translateY(-18px);
}
html[lang="en"] #hero .eb {
  font-size: clamp(16px, 1.25vw, 20px);
}
.side {
  max-width: 680px;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.75;
  color: var(--body-c);
  text-align: center;
  margin-inline: auto;
}

/* SECTION 1: nk.studio Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px var(--gut) 72px;
  overflow: hidden;
  background: transparent;
}
.hero-grid { display: none; }
/* Floating Hero Motion & Graphics around the Globe (.float + .flows) */
.flows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.flows path {
  fill: none;
  stroke-linecap: round;
}
.flows .flow-base {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.25;
}
.flows .flow-glow {
  stroke: rgba(196, 181, 253, 0.75);
  stroke-width: 5.5;
  stroke-dasharray: 0.22 0.78;
  filter: blur(4px);
  animation: flow 3.8s linear infinite;
}
.flows .flow-run {
  stroke: #ffffff;
  stroke-width: 2;
  stroke-dasharray: 0.22 0.78;
  filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 12px rgba(167, 139, 250, 0.9));
  animation: flow 3.8s linear infinite;
}
.flows .flow-end {
  fill: #ffffff;
  filter: drop-shadow(0 0 7px #ffffff) drop-shadow(0 0 12px rgba(167, 139, 250, 0.9));
}
@keyframes flow {
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}
.float {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(12, 10, 22, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55), 0 0 24px rgba(167, 139, 250, 0.14);
}
.chip svg { width: 15px; height: 15px; color: var(--acc); }
.chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 16px #a78bfa;
}
.chip-a { top: 21%; right: 20%; }
.chip-b { bottom: 25%; left: 19%; }
.chip-c { bottom: 23%; right: 19%; }
.chip-d { top: 24%; left: 20%; }

.card {
  position: absolute;
  width: clamp(230px, 20vw, 286px);
  padding: 15px 17px;
  border-radius: 14px;
  text-align: start;
  background: rgba(12, 10, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 28px rgba(167, 139, 250, 0.14);
}
.card-agent { top: 20%; left: 3.5%; }
.card-pr    { bottom: 15%; right: 3.5%; }
.card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--mu);
  margin-bottom: 8px;
}
.card-top b { color: #ffffff; font-weight: 500; }
.card-top small { margin-inline-start: auto; color: var(--acc); }
.card p { font-size: 13px; color: #ffffff; line-height: 1.5; }
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 18px #a78bfa;
  display: inline-block;
}
.caret {
  display: inline-block;
  width: 6px;
  height: 13px;
  background: #ffffff;
  vertical-align: -2px;
  margin-inline-start: 2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.pr-meta {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.pr-meta span {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--mu);
}
.pr-meta .ok {
  color: #ffffff;
  background: rgba(167, 139, 250, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.cursor {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  will-change: transform;
}
.cursor svg {
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}
.cursor span {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #ffffff;
  color: #050508;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.55);
}
.cur-a {
  top: 40%;
  right: 13%;
  animation: drift-a 11s ease-in-out infinite;
}
.cur-b {
  bottom: 34%;
  left: 14%;
  color: var(--acc);
  animation: drift-b 13s ease-in-out infinite;
}
.cur-b span {
  background: rgba(167, 139, 250, 0.24);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0); }
  35%      { transform: translate3d(-44px, -22px, 0); }
  70%      { transform: translate3d(-16px, 26px, 0); }
}
@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0); }
  40%      { transform: translate3d(52px, -28px, 0); }
  75%      { transform: translate3d(18px, 18px, 0); }
}
@media (max-width: 1120px) {
  .card-agent, .card-pr, .cursor { display: none; }
}
@media (max-width: 860px) {
  .chip-a { top: 15%; right: 6%; }
  .chip-d { top: 15%; left: 6%; }
  .chip-b { bottom: 13%; left: 6%; }
  .chip-c { bottom: 13%; right: 6%; }
}
.hero-in {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 2.5vw, 36px);
}
.lede {
  max-width: 670px;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.75;
  color: var(--body-c);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* SECTION 2: nk.studio Slash "/" Marquee Bar (.rail) */
.rail {
  padding: 36px var(--gut) 32px;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}
.rail-in {
  width: var(--wrapw);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.rail-slash, .slash { color: var(--acc); font-weight: 600; margin-inline-end: 6px; }
.rail-tag {
  font: 500 clamp(14px, 1.15vw, 17px)/1.4 var(--label);
  color: #ffffff;
  letter-spacing: 0.02em;
}
html[lang="en"] .rail-tag {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.rail-all-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  max-width: 1280px;
  margin-inline: auto;
}
.rail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.25s, background-color 0.25s, transform 0.25s;
}
.rail-pill:hover {
  border-color: var(--acc);
  background: rgba(167, 139, 250, 0.14);
  transform: translateY(-2px);
}
.rail-pill img { width: 17px; height: 17px; object-fit: contain; }
.logos {
  width: 100%;
  display: grid;
  gap: 14px;
  overflow: hidden;
  margin-top: 4px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mq { direction: ltr; overflow: hidden; }
.mq-track { display: flex; width: max-content; animation: mq 65s linear infinite; }
.mq.rev .mq-track { animation-direction: reverse; animation-duration: 78s; }
.mq-track > div { display: flex; gap: clamp(32px, 3.2vw, 56px); padding-inline-end: clamp(32px, 3.2vw, 56px); }
.logos span { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; white-space: nowrap; color: #fff; }
.logos img { width: 24px; height: 24px; }
img.invert { filter: invert(1); }
.logos:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.logos-note { font-size: 14px; white-space: nowrap; color: var(--mu); }
.logos-note a { color: #fff; border-bottom: 1px solid var(--acc); padding-bottom: 2px; transition: color 0.2s; }
.logos-note a:hover { color: var(--acc); }

/* Sections */
.sec {
  padding-block: clamp(96px, 10vw, 160px);
  position: relative;
  background: transparent;
}

/* ==========================================================================
   nk.studio/impact SIGNATURE: TALL PORTRAIT GLOW CARDS (.nk-grid & .nk-card)
   Exact aspect-[310/470] + multi-corner radial glow + sibling focus-dimming
   ========================================================================== */
.nk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  width: 100%;
}
.nk-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.nk-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  aspect-ratio: 310 / 430;
  padding: clamp(26px, 2.4vw, 40px) clamp(22px, 2vw, 32px);
  border-radius: 4px;
  background: rgba(16, 13, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: opacity 0.45s var(--ease-soft), filter 0.45s var(--ease-soft), transform 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft);
}
.nk-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--glow-op, 0.58);
  transition: opacity 0.45s var(--ease-soft);
  background:
    radial-gradient(ellipse var(--gx-w, 105%) var(--gx-h, 80%) at var(--gx, -6%) var(--gy, 106%), rgba(124, 58, 237, 0.48) 0%, rgba(167, 139, 250, 0.18) 44%, transparent 74%),
    radial-gradient(ellipse 65% 50% at var(--tx, 18%) var(--ty, 88%), rgba(99, 102, 241, 0.26) 0%, transparent 64%);
}
.nk-card[data-glow="bottom-left"]  { --gx: -6%;  --gy: 106%; --tx: 16%; --ty: 88%; }
.nk-card[data-glow="top-right"]    { --gx: 106%; --gy: -6%;  --tx: 84%; --ty: 20%; }
.nk-card[data-glow="bottom-right"] { --gx: 106%; --gy: 106%; --tx: 82%; --ty: 86%; }
.nk-card[data-glow="top-left"]     { --gx: -6%;  --gy: -6%;  --tx: 16%; --ty: 22%; }
.nk-card[data-glow="bottom-soft"]  { --gx: 50%;  --gy: 108%; --tx: 50%; --ty: 92%; --gx-w: 120%; }

.nk-card > * { position: relative; z-index: 1; }
.nk-card-top { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.nk-stat {
  font: 300 clamp(44px, 4.4vw, 68px)/1.05 var(--head);
  color: #fff;
  letter-spacing: -0.03em;
}
.nk-label {
  font: 600 clamp(17px, 1.35vw, 22px)/1.35 var(--head);
  color: #ffffff;
  letter-spacing: -0.01em;
}
html[lang="en"] .nk-label { font-size: clamp(18px, 1.4vw, 23px); line-height: 1.28; letter-spacing: -0.02em; }
.nk-card-feat {
  aspect-ratio: auto;
  min-height: 360px;
  justify-content: flex-start;
  gap: 24px;
  background: rgba(16, 13, 26, 0.82);
  border-color: rgba(255, 255, 255, 0.11);
}
.nk-card-feat .nk-desc {
  margin-top: auto;
  font-size: clamp(16px, 1.12vw, 18.5px);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.88);
}
.nk-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}
.nk-card-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(167, 139, 250, 0.28);
  font: 500 11.5px/1.2 var(--label);
  color: var(--acc);
}
.nk-card-badges img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.nk-desc {
  font: 400 clamp(15px, 1.1vw, 18px)/1.7 var(--text);
  color: var(--body-c);
  width: 100%;
}
.nk-desc small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--mu);
}

/* nk.studio Focus-Dimming on Hover! */
@media (min-width: 1024px) and (hover: hover) {
  .nk-grid:has(.nk-card:hover) .nk-card:not(:hover) {
    opacity: 0.38;
    filter: blur(1.5px);
  }
  .nk-card:hover {
    --glow-op: 1;
    border-color: rgba(167, 139, 250, 0.42);
    transform: translateY(-4px);
  }
}

/* Board (#board) — Real Interactive Power BI & Cyber Security Command Center */
.ve {
  display: grid;
  grid-template-columns: minmax(250px, 0.95fr) minmax(0, 2.5fr) minmax(270px, 1.1fr);
  gap: 20px;
  align-items: stretch;
}
.ve-p {
  background: rgba(13, 11, 22, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  padding: clamp(20px, 2vw, 30px);
  min-width: 0;
  font-size: 14px;
  color: var(--body-c);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}
.ve-p::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 65% at 50% 108%, rgba(124, 58, 237, 0.24), transparent 70%);
}
.ve-p > * { position: relative; z-index: 1; }
.ve-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.ve-side-head h5 { margin-bottom: 0; }
.ve-pulse-tag, .ve-cnt-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.16);
  border: 1px solid rgba(167, 139, 250, 0.36);
  color: #fff;
  font: 600 11px/1.2 var(--label);
}
.ve-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font: 500 12px/1 var(--label);
  color: var(--mu);
  flex-wrap: wrap;
}
.ve-dots { display: inline-flex; gap: 6px; }
.ve-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.ve-dots i:first-child { background: var(--acc); }
.ve-tabs {
  display: inline-flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.ve-tab {
  border: 0;
  background: transparent;
  color: var(--mu);
  font: 500 12px/1.2 var(--label);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.ve-tab.on {
  background: var(--fill);
  color: #fff;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.45);
}
.ve-live { display: inline-flex; align-items: center; gap: 6px; color: #10b981; font-size: 11px; font-weight: 600; }
.ve-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px #10b981; }
.ve-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.ve-health-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font: 600 11px/1.2 var(--label);
  white-space: nowrap;
}
.ve h5 { font: 500 18px/1.4 var(--head); color: #fff; margin-bottom: 16px; }
.ve-mid h6 { font: 500 clamp(20px, 1.7vw, 27px)/1.3 var(--head); color: #fff; }
.ve-sub { font-size: 13px; color: var(--acc); display: block; margin-top: 2px; }
.ve-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0 20px; }
.ve-stat-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px 16px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ve-stat-card small { display: block; font-size: 12.5px; color: var(--body-c); line-height: 1.4; }
.ve-stat-val { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ve-stat-card b { display: inline-block; font: 500 clamp(24px, 2.2vw, 36px)/1.1 var(--head); color: #fff; }
.ve-stat-val em { font-style: normal; font-size: 11px; color: #34d399; background: rgba(16, 185, 129, 0.12); padding: 2px 7px; border-radius: 999px; }
.ve-low { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; margin-top: auto; }
.ve-low small { font-size: 12.5px; color: var(--mu); }
.ve-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ve-chart-tag { font-size: 11px; color: #F2C811; background: rgba(242, 200, 17, 0.12); border: 1px solid rgba(242, 200, 17, 0.3); padding: 2px 8px; border-radius: 4px; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 175px; margin-top: 12px; }
.bc { display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; height: 100%; min-width: 0; }
.bc-val { text-decoration: none; font-size: 10px; color: rgba(255, 255, 255, 0.65); text-align: center; }
.bc i { display: block; flex: 1; background: linear-gradient(180deg, rgba(167, 139, 250, 0.52), rgba(124, 58, 237, 0.18)); border-radius: 3px 3px 0 0; transform-origin: 50% 100%; transition: transform 0.6s var(--ease); }
.bc i.now { background: linear-gradient(180deg, #ffffff, var(--acc)); box-shadow: 0 0 16px rgba(167, 139, 250, 0.55); }
.bc em { font-style: normal; font-size: 11px; text-align: center; color: var(--mu); }
.ve-src-list { display: grid; gap: 10px; margin: 10px 0 14px; }
.ve-src-item { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); padding: 8px 10px; border-radius: 4px; }
.ve-src-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 6px; }
.ve-src-row b { color: #fff; font-weight: 500; }
.ve-src-row span { color: var(--acc); font-size: 11px; }
.ve-src-bar { height: 4px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; }
.ve-src-bar i { display: block; height: 100%; border-radius: 999px; transition: width 0.5s var(--ease); }
.ve-feed-lbl { display: block; margin-top: 6px; }
.ve-feed-ul { list-style: none; padding: 0; margin-top: 8px; display: grid; gap: 6px; }
.ve-feed-ul li { font-size: 12px; line-height: 1.45; color: var(--body-c); padding-inline-start: 13px; position: relative; }
.ve-feed-ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.5em; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }
.ag-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.ag-li-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ag-badge { font-size: 10px; color: #34d399; background: rgba(16, 185, 129, 0.12); padding: 2px 6px; border-radius: 3px; font-weight: 600; }
.ag-list b { display: block; font: 500 14.5px/1.35 var(--text); color: #fff; }
.ag-list small { display: block; font-size: 12.5px; color: var(--mu); margin: 4px 0 8px; }
.bar { display: block; height: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--acc); transform: scaleX(0); transform-origin: 100% 50%; }
html[dir="ltr"] .bar i { transform-origin: 0 50%; }
.ag-list li.busy b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-start: 8px; border-radius: 50%; background: var(--acc); animation: ping 1.1s ease-out infinite; vertical-align: middle; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.7); } 100% { box-shadow: 0 0 0 8px rgba(167, 139, 250, 0); } }
.ve-sec-shield {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ve-shield-ico {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.35);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex: none;
}
.ve-sec-shield b { display: block; font-size: 13px; color: #fff; }
.ve-sec-shield small { display: block; font-size: 11.5px; color: var(--mu); line-height: 1.35; }
.queue { list-style: none; padding: 0; display: grid; gap: 10px; align-content: start; min-height: 240px; flex: 1; }
.queue li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 3px; font-size: 13px; color: #fff; transition: border-color 0.3s, background-color 0.3s; }
.queue li button { flex: none; border: 0; border-radius: 2px; padding: 6px 12px; background: #fff; color: #000; font: 600 12px/1.2 var(--label); cursor: pointer; }
.queue li.ok { background: var(--fill); border-color: var(--fill); }
.queue li.ok button { background: transparent; color: #fff; }
.push { width: 100%; margin-top: 14px; }

/* WhatsApp Messages (#messages) */
.cms { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 1.8fr); gap: 24px; }
.chat, .variants {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 2.4vw, 36px);
  background: rgba(16, 13, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.msg { padding: 14px 18px; border-radius: 6px; max-width: 94%; display: grid; gap: 6px; }
.msg p { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.7; color: #fff; }
.who { font: 500 12px/1.4 var(--label); color: var(--mu); }
.msg.me { align-self: flex-start; background: rgba(124, 58, 237, 0.18); border: 1px solid rgba(167, 139, 250, 0.28); }
.msg.bot { align-self: flex-end; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); }
.msg.bot .who { display: inline-flex; align-items: center; gap: 7px; color: var(--acc); }
.msg.bot .who::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.vrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; flex: 1; }
.vr { display: flex; flex-direction: column; gap: 10px; }
.vr-top { padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 3px; }
.vr.on .vr-top { border-color: var(--acc); }
.vr-top b { display: block; font: 600 14px/1.4 var(--label); color: var(--acc); }
.vr-top small { font-size: 13px; color: var(--mu); }
.wa { flex: 1; display: flex; flex-direction: column; padding: 18px; min-height: 190px; border-radius: 3px; background: rgba(24, 14, 44, 0.65); border: 1px solid rgba(167, 139, 250, 0.15); }
.vr.on .wa { background: rgba(42, 20, 82, 0.65); border-color: rgba(167, 139, 250, 0.35); }
.wa-bar { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; margin-bottom: auto; }
.wa p { margin-top: 16px; padding: 14px 16px; background: rgba(0, 0, 0, 0.68); border-radius: 6px; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.65; color: #fff; }
.tags { display: flex; gap: 8px; font-size: 12px; }
.tags span { padding: 4px 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 2px; color: var(--body-c); }
.rev { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; font-size: 14px; color: var(--body-c); }
.rev .btn { margin-inline-start: auto; }
.rev .btn[disabled] { background: transparent; border-color: var(--acc); color: var(--acc); cursor: default; }

/* Plans (#plans) as nk.studio Tall Portrait Glow Cards */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.plan {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 2.6vw, 44px) clamp(24px, 2.2vw, 36px);
  border-radius: 4px;
  background: rgba(16, 13, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 0.45s var(--ease-soft), filter 0.45s var(--ease-soft), transform 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft);
}
.plan::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.45s var(--ease-soft);
  background: radial-gradient(ellipse 110% 80% at 50% 108%, rgba(124, 58, 237, 0.42) 0%, rgba(167, 139, 250, 0.14) 45%, transparent 72%);
}
.plan.main { border-color: rgba(167, 139, 250, 0.38); }
.plan.main::before { opacity: 0.85; background: radial-gradient(ellipse 120% 90% at 100% 0%, rgba(124, 58, 237, 0.52) 0%, rgba(99, 102, 241, 0.2) 48%, transparent 75%); }
.plan > * { position: relative; z-index: 1; }
@media (min-width: 1024px) and (hover: hover) {
  .plans:has(.plan:hover) .plan:not(:hover) { opacity: 0.42; filter: blur(1.5px); }
  .plan:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, 0.5); }
  .plan:hover::before { opacity: 1; }
}
.figs { display: grid; gap: 14px; margin: 20px 0 12px; padding: 18px 0; border-block: 1px solid rgba(255, 255, 255, 0.1); min-height: 136px; align-content: center; }
.fig b { display: block; font: 300 clamp(32px, 3vw, 52px)/1.1 var(--head); color: #fff; white-space: nowrap; }
.fig + .fig b { font-size: clamp(22px, 2vw, 34px); }
.fig small { display: block; margin-top: 4px; font-size: 14px; color: var(--acc); }
.fig.q b { font-size: clamp(22px, 1.9vw, 30px); white-space: normal; line-height: 1.35; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 28px; }
.plan li { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 16px; line-height: 1.65; color: #fff; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.notes { margin-top: 28px; display: grid; gap: 8px; font-size: 14px; text-align: center; max-width: 780px; margin-inline: auto; }
.notes p { color: var(--mu); }

/* Stack & Without/With */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.stack-grid .nk-card { aspect-ratio: auto; min-height: 240px; }
.logos-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.logos-row i { display: grid; place-items: center; width: 42px; height: 42px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 4px; }
.logos-row img { width: 22px; height: 22px; object-fit: contain; }

.ag-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: 48px; }
.ag-ctrl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.42);
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 28px rgba(124, 58, 237, 0.22);
}
.ag-ctrl-pill strong {
  font: 700 12px/1 var(--label);
  letter-spacing: 0.12em;
  color: var(--acc);
}
.ag-ctrl-pill em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.9);
}
.toggle { display: flex; align-items: center; gap: 12px; font: 500 15px var(--label); color: var(--mu); margin-top: 4px; }
.toggle .on { color: #fff; }
.toggle button { width: 56px; height: 30px; padding: 0; border: 0; border-radius: 15px; background: var(--fill); position: relative; cursor: pointer; transition: background-color 0.3s; box-shadow: 0 0 20px rgba(124, 58, 237, 0.5); }
.toggle button i { position: absolute; top: 4px; inset-inline-start: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.35s var(--ease); }
.toggle button[aria-checked="true"] i { transform: translateX(26px); }
html[dir="rtl"] .toggle button[aria-checked="true"] i { transform: translateX(-26px); }
.toggle button[aria-checked="false"] { background: rgba(255, 255, 255, 0.22); box-shadow: none; }

.ag.ag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 18px;
}
.ag-card {
  aspect-ratio: auto !important;
  min-height: 280px;
  padding: clamp(22px, 2vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  background: rgba(15, 12, 24, 0.84);
  border: 1px solid rgba(167, 139, 250, 0.32);
  border-radius: 6px;
}
.ag-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ag-nm {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
}
.ag-nm b {
  font: 600 16px/1.3 var(--head);
  color: #fff;
}
.ag-nm i {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--acc);
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 6px;
}
.ag-nm svg { width: 19px; height: 19px; }
.ag-pill {
  flex: none;
  padding: 5px 10px;
  background: var(--fill);
  border: 1px solid rgba(196, 181, 253, 0.45);
  border-radius: 999px;
  font: 600 11.5px/1 var(--label);
  color: #fff;
  transition: background-color 0.35s, border-color 0.35s, color 0.35s;
}
.ag-mid {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block: 4px;
}
.ag-check {
  width: 46px;
  height: 46px;
  flex: none;
  overflow: visible;
}
.ag-check circle {
  fill: rgba(124, 58, 237, 0.22);
  stroke: var(--acc);
  stroke-width: 1.6;
  transition: fill 0.35s, stroke 0.35s;
}
.ag-check path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 32;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.45s var(--ease);
}
.ag-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: end;
}
.ag-stack {
  font: 500 11px/1.2 var(--label);
  color: var(--mu);
}
.ag-kpi {
  font: 600 12px/1.2 var(--label);
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
  padding: 3px 8px;
  border-radius: 999px;
}
.ag-log {
  width: 100%;
  font: 500 clamp(17px, 1.35vw, 21px)/1.38 var(--head);
  color: #ffffff;
  min-height: 2.75em;
  display: flex;
  align-items: flex-start;
}
.ag-track {
  width: 100%;
  position: relative;
  height: 26px;
  display: block;
  container-type: inline-size;
  --dir: 1;
  margin-top: auto;
}
html[dir="rtl"] .ag-track { --dir: -1; }
.ag-track::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(167, 139, 250, 0.18); }
.ag-track u { position: absolute; inset-inline: 0; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, var(--fill), #ffffff); transform-origin: 100% 50%; }
html[dir="ltr"] .ag-track u { transform-origin: 0 50%; }
.ag-track em { position: absolute; top: 50%; transform: translateY(-50%); font: 500 10.5px/1 var(--label); font-style: normal; padding: 4px 8px; background: #07050e; border: 1px solid rgba(167, 139, 250, 0.38); color: #fff; border-radius: 3px; z-index: 1; }
.p0 { inset-inline-start: 0; }
.p1 { inset-inline-end: 0; transition: opacity 0.4s; }
.ag.off .p1 { opacity: 0.35; }
.dot { position: absolute; top: 50%; inset-inline-start: 0; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff, 0 0 18px var(--acc); animation: agrun 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.ag-card:nth-child(2) .dot { animation-delay: -0.8s; }
.ag-card:nth-child(3) .dot { animation-delay: -1.6s; }
.ag-card:nth-child(4) .dot { animation-delay: -2.4s; }
.ag.off .dot { display: none; }
@keyframes agrun { from { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } to { transform: translateX(calc(var(--dir) * 100cqw)); opacity: 0; } }
.ag.off .ag-card {
  background: rgba(10, 9, 15, 0.65);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.25);
}
.ag.off .ag-card::before { opacity: 0.12; }
.ag.off .ag-pill { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: var(--mu); }
.ag.off .ag-check circle { fill: none; stroke: rgba(255, 255, 255, 0.4); stroke-dasharray: 4 5; }
.ag.off .ag-check path { stroke-dashoffset: 32; }
.ag.off .ag-kpi { color: #f59e0b; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.35); }
.ag.off .ag-log { color: var(--mu); }
@media (max-width: 1180px) {
  .ag.ag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ag.ag-grid { grid-template-columns: 1fr; }
}

/* Closing CTA (nk.studio "Ready to go further?") */
.cta {
  position: relative;
  min-height: 85svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(96px, 10vw, 150px) var(--gut);
  overflow: hidden;
  background: radial-gradient(50% 50% at 50% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 72%);
}
.cta > *:not(.fx):not(.nk-webgl-slot) { position: relative; z-index: 2; }
.cta h2 { max-width: 18ch; }
.cta-mark { margin-bottom: 28px; }
.cta-mark .lg { width: clamp(200px, 20vw, 310px); height: clamp(200px, 20vw, 310px); }
.cta-row { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 36px; }

/* Footer (nk.studio minimalist footer) */
.foot { padding-block: 72px 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); background: #000; }
.foot-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot-logo { display: inline-flex; align-items: center; gap: 14px; align-self: start; }
.foot-logo .lg { width: 84px; height: 84px; }
.foot-logo .lg-word { height: 29px; }
.foot h4 { font: 500 13px/1.5 var(--label); color: var(--acc); margin-bottom: 14px; }
.foot-top a:not(.foot-logo) { display: block; padding: 5px 0; font-size: 15px; color: var(--body-c); transition: color 0.2s; }
.foot-top a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; color: var(--mu); }

@media (max-width: 1180px) {
  .nk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nk-grid.cols-3, .plans { grid-template-columns: 1fr; }
  .nk-grid.cols-3 .nk-card { aspect-ratio: auto; min-height: 280px; }
  .ve { grid-template-columns: 1fr; }
  .cms { grid-template-columns: 1fr; }
  .rail-in { grid-template-columns: 1fr; text-align: center; gap: 14px; }
}
@media (max-width: 860px) {
  .links, .nav-cta { display: none; }
  .nav-in { grid-template-columns: 1fr auto; height: 76px; }
  .burger { display: block; }
  .mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 90px var(--gut) 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.96);
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 55;
  }
  .lg { width: 68px; height: 68px; }
  .lg-word { height: 24px; }
  .nk-grid, .stack-grid { grid-template-columns: 1fr; }
  .nk-card { aspect-ratio: auto; min-height: 290px; }
  .vrow, .ve-stats, .ve-low, .ag-row { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-logo { grid-column: 1 / -1; }
}

/* ── nk.studio/impact 3D WebGL & Space-Snow Aurora Scenes (Recolored to White & Violet) ── */
.nk-webgl-slot {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  overflow: hidden;
  pointer-events: auto;
  opacity: 0.96;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
}
.nk-webgl-slot canvas,
.nk-scene-cv {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.sec > .wrap,
.rail,
.foot,
#hero .hero-in,
#offer > .wrap,
#close > .cta-mark,
#close > h2,
#close > .cta-row {
  position: relative;
  z-index: 2;
}
#hero .hero-in {
  pointer-events: none;
}
#hero .hero-actions,
#hero .hero-actions a {
  pointer-events: auto;
}
#offer, #close {
  position: relative;
  overflow: hidden;
}

/* Unobstructed Full-Bleed Saudi Arabia #1 Horizon Section (#vista) */
.nk-vista-sec {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-block: clamp(88px, 11svh, 148px) clamp(84px, 10svh, 128px);
  background: #000;
}
.nk-vista-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.nk-vista-copy {
  position: relative;
  z-index: 3;
  max-width: 980px;
  margin-inline: auto;
  pointer-events: none;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.95), 0 1px 10px rgba(0, 0, 0, 0.9);
}
.nk-vista-h {
  font: 500 clamp(32px, 4.6vw, 72px)/1.12 var(--head);
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: balance;
  max-width: 24ch;
  margin-inline: auto;
}
html[lang="en"] .nk-vista-h {
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.nk-vista-hud {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font: 500 12px/1.4 "DM Sans", system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}
.nk-hud-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #a78bfa;
  margin-right: 6px;
  vertical-align: middle;
}

/* ── Real NASA Photographs of Saudi Arabia from Space (Pure Crisp White + Dramatic Shadows) ── */
.space-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: #000;
  container-type: size;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.space-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.04);
  animation: spDrift 28s ease-in-out infinite alternate;
}
@keyframes spDrift {
  0%   { transform: scale(1.03) translate3d(0, 0, 0); }
  100% { transform: scale(1.09) translate3d(-1.2%, -0.8%, 0); }
}
.space-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sp-southwest::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.62) 100%),
    radial-gradient(ellipse 95% 90% at 50% 50%, transparent 52%, rgba(0, 0, 0, 0.54) 100%);
}
.sp-riyadh::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.16) 40%, rgba(0, 0, 0, 0.48) 72%, rgba(0, 0, 0, 0.68) 100%),
    radial-gradient(ellipse 100% 96% at 50% 46%, transparent 58%, rgba(0, 0, 0, 0.58) 100%);
}
.sp-limb img {
  object-position: 50% 100%;
}
.sp-limb::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.22) 55%, rgba(0, 0, 0, 0.65) 100%),
    radial-gradient(ellipse 96% 90% at 50% 62%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}
.sp-stars img {
  object-position: 50% 72%;
}
.sp-stars::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.68) 100%),
    radial-gradient(ellipse 95% 90% at 50% 50%, transparent 48%, rgba(0, 0, 0, 0.6) 100%);
}
.sp-redsea img {
  object-position: 50% 52%;
}
.sp-redsea::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(ellipse 95% 90% at 50% 50%, transparent 45%, rgba(0, 0, 0, 0.62) 100%);
}
.sp-suhail-bg img {
  object-position: 65% 46%;
}
.sp-suhail-bg::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.28) 50%, rgba(0, 0, 0, 0.62) 100%),
    radial-gradient(ellipse 95% 90% at 50% 50%, transparent 52%, rgba(0, 0, 0, 0.56) 100%);
}
#board, #plans, #agents {
  position: relative;
  overflow: hidden;
}
.nasa-caption {
  position: relative;
  z-index: 3;
  margin-top: 28px;
  margin-inline: auto;
  max-width: 860px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(8, 7, 14, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.65);
  text-align: center;
}
#offer > .wrap > .nasa-caption {
  display: flex;
  width: fit-content;
}
.nasa-caption span {
  font: 700 11px/1.2 "DM Sans", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fbbf24;
  white-space: nowrap;
}
.nasa-caption p {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
#offer h2, #offer .side, .cta h2, .cta-row a {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9), 0 1px 6px rgba(0, 0, 0, 0.85);
}
#offer .nk-card {
  background: rgba(14, 11, 22, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---- claude pass 2026-11-08 ---- */
/* top menu in the same font as the page text */
.links, .links a, .links .nk-roll span { font-family: var(--text); font-weight: 400; letter-spacing: 0; }
/* hero: content starts at a fixed place so the line above the headline never moves */
.hero { justify-content: flex-start; }
/* "in your control" cards: no tall empty card, text follows the title */
#trust .nk-card { aspect-ratio: auto; min-height: 0; justify-content: flex-start; gap: 16px; }
#trust .nk-card .nk-desc { margin-top: 0; }
/* Riyadh at the end: the whole picture, no fade from the stars above */
#agents .space-photo { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 74%, transparent 100%); }
#close { min-height: min(100svh, 66.6vw); background: #000; }
#close .space-photo { -webkit-mask-image: none; mask-image: none; }
#close .space-photo img { object-position: 50% 50%; }
.sp-riyadh::after { background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5) 66%, rgba(0, 0, 0, 0.5) 84%, rgba(0, 0, 0, 0.2) 100%); }

/* tool connection checker */
.chk { width: min(920px, 100%); margin: 28px auto 8px; padding: 26px clamp(16px, 3vw, 32px); border: 1px solid var(--line); background: var(--panel); text-align: center; }
.chk-h { margin: 0 0 20px; font-family: var(--head); font-weight: 600; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.5; color: #fff; }
.chk-row { display: flex; align-items: flex-end; justify-content: center; gap: 14px; flex-wrap: wrap; }
.chk-f { display: grid; gap: 8px; text-align: start; flex: 1 1 240px; max-width: 340px; font-family: var(--label); font-size: 14px; color: var(--mu); }
.chk-f select { width: 100%; padding: 13px 14px; font: 500 16px var(--text); color: #fff; background: #0b0814; border: 1px solid rgba(167, 139, 250, 0.35); border-radius: 4px; }
.chk-f select:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.chk-x { width: 22px; height: 22px; margin-bottom: 14px; position: relative; }
.chk-x::before, .chk-x::after { content: ""; position: absolute; background: var(--acc); }
.chk-x::before { left: 0; right: 0; top: 10px; height: 2px; }
.chk-x::after { left: 10px; top: 0; bottom: 0; width: 2px; }
.chk-res { min-height: 1.7em; margin: 20px 0 0; font-family: var(--text); font-size: 16px; line-height: 1.7; color: #fff; }
.chk.is-ok .chk-res { color: #c4b5fd; }
.logos-note a.chk-hl { color: var(--acc); border-bottom-width: 2px; }
@media (max-width: 640px) { .chk-x { display: none; } .chk-f { max-width: none; } }

/* tool connection checker v2: chain rows (A) + live pipeline (C); green only on the check marks */
.chk-rows { display: grid; gap: 12px; }
.chk-r { display: flex; align-items: flex-end; justify-content: center; gap: 14px; flex-wrap: wrap; }
.chk-chip { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(167, 139, 250, 0.2); border-radius: 4px; background: rgba(255, 255, 255, 0.03); font: 500 16px var(--text); color: #fff; }
.chk-chip img { width: 20px; height: 20px; }
.chk-ok { width: 28px; height: 28px; flex: none; margin-bottom: 11px; opacity: 0; }
.chk-ok.on, .chk-node .chk-ok, .chk-res .chk-ok { opacity: 1; }
.chk-ok circle { fill: rgba(34, 197, 94, 0.14); stroke: #22c55e; stroke-width: 1.5; }
.chk-ok path { fill: none; stroke: #22c55e; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.chk-del { width: 34px; height: 34px; margin-bottom: 8px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--mu); font: 300 20px/1 var(--text); cursor: pointer; }
.chk-del:hover, .chk-del:focus-visible { color: #fff; border-color: var(--acc); }
.chk-add { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; color: var(--mu); font: 400 14px var(--text); }
.chk-plus { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(167, 139, 250, 0.55); background: rgba(124, 58, 237, 0.2); color: #fff; font: 300 28px/1 var(--text); cursor: pointer; transition: background-color 0.25s, transform 0.25s; }
.chk-plus:hover:not(:disabled) { background: var(--fill); transform: scale(1.06); }
.chk-plus:disabled { opacity: 0.35; cursor: default; }
.chk-plus:focus-visible, .chk-del:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.chk-pipe { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; margin: 26px 0 6px; }
.chk-node { position: relative; display: grid; place-items: center; gap: 8px; width: 118px; padding: 14px 8px; border: 1px solid rgba(167, 139, 250, 0.4); background: #0b0814; border-radius: 8px; font: 500 12.5px var(--text); color: #fff; }
.chk-node img { width: 30px; height: 30px; }
.chk-node .chk-ok { position: absolute; top: -11px; inset-inline-end: -11px; width: 24px; height: 24px; margin: 0; background: #000; border-radius: 50%; }
.chk-link { position: relative; overflow: hidden; flex: none; width: 56px; height: 6px; border-radius: 3px; background: rgba(167, 139, 250, 0.18); }
.chk-link::after { content: ""; position: absolute; top: 0; bottom: 0; width: 22px; background: linear-gradient(90deg, transparent, #fff, transparent); animation: chkPulse 1.6s linear infinite; }
@keyframes chkPulse { from { inset-inline-start: -24px; } to { inset-inline-start: 100%; } }
.chk .chk-res { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: start; color: #fff; font-size: 17px; }
.chk .chk-res:empty { display: block; }
.chk.is-ok .chk-res { color: #fff; margin-top: 18px; padding: 14px 18px; border: 1px solid rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.06); }
.chk-res small { display: block; color: var(--mu); font-size: 13.5px; font-weight: 400; }
.chk-res .chk-ok { margin: 0; width: 26px; height: 26px; }
@media (max-width: 640px) {
  .chk-pipe { flex-direction: column; }
  .chk-link { width: 6px; height: 36px; }
  .chk-link::after { width: auto; inset-inline: 0; height: 16px; background: linear-gradient(180deg, transparent, #fff, transparent); animation-name: chkPulseV; }
  @keyframes chkPulseV { from { top: -18px; } to { top: 100%; } }
}

/* AR running text and labels in Almarai (the face the owner pointed to on nafith.sa), weight 400; headings stay Noto Kufi Arabic; big figures, caption tags and the English board unchanged */
html[lang="ar"] :where(body, p, li, small, span, a, label, select, option, button, em, bdi):not(h1, h1 *, h2, h2 *, h3, h3 *, .nk-stat, .fig b, #ve, #ve *, .nasa-caption span, .nk-vista-hud, .nk-vista-hud *, .ag-ctrl-pill strong) { font-family: "Almarai", "Noto Kufi Arabic", system-ui, sans-serif; font-weight: 400; }

/* NASA captions centred under every section, like the offer section */
.sec > .wrap > .nasa-caption { display: flex; width: fit-content; }
/* the English board keeps the page text face; it inherited Noto Kufi from body otherwise */
html[lang="ar"] #ve { font-family: var(--text); }

/* checker box: violet glows behind the panel; example pipeline shown dimmed until the visitor picks tools */
.chk { position: relative; isolation: isolate; overflow: hidden; border-color: rgba(167, 139, 250, 0.28); }
.chk::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(124, 58, 237, 0.34), transparent 70%), radial-gradient(ellipse 70% 60% at 0% 100%, rgba(124, 58, 237, 0.26), transparent 70%), radial-gradient(circle at 50% 45%, rgba(167, 139, 250, 0.08), transparent 60%); }
.chk-pipe { margin: 4px 0 28px; min-height: 96px; }
.chk-pipe.ghost .chk-node { border-style: dashed; border-color: rgba(167, 139, 250, 0.38); background: rgba(255, 255, 255, 0.02); color: var(--mu); }
.chk-pipe.ghost .chk-node img { opacity: 0.75; }
.chk-pipe.ghost .chk-link { background: rgba(167, 139, 250, 0.12); }
.chk-pipe.ghost .chk-link::after { opacity: 0.55; }
.chk-pipe-lbl { flex-basis: 100%; text-align: center; margin-top: 14px; font: 400 13px var(--label); color: var(--mu); }

/* plan cards open WhatsApp on click */
.plan[data-wa] { cursor: pointer; }
.plan[data-wa]:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
