:root {
  --bg: #050916;
  --bg-soft: #081127;
  --panel: rgba(12, 18, 38, 0.78);
  --panel-strong: rgba(13, 21, 46, 0.9);
  --text: #f7f8ff;
  --muted: #b8bfd8;
  --muted-2: #8f98ba;
  --blue: #1597ff;
  --cyan: #18f0ff;
  --purple: #8d72ff;
  --gold: #ffd166;
  --gold-dark: #a47525;
  --border: rgba(133, 149, 255, 0.35);
  --radius-lg: 34px;
  --radius-md: 24px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(95, 81, 255, 0.26), transparent 33%),
    radial-gradient(circle at 84% 22%, rgba(0, 190, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #030712 0%, #071126 48%, #030712 100%);
}

.migration-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  overflow: hidden;
}

.migration-card {
  position: relative;
  width: min(1180px, 100%);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(107, 123, 210, 0.28);
  border-radius: clamp(26px, 4vw, 46px);
  padding: clamp(28px, 5vw, 76px) clamp(22px, 5vw, 72px) clamp(22px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 26%),
    radial-gradient(circle at 50% 54%, rgba(91, 71, 255, 0.28), transparent 32%),
    linear-gradient(160deg, rgba(10, 17, 37, 0.96), rgba(4, 8, 20, 0.98));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.migration-card > *:not(.orb):not(.grid-lines) {
  position: relative;
  z-index: 1;
}

.migration-card::before,
.migration-card::after {
  content: "";
  position: absolute;
  inset: auto;
  z-index: -1;
  pointer-events: none;
}

.migration-card::before {
  width: 420px;
  height: 420px;
  right: -180px;
  top: -190px;
  border-radius: 50%;
  border: 1px solid rgba(36, 174, 255, 0.34);
  box-shadow: 0 0 60px rgba(52, 103, 255, 0.3);
}

.migration-card::after {
  width: 520px;
  height: 160px;
  left: -120px;
  bottom: -72px;
  border: 1px solid rgba(141, 114, 255, 0.28);
  border-right: 0;
  border-radius: 50%;
  transform: rotate(12deg);
  filter: blur(0.2px);
}

.grid-lines {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
}

.grid-lines::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 22%, rgba(75, 143, 255, 0.13) 48%, transparent 74%),
    linear-gradient(65deg, transparent 35%, rgba(255, 209, 102, 0.08) 50%, transparent 66%);
  opacity: 0;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.62;
  z-index: -1;
}

.orb-one {
  width: 170px;
  height: 170px;
  left: 10%;
  top: 32%;
  background: rgba(124, 90, 255, 0.28);
}

.orb-two {
  width: 220px;
  height: 220px;
  right: 12%;
  top: 34%;
  background: rgba(0, 174, 255, 0.22);
}

.hero-header {
  text-align: center;
}

.hero-header h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.75rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
  font-weight: 900;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 16px 54px rgba(92, 114, 255, 0.32);
}

.hero-header h1 span {
  display: inline-block;
  background: linear-gradient(135deg, #b9b8ff 0%, #7d7fff 40%, #36dfff 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  margin: clamp(14px, 2vw, 22px) auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2.2vw, 1.55rem);
  line-height: 1.45;
}

.vision-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  max-width: 520px;
  margin: clamp(22px, 3vw, 38px) auto clamp(28px, 4vw, 52px);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: clamp(0.72rem, 1.35vw, 0.92rem);
}

.vision-row span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  box-shadow: 0 0 16px rgba(255, 209, 102, 0.5);
}

.vision-row span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.vision-row strong {
  position: relative;
  font-weight: 700;
  white-space: nowrap;
}

.vision-row strong::before {
  content: "✦";
  position: absolute;
  left: 50%;
  top: -34px;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1rem;
  text-shadow: 0 0 16px rgba(255, 209, 102, 0.8);
}

