body.home {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

.rasa-growth-engine {
  --rge-night: #061426;
  --rge-deep: #092b57;
  --rge-blue: #176bff;
  --rge-cyan: #66d9ff;
  --rge-white: #f7fbff;
  --rge-steel: #9cb4d0;
  --rge-progress: 0;
  --rge-energy: 0.22;
  --rge-tilt-x: 0deg;
  --rge-tilt-y: 0deg;
  position: relative;
  display: none;
  min-height: 520vh;
  overflow: visible;
  color: var(--rge-white);
  background: var(--rge-night);
  isolation: isolate;
}

.rasa-growth-engine.rge--mounted { display: block; }

.rge-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 50%, rgba(23, 107, 255, calc(0.12 + var(--rge-energy) * 0.13)), transparent 35%),
    linear-gradient(120deg, #061426 0%, #071d39 53%, #092b57 100%);
  perspective: 1200px;
}

.rge-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(102, 217, 255, 0.12) 50%, transparent 50.1%),
    linear-gradient(0deg, transparent 49.9%, rgba(102, 217, 255, 0.08) 50%, transparent 50.1%);
  background-size: 92px 92px;
  mask-image: radial-gradient(circle at 36% 52%, #000, transparent 68%);
}

.rge-grid {
  position: absolute;
  inset: auto -10vw -42vh;
  height: 82vh;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(102, 217, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 217, 255, 0.24) 1px, transparent 1px);
  background-size: 7vw 7vw;
  transform: perspective(760px) rotateX(64deg);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.rge-marquee {
  position: absolute;
  top: 4vh;
  left: 0;
  color: rgba(247, 251, 255, 0.045);
  font: 900 clamp(86px, 13vw, 220px)/0.86 sans-serif;
  letter-spacing: -0.065em;
  white-space: nowrap;
  transform: translateX(calc(-4% - var(--rge-progress) * 12%));
  user-select: none;
}

.rge-orbit { display: none; }

.rge-core {
  position: absolute;
  z-index: 2;
  top: 51%;
  left: 36%;
  width: clamp(330px, 43vw, 620px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(var(--rge-tilt-x)) rotateY(var(--rge-tilt-y));
  transition: transform 0.35s ease;
  will-change: transform;
}

.rge-core__aura {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  opacity: calc(0.48 + var(--rge-energy) * 0.42);
  background:
    radial-gradient(circle, rgba(247, 251, 255, 0.28) 0 4%, rgba(102, 217, 255, 0.24) 12%, rgba(23, 107, 255, 0.15) 38%, transparent 70%);
  filter: blur(18px);
  transform: scale(calc(0.8 + var(--rge-energy) * 0.28));
  transition: opacity 0.7s ease, transform 0.8s ease;
}

.rge-core__orbit {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(156, 180, 208, 0.25);
  border-radius: 50%;
  opacity: 0.18;
  transform-style: preserve-3d;
  transition: opacity 0.7s ease, border-color 0.7s ease, box-shadow 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.rge-core__orbit::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid transparent;
  border-top-color: var(--rge-cyan);
  border-right-color: rgba(23, 107, 255, 0.72);
  filter: drop-shadow(0 0 9px rgba(102, 217, 255, 0.7));
}

.rge-core__orbit i {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rge-white);
  box-shadow: 0 0 8px var(--rge-white), 0 0 22px var(--rge-cyan);
}

.rge-core__orbit--1 { inset: 24%; transform: rotateX(67deg) rotateZ(18deg); }
.rge-core__orbit--2 { inset: 17%; transform: rotateY(66deg) rotateZ(-16deg); }
.rge-core__orbit--3 { inset: 9%; transform: rotateX(72deg) rotateZ(74deg); }
.rge-core__orbit--4 { inset: 1%; transform: rotateY(70deg) rotateZ(42deg); }

.rge--phase-0 [data-core-ring="1"],
.rge--phase-1 [data-core-ring="1"], .rge--phase-1 [data-core-ring="2"],
.rge--phase-2 [data-core-ring="1"], .rge--phase-2 [data-core-ring="2"], .rge--phase-2 [data-core-ring="3"],
.rge--phase-3 .rge-core__orbit {
  opacity: 0.95;
  border-color: rgba(102, 217, 255, 0.5);
  box-shadow: inset 0 0 25px rgba(23, 107, 255, 0.12);
}

