.platform-launch,
.platform-launch *,
.platform-launch *::before,
.platform-launch *::after { box-sizing: border-box; }

.platform-launch {
  --launch-blue: #1768f1;
  --launch-ink: #142c4d;
  --launch-muted: #71839b;
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--launch-ink);
  font-family: Inter, 'SF Pro Display', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  background: radial-gradient(ellipse at 50% 43%, #fff 0%, #f7faff 49%, #eef4fb 100%);
  isolation: isolate;
  opacity: 1;
  outline: none;
  transform: scale(1);
  filter: blur(0);
  transition: opacity 560ms cubic-bezier(.22, 1, .36, 1), transform 560ms cubic-bezier(.22, 1, .36, 1), filter 560ms cubic-bezier(.22, 1, .36, 1);
}

.platform-launch.is-leaving { pointer-events: none; opacity: 0; transform: scale(1.012); filter: blur(7px); }
.platform-launch__grid,
.platform-launch__ground,
.platform-launch__ambient { position: absolute; z-index: -1; pointer-events: none; }
.platform-launch__grid { inset: 0; background-image: linear-gradient(#b4cae229 1px, transparent 1px), linear-gradient(90deg, #b4cae229 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(ellipse 72% 72% at 50% 45%, #000, transparent 83%); opacity: .7; }
.platform-launch__ground { left: -20%; right: -20%; bottom: -52%; height: 78%; background-image: linear-gradient(#7ea7d622 1px, transparent 1px), linear-gradient(90deg, #7ea7d622 1px, transparent 1px); background-size: 65px 44px; transform: perspective(530px) rotateX(62deg); transform-origin: center top; mask-image: linear-gradient(transparent, #000 25%, transparent 85%); }
.platform-launch__ambient { width: 45vw; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .42; }
.platform-launch__ambient--one { top: -27vw; left: -9vw; background: #b8d9ff; }
.platform-launch__ambient--two { right: -23vw; bottom: -25vw; background: #ccedff; }
.platform-launch__header { position: absolute; top: clamp(24px, 4.2vh, 48px); left: clamp(24px, 4vw, 76px); right: clamp(24px, 4vw, 76px); display: flex; justify-content: space-between; align-items: center; gap: 20px; animation: platform-launch-down 660ms 60ms cubic-bezier(.22, 1, .36, 1) both; }
.platform-launch__brand { display: flex; align-items: center; gap: 11px; }
.platform-launch__brand > img { width: 40px; height: 40px; object-fit: contain; }
.platform-launch__brand > span { display: grid; gap: 4px; }
.platform-launch__brand strong { font-size: 14px; font-weight: 650; letter-spacing: .06em; }
.platform-launch__brand small { color: #8090a5; font-size: 8px; font-weight: 500; letter-spacing: .22em; }
.platform-launch__session { display: flex; align-items: center; gap: 8px; color: #667b94; padding: 9px 13px; border: 1px solid #cedced8c; border-radius: 24px; background: #ffffff85; font-size: 10px; letter-spacing: .08em; }
.platform-launch__session i { width: 5px; height: 5px; border-radius: 50%; background: #279f83; box-shadow: 0 0 0 4px #279f830d; }
.platform-launch__composition { display: grid; grid-template-columns: minmax(140px, 190px) minmax(340px, 560px) minmax(140px, 190px); justify-content: center; align-items: center; gap: clamp(26px, 4vw, 76px); width: 100%; flex: 1; padding: 110px 40px 94px; }
.platform-launch__context { position: relative; margin-top: 8px; color: #7b8da5; animation: platform-launch-context 750ms 200ms cubic-bezier(.22, 1, .36, 1) both; }
.platform-launch__context--right { animation-delay: 300ms; }
.platform-launch__context::before { position: absolute; top: -18px; bottom: -20px; left: -22px; width: 1px; content: ''; background: linear-gradient(transparent, #c7d9ee 20%, #c7d9ee 80%, transparent); }
.platform-launch__context-heading { display: flex; align-items: center; gap: 10px; color: #3e5f85; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.platform-launch__context-heading span { color: #8aa6c5; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 10px; font-weight: 400; }
.platform-launch__context p { margin: 14px 0 19px; color: #8998ab; font-size: 11px; line-height: 1.9; letter-spacing: .04em; }
.platform-launch__context small { display: block; margin-top: 12px; color: #93a4b9; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 7px; letter-spacing: .12em; }
.platform-launch__signal { position: relative; height: 1px; width: 144px; overflow: hidden; background: #d9e4f1; }
.platform-launch__signal i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #4a9eff, transparent); transform: translateX(-100%); animation: platform-launch-signal 2.4s ease-in-out infinite; }
.platform-launch__context--right .platform-launch__signal i { animation-delay: -.8s; }
.platform-launch__stage { text-align: center; animation: platform-launch-rise 750ms cubic-bezier(.22, 1, .36, 1) both; }
.platform-launch__core { position: relative; width: clamp(188px, 24vh, 240px); height: clamp(188px, 24vh, 240px); margin: 0 auto 27px; }
.platform-launch__halo { position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle, #dbeaff80, #ebf4ff52 45%, transparent 70%); box-shadow: 0 0 0 26px #bfd9ff0b, 0 0 0 62px #bfd9ff08; }
.platform-launch__orbit { position: absolute; inset: 1px; border: 1px solid #3b86ec25; border-radius: 50%; animation: platform-launch-orbit 18s linear infinite; }
.platform-launch__orbit--inner { inset: 23px; border-style: dashed; border-color: #3b86ec2c; animation-direction: reverse; animation-duration: 25s; }
.platform-launch__orbit i { position: absolute; top: 16%; right: 13%; width: 6px; height: 6px; background: #69aaff; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 4px #3a8aff09; }
.platform-launch__orbit i + i { top: auto; right: auto; bottom: 16%; left: 13%; width: 5px; height: 5px; background: #98c9ee; }
.platform-launch__orbit--inner i { top: 42%; right: -3px; width: 5px; height: 5px; }
.platform-launch__scan { position: absolute; inset: 35px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 80%, #5ba4fa36 96%, transparent); mask-image: radial-gradient(circle, transparent 60%, #000 62% 64%, transparent 66%); animation: platform-launch-orbit 5.8s linear infinite; }
.platform-launch__crosshair { position: absolute; inset: 44px; border-radius: 50%; background: linear-gradient(transparent calc(50% - .5px), #538bd519 50%, transparent calc(50% + .5px)), linear-gradient(90deg, transparent calc(50% - .5px), #538bd519 50%, transparent calc(50% + .5px)); }
.platform-launch__logo { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 94px; height: 94px; transform: translate(-50%, -50%); animation: platform-launch-brand 650ms 130ms cubic-bezier(.16, 1, .3, 1) both; }
.platform-launch__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.platform-launch__eyebrow { margin-bottom: 13px; color: #8098b5; font-size: 8px; font-weight: 550; letter-spacing: .24em; animation: platform-launch-rise 600ms 180ms cubic-bezier(.22, 1, .36, 1) both; }
.platform-launch__title { margin: 0; color: #183454; font-size: clamp(26px, 2.6vw, 38px); font-weight: 650; line-height: 1.35; letter-spacing: .08em; animation: platform-launch-rise 650ms 230ms cubic-bezier(.22, 1, .36, 1) both; }
.platform-launch__subtitle { margin: 14px 0 0; color: #7c8ca2; font-size: 12px; font-weight: 400; line-height: 1.8; letter-spacing: .16em; animation: platform-launch-rise 650ms 300ms cubic-bezier(.22, 1, .36, 1) both; }
.platform-launch__progress { position: relative; width: min(240px, 65vw); height: 2px; margin: 31px auto 0; overflow: hidden; background: #dce7f580; border-radius: 4px; }
.platform-launch__progress > span { position: absolute; top: 0; bottom: 0; left: 0; width: 42%; background: linear-gradient(90deg, #3279f700, #3279f7, #73c6ff); border-radius: 4px; transform: translateX(-110%); animation: platform-launch-progress 1.8s cubic-bezier(.65, 0, .35, 1) infinite; }
.platform-launch__status { min-height: 20px; max-width: 420px; margin: 13px auto 0; padding: 0 8px; color: #8191a8; font-size: 10px; line-height: 1.8; letter-spacing: .04em; }
.platform-launch[data-state='ready'] .platform-launch__progress > span { width: 100%; background: linear-gradient(90deg, #1768f1, #79c5ed); transform: none; animation: none; }
.platform-launch__footer { position: absolute; right: clamp(24px, 4vw, 76px); bottom: clamp(22px, 3.7vh, 42px); left: clamp(24px, 4vw, 76px); display: flex; justify-content: space-between; gap: 20px; color: #9aabbd; font-size: 8px; letter-spacing: .14em; animation: platform-launch-rise 650ms 150ms cubic-bezier(.22, 1, .36, 1) both; }
.platform-launch__footer > span:first-child { display: flex; align-items: center; gap: 10px; }
.platform-launch__footer > span:first-child::before { content: ''; width: 22px; height: 1px; background: #a3c0df; }
.platform-launch__footer > span:last-child { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 7px; }
.platform-launch__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.platform-launch__actions[hidden] { display: none; }
.platform-launch__actions button { min-height: 36px; padding: 0 18px; font: inherit; font-size: 12px; font-weight: 550; border: 1px solid #d7e3f1; border-radius: 8px; cursor: pointer; transition: background 160ms, box-shadow 160ms; }
.platform-launch__retry { color: #fff; background: var(--launch-blue); border-color: var(--launch-blue) !important; box-shadow: 0 5px 14px #1768f11c; }
.platform-launch__retry:hover { background: #0a59da; }
.platform-launch__dismiss { color: #62778f; background: #fff; }
.platform-launch__dismiss:hover { background: #edf4fc; }
.platform-launch__actions button:focus-visible { outline: 3px solid #94bcff; outline-offset: 3px; }
.platform-launch.is-error .platform-launch__status { color: #a57229; }
.platform-launch.is-error .platform-launch__progress > span { width: 100%; background: #e0b05e; transform: none; animation: none; }
.platform-launch.is-error .platform-launch__orbit,
.platform-launch.is-error .platform-launch__scan,
.platform-launch.is-error .platform-launch__signal i { animation-play-state: paused; }

@keyframes platform-launch-orbit { to { transform: rotate(360deg); } }
@keyframes platform-launch-progress { 0% { transform: translateX(-110%); } 100% { transform: translateX(350%); } }
@keyframes platform-launch-signal { 0% { transform: translateX(-110%); } 70%, 100% { transform: translateX(110%); } }
@keyframes platform-launch-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes platform-launch-down { from { opacity: 0; transform: translateY(-8px); } }
@keyframes platform-launch-context { from { opacity: 0; transform: translateY(7px); } }
@keyframes platform-launch-brand { from { opacity: 0; filter: blur(5px); transform: translate(-50%, -50%) scale(.84); } }

@media (max-width: 1020px) {
  .platform-launch__composition { grid-template-columns: minmax(0, 560px); }
  .platform-launch__context { display: none; }
}

@media (max-width: 600px) {
  .platform-launch__header { top: 26px; left: 24px; right: 24px; }
  .platform-launch__brand { gap: 9px; }
  .platform-launch__brand > img { width: 35px; height: 35px; border-radius: 10px; }
  .platform-launch__brand strong { font-size: 12px; letter-spacing: .03em; }
  .platform-launch__brand small { font-size: 7px; letter-spacing: .16em; }
  .platform-launch__session { gap: 5px; padding: 7px 9px; font-size: 8px; letter-spacing: 0; }
  .platform-launch__session i { width: 4px; height: 4px; }
  .platform-launch__composition { padding: 110px 20px 100px; }
  .platform-launch__core { width: 196px; height: 196px; margin-bottom: 29px; }
  .platform-launch__logo { width: 82px; height: 82px; border-radius: 22px; }
  .platform-launch__logo img { border-radius: 18px; }
  .platform-launch__eyebrow { font-size: 7px; letter-spacing: .19em; margin-bottom: 13px; }
  .platform-launch__title { font-size: clamp(23px, 6.3vw, 30px); letter-spacing: .045em; }
  .platform-launch__subtitle { margin-top: 12px; font-size: 11px; letter-spacing: .08em; }
  .platform-launch__progress { margin-top: 29px; width: 208px; }
  .platform-launch__status { font-size: 10px; }
  .platform-launch__footer { left: 24px; right: 24px; bottom: 26px; justify-content: center; font-size: 8px; }
  .platform-launch__footer > span:last-child { display: none; }
  .platform-launch__ambient { width: 85vw; }
  .platform-launch__ambient--one { top: -30vw; left: -38vw; }
  .platform-launch__ambient--two { right: -47vw; bottom: -12vw; }
}

@media (max-width: 360px) {
  .platform-launch__session { display: none; }
}

@media (max-height: 620px) and (min-width: 601px) {
  .platform-launch__header { top: 20px; }
  .platform-launch__composition { padding-top: 80px; padding-bottom: 65px; }
  .platform-launch__core { width: 160px; height: 160px; margin-bottom: 15px; }
  .platform-launch__logo { width: 68px; height: 68px; border-radius: 18px; }
  .platform-launch__logo img { border-radius: 15px; }
  .platform-launch__orbit--inner { inset: 16px; }
  .platform-launch__title { font-size: 26px; }
  .platform-launch__subtitle { margin-top: 8px; }
  .platform-launch__progress { margin-top: 20px; }
  .platform-launch__footer { bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .platform-launch { transition-duration: 80ms; }
  .platform-launch *, .platform-launch *::before, .platform-launch *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; }
  .platform-launch.is-leaving { transform: none; filter: none; }
}
