:root {
  --ink: #08152b;
  --ink-2: #102344;
  --muted: #63718a;
  --muted-2: #8792a8;
  --paper: #f7f9fd;
  --paper-2: #edf3fb;
  --white: #ffffff;
  --night: #061126;
  --night-2: #0b1d3b;
  --blue: #246bff;
  --cyan: #33d6ff;
  --green: #31dd8b;
  --violet: #8c7cff;
  --amber: #ffbd5b;
  --rose: #ff7190;
  --line: rgba(21, 42, 78, .12);
  --line-strong: rgba(21, 42, 78, .2);
  --glass: rgba(255, 255, 255, .72);
  --glass-dark: rgba(9, 24, 51, .66);
  --shadow-sm: 0 16px 34px rgba(9, 24, 51, .10);
  --shadow-md: 0 26px 70px rgba(9, 24, 51, .16);
  --shadow-xl: 0 42px 120px rgba(5, 14, 30, .32);
  --radius-sm: 16px;
  --radius: 26px;
  --radius-lg: 38px;
  --max: 1220px;
  --font: "IBM Plex Sans Arabic", "DIN Next LT Arabic", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  direction: rtl;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.75;
  background:
    radial-gradient(circle at 12% 8%, rgba(51, 214, 255, .14), transparent 28rem),
    radial-gradient(circle at 86% 4%, rgba(49, 221, 139, .12), transparent 30rem),
    linear-gradient(180deg, #fbfdff 0%, var(--paper) 44%, #f0f5fc 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(10, 31, 63, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(10, 31, 63, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  width: 560px;
  height: 560px;
  left: var(--spotlight-x, -200px);
  top: var(--spotlight-y, -200px);
  z-index: -2;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(36, 107, 255, .12), transparent 62%);
  transition: opacity .25s ease;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.content-wrap {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}

.section-bleed {
  position: relative;
  overflow: clip;
}

.studio-shell { min-height: 100vh; }

.studio-header {
  position: fixed;
  inset: 18px 22px auto 22px;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 60px rgba(6, 17, 38, .12);
  backdrop-filter: blur(22px) saturate(1.35);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.studio-header.is-scrolled {
  background: rgba(255, 255, 255, .9);
  border-color: rgba(13, 42, 84, .12);
  box-shadow: 0 18px 54px rgba(6, 17, 38, .14);
}

.studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-inline-start: 4px;
}

.studio-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  padding: 7px;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #eaf3ff);
  box-shadow: inset 0 0 0 1px rgba(13, 42, 84, .08), 0 12px 28px rgba(13, 42, 84, .1);
}

.studio-brand span { display: grid; line-height: 1.2; }
.studio-brand strong { font-size: 15px; font-weight: 950; letter-spacing: -.02em; }
.studio-brand em { font-size: 11px; color: var(--muted); font-style: normal; font-weight: 800; }