.rge--phase-1 .rge-core__orbit--2 { transform: rotateY(58deg) rotateZ(8deg) scale(1.03); }
.rge--phase-2 .rge-core__orbit--3 { transform: rotateX(61deg) rotateZ(102deg) scale(1.04); }
.rge--phase-3 .rge-core__orbit--4 { transform: rotateY(58deg) rotateZ(74deg) scale(1.06); }

.rge-core__shell {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 43%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotateZ(calc(var(--rge-progress) * 28deg));
  transform-style: preserve-3d;
}

.rge-core__shell::before,
.rge-core__shell::after {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  border: 1px solid rgba(247, 251, 255, 0.2);
  box-shadow: inset 0 0 45px rgba(23, 107, 255, 0.22), 0 0 50px rgba(23, 107, 255, 0.15);
}

.rge-core__shell::after { inset: 8%; border-color: rgba(102, 217, 255, 0.34); }

.rge-core__shell > span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 18deg, rgba(247, 251, 255, 0.92), rgba(102, 217, 255, 0.52) 16%, rgba(23, 107, 255, 0.9) 30%, transparent 31% 100%);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.38));
  transition: transform 0.9s cubic-bezier(0.17, 0.84, 0.25, 1);
}

.rge-core__shell > span:nth-child(1) { transform: rotate(0deg) translateY(calc(var(--rge-energy) * -7%)); }
.rge-core__shell > span:nth-child(2) { transform: rotate(120deg) translateY(calc(var(--rge-energy) * -7%)); }
.rge-core__shell > span:nth-child(3) { transform: rotate(240deg) translateY(calc(var(--rge-energy) * -7%)); }

.rge--phase-2 .rge-core__shell > span:nth-child(1) { transform: rotate(8deg) translateY(-12%); }
.rge--phase-2 .rge-core__shell > span:nth-child(2) { transform: rotate(128deg) translateY(-12%); }
.rge--phase-2 .rge-core__shell > span:nth-child(3) { transform: rotate(248deg) translateY(-12%); }
.rge--phase-3 .rge-core__shell > span:nth-child(1) { transform: rotate(16deg) translateY(-19%); }
.rge--phase-3 .rge-core__shell > span:nth-child(2) { transform: rotate(136deg) translateY(-19%); }
.rge--phase-3 .rge-core__shell > span:nth-child(3) { transform: rotate(256deg) translateY(-19%); }

.rge-core__energy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 17%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, #fff 0 5%, var(--rge-cyan) 22%, var(--rge-blue) 54%, #071d39 76%);
  box-shadow:
    inset -12px -14px 28px rgba(2, 10, 28, 0.58),
    0 0 calc(24px + var(--rge-energy) * 42px) rgba(102, 217, 255, 0.88),
    0 0 calc(46px + var(--rge-energy) * 72px) rgba(23, 107, 255, 0.58);
  transform: translate(-50%, -50%) translateZ(50px) scale(calc(0.72 + var(--rge-energy) * 0.34));
  transition: transform 0.8s ease, box-shadow 0.8s ease;
}

.rge-core__energy > span {
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  background: var(--rge-white);
  filter: blur(2px);
  opacity: calc(0.3 + var(--rge-energy) * 0.7);
}

.rge-core__nodes { position: absolute; inset: 0; }
.rge-core__nodes i {
  position: absolute;
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: calc(0.1 + var(--rge-energy) * 0.8);
  background: var(--rge-cyan);
  box-shadow: 0 0 16px var(--rge-cyan);
  transform: scale(calc(0.55 + var(--rge-energy) * 0.7));
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.rge-core__nodes i:nth-child(1) { top: 12%; left: 36%; }
.rge-core__nodes i:nth-child(2) { top: 25%; right: 10%; }
.rge-core__nodes i:nth-child(3) { top: 58%; right: 4%; }
.rge-core__nodes i:nth-child(4) { bottom: 8%; left: 52%; }
.rge-core__nodes i:nth-child(5) { top: 62%; left: 5%; }
.rge-core__nodes i:nth-child(6) { top: 27%; left: 12%; }

.rge-copy {
  position: absolute;
  z-index: 5;
  top: 49%;
  right: 6vw;
  width: min(36vw, 500px);
  transform: translateY(-50%);
}

.rge-state {
  position: absolute;
  top: 50%;
  right: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(42px, -48%, 0);
  transition: opacity 0.45s ease, transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1), clip-path 0.65s ease;
}
.rge-state:nth-child(2) { transform: translate3d(-42px, -48%, 0); }
.rge-state:nth-child(3) { transform: translate3d(0, -42%, 0) scale(0.9); }
.rge-state:nth-child(4) { clip-path: inset(100% 0 0); transform: translate3d(0, -48%, 0); }
.rge-state.is-active { opacity: 1; pointer-events: auto; clip-path: inset(0); transform: translate3d(0, -48%, 0) scale(1); }

