/* Nexus United Desktop website feature: all selectors are scoped to this section. */
.nu-desktop-feature {
  --nu-accent: #b78cff;
  --nu-cyan: #56deff;
  box-sizing: border-box;
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, .88fr) minmax(320px, 1.12fr);
  gap: clamp(20px, 5vw, 68px);
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  margin: clamp(24px, 5vw, 80px) auto;
  padding: clamp(23px, 5vw, 58px);
  color: #f5f1ff;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  border: 1px solid rgba(160, 122, 251, .35);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 16% 34%, rgba(56, 123, 255, .22), transparent 48%),
    radial-gradient(ellipse at 90% 95%, rgba(165, 58, 255, .14), transparent 49%),
    linear-gradient(130deg, #0c1021 0%, #101025 43%, #150d24 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .27), inset 0 1px 0 rgba(255, 255, 255, .045);
  overflow: hidden;
}
.nu-desktop-feature *, .nu-desktop-feature *::before, .nu-desktop-feature *::after { box-sizing: border-box; }
.nu-desktop-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background: linear-gradient(100deg, transparent 43%, rgba(94, 123, 250, .055) 58%, transparent 77%);
}
.nu-desktop-visual {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
}
.nu-desktop-halo {
  position: absolute;
  width: 83%;
  aspect-ratio: 1;
  max-width: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 92, 234, .26), transparent 70%);
  border: 1px solid rgba(123, 99, 237, .13);
  box-shadow: 0 0 70px rgba(52, 99, 255, .10);
}
.nu-desktop-emblem {
  position: relative;
  display: block;
  width: min(100%, 365px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 6px 22px rgba(98, 103, 255, .25));
}
.nu-desktop-visual-caption {
  position: absolute;
  bottom: 0;
  color: #938ab4;
  font-size: 9px;
  letter-spacing: .19em;
  font-weight: 750;
  text-align: center;
}
.nu-desktop-content { position: relative; z-index: 1; min-width: 0; }
.nu-desktop-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #8bddff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nu-desktop-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--nu-cyan); box-shadow: 0 0 12px rgba(68, 203, 255, .6); }
.nu-desktop-feature h2 {
  margin: 0;
  color: #f5f1ff;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 850;
  line-height: 1.14;
  letter-spacing: -.045em;
}
.nu-desktop-feature h2 span { color: #c09bff; }
.nu-desktop-description { max-width: 540px; margin: 18px 0 18px; color: #bbb3d1; font-size: 14px; line-height: 1.75; }
.nu-desktop-features { display: grid; gap: 10px; padding: 0; margin: 0 0 24px; list-style: none; }
.nu-desktop-features li { position: relative; padding-left: 23px; color: #ddd5ee; line-height: 1.4; font-size: 12px; }
.nu-desktop-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #76e5ff;
  font-weight: 900;
}
.nu-desktop-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nu-desktop-store-status, .nu-desktop-site-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 15px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}
.nu-desktop-store-status { color: #d9c9fc; border: 1px solid #5c457b; background: rgba(66, 41, 98, .34); }
.nu-desktop-store-status svg { flex-shrink: 0; }
.nu-desktop-site-link { color: #081521; background: linear-gradient(115deg, #75e6ff, #ba9aff); text-decoration: none; transition: filter .15s ease, transform .15s ease; }
.nu-desktop-site-link:hover { filter: brightness(1.12); transform: translateY(-1px); color: #081521; }
.nu-desktop-site-link:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.nu-desktop-footnote { margin: 16px 0 0; font-size: 10px; line-height: 1.5; color: #938aaa; }
@media (max-width: 740px) {
  .nu-desktop-feature { grid-template-columns: 1fr; gap: 12px; padding: 25px 22px; border-radius: 20px; }
  .nu-desktop-visual { min-height: 155px; }
  .nu-desktop-halo { width: 210px; }
  .nu-desktop-emblem { width: min(200px, 65vw); }
  .nu-desktop-visual-caption { display: none; }
  .nu-desktop-feature h2 { font-size: clamp(28px, 7vw, 40px); }
}
@media (prefers-reduced-motion: reduce) { .nu-desktop-site-link { transition: none; } }

/* Projects-page fallback: clearly label the new Nexus United section. */
.nu-projects-heading {
  width: min(1080px, calc(100% - 40px));
  margin: 60px auto 0;
  padding: 26px 32px;
  border-left: 3px solid #8c70ff;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, rgba(101,69,180,.18), rgba(16,13,33,.22));
  color: #eae7ff;
}
.nu-projects-kicker { color: #71dfff; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; margin: 0 0 8px; }
.nu-projects-heading h2 { font-size: clamp(27px, 4vw, 40px); color: #f6f0ff; margin: 0 0 8px; }
.nu-projects-heading p:not(.nu-projects-kicker) { line-height: 1.65; color: #beb8d5; font-size: 14px; margin: 0; }
.nu-projects-heading a { color: #7ddfff; }

/* When a recognizable legacy hero logo contains "THE NEXUS" baked into artwork,
   replace its display with the same emblem and a real, selectable Nexus United wordmark. */
.nu-rebrand-logo { display: grid; place-items: center; justify-items: center; gap: 1px; }
.nu-rebrand-logo > img { display: block; width: min(220px, 42vw); height: auto; aspect-ratio: 1; object-fit: contain; }
.nu-rebrand-wordmark { display: block; color: #e3d1ff; font-size: 13px; font-weight: 900; text-align: center; letter-spacing: .24em; text-transform: uppercase; }