.nav-panel {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav-panel a {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(8, 21, 43, .68);
  font-size: 14px;
  font-weight: 900;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-panel a:hover {
  color: var(--ink);
  background: rgba(36, 107, 255, .08);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  gap: 8px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 18px;
  background: var(--night);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: #fff;
}

.btn {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-border: rgba(8, 21, 43, .1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  color: var(--btn-fg);
  background: var(--btn-bg);
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(9, 24, 51, .08);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(9, 24, 51, .14);
}

.btn-primary {
  --btn-bg: linear-gradient(135deg, #0f58ff, #27c9ff 55%, #33e69a);
  --btn-fg: #fff;
  --btn-border: rgba(255,255,255,.1);
  text-shadow: 0 1px 10px rgba(0,0,0,.18);
}

.btn-soft { --btn-bg: rgba(36, 107, 255, .08); --btn-border: rgba(36, 107, 255, .14); color: #0f3e9d; }
.btn-glass { --btn-bg: rgba(255,255,255,.12); --btn-fg: #fff; --btn-border: rgba(255,255,255,.24); backdrop-filter: blur(12px); }
.btn-xl { min-height: 54px; padding: 12px 24px; font-size: 15px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid rgba(51, 214, 255, .28);
  border-radius: 999px;
  color: #bbf2ff;
  background: rgba(51, 214, 255, .11);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .02em;
}

.eyebrow.dark {
  color: #1050a5;
  background: rgba(36, 107, 255, .08);
  border-color: rgba(36, 107, 255, .16);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.capability-intro h2,
.bridge-copy h2 {
  margin: 14px 0 10px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -.055em;
}

.section-heading p,
.capability-intro p,
.bridge-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
}

.section-heading.light h2,
.section-heading.light p,
.capability-intro h2,
.capability-intro p,
.bridge-copy h2,
.bridge-copy p { color: #fff; }

.hero-nexus {
  min-height: 100svh;
  padding: 132px 0 80px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 18%, rgba(51, 214, 255, .28), transparent 28rem),
    radial-gradient(circle at 80% 18%, rgba(49, 221, 139, .22), transparent 28rem),
    radial-gradient(circle at 62% 84%, rgba(140, 124, 255, .22), transparent 28rem),
    linear-gradient(145deg, #061126 0%, #08204a 54%, #061126 100%);
}

.hero-nexus::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .56;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.ambient {
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(20px);
  opacity: .42;
  pointer-events: none;
}

.ambient-one { top: -16rem; right: -12rem; background: radial-gradient(circle, rgba(51,214,255,.42), transparent 68%); }
.ambient-two { bottom: -20rem; left: -10rem; background: radial-gradient(circle, rgba(49,221,139,.36), transparent 68%); }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(32px, 6vw, 74px);
}

.hero-copy h1 {
  margin: 18px 0 18px;
  max-width: 720px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -.075em;
}

.hero-lead {
  max-width: 680px;
  margin: 0;
  color: rgba(236, 247, 255, .82);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hero-proof article {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 24px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}

.hero-proof strong { display: block; font-size: 25px; line-height: 1.2; }
.hero-proof span { display: block; margin-top: 4px; color: rgba(255,255,255,.74); font-weight: 900; }
.hero-proof small { display: block; margin-top: 8px; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.6; }

.nexus-visual {
  position: relative;
  min-height: 650px;
  perspective: 1200px;
}

.nexus-orb {
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.08), transparent 35%),
    conic-gradient(from 140deg, rgba(51,214,255,.18), rgba(49,221,139,.16), rgba(140,124,255,.2), rgba(51,214,255,.18));
  filter: drop-shadow(0 34px 80px rgba(0,0,0,.3));
  animation: spin-slow 28s linear infinite;
}

.nexus-orb span {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
}
.nexus-orb span:nth-child(2) { inset: 24%; transform: rotate(34deg); }
.nexus-orb span:nth-child(3) { inset: 36%; transform: rotate(-22deg); }

.studio-console {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 34px;
  background: rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(22px) saturate(1.25);
}

.primary-console {
  inset: 76px 28px auto 34px;
  min-height: 426px;
  transform: rotateY(-8deg) rotateX(5deg);
}

.console-topbar,
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.78);
  background: rgba(7, 17, 38, .26);
}

.console-topbar span,
.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6d82;
}
.console-topbar span:nth-child(2), .browser-bar i:nth-child(2) { background: #ffd66b; }
.console-topbar span:nth-child(3), .browser-bar i:nth-child(3) { background: #40e49c; }
.console-topbar strong,
.browser-bar strong { margin-inline-start: auto; font-size: 12px; font-weight: 950; }

.console-body { padding: 18px; }
.solution-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
}
.solution-flow span {
  padding: 8px 11px;
  border-radius: 999px;
  color: #eafaff;
  background: rgba(255,255,255,.1);
  font-size: 12px;
  font-weight: 950;
}
.solution-flow i { height: 2px; border-radius: 9px; background: linear-gradient(90deg, transparent, rgba(51,214,255,.75), transparent); }
.console-body img { width: 100%; border-radius: 24px; box-shadow: 0 24px 70px rgba(0,0,0,.28); }

.floating-panel {
  position: absolute;
  z-index: 4;
  width: min(270px, 44%);
  padding: 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  color: #fff;
  background: rgba(255,255,255,.12);
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
  animation: float 5.5s ease-in-out infinite;
}
.floating-panel span { display: block; color: rgba(187,242,255,.82); font-size: 12px; font-weight: 950; }
.floating-panel strong { display: block; margin-top: 7px; font-size: 18px; line-height: 1.35; }
.floating-panel em { display: block; margin-top: 8px; color: rgba(255,255,255,.65); font-style: normal; font-size: 12px; }
.panel-a { right: 0; bottom: 108px; }
.panel-b { left: 10px; top: 38px; animation-delay: -2.2s; }

.product-satellites { position: absolute; inset: 0; pointer-events: none; }
.satellite {
  position: absolute;
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  border: 1px solid color-mix(in srgb, var(--accent), white 38%);
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent), #071126 28%), rgba(255,255,255,.12));
  box-shadow: 0 22px 52px color-mix(in srgb, var(--accent), transparent 76%);
  pointer-events: auto;
  transform: rotate(-8deg);
}
.satellite span { font-size: 13px; font-weight: 950; }
.satellite:nth-child(1) { top: 42px; right: 38px; }
.satellite:nth-child(2) { top: 170px; left: 0; }
.satellite:nth-child(3) { bottom: 70px; left: 100px; }
.satellite:nth-child(4) { bottom: 24px; right: 180px; }
.satellite:nth-child(5) { top: 360px; right: 0; }
.satellite:nth-child(6) { top: 16px; left: 190px; }

.story-section,
.solutions-section,
.gallery-section {
  padding: 112px 0;
}

.pipeline-shell {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.pipeline-shell::before {
  content: "";
  position: absolute;
  top: 52px;
  inset-inline: 40px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
  opacity: .6;
}

.pipeline-card {
  position: relative;
  z-index: 1;
  min-height: 270px;
  padding: 22px;
  border: 1px solid rgba(13, 42, 84, .1);
  border-radius: 30px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.pipeline-card span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 36px rgba(36, 107, 255, .22);
  font-weight: 950;
}
.pipeline-card h3 { margin: 24px 0 9px; font-size: 22px; letter-spacing: -.03em; }
.pipeline-card p { margin: 0; color: var(--muted); font-size: 14px; }

.manifesto-card {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: 34px;
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(51,214,255,.28), transparent 28rem),
    linear-gradient(135deg, #071126, #0c2b62);
  box-shadow: var(--shadow-md);
}
.manifesto-card h3 { margin: 12px 0 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.18; letter-spacing: -.05em; }
.manifesto-card p { margin: 0; color: rgba(255,255,255,.78); font-size: 20px; }

.discover-section {
  padding: 112px 0;
  color: #fff;
  background:
    radial-gradient(circle at 20% 14%, rgba(51,214,255,.2), transparent 30rem),
    radial-gradient(circle at 80% 84%, rgba(49,221,139,.17), transparent 28rem),
    linear-gradient(145deg, #061126, #071b3a 48%, #061126);
}

.discovery-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 390px;
  gap: 16px;
  align-items: stretch;
}

.persona-panel,
.need-panel,
.recommendation-card {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 34px;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 28px 80px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}

.panel-label {
  display: block;
  margin-bottom: 12px;
  color: rgba(187,242,255,.82);
  font-size: 12px;
  font-weight: 950;
}

.persona-card,
.need-card {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  color: #fff;
  background: rgba(255,255,255,.07);
  cursor: pointer;
  text-align: start;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.persona-card { display: flex; gap: 12px; align-items: center; padding: 14px; margin-bottom: 10px; }
.persona-card i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #071126;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-style: normal;
  font-weight: 950;
}
.persona-card strong,
.need-card strong { display: block; font-size: 15px; }
.persona-card small,
.need-card span { display: block; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.55; }
.persona-card:hover,
.need-card:hover,
.persona-card.active,
.need-card.active {
  transform: translateY(-2px);
  border-color: rgba(51,214,255,.48);
  background: rgba(51,214,255,.12);
}

.need-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.need-card { min-height: 150px; padding: 16px; }
.need-card em {
  display: inline-flex;
  margin-top: 14px;
  padding: 6px 10px;
  border-radius: 99px;
  color: #bff6ff;
  background: rgba(51,214,255,.1);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.recommendation-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--accent), transparent 68%), transparent 18rem),
    rgba(255,255,255,.08);
}

