/* ═══════════════════════════════════════════════════════════════
   neuralia.css — Immersive scrollytelling · Tecnomotion
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
  background: #05050e;
  color: #fff;
  font-family: 'Kanit', sans-serif;
  overflow-x: hidden;
}

/* Global dark gradient tint */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(137,74,129,0.12), transparent 32%),
    radial-gradient(circle at 74% 18%, rgba(82,160,224,0.07), transparent 26%),
    radial-gradient(circle at 16% 80%, rgba(166,91,161,0.10), transparent 28%);
}

/* ════════════════════════════════════════
   GRAIN + SCANLINES + PROGRESS
════════════════════════════════════════ */
.nrl-noise {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

.nrl-scanlines {
  position: fixed;
  inset: 0;
  z-index: 8999;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.015) 3px,
    rgba(0,0,0,0.015) 4px
  );
}

.nrl-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 9999;
  background: linear-gradient(90deg, #894a81, #c47abd, #52a0e0);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(166,91,161,0.6);
}

/* ════════════════════════════════════════
   BACK NAV
════════════════════════════════════════ */
.nrl-back {
  position: fixed;
  top: 1.4rem;
  left: 1.8rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  backdrop-filter: blur(4px);
}
.nrl-back:hover { color: #fff; }
.nrl-back i { font-size: 0.7rem; }

/* ════════════════════════════════════════
   SHARED — TAG + BUTTON
════════════════════════════════════════ */
.nrl-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a65ba1;
  margin-bottom: 1.2rem;
}
.nrl-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: #a65ba1;
  flex-shrink: 0;
}

.nrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: 'Kanit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.nrl-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.nrl-btn:hover::after { background: rgba(255,255,255,0.06); }

.nrl-btn--primary {
  background: linear-gradient(135deg, #7a3f72 0%, #a65ba1 60%, #c47abd 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(137,74,129,0.45), 0 0 0 1px rgba(166,91,161,0.2);
}
.nrl-btn--primary:hover {
  box-shadow: 0 12px 48px rgba(137,74,129,0.6), 0 0 0 1px rgba(166,91,161,0.35);
}

.nrl-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.14);
}
.nrl-btn--ghost:hover {
  border-color: rgba(255,255,255,0.32);
  color: #fff;
}

/* ════════════════════════════════════════
   SHARED — INFO BLOCK
════════════════════════════════════════ */
.nrl-info__title {
  font-family: 'Goldman', sans-serif;
  font-size: clamp(2.2rem, 3.2vw, 3.4rem);
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
}
.nrl-info__desc {
  font-size: 0.97rem;
  line-height: 1.68;
  color: rgba(255,255,255,0.5);
  max-width: 42ch;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.nrl-hero {
  position: relative;
  z-index: 1;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nrl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.nrl-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(137,74,129,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137,74,129,0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
}

.nrl-hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 70% 55% at 50% 55%, rgba(137,74,129,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 45%, #05050e 100%);
  pointer-events: none;
}

.nrl-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nrl-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.32rem 1.1rem;
  border: 1px solid rgba(166,91,161,0.38);
  border-radius: 100px;
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b87ab4;
  background: rgba(137,74,129,0.08);
  margin-bottom: 2rem;
  opacity: 1;
  backdrop-filter: blur(8px);
}
.nrl-hero__badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a65ba1;
  animation: nrlPulse 2s ease infinite;
  flex-shrink: 0;
}

/* Title wrap — layered glow + actual title */
.nrl-hero__title-wrap {
  position: relative;
  margin-bottom: 1.4rem;
  perspective: 900px;
}

.nrl-hero__title {
  font-family: 'Goldman', sans-serif;
  font-size: 9.5rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  background: linear-gradient(160deg, #ffffff 0%, rgba(196,122,189,0.95) 42%, #ffffff 78%, rgba(166,91,161,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
}

.nrl-hero__title .char {
  background: linear-gradient(160deg, #ffffff 0%, rgba(196,122,189,0.95) 42%, #ffffff 78%, rgba(166,91,161,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nrl-hero__title-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  font-family: 'Goldman', sans-serif;
  font-size: 9.5rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(166,91,161,0.25);
  filter: blur(18px);
  opacity: 0.8;
  pointer-events: none;
  user-select: none;
}

.nrl-hero__sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.46);
  max-width: 46ch;
  line-height: 1.65;
  margin-bottom: 2rem;
  opacity: 1;
}

.nrl-hero__cta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 3.5rem;
  opacity: 1;
}
.nrl-hero__cta-meta {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nrl-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2.35rem;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.42rem;
  color: rgba(255,255,255,0.46);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 1;
  transition: color 0.25s ease, transform 0.25s ease;
}
.nrl-hero__scroll:hover {
  color: rgba(255,255,255,0.78);
  transform: translateX(-50%) translateY(-2px);
}
.nrl-hero__scroll-text {
  display: block;
  max-width: 90vw;
  text-align: center;
  text-shadow: 0 0 18px rgba(196,122,189,0.18);
}
.nrl-hero__scroll-orbit {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(196,122,189,0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,122,189,0.1), transparent 62%);
  box-shadow: 0 0 28px rgba(196,122,189,0.08);
}
.nrl-hero__scroll-orbit::before,
.nrl-hero__scroll-orbit::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(196,122,189,0.13);
  animation: nrlScrollRing 2.6s ease-in-out infinite;
}
.nrl-hero__scroll-orbit::after {
  inset: -4px;
  opacity: 0.45;
  animation-delay: 0.55s;
}
.nrl-hero__scroll-orbit i {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 5px;
  height: 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(196,122,189,0.9));
  box-shadow: 0 0 18px rgba(196,122,189,0.52);
  transform: translateX(-50%);
  animation: nrlScrollDrop 1.85s ease-in-out infinite;
}
.nrl-hero__scroll-orbit b {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 1px;
  height: 14px;
  background: linear-gradient(180deg, rgba(196,122,189,0.6), transparent);
  transform: translateX(-50%);
}
.nrl-hero__scroll-arrow {
  width: 9px;
  height: 9px;
  border-right: 1px solid rgba(196,122,189,0.7);
  border-bottom: 1px solid rgba(196,122,189,0.7);
  transform: rotate(45deg);
  animation: nrlScrollArrow 1.85s ease-in-out infinite;
}
.nrl-hero__mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.nrl-hero__mouse-dot {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: rgba(166,91,161,0.7);
  animation: nrlMouseDot 1.6s ease-in-out infinite;
}

@keyframes nrlMouseDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  80%       { transform: translateY(10px); opacity: 0; }
}

@keyframes nrlScrollDrop {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.9; }
  62%      { transform: translate(-50%, 11px); opacity: 0.28; }
}

@keyframes nrlScrollArrow {
  0%, 100% { opacity: 0.28; transform: translateY(0) rotate(45deg); }
  50%      { opacity: 0.95; transform: translateY(5px) rotate(45deg); }
}

@keyframes nrlScrollRing {
  0%, 100% { transform: scale(0.86); opacity: 0.34; }
  50%      { transform: scale(1.14); opacity: 0.86; }
}

/* Floating stats */
.nrl-hero__stat {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 1;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.9rem 1.3rem;
}
.nrl-hero__stat--left  { left: 4vw; top: 50%; transform: translateY(-50%); }
.nrl-hero__stat--right { right: 4vw; top: 42%; }
.nrl-hero__stat strong {
  font-family: 'Goldman', sans-serif;
  font-size: 2rem;
  color: #a65ba1;
  line-height: 1;
}
.nrl-hero__stat span {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@keyframes nrlPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}