.rge-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--rge-cyan);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.rge-kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }

.rge-state h2 {
  max-width: 10ch;
  margin: 0 0 20px;
  color: var(--rge-white);
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.rge-state p {
  max-width: 31ch;
  margin: 0;
  color: var(--rge-steel);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.95;
}

.rge-index {
  position: absolute;
  z-index: 6;
  left: 6vw;
  bottom: 8vh;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--rge-steel);
}
.rge-index strong { color: var(--rge-cyan); font-size: clamp(36px, 4vw, 62px); line-height: 1; }
.rge-index span { font-size: 12px; }

.rge-progress {
  position: absolute;
  z-index: 6;
  right: 6vw;
  bottom: 8vh;
  width: 130px;
  height: 2px;
  overflow: hidden;
  background: rgba(156, 180, 208, 0.24);
}
.rge-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--rge-blue), var(--rge-cyan));
  transform: scaleX(var(--rge-progress));
  transform-origin: right center;
}

.rge-cta {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 6vh;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 15px 24px;
  border: 1px solid rgba(247, 251, 255, 0.38);
  border-radius: 999px;
  color: #061426 !important;
  background: var(--rge-white);
  font-weight: 900;
  text-decoration: none !important;
  opacity: 0;
  transform: translate(-50%, 22px);
  transition: opacity 0.45s ease, transform 0.55s ease, box-shadow 0.25s ease;
}
.rasa-growth-engine.rge--final .rge-cta { opacity: 1; transform: translate(-50%, 0); }
.rge-cta:hover { box-shadow: 0 14px 42px rgba(102, 217, 255, 0.26); }
.rge-cta:focus-visible { outline: 3px solid var(--rge-cyan); outline-offset: 5px; }

@media (max-width: 767px) {
  .rasa-growth-engine { min-height: 430vh; }
  .rge-sticky { min-height: 620px; }
  .rge-marquee { top: 9vh; font-size: 27vw; }
  .rge-grid { bottom: -25vh; }
  .rge-core {
    top: 31%;
    left: 50%;
    width: min(88vw, 430px);
  }
  .rge-copy {
    top: auto;
    right: 7vw;
    bottom: 18vh;
    width: 86vw;
    transform: none;
  }
  .rge-state { top: auto; bottom: 0; transform: translate3d(28px, 0, 0); }
  .rge-state:nth-child(2) { transform: translate3d(-28px, 0, 0); }
  .rge-state:nth-child(3) { transform: translate3d(0, 18px, 0) scale(0.92); }
  .rge-state:nth-child(4), .rge-state.is-active { transform: none; }
  .rge-state h2 { max-width: 12ch; margin-bottom: 12px; font-size: clamp(34px, 10.5vw, 51px); line-height: 1.12; }
  .rge-state p { max-width: 32ch; font-size: 13px; line-height: 1.8; }
  .rge-kicker { margin-bottom: 10px; }
  .rge-index { top: 9vh; bottom: auto; left: 7vw; }
  .rge-index strong { font-size: 38px; }
  .rge-progress { right: 7vw; bottom: 9vh; width: 90px; }
  .rge-cta { left: 7vw; bottom: 6vh; transform: translateY(18px); }
  .rasa-growth-engine.rge--final .rge-cta { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rasa-growth-engine { min-height: 100vh; }
  .rge-sticky { position: relative; }
  .rge-core,
  .rge-core *,
  .rge-state,
  .rge-cta,
  .rge-marquee { animation: none !important; transition: none !important; }
  .rge-state:not(:last-child), .rge-progress, .rge-index { display: none; }
  .rge-state:last-child { position: relative; opacity: 1; clip-path: none; transform: none; }
  .rge-copy { top: auto; bottom: 15vh; transform: none; }
  .rge-core { --rge-energy: 1; --rge-tilt-x: 0deg; --rge-tilt-y: 0deg; }
  .rge-core__orbit { opacity: 0.95; }
}