.recommendation-hero {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  align-items: center;
}
.recommendation-hero img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 20px 46px rgba(0,0,0,.22);
}
.solution-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 99px;
  color: #071126;
  background: var(--accent);
  font-size: 11px;
  font-weight: 950;
}
.recommendation-hero h3 { margin: 9px 0 2px; font-size: 30px; line-height: 1.1; }
.recommendation-hero p { margin: 0; color: rgba(255,255,255,.68); }
.recommendation-copy h4 { margin: 22px 0 8px; font-size: 20px; }
.recommendation-copy p,
.custom-path p { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; }
.custom-path {
  margin-top: 18px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,.07);
}
.custom-path strong { display: block; margin-bottom: 6px; }
.custom-path ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.custom-path li {
  padding: 6px 9px;
  border-radius: 99px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.08);
  font-size: 11px;
  font-weight: 800;
}
.recommendation-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 18px; }

.product-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-story-card {
  overflow: hidden;
  border: 1px solid rgba(13,42,84,.1);
  border-radius: 36px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-story-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent), transparent 54%);
  box-shadow: var(--shadow-md);
}
.product-media {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #eaf1fb;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-story-card:hover .product-media img { transform: scale(1.04); }
.product-media span {
  position: absolute;
  inset: 18px 18px auto auto;
  padding: 7px 11px;
  border-radius: 99px;
  color: #071126;
  background: color-mix(in srgb, var(--accent), white 26%);
  font-size: 12px;
  font-weight: 950;
}
.product-story-body { padding: 24px; }
.story-title-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.story-title-row span { color: var(--muted); font-size: 12px; font-weight: 900; }
.story-title-row h3 { margin: 4px 0 0; font-size: 32px; letter-spacing: -.04em; }
.story-title-row i { width: 54px; height: 54px; border-radius: 20px; background: linear-gradient(135deg, var(--accent), #fff); box-shadow: 0 16px 34px color-mix(in srgb, var(--accent), transparent 72%); }
.story-stack { display: grid; gap: 10px; margin-top: 18px; }
.story-stack section {
  padding: 14px;
  border-radius: 22px;
  background: rgba(8,21,43,.035);
}
.story-stack strong { display: block; color: color-mix(in srgb, var(--accent), #0c2550 42%); font-size: 13px; }
.story-stack p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-cloud span { padding: 6px 10px; border-radius: 99px; background: rgba(13,42,84,.06); color: var(--muted); font-size: 11px; font-weight: 850; }
.story-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }

.capabilities-section {
  padding: 112px 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 16%, rgba(140,124,255,.24), transparent 30rem),
    radial-gradient(circle at 80% 72%, rgba(51,214,255,.22), transparent 30rem),
    linear-gradient(145deg, #071126, #071d42);
}
.capability-intro { width: min(780px, 100%); margin-bottom: 36px; }
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.capability-card {
  min-height: 290px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 32px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
.capability-card i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  color: #071126;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-style: normal;
  font-size: 24px;
  font-weight: 950;
}
.capability-card h3 { margin: 22px 0 8px; font-size: 23px; }
.capability-card p { margin: 0; color: rgba(255,255,255,.66); font-size: 14px; }
.capability-card div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.capability-card span { padding: 6px 10px; border-radius: 99px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.78); font-size: 11px; font-weight: 850; }

.custom-signal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 38px;
  background:
    radial-gradient(circle at 0% 0%, rgba(49,221,139,.22), transparent 22rem),
    rgba(255,255,255,.07);
  box-shadow: 0 26px 78px rgba(0,0,0,.18);
}
.custom-signal h3 { margin: 12px 0 8px; font-size: clamp(28px, 4vw, 46px); line-height: 1.12; letter-spacing: -.05em; }
.custom-signal p { margin: 0; color: rgba(255,255,255,.72); font-size: 18px; }
.custom-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.gallery-tabs button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(13,42,84,.1);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.7);
  cursor: pointer;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.gallery-tabs button:hover,
.gallery-tabs button.active { color: #fff; background: var(--ink); transform: translateY(-1px); }
.interface-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  grid-auto-flow: dense;
  gap: 16px;
}
.interface-card {
  grid-column: span 1;
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: start;
}
.interface-hero,
.interface-wide { grid-column: span 2; }
.browser-frame {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(13,42,84,.1);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.interface-card:hover .browser-frame { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.browser-bar {
  border-bottom-color: rgba(13,42,84,.08);
  color: var(--muted);
  background: linear-gradient(180deg, #fff, #f4f7fb);
}
.browser-frame img { width: 100%; height: 220px; object-fit: cover; }
.interface-hero .browser-frame img,
.interface-wide .browser-frame img { height: 300px; }
.interface-caption { display: grid; padding-inline: 8px; }
.interface-caption em { color: #1050a5; font-style: normal; font-size: 12px; font-weight: 950; }
.interface-caption strong { font-size: 18px; }
.interface-caption small { color: var(--muted); line-height: 1.55; }
.preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 14, 30, .74);
  backdrop-filter: blur(16px);
}
.preview-modal {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 34px;
  color: #fff;
  background: rgba(8, 21, 43, .9);
  box-shadow: var(--shadow-xl);
}
.browser-frame.large img { height: auto; max-height: 68vh; object-fit: contain; background: #eef3fb; }
.preview-close {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  color: #fff;
  background: rgba(255,255,255,.12);
  cursor: pointer;
  font-size: 28px;
}
.preview-modal > div { padding: 16px 8px 4px; }
.preview-modal strong { font-size: 24px; }
.preview-modal p { margin: 5px 0 0; color: rgba(255,255,255,.68); }

.store-bridge {
  padding: 112px 0;
  color: #fff;
  background:
    radial-gradient(circle at 25% 10%, rgba(49,221,139,.22), transparent 28rem),
    radial-gradient(circle at 80% 70%, rgba(36,107,255,.24), transparent 30rem),
    linear-gradient(135deg, #061126, #0b2a5f 54%, #061126);
}
.bridge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 42px;
  align-items: center;
}
.bridge-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.store-card-stack {
  position: relative;
  display: grid;
  gap: 12px;
}
.store-card-stack article {
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--accent), white 32%);
  border-radius: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent), #061126 76%), rgba(255,255,255,.08));
  box-shadow: 0 24px 60px color-mix(in srgb, var(--accent), transparent 80%);
  transform: translateX(calc(var(--i, 0) * 0px));
}
.store-card-stack span { display: block; color: rgba(255,255,255,.64); font-size: 12px; font-weight: 900; }
.store-card-stack strong { display: block; margin-top: 4px; font-size: 26px; }
.store-card-stack em { display: block; margin-top: 4px; color: rgba(255,255,255,.72); font-style: normal; }

.studio-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 28px clamp(22px, 5vw, 60px);
  border-top: 1px solid rgba(13,42,84,.08);
  background: #fff;
}
.studio-footer div { display: flex; align-items: center; gap: 12px; }
.studio-footer img { width: 42px; height: 42px; object-fit: contain; }
.studio-footer strong { font-weight: 950; }
.studio-footer span { color: var(--muted); }
.studio-footer nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.studio-footer a { color: var(--muted); font-weight: 850; }
.studio-footer a:hover { color: var(--blue); }