.transition-zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.brand-box {
  min-height: 250px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 34px);
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.brand-new {
  border-color: rgba(21, 151, 255, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(24, 240, 255, 0.1),
    0 0 48px rgba(21, 151, 255, 0.24),
    0 24px 70px rgba(0, 0, 0, 0.3);
}

.brand-icon {
  width: clamp(92px, 10vw, 138px);
  height: clamp(92px, 10vw, 138px);
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 24px;
  filter: drop-shadow(0 0 26px rgba(134, 116, 255, 0.42));
}

.noxvh-icon {
  filter: drop-shadow(0 0 28px rgba(24, 240, 255, 0.45));
}

.brand-copy h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #a9afff 58%, #28e5ff 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-old .brand-copy h2 {
  background: linear-gradient(135deg, #bdb9ff 0%, #7c76ff 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy p {
  margin: 14px 0 0;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: clamp(0.72rem, 1vw, 0.84rem);
  font-weight: 700;
}

.energy-arrow {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.energy-arrow::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 64px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.9), rgba(88, 82, 255, 0.56) 28%, transparent 70%);
  filter: blur(8px);
  opacity: 0.92;
}

.energy-arrow .spark {
  position: absolute;
  left: 18%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 18px rgba(87, 205, 255, 0.95), 0 0 34px rgba(130, 94, 255, 0.85);
  opacity: 0;
}

.spark-1 { margin-top: -24px; }
.spark-2 { margin-top: 0; }
.spark-3 { margin-top: 24px; }

.energy-arrow::after {
  content: "";
  position: absolute;
  width: 136px;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), rgba(67, 220, 255, 0.95));
  box-shadow: 0 0 18px rgba(56, 204, 255, 0.88), 0 0 42px rgba(130, 94, 255, 0.8);
}

.trail {
  position: absolute;
  right: 88px;
  width: 130px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(125, 111, 255, 0.8), rgba(255, 255, 255, 0.85));
  transform-origin: right center;
  opacity: 0.76;
}

.trail-1 { transform: rotate(-19deg); }
.trail-2 { transform: rotate(0deg); }
.trail-3 { transform: rotate(19deg); }

.arrow-head {
  position: absolute;
  right: 10px;
  width: 0;
  height: 0;
  border-top: 34px solid transparent;
  border-bottom: 34px solid transparent;
  border-left: 50px solid rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 0 20px rgba(60, 194, 255, 0.96));
}

.status-area {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin: clamp(36px, 4vw, 58px) auto 0;
}

.status-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.95));
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.4);
}