/* ════════════════════════════════════════
   MANIFESTO
════════════════════════════════════════ */
.nrl-manifesto {
  position: relative;
  z-index: 1;
  padding: 7rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #05050e 0%, #0a0818 50%, #05050e 100%);
}
.nrl-manifesto__inner {
  max-width: 820px;
  text-align: center;
}
.nrl-manifesto__text {
  display: grid;
  gap: 0.15em;
  font-family: 'Goldman', sans-serif;
  font-size: 2.7rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.62);
  font-weight: 400;
}
.nrl-manifesto__line {
  display: block;
}
.nrl-manifesto__line--top {
  color: rgba(255,255,255,0.76);
}
.nrl-manifesto__line--bottom {
  color: rgba(255,255,255,0.72);
}
.nrl-manifesto__text em {
  font-style: normal;
  color: #fff;
  background: linear-gradient(135deg, #c47abd, #a65ba1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(196,122,189,0.18);
}

/* ════════════════════════════════════════
   STATS STRIP
════════════════════════════════════════ */
.nrl-stats-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  background: rgba(255,255,255,0.018);
  backdrop-filter: blur(4px);
}
.nrl-stats-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.8rem 4vw;
  flex-wrap: wrap;
}
.nrl-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 2.4rem;
}
.nrl-stat-item strong {
  font-family: 'Goldman', sans-serif;
  font-size: 1.9rem;
  color: rgba(255,255,255,0.88);
  line-height: 1;
}
.nrl-stat-item--accent strong { color: #a65ba1; }
.nrl-stat-item span {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nrl-stat-sep {
  color: rgba(255,255,255,0.12);
  font-size: 1.2rem;
  user-select: none;
}

/* ════════════════════════════════════════
   SCREEN SPIRAL
════════════════════════════════════════ */
.nrl-spiral-scene {
  position: relative;
  z-index: 1;
  min-height: 270vh;
  background: linear-gradient(180deg, #05050e 0%, #090717 38%, #05050e 100%);
  overflow: clip;
}

.nrl-spiral-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  align-items: center;
  gap: 4vw;
  padding: 5rem 6vw;
}

.nrl-spiral-copy { max-width: 420px; }
.nrl-spiral-copy__title {
  font-family: 'Goldman', sans-serif;
  font-size: 3.45rem;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.1rem;
}
.nrl-spiral-copy__desc {
  font-size: 0.95rem;
  line-height: 1.68;
  color: rgba(255,255,255,0.46);
}

.nrl-spiral-viewport {
  position: relative;
  min-height: 640px;
  perspective: 1600px;
  transform-style: preserve-3d;
}

.nrl-spiral {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(640px, 58vw);
  height: 540px;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  transform: translate(-50%, -50%) rotateX(-8deg);
  will-change: transform;
}

.nrl-spiral-model {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: min(430px, 34vw);
  transform-origin: 50% 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
  filter: drop-shadow(0 40px 70px rgba(0,0,0,0.78)) drop-shadow(0 0 40px rgba(166,91,161,0.38));
  pointer-events: none;
}
.nrl-spiral-model__glow {
  position: absolute;
  inset: 10% -20% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166,91,161,0.38), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}
.nrl-hand3d {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 120px;
  isolation: isolate;
}
.nrl-hand3d canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
  filter: drop-shadow(0 0 24px rgba(196,122,189,0.42));
}
.nrl-hand3d--panel canvas {
  filter:
    drop-shadow(0 0 18px rgba(255,255,255,0.16))
    drop-shadow(0 0 28px rgba(196,122,189,0.28));
}
.nrl-hand3d--hero {
  height: 520px;
  min-height: 460px;
  filter: drop-shadow(0 34px 56px rgba(0,0,0,0.72));
}
.nrl-hand3d--screen {
  position: absolute;
  inset: 0;
  width: 78px;
  height: 92px;
  min-height: 92px;
  margin: auto;
}
.nrl-hand3d--panel {
  position: absolute;
  inset: 0;
  min-height: 100%;
}
.nrl-hand3d::before {
  content: '';
  position: absolute;
  inset: 30% 18% 10%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,122,189,0.32), transparent 62%);
  filter: blur(28px);
}
.nrl-hand3d__dot {
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: block;
}
.nrl-hand3d__dot--green { left: 34%; top: 36%; background: #52e08a; box-shadow: 0 0 18px rgba(82,224,138,0.85); }
.nrl-hand3d__dot--yellow { left: 50%; top: 57%; background: #e0a052; box-shadow: 0 0 18px rgba(224,160,82,0.85); }
.nrl-hand3d__dot--red { right: 27%; top: 50%; background: #e05252; box-shadow: 0 0 18px rgba(224,82,82,0.85); }

/* Individual screens in spiral */
.nrl-screen {
  position: absolute;
  top: 50%; left: 50%;
  width: 290px;
  min-height: 180px;
  padding: 1rem;
  border: 1px solid rgba(166,91,161,0.2);
  border-radius: 8px;
  background: linear-gradient(148deg, rgba(14,13,28,0.94), rgba(6,6,16,0.88));
  box-shadow: 0 30px 65px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.055);
  transform-style: flat;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: transform, opacity;
  contain: paint;
  overflow: hidden;
}
.nrl-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(166,91,161,0.13), transparent);
  opacity: 0;
  transform: translateX(-80%);
  animation: nrlSweep 4.8s ease-in-out infinite;
}
.nrl-screen > * { position: relative; z-index: 1; }

.nrl-screen__hd {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.nrl-screen__num {
  font-family: 'Goldman', sans-serif;
  font-size: 0.6rem;
  color: #a65ba1;
  letter-spacing: 0.08em;
}
.nrl-screen__hd > span:last-child {
  font-family: 'Goldman', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}

.nrl-screen:nth-child(1) { transform: translate(-50%,-50%) rotateY(0deg)   translateZ(440px) translateY(-180px); }
.nrl-screen:nth-child(2) { transform: translate(-50%,-50%) rotateY(56deg)  translateZ(440px) translateY(-110px); }
.nrl-screen:nth-child(3) { transform: translate(-50%,-50%) rotateY(112deg) translateZ(440px) translateY(-36px); }
.nrl-screen:nth-child(4) { transform: translate(-50%,-50%) rotateY(168deg) translateZ(440px) translateY(36px); }
.nrl-screen:nth-child(5) { transform: translate(-50%,-50%) rotateY(224deg) translateZ(440px) translateY(110px); }
.nrl-screen:nth-child(6) { transform: translate(-50%,-50%) rotateY(280deg) translateZ(440px) translateY(180px); }

.nrl-screen__model { position: relative; height: 118px; }
.nrl-screen__model img {
  position: absolute; inset: 0; margin: auto;
  width: 108px; height: 108px; object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(166,91,161,0.42));
}

.nrl-wire-twin {
  position: absolute;
  inset: 0 0 auto;
  width: 246px;
  height: 120px;
  margin: auto;
  border: 1px solid rgba(196,122,189,0.14);
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 50%, rgba(82,160,224,0.07), transparent 42%),
    linear-gradient(180deg, rgba(10,10,28,0.88), rgba(6,6,18,0.92));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 22px rgba(196,122,189,0.06);
  isolation: isolate;
  overflow: hidden;
}

.nrl-wire-twin::before {
  content: '';
  position: absolute;
  inset: 12px 28px 12px;
  border-radius: 50%;
  border: 1px solid rgba(196,122,189,0.08);
  transform: translateY(4px) rotate(-8deg);
}

.nrl-wire-twin::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111,215,255,0.26), transparent);
  box-shadow: 0 0 14px rgba(111,215,255,0.08);
  transform: translate(-50%, -50%);
}

.nrl-wire-twin__grid {
  position: absolute;
  inset: 18px 20px 10px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(111,215,255,0.1) 50%, transparent 50.3%),
    linear-gradient(transparent 49.7%, rgba(111,215,255,0.08) 50%, transparent 50.3%);
  opacity: 0.38;
}

.nrl-wire-twin__scan {
  position: absolute;
  left: 48px;
  right: 48px;
  top: 56%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111,215,255,0.6), transparent);
  box-shadow: 0 0 10px rgba(111,215,255,0.22);
  opacity: 0.52;
}

.nrl-wire-twin__heat {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
  mix-blend-mode: screen;
  opacity: 0.82;
}

.nrl-wire-twin__heat--soft {
  width: 36px;
  height: 36px;
  left: 102px;
  top: 68px;
  background: radial-gradient(circle, rgba(82,224,138,0.55) 0%, rgba(82,224,138,0.16) 48%, transparent 72%);
}

.nrl-wire-twin__heat--warn {
  width: 44px;
  height: 44px;
  left: 140px;
  top: 56px;
  background: radial-gradient(circle, rgba(224,160,82,0.7) 0%, rgba(224,82,82,0.2) 50%, transparent 74%);
}

.nrl-wire-twin .nrl-hand3d--wire {
  position: absolute;
  left: 48%;
  top: 64%;
  width: 98px;
  height: 108px;
  min-height: 108px;
  z-index: 2;
  transform: translate(-50%, -50%);
  filter:
    drop-shadow(0 0 8px rgba(155,230,255,0.12))
    drop-shadow(0 0 10px rgba(196,122,189,0.1));
}

.nrl-wire-twin .nrl-hand3d--wire::before {
  inset: 28% 18% 12%;
  background: radial-gradient(circle, rgba(111,215,255,0.08), transparent 58%);
  filter: blur(12px);
}

.nrl-wire-twin__readout {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 4;
  width: 86px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.16rem;
  text-align: right;
}

.nrl-wire-twin__readout strong {
  font-family: 'Goldman', sans-serif;
  font-size: 0.54rem;
  line-height: 1.15;
  color: rgba(255,255,255,0.8);
}