.not-found-shell {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 130px 20px 80px;
  text-align: center;
}
.not-found-shell h1 { margin: 10px 0; font-size: clamp(36px, 7vw, 72px); letter-spacing: -.06em; }
.not-found-shell p { margin: 0 0 22px; color: var(--muted); }

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-up.show { opacity: 1; transform: translateY(0); }

@keyframes spin-slow { to { transform: rotate(1turn); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal-up { opacity: 1; transform: none; }
}

@media (max-width: 1140px) {
  .hero-grid,
  .bridge-grid { grid-template-columns: 1fr; }
  .nexus-visual { min-height: 560px; }
  .hero-proof,
  .capability-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .discovery-grid { grid-template-columns: 1fr; }
  .pipeline-shell { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pipeline-shell::before { display: none; }
  .interface-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 880px) {
  .studio-header { grid-template-columns: auto auto; border-radius: 28px; }
  .nav-toggle { display: block; justify-self: end; }
  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 0;
    display: none;
    flex-direction: column;
    padding: 10px;
    border: 1px solid rgba(13,42,84,.1);
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-md);
  }
  .nav-panel.open { display: flex; }
  .header-actions { grid-column: 1 / -1; justify-content: stretch; }
  .header-actions .btn { flex: 1; }
  .hero-nexus { padding-top: 170px; }
  .hero-proof { grid-template-columns: 1fr; }
  .need-grid,
  .product-story-grid,
  .manifesto-card,
  .custom-signal { grid-template-columns: 1fr; }
  .custom-actions { justify-content: flex-start; }
  .studio-footer { flex-direction: column; align-items: flex-start; }
  .studio-footer nav { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .content-wrap { width: min(100% - 28px, var(--max)); }
  .hero-copy h1 { font-size: clamp(42px, 13vw, 60px); }
  .nexus-visual { min-height: 460px; }
  .primary-console { inset: 84px 0 auto 0; transform: none; }
  .floating-panel { width: 58%; }
  .panel-a { right: 0; bottom: 30px; }
  .panel-b { left: 0; top: 0; }
  .product-satellites { display: none; }
  .solution-flow { grid-template-columns: 1fr; }
  .solution-flow i { display: none; }
  .pipeline-shell,
  .capability-grid,
  .interface-grid { grid-template-columns: 1fr; }
  .interface-hero,
  .interface-wide { grid-column: span 1; }
  .interface-hero .browser-frame img,
  .interface-wide .browser-frame img,
  .browser-frame img { height: 230px; }
  .recommendation-actions .btn,
  .hero-actions .btn,
  .bridge-actions .btn,
  .custom-actions .btn { width: 100%; }
}
.store-card-stack article:nth-child(1) { transform: translateX(0) rotate(-1deg); }
.store-card-stack article:nth-child(2) { transform: translateX(-18px) rotate(1deg); }
.store-card-stack article:nth-child(3) { transform: translateX(-36px) rotate(-.5deg); }
.store-card-stack article:nth-child(4) { transform: translateX(-54px) rotate(1.2deg); }
.store-card-stack article:nth-child(5) { transform: translateX(-72px) rotate(-1.4deg); }
@media (max-width: 1140px) {
  .store-card-stack article:nth-child(n) { transform: none; }
}