.status-line:last-child {
  background: linear-gradient(90deg, rgba(255, 209, 102, 0.95), transparent);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 76px;
  padding: 0 clamp(24px, 4vw, 54px);
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  background: linear-gradient(180deg, rgba(255, 209, 102, 0.1), rgba(255, 209, 102, 0.035));
  box-shadow: inset 0 0 18px rgba(255, 209, 102, 0.07), 0 0 34px rgba(255, 209, 102, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: clamp(0.9rem, 1.8vw, 1.25rem);
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.status-pill:hover {
  border-color: #ffe59a;
  box-shadow: inset 0 0 18px rgba(255, 209, 102, 0.12), 0 0 42px rgba(255, 209, 102, 0.2);
  transform: translateY(-1px);
}

.status-pill:focus-visible {
  outline: 3px solid rgba(255, 209, 102, 0.42);
  outline-offset: 5px;
}

.note {
  width: fit-content;
  max-width: 100%;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin: 28px auto 0;
  padding: 13px 18px;
  border: 1px solid rgba(142, 114, 255, 0.25);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(3, 7, 18, 0.35);
  font-size: 0.96rem;
  line-height: 1.35;
  text-align: center;
}

.note strong {
  color: #fff;
}

@media (min-width: 981px) {
  .migration-page {
    min-height: 100vh;
    padding: clamp(14px, 2vw, 28px);
  }

  .migration-card {
    width: min(1520px, calc(100vw - 56px));
    min-height: unset;
    max-height: calc(100vh - 42px);
    display: grid;
    align-content: center;
    padding: clamp(34px, 3.8vw, 60px) clamp(46px, 5vw, 78px) clamp(28px, 3vw, 42px);
    background:
      radial-gradient(ellipse at 50% 55%, rgba(91, 71, 255, 0.34), transparent 34%),
      radial-gradient(ellipse at 96% -4%, rgba(34, 117, 255, 0.24), transparent 34%),
      radial-gradient(ellipse at 8% 104%, rgba(129, 104, 255, 0.18), transparent 30%),
      linear-gradient(160deg, rgba(7, 12, 28, 0.98), rgba(2, 5, 14, 0.99));
  }

  .migration-card::before {
    width: 660px;
    height: 660px;
    right: -290px;
    top: -350px;
    border-color: rgba(46, 126, 255, 0.44);
    box-shadow: 0 0 96px rgba(52, 103, 255, 0.36);
  }

  .migration-card::after {
    width: 660px;
    height: 220px;
    left: -170px;
    bottom: -118px;
    border-color: rgba(141, 114, 255, 0.34);
  }

  .hero-header h1 {
    font-size: clamp(4.5rem, 6.25vw, 7.5rem);
    letter-spacing: -0.055em;
    text-shadow: 0 22px 70px rgba(92, 114, 255, 0.38);
  }

  .subtitle {
    margin-top: 20px;
    font-size: clamp(1.25rem, 1.65vw, 1.72rem);
  }

  .vision-row {
    max-width: 650px;
    margin: clamp(22px, 2.4vw, 36px) auto clamp(24px, 2.8vw, 42px);
    gap: 28px;
    font-size: clamp(.92rem, 1.15vw, 1.12rem);
  }

  .transition-zone {
    grid-template-columns: minmax(390px, 1fr) minmax(180px, 250px) minmax(430px, 1.12fr);
    gap: clamp(20px, 2.5vw, 38px);
  }

  .brand-box {
    min-height: clamp(218px, 17vw, 280px);
    padding: clamp(26px, 2.8vw, 44px);
    border-width: 2px;
    border-radius: 40px;
  }

  .brand-icon {
    width: clamp(110px, 8.5vw, 150px);
    height: clamp(110px, 8.5vw, 150px);
    border-radius: 30px;
  }

  .brand-copy h2 {
    font-size: clamp(3.3rem, 4.5vw, 5.5rem);
  }

  .brand-copy p {
    margin-top: 22px;
    letter-spacing: .34em;
    font-size: clamp(.78rem, .95vw, 1rem);
  }

  .energy-arrow {
    height: 150px;
  }

  .energy-arrow::before {
    width: 270px;
    height: 78px;
    filter: blur(10px);
  }

  .energy-arrow::after {
    width: 190px;
    height: 5px;
  }

  .trail {
    right: 98px;
    width: 170px;
  }

  .arrow-head {
    right: 6px;
    border-top-width: 40px;
    border-bottom-width: 40px;
    border-left-width: 60px;
  }

  .status-area {
    margin-top: clamp(28px, 3.2vw, 46px);
  }

  .status-pill {
    min-width: min(520px, 42vw);
    min-height: 72px;
    font-size: clamp(.98rem, 1.22vw, 1.24rem);
  }

  .note {
    margin-top: 18px;
    padding: 10px 16px;
  }
}

@media (max-width: 980px) {
  .transition-zone {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .brand-box {
    min-height: unset;
  }

  .energy-arrow {
    height: 96px;
    transform: rotate(90deg);
  }

  .status-area {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .status-line {
    width: min(460px, 80%);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .migration-page {
    padding: 12px;
  }

  .migration-card {
    border-radius: 28px;
    padding: 34px 16px 20px;
  }

  .hero-header h1 {
    font-size: clamp(2.85rem, 16vw, 4.2rem);
    letter-spacing: -0.065em;
  }

  .subtitle {
    font-size: 1rem;
  }

  .vision-row {
    grid-template-columns: 1fr;
    gap: 10px;
    letter-spacing: 0.26em;
  }

  .vision-row span {
    display: none;
  }

  .vision-row strong {
    white-space: normal;
  }

  .brand-box {
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
    border-radius: 26px;
  }

  .brand-icon {
    width: 116px;
    height: 116px;
    border-radius: 24px;
  }

  .brand-copy h2 {
    font-size: 3rem;
  }

  .brand-copy p {
    letter-spacing: 0.22em;
    font-size: 0.72rem;
  }

  .energy-arrow {
    height: 78px;
  }

  .energy-arrow::before {
    width: 142px;
  }

  .energy-arrow::after {
    width: 104px;
  }

  .trail {
    width: 96px;
    right: 74px;
  }

  .arrow-head {
    border-top-width: 26px;
    border-bottom-width: 26px;
    border-left-width: 38px;
  }

  .status-pill {
    width: 100%;
    min-height: 64px;
    padding: 0 16px;
    letter-spacing: 0.22em;
    font-size: 0.86rem;
  }

  .note {
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    padding: 14px 16px;
    font-size: 0.92rem;
  }
}

@media (max-width: 380px) {
  .hero-header h1 {
    font-size: 2.65rem;
  }

  .brand-copy h2 {
    font-size: 2.55rem;
  }

  .status-pill {
    letter-spacing: 0.14em;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .migration-card {
    animation: cardReveal 900ms cubic-bezier(.2, .8, .2, 1) both;
  }

  .hero-header {
    animation: riseFade 720ms 120ms cubic-bezier(.2, .8, .2, 1) both;
  }

  .transition-zone {
    animation: riseFade 800ms 260ms cubic-bezier(.2, .8, .2, 1) both;
  }

  .status-area,
  .note {
    animation: riseFade 760ms 420ms cubic-bezier(.2, .8, .2, 1) both;
  }

  .grid-lines::before {
    animation: lightSweep 5.8s ease-in-out infinite;
  }

  .migration-card::before {
    animation: orbitGlow 8s ease-in-out infinite;
  }

  .migration-card::after {
    animation: lowerArc 9s ease-in-out infinite;
  }

  .hero-header h1 span,
  .brand-copy h2 {
    animation: textShine 6s ease-in-out infinite;
  }

  .brand-new {
    animation: softPulse 4.8s ease-in-out infinite;
  }

  .brand-old {
    animation: oldBrandFloat 5.6s ease-in-out infinite;
  }

  .energy-arrow::before,
  .energy-arrow::after {
    animation: arrowGlow 2.4s ease-in-out infinite;
  }

  .trail-1 {
    animation: trailFlow 1.9s ease-in-out infinite;
  }

  .trail-2 {
    animation: trailFlow 1.9s .14s ease-in-out infinite;
  }

  .trail-3 {
    animation: trailFlow 1.9s .28s ease-in-out infinite;
  }

  .spark-1 {
    animation: sparkTravel 2.4s ease-in-out infinite;
  }

  .spark-2 {
    animation: sparkTravel 2.4s .28s ease-in-out infinite;
  }

  .spark-3 {
    animation: sparkTravel 2.4s .56s ease-in-out infinite;
  }

  .status-pill {
    animation: accessPulse 3.6s ease-in-out infinite;
  }
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(18px) scale(.985); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes riseFade {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lightSweep {
  0%, 18% { opacity: 0; transform: translateX(-16%); }
  42% { opacity: .9; }
  70%, 100% { opacity: 0; transform: translateX(18%); }
}

@keyframes orbitGlow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .9; }
  50% { transform: translate3d(-20px, 18px, 0) scale(1.05); opacity: 1; }
}

@keyframes lowerArc {
  0%, 100% { transform: rotate(12deg) translateX(0); opacity: .85; }
  50% { transform: rotate(10deg) translateX(34px); opacity: 1; }
}

@keyframes textShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes softPulse {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 38px rgba(21, 151, 255, 0.16), 0 24px 70px rgba(0, 0, 0, 0.3); }
  50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 64px rgba(21, 151, 255, 0.32), 0 24px 70px rgba(0, 0, 0, 0.3); }
}

@keyframes oldBrandFloat {
  0%, 100% { transform: translateY(0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 70px rgba(0, 0, 0, 0.3); }
  50% { transform: translateY(-5px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 32px 82px rgba(0, 0, 0, 0.34); }
}

@keyframes arrowGlow {
  0%, 100% { opacity: 0.75; transform: translateX(-4px); }
  50% { opacity: 1; transform: translateX(6px); }
}

@keyframes trailFlow {
  0%, 100% { opacity: .34; filter: blur(.2px); }
  45% { opacity: .95; filter: blur(0); }
}

@keyframes sparkTravel {
  0% { opacity: 0; transform: translate3d(-54px, 0, 0) scale(.45); }
  28% { opacity: 1; }
  72% { opacity: .85; }
  100% { opacity: 0; transform: translate3d(170px, 0, 0) scale(1.15); }
}

@keyframes accessPulse {
  0%, 100% { box-shadow: inset 0 0 18px rgba(255, 209, 102, 0.07), 0 0 30px rgba(255, 209, 102, 0.10); }
  50% { box-shadow: inset 0 0 22px rgba(255, 209, 102, 0.13), 0 0 46px rgba(255, 209, 102, 0.22); }
}