.nrl-wire-twin__readout span {
  font-style: normal;
  color: rgba(255,255,255,0.38);
  font-size: 0.4rem;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nrl-screen--twin .nrl-dot {
  display: none;
}

@keyframes nrlMiniScan {
  0%, 100% { transform: translateY(0); opacity: 0.18; }
  50%      { transform: translateY(10px); opacity: 0.46; }
}

/* Colored dots on twin screen */
.nrl-dot {
  position: absolute;
  width: 13px; height: 13px;
  border-radius: 50%;
  display: block;
}
.nrl-dot--green  { background: #52e08a; box-shadow: 0 0 14px rgba(82,224,138,0.8); top: 26px; left: 82px; }
.nrl-dot--red    { background: #e05252; box-shadow: 0 0 16px rgba(224,82,82,0.85); top: 68px; right: 72px; }
.nrl-dot--yellow { background: #e0a052; box-shadow: 0 0 16px rgba(224,160,82,0.85); bottom: 18px; left: 118px; }

.nrl-screen__risk {
  display: grid;
  gap: 0.62rem;
  min-height: 118px;
  padding: 0.72rem;
  border: 1px solid rgba(224,82,82,0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 16%, rgba(224,82,82,0.16), transparent 32%),
    linear-gradient(135deg, rgba(224,82,82,0.07), rgba(82,160,224,0.035));
}
.nrl-screen__risk-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}
.nrl-screen__risk-head span {
  color: rgba(255,255,255,0.46);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nrl-screen__risk-head strong {
  font-family: 'Goldman', sans-serif;
  font-size: 1.42rem;
  line-height: 1;
  color: #e05252;
  text-shadow: 0 0 18px rgba(224,82,82,0.36);
}
.nrl-screen__risk-meter {
  position: relative;
  height: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}
.nrl-screen__risk-meter b {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #52e08a, #e0a052 58%, #e05252);
  box-shadow: 0 0 16px rgba(224,82,82,0.4);
}
.nrl-screen__risk-meter i {
  position: absolute;
  top: -3px;
  left: 78%;
  width: 2px;
  height: 14px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,0.8);
}
.nrl-screen__risk-list {
  display: grid;
  gap: 0.34rem;
}
.nrl-screen__risk-list span {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  color: rgba(255,255,255,0.58);
  font-size: 0.58rem;
  line-height: 1.25;
}
.nrl-screen__risk-list em {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
  flex-shrink: 0;
}
.nrl-screen__risk-note {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  padding-top: 0.1rem;
  color: #e0a052;
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nrl-screen__replay {
  display: grid;
  gap: 0.55rem;
  min-height: 118px;
  padding: 0.7rem;
  border: 1px solid rgba(82,160,224,0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(82,160,224,0.06) 1px, transparent 1px),
    linear-gradient(rgba(82,160,224,0.045) 1px, transparent 1px),
    rgba(82,160,224,0.045);
  background-size: 18px 18px;
}
.nrl-screen__play {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,0.72);
  font-family: 'Goldman', sans-serif;
  font-size: 0.72rem;
}
.nrl-screen__play i {
  color: #52a0e0;
  font-size: 0.62rem;
  filter: drop-shadow(0 0 8px rgba(82,160,224,0.65));
}
.nrl-screen__sensor-track {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 0.45rem;
  min-height: 18px;
}
.nrl-screen__sensor-track span {
  color: rgba(255,255,255,0.46);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nrl-screen__sensor-track::after {
  content: '';
  height: 3px;
  border-radius: 8px;
  background: rgba(255,255,255,0.075);
}
.nrl-screen__sensor-track b {
  position: absolute;
  left: calc(68px + 0.45rem + var(--x));
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 12px var(--c);
  transform: translateX(-50%);
}
.nrl-screen__scrub {
  position: relative;
  height: 18px;
  margin-top: 0.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nrl-screen__scrub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 72%;
  height: 2px;
  border-radius: 8px;
  background: linear-gradient(90deg, #52a0e0, #a65ba1);
}
.nrl-screen__scrub em {
  position: absolute;
  left: 72%;
  top: 2px;
  width: 1px;
  height: 14px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,0.8);
}

.nrl-screen__snapshot {
  display: grid;
  gap: 0.54rem;
  min-height: 118px;
  padding: 0.72rem;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(224,82,82,0.045) 1px, transparent 1px),
    linear-gradient(rgba(224,82,82,0.04) 1px, transparent 1px),
    rgba(224,82,82,0.07);
  background-size: 16px 16px;
  border: 1px solid rgba(224,82,82,0.2);
  color: #e05252;
}
.nrl-screen__snapshot-head,
.nrl-screen__snapshot-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.nrl-screen__snapshot-head em {
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nrl-screen__snapshot-head span {
  color: rgba(255,255,255,0.44);
  font-family: 'Goldman', sans-serif;
  font-size: 0.62rem;
}
.nrl-screen__snapshot-value {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.1rem 0 0.18rem;
}
.nrl-screen__snapshot-value strong {
  font-family: 'Goldman', sans-serif;
  font-size: 2rem;
  line-height: 0.92;
  text-shadow: 0 0 18px rgba(224,82,82,0.34);
}
.nrl-screen__snapshot-value small {
  font-family: 'Kanit';
  font-size: 0.56rem;
  font-weight: 500;
  color: rgba(224,82,82,0.68);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nrl-screen__snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}
.nrl-screen__snapshot-grid span {
  display: grid;
  gap: 0.1rem;
  padding: 0.36rem 0.34rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 7px;
  color: rgba(255,255,255,0.4);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nrl-screen__snapshot-grid b {
  color: rgba(255,255,255,0.76);
  font-family: 'Goldman', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
}
.nrl-screen__snapshot-foot {
  justify-content: flex-start;
  color: rgba(224,82,82,0.78);
  font-size: 0.54rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nrl-screen p {
  color: rgba(255,255,255,0.52);
  font-size: 0.84rem;
  line-height: 1.5;
}
.nrl-screen__summary {
  display: grid;
  gap: 0.62rem;
  min-height: 118px;
  padding: 0.72rem;
  border: 1px solid rgba(166,91,161,0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 14%, rgba(196,122,189,0.16), transparent 34%),
    linear-gradient(135deg, rgba(166,91,161,0.08), rgba(82,160,224,0.04));
}
.nrl-screen__summary-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.48rem;
  color: rgba(255,255,255,0.58);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nrl-screen__summary-head i {
  color: #c47abd;
  filter: drop-shadow(0 0 8px rgba(196,122,189,0.58));
}
.nrl-screen__summary-head strong {
  color: #c47abd;
  font-family: 'Goldman', sans-serif;
  font-size: 0.74rem;
}
.nrl-screen__summary p {
  color: rgba(255,255,255,0.78);
  font-size: 0.72rem;
  line-height: 1.35;
  margin: 0;
}
.nrl-screen__summary-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.32rem;
}
.nrl-screen__summary-actions span {
  padding: 0.34rem 0.28rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 7px;
  background: rgba(255,255,255,0.035);
  color: rgba(255,255,255,0.58);
  font-size: 0.5rem;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nrl-screen__summary-foot {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  color: rgba(82,224,138,0.72);
  font-size: 0.54rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nrl-screen__summary-foot b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52e08a;
  box-shadow: 0 0 10px rgba(82,224,138,0.72);
}
.nrl-screen__token {
  display: grid;
  gap: 0.56rem;
  min-height: 118px;
  padding: 0.72rem;
  color: #52a0e0;
  border-radius: 8px;
  border: 1px dashed rgba(82,160,224,0.38);
  background:
    radial-gradient(circle at 82% 16%, rgba(82,160,224,0.14), transparent 30%),
    rgba(82,160,224,0.07);
  font-family: 'Kanit', sans-serif;
}
.nrl-screen__token-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.44rem;
  color: rgba(255,255,255,0.58);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nrl-screen__token-head > i {
  color: #52a0e0;
  filter: drop-shadow(0 0 8px rgba(82,160,224,0.65));
}
.nrl-screen__token-head strong {
  color: #52a0e0;
  font-family: 'Goldman', sans-serif;
  font-size: 0.76rem;
}
.nrl-screen__token-url {
  padding: 0.48rem 0.58rem;
  border: 1px solid rgba(82,160,224,0.24);
  border-radius: 7px;
  background: rgba(3,11,20,0.58);
  color: rgba(255,255,255,0.82);
  font-family: 'Goldman', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nrl-screen__token-access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.32rem;
}
.nrl-screen__token-access span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.32rem 0.26rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 7px;
  color: rgba(255,255,255,0.56);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nrl-screen__token-foot {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  color: rgba(82,160,224,0.74);
  font-size: 0.54rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nrl-screen__token-foot b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52a0e0;
  box-shadow: 0 0 10px rgba(82,160,224,0.74);
}
.nrl-screen__token i { font-size: 0.9rem; opacity: 0.7; }

@keyframes nrlSweep {
  0%, 55%  { transform: translateX(-95%); opacity: 0; }
  68%      { opacity: 0.44; }
  100%     { transform: translateX(95%); opacity: 0; }
}

/* ════════════════════════════════════════
   SCENES (pinned)
════════════════════════════════════════ */
.nrl-scene {
  position: relative;
  z-index: 1;
  isolation: isolate;
}
.nrl-scene::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(166,91,161,0.1), transparent),
              radial-gradient(circle at 50% 50%, rgba(82,160,224,0.07), transparent 32%);
  opacity: 0.3;
  animation: nrlSceneBreath 8s ease-in-out infinite;
}

.nrl-scene__pin {
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5vw;
  perspective: 1300px;
}

.nrl-scene__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
}
.nrl-scene__layout--reverse { direction: rtl; }
.nrl-scene__layout--reverse > * { direction: ltr; }

@keyframes nrlSceneBreath {
  0%, 100% { opacity: 0.18; transform: translateY(10%) scale(0.97); }
  50%       { opacity: 0.42; transform: translateY(-6%) scale(1.03); }
}

/* ════════════════════════════════════════
   SCENE 1 — DIGITAL TWIN
════════════════════════════════════════ */
.nrl-info { display: flex; flex-direction: column; }

.nrl-gauges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 2rem;
}

.nrl-gauge {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.4s, transform 0.4s;
}
.nrl-gauge.visible { opacity: 1; transform: translateY(0); }

.nrl-gauge__ring { position: relative; width: 62px; height: 62px; }
.nrl-gauge__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.nrl-gauge__bg  { fill: none; stroke: rgba(255,255,255,0.055); stroke-width: 3.5; }
.nrl-gauge__arc {
  fill: none; stroke: #52e08a; stroke-width: 3.5; stroke-linecap: round;
  stroke-dasharray: 138.23; stroke-dashoffset: 138.23;
  transition: stroke 0.3s;
  filter: drop-shadow(0 0 4px currentColor);
}
.nrl-gauge[data-status="warn"] .nrl-gauge__arc { stroke: #e0a052; }
.nrl-gauge[data-status="hot"]  .nrl-gauge__arc { stroke: #e05252; }

.nrl-gauge__num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Goldman', sans-serif; font-size: 0.86rem; font-weight: 700; color: #fff;
}
.nrl-gauge__lbl {
  font-size: 0.58rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.36); text-align: center;
}

/* Twin visual card */
.nrl-twin-visual {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  opacity: 0; transform: translateX(44px);
}
.nrl-twin-visual.visible {
  opacity: 1; transform: translateX(0);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.nrl-twin-visual__frame {
  position: relative;
  width: min(450px, 37vw);
  height: min(450px, 37vw);
  min-width: 360px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(148deg, rgba(10,10,28,0.92), rgba(5,5,18,0.96));
  border: 1px solid rgba(137,74,129,0.22);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(137,74,129,0.07),
    0 44px 88px rgba(0,0,0,0.65),
    0 0 110px rgba(108,59,170,0.14),
    inset 0 1px 0 rgba(255,255,255,0.04);
  transform: perspective(1000px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}

.nrl-twin-visual__frame::after {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(196,122,189,0.1);
  background:
    radial-gradient(circle, transparent 0 38%, rgba(196,122,189,0.055) 39% 40%, transparent 41% 100%),
    linear-gradient(90deg, transparent 49.6%, rgba(82,160,224,0.08) 50%, transparent 50.4%),
    linear-gradient(transparent 49.6%, rgba(82,160,224,0.08) 50%, transparent 50.4%);
  pointer-events: none;
}
.nrl-twin-visual__frame:hover {
  border-color: rgba(166,91,161,0.48);
  box-shadow:
    0 0 0 1px rgba(137,74,129,0.1),
    0 48px 96px rgba(0,0,0,0.68),
    0 0 140px rgba(166,91,161,0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.nrl-twin-visual__hand {
  position: relative;
  width: 318px;
  height: 380px;
  margin: 0 auto;
  transform: translateX(2px) translateY(-4px);
  z-index: 1;
}
.nrl-twin-visual__hand::before {
  content: '';
  position: absolute;
  inset: 12% 8% 7%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 34%, rgba(224,208,82,0.1), transparent 11%),
    radial-gradient(circle at 48% 54%, rgba(224,80,80,0.09), transparent 15%),
    radial-gradient(circle at 34% 50%, rgba(82,224,138,0.1), transparent 10%),
    radial-gradient(circle at 51% 75%, rgba(224,80,80,0.1), transparent 17%);
  filter: blur(5px) saturate(1.08);
  mix-blend-mode: screen;
}
.nrl-twin-visual__hand::after {
  content: '';
  position: absolute;
  inset: 15% 17% 8% 19%;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 48%, transparent 0 43%, rgba(111,215,255,0.18) 44%, transparent 47%, transparent 58%, rgba(80,98,116,0.16) 59%, transparent 62%),
    linear-gradient(90deg, rgba(18,30,42,0.24) 1px, transparent 1px),
    linear-gradient(0deg, rgba(18,30,42,0.2) 1px, transparent 1px),
    linear-gradient(45deg, transparent 48%, rgba(111,215,255,0.12) 49%, rgba(111,215,255,0.12) 51%, transparent 52%);
  background-size: auto, 16px 16px, 16px 16px, 28px 28px;
  border-radius: 45% 43% 39% 42%;
  opacity: 0.62;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse at 52% 52%, #000 0 55%, transparent 76%);
}
.nrl-twin-visual__img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(166,91,161,0.44));
}
.nrl-twin-visual__label {
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.26);
}

/* Heat zones */
.nrl-heat {
  position: absolute; border-radius: 50%;
  opacity: 0; pointer-events: none;
  z-index: 3;
  transition: opacity 1.3s ease;
  filter: blur(8px) saturate(1.35);
  mix-blend-mode: screen;
}
.nrl-heat.visible { opacity: 0.88; }
.nrl-heat::after {
  content: '';
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 9px 9px;
  opacity: 0.5;
  filter: blur(0.5px);
  mask-image: radial-gradient(circle, #000 0 48%, transparent 74%);
}
.nrl-heat--carpiana  { width: 78px;  height: 78px;  background: radial-gradient(circle, rgba(224,160,82,0.98) 0%, rgba(224,80,80,0.38) 38%, transparent 68%); top: 34%; left: 49%; }
.nrl-heat--antebrazo { width: 102px; height: 102px; background: radial-gradient(circle, rgba(224,80,80,0.98) 0%, rgba(224,80,80,0.46) 40%, transparent 70%); bottom: 13%; left: 43%; }
.nrl-heat--tenar     { width: 64px;  height: 64px;  background: radial-gradient(circle, rgba(82,224,138,0.82) 0%, rgba(82,224,138,0.32) 42%, transparent 70%); top: 48%; left: 32%; }
.nrl-heat--hipotenar { width: 58px;  height: 58px;  background: radial-gradient(circle, rgba(82,224,138,0.62) 0%, rgba(82,224,138,0.24) 45%, transparent 72%); top: 56%; left: 60%; }
.nrl-heat--radial    { width: 68px;  height: 68px;  background: radial-gradient(circle, rgba(224,208,82,0.84) 0%, rgba(224,208,82,0.3) 40%, transparent 70%);  top: 24%; left: 54%; }

/* Pins */
.nrl-pin {
  position: absolute; display: flex; align-items: center; gap: 0.5rem;
  opacity: 0; transform: scale(0.82);
  transition: opacity 0.4s, transform 0.4s; z-index: 5;
}
.nrl-pin.visible { opacity: 1; transform: scale(1); }
.nrl-pin--carpiana  { top: 25%; left: 18px; }
.nrl-pin--antebrazo { bottom: 20%; right: 16px; }
.nrl-pin--tenar     { top: 48%; left: 16px; }

.nrl-pin__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #e0a052;
  box-shadow: 0 0 8px rgba(224,160,82,0.8); flex-shrink: 0;
  animation: nrlPinPulse 2s ease infinite;
}
.nrl-pin__dot--hot { background: #e05252; box-shadow: 0 0 8px rgba(224,82,82,0.8); }
.nrl-pin__dot--ok  { background: #52e08a; box-shadow: 0 0 8px rgba(82,224,138,0.6); animation: none; }

@keyframes nrlPinPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(224,160,82,0.8); }
  50%       { box-shadow: 0 0 20px rgba(224,160,82,0.38), 0 0 0 6px rgba(224,160,82,0.09); }
}

.nrl-pin__card {
  background: rgba(8,8,22,0.92); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px; padding: 0.4rem 0.65rem;
  display: flex; flex-direction: column; gap: 0.1rem;
  backdrop-filter: blur(10px); white-space: nowrap;
}
.nrl-pin__card em { font-style: normal; font-size: 0.52rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.42); }
.nrl-pin__card strong { font-family: 'Goldman', sans-serif; font-size: 0.96rem; color: #fff; }
.nrl-pin__card small  { font-size: 0.48rem; font-family: 'Kanit'; font-weight: 400; color: rgba(255,255,255,0.38); margin-left: 2px; }

.nrl-pin__badge {
  font-size: 0.48rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.14rem 0.38rem; border-radius: 4px; display: inline-block;
}
.nrl-pin__badge--warn { background: rgba(224,160,82,0.18); color: #e0a052; }
.nrl-pin__badge--hot  { background: rgba(224,82,82,0.18);  color: #e05252; }
.nrl-pin__badge--ok   { background: rgba(82,224,138,0.18); color: #52e08a; }

/* ════════════════════════════════════════
   SCENE 2 — AI PREDICTION
════════════════════════════════════════ */
.nrl-ai-visual {
  opacity: 0; transform: translateX(-44px);
}
.nrl-ai-visual.visible {
  opacity: 1; transform: translateX(0);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.nrl-risk-card {
  background: rgba(7,7,18,0.96);
  border: 1px solid rgba(137,74,129,0.22);
  border-radius: 8px; padding: 1.4rem;
  box-shadow:
    0 0 0 1px rgba(137,74,129,0.07),
    0 32px 68px rgba(0,0,0,0.54),
    0 0 90px rgba(108,59,170,0.11);
  transform: perspective(1000px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.nrl-risk-card:hover {
  border-color: rgba(224,82,82,0.32);
  box-shadow: 0 0 0 1px rgba(224,82,82,0.08), 0 36px 80px rgba(0,0,0,0.58), 0 0 120px rgba(224,82,82,0.11);
}

.nrl-risk-canvas {
  display: block; width: 100%; height: 56px;
  border-radius: 8px; margin-bottom: 0.8rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
}

.nrl-risk-card__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.3rem; padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nrl-risk-card__title { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; color: rgba(255,255,255,0.46); }
.nrl-risk-card__status {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.62rem; padding: 0.18rem 0.55rem; border-radius: 100px;
  background: rgba(82,160,224,0.14); color: #52a0e0; font-weight: 500;
}
.nrl-risk-card__status.done { background: rgba(224,82,82,0.14); color: #e05252; }

/* Status dot */
.nrl-sdot {
  width: 5px; height: 5px; border-radius: 50%; background: #52a0e0;
  display: inline-block; flex-shrink: 0;
  animation: nrlPulse 1.5s ease infinite;
}
.nrl-sdot--done  { background: #e05252; animation: none; }
.nrl-sdot--green { background: #52e08a; animation: nrlPulse 2s ease infinite; }

.nrl-risk-bars { display: flex; flex-direction: column; gap: 0.88rem; margin-bottom: 1.1rem; }

.nrl-risk-bar { opacity: 0; transform: translateX(-12px); transition: opacity 0.4s, transform 0.4s; }
.nrl-risk-bar.visible { opacity: 1; transform: translateX(0); }

.nrl-risk-bar__head { display: flex; justify-content: space-between; margin-bottom: 0.32rem; }
.nrl-risk-bar__name { font-size: 0.73rem; color: rgba(255,255,255,0.66); }
.nrl-risk-bar__pct  { font-size: 0.73rem; font-weight: 600; font-family: 'Goldman', sans-serif; }
.nrl-risk-bar__track { height: 4px; background: rgba(255,255,255,0.055); border-radius: 100px; overflow: hidden; }
.nrl-risk-bar__fill  { height: 100%; width: 0%; border-radius: 100px; transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1); }

.nrl-alert {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  background: rgba(224,82,82,0.09); border: 1px solid rgba(224,82,82,0.28); border-radius: 8px;
  opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.5s;
}
.nrl-alert.visible { opacity: 1; transform: translateY(0); }
.nrl-alert__icon { color: #e05252; font-size: 0.95rem; margin-top: 1px; flex-shrink: 0; }
.nrl-alert strong { display: block; font-size: 0.76rem; color: #e05252; margin-bottom: 0.2rem; }
.nrl-alert span   { font-size: 0.68rem; color: rgba(255,255,255,0.46); line-height: 1.4; }

.nrl-stats-mini { display: flex; gap: 2.2rem; margin-top: 2rem; }
.nrl-stat-mini  { display: flex; flex-direction: column; gap: 0.2rem; }
.nrl-stat-mini strong { font-family: 'Goldman', sans-serif; font-size: 2rem; color: #a65ba1; line-height: 1; }
.nrl-stat-mini span   { font-size: 0.68rem; color: rgba(255,255,255,0.36); letter-spacing: 0.04em; }

/* ════════════════════════════════════════
   SCENE 3 — CLINICAL PANEL
════════════════════════════════════════ */
.nrl-panel-wrap {
  width: 100%; max-width: 1240px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 3.2rem;
}

.nrl-panel-header {
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: translateY(22px);
}
.nrl-panel-header.visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.nrl-panel-header .nrl-info__title { font-size: 2.55rem; margin-bottom: 0; }

.nrl-panel-ui {
  display: grid; grid-template-columns: 52px 1fr;
  background: rgba(7,7,18,0.97); border: 1px solid rgba(137,74,129,0.18);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(137,74,129,0.05), 0 32px 76px rgba(0,0,0,0.6), 0 0 90px rgba(108,59,170,0.1);
  opacity: 0; transform: translateY(32px); transform-origin: 50% 60%;
  position: relative;
  z-index: 1;
}
.nrl-panel-ui.visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.85s ease 0.12s, transform 0.85s ease 0.12s;
}

/* Sidebar */
.nrl-panel-sidebar {
  background: rgba(4,4,13,0.9); border-right: 1px solid rgba(255,255,255,0.045);
  display: flex; flex-direction: column; align-items: center;
  padding: 1rem 0; gap: 0.5rem;
}
.nrl-panel-brand {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #7a3f72, #a65ba1);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Goldman', sans-serif; font-size: 0.82rem; font-weight: 700; color: #fff;
  margin-bottom: 0.6rem; flex-shrink: 0;
}
.nrl-panel-nav { display: flex; flex-direction: column; gap: 0.15rem; align-items: center; width: 100%; }
.nrl-panel-nav__item {
  position: relative; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.32); border-radius: 8px; cursor: default;
  transition: background 0.2s, color 0.2s;
}
.nrl-panel-nav__item i { font-size: 0.75rem; }
.nrl-panel-nav__item--active {
  color: #fff; background: rgba(137,74,129,0.22);
}
.nrl-panel-nav__item--active::before {
  content: ''; position: absolute; left: 0; top: 25%; bottom: 25%;
  width: 2px; border-radius: 0 2px 2px 0; background: #a65ba1;
}
.nrl-panel-nav__item--alert .nrl-badge {
  position: absolute; top: 3px; right: 3px;
}
.nrl-badge {
  background: rgba(224,82,82,0.22); color: #e05252;
  font-size: 0.5rem; font-weight: 700; padding: 0.12rem 0.36rem; border-radius: 100px;
}

/* Panel main */
.nrl-panel-main { padding: 1.2rem; display: flex; flex-direction: column; gap: 1rem; }

.nrl-panel-topbar {
  display: flex; align-items: center; gap: 0.8rem;
  padding-bottom: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nrl-panel-topbar__title { font-size: 0.72rem; color: rgba(255,255,255,0.5); flex: 1; }
.nrl-panel-topbar__live  { display: flex; align-items: center; gap: 0.3rem; font-size: 0.62rem; color: rgba(82,224,138,0.7); }
.nrl-panel-topbar__time  { font-family: 'Goldman', sans-serif; font-size: 0.78rem; color: rgba(255,255,255,0.38); }

.nrl-panel-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem;
}
.nrl-pstat {
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.055);
  border-radius: 8px; padding: 0.85rem 0.95rem;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.nrl-pstat strong { font-family: 'Goldman', sans-serif; font-size: 1.55rem; color: #fff; line-height: 1; }
.nrl-pstat span   { font-size: 0.6rem; color: rgba(255,255,255,0.36); }
.nrl-pstat--warn  { border-color: rgba(224,82,82,0.18); }
.nrl-pstat--warn strong { color: #e05252; }
.nrl-pstat--ok strong   { color: #52e08a; }

.nrl-panel-patients { display: flex; flex-direction: column; gap: 0.35rem; }
.nrl-patient {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0.85rem;
  background: rgba(255,255,255,0.018); border: 1px solid rgba(255,255,255,0.038);
  border-radius: 8px; opacity: 0; transform: translateX(-16px);
  transition: opacity 0.4s, transform 0.4s;
}
.nrl-patient.visible { opacity: 1; transform: translateX(0); }
.nrl-patient--risk    { border-color: rgba(224,82,82,0.14); background: rgba(224,82,82,0.036); }

.nrl-patient__dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.nrl-patient__dot--red    { background: #e05252; box-shadow: 0 0 6px rgba(224,82,82,0.6); animation: nrlPulse 2s ease infinite; }
.nrl-patient__dot--yellow { background: #e0a052; }
.nrl-patient__dot--green  { background: #52e08a; }

.nrl-patient__info         { flex: 1; min-width: 0; }
.nrl-patient__info strong  { display: block; font-size: 0.76rem; color: rgba(255,255,255,0.84); }
.nrl-patient__info span    { font-size: 0.64rem; color: rgba(255,255,255,0.36); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

.nrl-patient__tag {
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.06em; white-space: nowrap;
  padding: 0.18rem 0.55rem; border-radius: 100px;
}
.nrl-patient__tag--red    { background: rgba(224,82,82,0.16); color: #e05252; }
.nrl-patient__tag--yellow { background: rgba(224,160,82,0.16); color: #e0a052; }
.nrl-patient__tag--green  { background: rgba(82,224,138,0.14); color: #52e08a; }

/* ════════════════════════════════════════
   FEATURES GRID
════════════════════════════════════════ */
.nrl-features {
  position: relative; z-index: 1;
  padding: 8rem 6vw;
  background: linear-gradient(180deg, #05050e 0%, #09071a 50%, #05050e 100%);
}
.nrl-features::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(137,74,129,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137,74,129,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
}

.nrl-features__header {
  text-align: center; margin-bottom: 4rem; position: relative;
}
.nrl-features__header .nrl-tag { justify-content: center; }
.nrl-features__title {
  font-family: 'Goldman', sans-serif;
  font-size: 3.25rem;
  line-height: 1.1; color: #fff; margin-bottom: 0.8rem;
}
.nrl-features__desc { font-size: 0.95rem; color: rgba(255,255,255,0.4); }

.nrl-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(137,74,129,0.14);
  border-radius: 8px;
  overflow: hidden;
}

.nrl-feat {
  position: relative;
  padding: 2.4rem 2rem;
  background: rgba(255,255,255,0.018);
  border-right: 1px solid rgba(137,74,129,0.1);
  border-bottom: 1px solid rgba(137,74,129,0.1);
  transition: background 0.3s;
  transform: perspective(600px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  will-change: transform;
  overflow: hidden;
}
.nrl-feat:hover { background: rgba(137,74,129,0.055); }
.nrl-feat:nth-child(3n) { border-right: none; }
.nrl-feat:nth-child(n+4) { border-bottom: none; }

.nrl-feat::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(166,91,161,0.12), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.nrl-feat:hover::before { opacity: 1; }

.nrl-feat__num {
  font-family: 'Goldman', sans-serif; font-size: 0.6rem;
  color: rgba(166,91,161,0.5); letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.nrl-feat__icon {
  width: 42px; height: 42px; border-radius: 8px;
  background: rgba(137,74,129,0.14); border: 1px solid rgba(137,74,129,0.22);
  display: flex; align-items: center; justify-content: center;
  color: #a65ba1; font-size: 1rem; margin-bottom: 1.1rem;
  transition: background 0.3s, border-color 0.3s;
}
.nrl-feat:hover .nrl-feat__icon {
  background: rgba(137,74,129,0.24); border-color: rgba(166,91,161,0.4);
}
.nrl-feat__title {
  font-family: 'Goldman', sans-serif; font-size: 1.05rem;
  color: #fff; margin-bottom: 0.7rem; font-weight: 700;
}
.nrl-feat__desc { font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,0.42); }
.nrl-feat__line {
  position: absolute; bottom: 0; left: 0;
  height: 1px; width: 0%; background: linear-gradient(90deg, #a65ba1, transparent);
  transition: width 0.4s ease;
}
.nrl-feat:hover .nrl-feat__line { width: 100%; }

/* ════════════════════════════════════════
   CTA
════════════════════════════════════════ */
.nrl-cta {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 6rem 2rem;
}
.nrl-cta__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.nrl-cta__orb {
  position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(137,74,129,0.22) 0%, transparent 65%);
  filter: blur(70px);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
  animation: nrlCtaBreath 6s ease-in-out infinite;
}
@keyframes nrlCtaBreath {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; }
  50%       { transform: translate(-50%,-50%) scale(1.15); opacity: 1; }
}

.nrl-cta__content {
  position: relative; z-index: 1;
  text-align: center; max-width: 700px;
}
.nrl-cta__title {
  font-family: 'Goldman', sans-serif;
  font-size: 4.2rem;
  line-height: 1.1; color: #fff;
  margin: 1rem 0 1.5rem;
}
.nrl-cta__desc {
  font-size: 0.98rem; line-height: 1.68;
  color: rgba(255,255,255,0.46); margin-bottom: 2.8rem;
}
.nrl-cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════════════
   VISUAL REFINEMENT — cohesive Neuralia experience
═══════════════════════════════════════════════════════════════════════ */
.nrl-btn {
  border-radius: 8px;
}

.nrl-hero::after {
  content: '';
  position: absolute;
  left: 16vw;
  right: 16vw;
  bottom: 7vh;
  height: 1px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(196,122,189,0.2), rgba(82,160,224,0.08), transparent);
  opacity: 0.28;
  filter: blur(0.4px);
}

.nrl-hero__content {
  width: min(100%, 1120px);
  padding: 0 2rem;
}

.nrl-hero__badge {
  box-shadow: 0 0 30px rgba(196,122,189,0.14), inset 0 1px 0 rgba(255,255,255,0.05);
}

.nrl-hero__title {
  text-shadow: 0 0 34px rgba(196,122,189,0.13);
}

.nrl-hero__sub {
  color: rgba(255,255,255,0.58);
}

.nrl-hero__stat {
  min-width: 150px;
  background:
    linear-gradient(140deg, rgba(196,122,189,0.11), rgba(82,160,224,0.035)),
    rgba(8,8,22,0.74);
  border-color: rgba(196,122,189,0.18);
  box-shadow: 0 18px 54px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.055);
}

.nrl-hero__stat::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,0.035);
  border-radius: 6px;
  pointer-events: none;
}

.nrl-manifesto {
  margin-top: 0;
  padding: 3.2rem 2rem 5.2rem;
  background:
    linear-gradient(180deg, rgba(7,7,18,0.92) 0%, rgba(7,7,18,0.98) 18%, #05050e 100%);
}

.nrl-manifesto::before {
  content: '';
  position: absolute;
  inset: -120px 0 auto;
  height: 190px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,5,14,0) 0%, rgba(5,5,14,0.24) 34%, rgba(5,5,14,0.72) 72%, #05050e 100%);
  opacity: 1;
}

.nrl-manifesto__inner {
  display: grid;
  gap: 0.95rem;
  justify-items: center;
}

.nrl-manifesto__cue {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  margin-bottom: 0.15rem;
  opacity: 0.9;
}

.nrl-manifesto__cue-orbit {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(196,122,189,0.18);
  background: radial-gradient(circle, rgba(196,122,189,0.12), transparent 64%);
  box-shadow: 0 0 24px rgba(196,122,189,0.12);
}

.nrl-manifesto__cue-orbit::before,
.nrl-manifesto__cue-orbit::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  border: 1px solid rgba(196,122,189,0.12);
  animation: nrlCueRing 2.4s ease-in-out infinite;
}

.nrl-manifesto__cue-orbit::after {
  inset: -4px;
  opacity: 0.42;
  animation-delay: 0.4s;
}

.nrl-manifesto__cue-orbit i {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 5px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(196,122,189,0.86));
  transform: translateX(-50%);
  box-shadow: 0 0 14px rgba(196,122,189,0.28);
  animation: nrlCueDrop 1.7s ease-in-out infinite;
}

.nrl-manifesto__cue-label {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.44);
}

.nrl-manifesto__signal {
  position: relative;
  width: min(520px, 74vw);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  opacity: 0.72;
}

.nrl-manifesto__signal::before,
.nrl-manifesto__signal::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,122,189,0.28), transparent);
}

.nrl-manifesto__signal::after {
  top: auto;
  bottom: 10px;
  opacity: 0.28;
  background: linear-gradient(90deg, transparent, rgba(82,160,224,0.24), transparent);
}

.nrl-manifesto__signal span {
  width: 8px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(196,122,189,0.25), rgba(196,122,189,0.9), rgba(82,160,224,0.18));
  box-shadow: 0 0 22px rgba(196,122,189,0.28);
  animation: nrlSignalBeat 2.6s ease-in-out infinite;
}

.nrl-manifesto__signal span:nth-child(2) { height: 46px; animation-delay: 0.14s; }
.nrl-manifesto__signal span:nth-child(3) { height: 64px; animation-delay: 0.28s; }
.nrl-manifesto__signal span:nth-child(4) { height: 38px; animation-delay: 0.42s; }
.nrl-manifesto__signal span:nth-child(5) { height: 54px; animation-delay: 0.56s; }

@keyframes nrlSignalBeat {
  0%, 100% { transform: scaleY(0.72); opacity: 0.55; }
  42%      { transform: scaleY(1.08); opacity: 1; }
  68%      { transform: scaleY(0.86); opacity: 0.7; }
}

@keyframes nrlCueRing {
  0%, 100% { transform: scale(0.92); opacity: 0.38; }
  50% { transform: scale(1.04); opacity: 0.82; }
}

@keyframes nrlCueDrop {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.72; }
  48% { transform: translateX(-50%) translateY(7px); opacity: 1; }
  70% { transform: translateX(-50%) translateY(3px); opacity: 0.85; }
}

.nrl-stats-strip {
  border-color: rgba(196,122,189,0.12);
  background:
    linear-gradient(90deg, rgba(196,122,189,0.08), transparent 28%, transparent 72%, rgba(82,160,224,0.055)),
    rgba(8,8,22,0.78);
}

.nrl-stats-strip__inner {
  gap: 0.75rem;
  padding: 1rem 4vw;
}

.nrl-stat-item {
  position: relative;
  min-width: 190px;
  padding: 1.05rem 1.25rem;
  align-items: flex-start;
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 8px;
  background: rgba(255,255,255,0.024);
  overflow: hidden;
}

.nrl-stat-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #c47abd, transparent);
  opacity: 0.56;
}

.nrl-stat-item--word strong {
  font-size: 1.34rem;
  letter-spacing: 0;
}

.nrl-stat-sep {
  display: none;
}

.nrl-spiral-scene {
  min-height: 300vh;
}

.nrl-spiral-copy {
  position: relative;
  padding: 1.2rem 0 1.2rem 1.15rem;
}

.nrl-spiral-copy::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, #c47abd, rgba(82,160,224,0.18), transparent);
  border-radius: 4px;
}

.nrl-spiral-copy__desc {
  color: rgba(255,255,255,0.56);
}

.nrl-spiral-copy__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.4rem;
}

.nrl-spiral-copy__stack span {
  padding: 0.34rem 0.62rem;
  border: 1px solid rgba(196,122,189,0.2);
  border-radius: 8px;
  color: rgba(255,255,255,0.52);
  background: rgba(255,255,255,0.03);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nrl-spiral-viewport {
  min-height: 690px;
}

.nrl-spiral-viewport__halo,
.nrl-spiral-viewport__axis {
  position: absolute;
  inset: 50% auto auto 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.nrl-spiral-viewport__halo {
  width: min(720px, 64vw);
  height: min(720px, 64vw);
  border: 1px solid rgba(196,122,189,0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(196,122,189,0.065), transparent 56%),
    conic-gradient(from 90deg, transparent 0 19%, rgba(196,122,189,0.14) 20%, transparent 21% 49%, rgba(82,160,224,0.12) 50%, transparent 51% 100%);
  mask-image: radial-gradient(circle, transparent 0 28%, #000 29% 100%);
  animation: nrlHaloDrift 18s linear infinite;
}

.nrl-spiral-viewport__axis {
  width: 1px;
  height: 84%;
  background: linear-gradient(180deg, transparent, rgba(196,122,189,0.38), rgba(82,160,224,0.18), transparent);
  opacity: 0.64;
}

@keyframes nrlHaloDrift {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.nrl-spiral-model {
  width: min(470px, 35vw);
}

.nrl-hand3d--hero {
  height: 560px;
  min-height: 520px;
}

.nrl-screen {
  width: 312px;
  min-height: 194px;
  background:
    linear-gradient(148deg, rgba(18,16,34,0.94), rgba(6,6,16,0.9)),
    radial-gradient(circle at 16% 0%, rgba(196,122,189,0.16), transparent 34%);
  border-color: rgba(196,122,189,0.26);
}

.nrl-screen__hd {
  margin-bottom: 0.9rem;
}

.nrl-screen__hd > span:last-child {
  color: rgba(255,255,255,0.84);
}

.nrl-info__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.nrl-info__chips span {
  padding: 0.34rem 0.62rem;
  border: 1px solid rgba(196,122,189,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.5);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nrl-twin-visual__frame,
.nrl-risk-card,
.nrl-panel-ui {
  border-color: rgba(196,122,189,0.24);
  background:
    linear-gradient(145deg, rgba(18,15,36,0.96), rgba(5,5,16,0.97)),
    radial-gradient(circle at 16% 12%, rgba(196,122,189,0.14), transparent 32%);
}

.nrl-twin-visual__frame::before,
.nrl-risk-card::before,
.nrl-panel-ui::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0.07), transparent 22%, transparent 76%, rgba(196,122,189,0.07));
  opacity: 0.46;
}

.nrl-risk-card,
.nrl-panel-ui {
  position: relative;
}

.nrl-panel-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: end;
}

.nrl-panel-header .nrl-tag,
.nrl-panel-header .nrl-info__title {
  grid-column: 1;
}

.nrl-panel-header__desc {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 34ch;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.55;
}

.nrl-panel-ui {
  overflow: hidden;
}

.nrl-panel-main {
  position: relative;
  z-index: 1;
}

.nrl-features {
  padding: 8rem 5vw 9rem;
}

.nrl-features__header {
  max-width: 860px;
  margin: 0 auto 2rem;
}

.nrl-features__desc {
  max-width: 62ch;
  margin: 0 auto;
  line-height: 1.6;
  color: rgba(255,255,255,0.52);
}

.nrl-features__flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  max-width: 980px;
  margin: 0 auto 2.8rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(196,122,189,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.022);
}

.nrl-features__flow span {
  color: rgba(255,255,255,0.58);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nrl-features__flow i {
  height: 1px;
  background: linear-gradient(90deg, rgba(196,122,189,0.55), transparent);
}

.nrl-features__grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 0.8rem;
  border: none;
  overflow: visible;
}

.nrl-feat {
  grid-column: span 4;
  min-height: 260px;
  padding: 2.15rem;
  border: 1px solid rgba(196,122,189,0.14) !important;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
    radial-gradient(circle at 18% 8%, rgba(196,122,189,0.14), transparent 40%);
  box-shadow: 0 24px 70px rgba(0,0,0,0.24);
}

.nrl-feat:nth-child(1) {
  grid-column: span 5;
  min-height: 300px;
}

.nrl-feat:nth-child(2) {
  grid-column: span 7;
  min-height: 300px;
  background:
    linear-gradient(145deg, rgba(224,82,82,0.06), rgba(255,255,255,0.018)),
    radial-gradient(circle at 88% 14%, rgba(224,82,82,0.18), transparent 36%);
}

.nrl-feat:nth-child(3),
.nrl-feat:nth-child(4),
.nrl-feat:nth-child(5),
.nrl-feat:nth-child(6) {
  grid-column: span 3;
}

.nrl-feat::after {
  content: attr(data-index);
  position: absolute;
  right: 1.2rem;
  bottom: 0.55rem;
  font-family: 'Goldman', sans-serif;
  font-size: 3.4rem;
  color: rgba(255,255,255,0.035);
  line-height: 1;
  pointer-events: none;
}

.nrl-feat__num {
  display: none;
}

.nrl-feat__icon {
  margin-bottom: 1.25rem;
  color: #d690d0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 24px rgba(196,122,189,0.1);
}

.nrl-feat__desc {
  color: rgba(255,255,255,0.5);
}

.nrl-cta {
  min-height: 88vh;
  border-top: 1px solid rgba(196,122,189,0.1);
}

.nrl-cta__orb {
  opacity: 0.52;
}

.nrl-cta__content {
  padding: 3rem;
  border: 1px solid rgba(196,122,189,0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  box-shadow: 0 30px 90px rgba(0,0,0,0.26);
}

/* Safe render path when motion libraries are blocked or disabled */
.nrl-js-fallback .nrl-progress,
.nrl-js-fallback .nrl-canvas,
.nrl-js-fallback .nrl-cta__canvas { display: none; }

.nrl-js-fallback .nrl-screen,
.nrl-js-fallback .nrl-gauge,
.nrl-js-fallback .nrl-twin-visual,
.nrl-js-fallback .nrl-heat,
.nrl-js-fallback .nrl-pin,
.nrl-js-fallback .nrl-ai-visual,
.nrl-js-fallback .nrl-risk-bar,
.nrl-js-fallback .nrl-alert,
.nrl-js-fallback .nrl-panel-header,
.nrl-js-fallback .nrl-panel-ui,
.nrl-js-fallback .nrl-patient {
  opacity: 1;
  transform: none;
  filter: none;
}

.nrl-js-fallback .nrl-risk-bar__fill { width: 64%; }
.nrl-js-fallback .nrl-risk-bar:nth-child(1) .nrl-risk-bar__fill { width: 78%; }
.nrl-js-fallback .nrl-risk-bar:nth-child(2) .nrl-risk-bar__fill { width: 54%; }
.nrl-js-fallback .nrl-risk-bar:nth-child(3) .nrl-risk-bar__fill { width: 31%; }
.nrl-js-fallback .nrl-risk-bar:nth-child(4) .nrl-risk-bar__fill { width: 18%; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1100px) {
  .nrl-features__grid { grid-template-columns: repeat(2, 1fr); }
  .nrl-feat,
  .nrl-feat:nth-child(1),
  .nrl-feat:nth-child(2),
  .nrl-feat:nth-child(3),
  .nrl-feat:nth-child(4),
  .nrl-feat:nth-child(5),
  .nrl-feat:nth-child(6) {
    grid-column: span 1;
  }
  .nrl-feat:nth-child(3n) { border-right: 1px solid rgba(137,74,129,0.1); }
  .nrl-feat:nth-child(2n) { border-right: none; }
  .nrl-feat:nth-child(n+5) { border-bottom: none; }
  .nrl-feat:nth-child(-n+4) { border-bottom: 1px solid rgba(137,74,129,0.1); }
}

@media (max-width: 900px) {
  .nrl-hero__stat { display: none; }
  .nrl-info__title { font-size: 2.55rem; }
  .nrl-hero__title,
  .nrl-hero__title-glow { font-size: 6.8rem; }
  .nrl-manifesto__text { font-size: 2.25rem; }
  .nrl-spiral-copy__title { font-size: 2.8rem; }
  .nrl-panel-header .nrl-info__title { font-size: 2.2rem; }
  .nrl-features__title { font-size: 2.65rem; }
  .nrl-cta__title { font-size: 3.1rem; }

  .nrl-spiral-sticky {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2rem;
    padding: 4rem 1.4rem;
  }
  .nrl-spiral-copy { max-width: 580px; text-align: center; margin: 0 auto; }
  .nrl-spiral-copy::before { display: none; }
  .nrl-spiral-copy__stack { justify-content: center; }
  .nrl-spiral-copy .nrl-tag { justify-content: center; }
  .nrl-spiral-viewport { min-height: 560px; }
  .nrl-spiral { width: 520px; height: 480px; }
  .nrl-screen { width: 248px; min-height: 160px; }
  .nrl-screen:nth-child(1) { transform: translate(-50%,-50%) rotateY(0deg)   translateZ(320px) translateY(-150px); }
  .nrl-screen:nth-child(2) { transform: translate(-50%,-50%) rotateY(56deg)  translateZ(320px) translateY(-92px); }
  .nrl-screen:nth-child(3) { transform: translate(-50%,-50%) rotateY(112deg) translateZ(320px) translateY(-32px); }
  .nrl-screen:nth-child(4) { transform: translate(-50%,-50%) rotateY(168deg) translateZ(320px) translateY(32px); }
  .nrl-screen:nth-child(5) { transform: translate(-50%,-50%) rotateY(224deg) translateZ(320px) translateY(92px); }
  .nrl-screen:nth-child(6) { transform: translate(-50%,-50%) rotateY(280deg) translateZ(320px) translateY(150px); }

  .nrl-scene__layout,
  .nrl-scene__layout--reverse { grid-template-columns: 1fr; direction: ltr; gap: 2.5rem; }

  .nrl-panel-ui { grid-template-columns: 1fr; }
  .nrl-panel-header { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .nrl-panel-header .nrl-tag,
  .nrl-panel-header .nrl-info__title,
  .nrl-panel-header__desc { grid-column: 1; grid-row: auto; }
  .nrl-panel-header__desc { max-width: 54ch; }
  .nrl-panel-sidebar { display: none; }
  .nrl-panel-stats { grid-template-columns: repeat(2, 1fr); }
  .nrl-gauges { grid-template-columns: repeat(3, 1fr); }
  .nrl-twin-visual__frame {
    width: min(450px, calc(100vw - 2.8rem));
    height: min(450px, calc(100vw - 2.8rem));
    min-width: 0;
    min-height: 0;
  }
  .nrl-twin-visual__hand {
    width: min(318px, 68vw);
    height: min(380px, 78vw);
  }
  .nrl-pin--carpiana { left: 12px; }
  .nrl-pin--antebrazo { right: 12px; }
  .nrl-features { padding: 5rem 4vw; }
  .nrl-features__grid { grid-template-columns: 1fr 1fr; }
  .nrl-features__flow { grid-template-columns: 1fr; text-align: center; }
  .nrl-features__flow i { display: none; }
}

@media (max-width: 600px) {
  .nrl-back { top: 1rem; left: 1rem; }
  .nrl-hero { min-height: 640px; }
  .nrl-hero__content { width: 100%; padding: 0 1.1rem; }
  .nrl-hero__badge {
    max-width: calc(100vw - 2rem);
    justify-content: center;
    text-align: center;
    font-size: 0.58rem;
    line-height: 1.35;
  }
  .nrl-hero__title,
  .nrl-hero__title-glow { font-size: 3.95rem; }
  .nrl-hero__sub { font-size: 0.95rem; max-width: 32ch; }
  .nrl-info__title { font-size: 2.1rem; }
  .nrl-manifesto__text { font-size: 1.65rem; }
  .nrl-spiral-copy__title { font-size: 2.15rem; }
  .nrl-features__title { font-size: 2.05rem; }
  .nrl-cta__title { font-size: 2.35rem; }
  .nrl-hero__cta { flex-direction: column; gap: 0.8rem; }
  .nrl-hero__cta-meta { display: none; }
  .nrl-manifesto { margin-top: 0; padding: 3.6rem 1.4rem 4.5rem; }
  .nrl-stats-strip__inner { gap: 0; padding: 1.2rem 2vw; flex-wrap: wrap; justify-content: flex-start; }
  .nrl-stat-item { padding: 0.6rem 1rem; }
  .nrl-stat-sep { display: none; }

  .nrl-spiral-scene { min-height: 230vh; }
  .nrl-spiral-viewport { min-height: 440px; transform: scale(0.82); transform-origin: center top; }
  .nrl-spiral-model { width: 200px; }
  .nrl-hand3d--hero { height: 330px; min-height: 330px; }
  .nrl-screen { width: 216px; min-height: 145px; }
  .nrl-scene__pin { padding: 3rem 1.2rem; }
  .nrl-gauges { grid-template-columns: repeat(2, 1fr); }
  .nrl-stats-mini { gap: 1.4rem; }
  .nrl-panel-stats { grid-template-columns: repeat(2, 1fr); }
  .nrl-twin-visual__frame {
    width: min(360px, calc(100vw - 2.4rem));
    height: min(360px, calc(100vw - 2.4rem));
    padding: 0;
  }
  .nrl-twin-visual__hand {
    width: min(250px, 66vw);
    height: min(310px, 76vw);
  }
  .nrl-pin__card {
    padding: 0.32rem 0.48rem;
  }
  .nrl-pin__card em { font-size: 0.46rem; }
  .nrl-pin__card strong { font-size: 0.78rem; }
  .nrl-pin__badge { font-size: 0.42rem; }
  .nrl-features { padding: 4rem 1.4rem; }
  .nrl-features__grid { grid-template-columns: 1fr; }
  .nrl-feat,
  .nrl-feat:nth-child(1),
  .nrl-feat:nth-child(2) { min-height: 230px; }
  .nrl-cta__content { padding: 2rem 1.2rem; }
  .nrl-feat { border-right: none !important; }
  .nrl-feat:nth-child(n+5) { border-bottom: 1px solid rgba(137,74,129,0.1) !important; }
  .nrl-feat:last-child { border-bottom: none !important; }
  .nrl-cta__actions { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .nrl-canvas, .nrl-cta__canvas { display: none; }
  .nrl-screen,
  .nrl-gauge,
  .nrl-twin-visual,
  .nrl-heat,
  .nrl-pin,
  .nrl-ai-visual,
  .nrl-risk-bar,
  .nrl-alert,
  .nrl-panel-header,
  .nrl-panel-ui,
  .nrl-patient {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
