:root {
  --bg: #020712;
  --panel: rgba(7, 17, 33, 0.82);
  --panel-strong: rgba(9, 22, 42, 0.94);
  --ink: #f2f7ff;
  --muted: #9aabc4;
  --line: rgba(132, 177, 241, 0.2);
  --blue: #4188ff;
  --cyan: #62dfff;
  --danger: #ff7890;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 23% 47%, rgba(24, 92, 202, 0.24), transparent 31rem),
    radial-gradient(circle at 76% 7%, rgba(42, 128, 255, 0.13), transparent 28rem),
    linear-gradient(120deg, #020712 0%, #040d1c 50%, #020712 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(117, 168, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 168, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
button, input, select { font: inherit; }
button { cursor: pointer; }

.login-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.54fr) minmax(360px, 0.74fr);
  gap: clamp(30px, 4.8vw, 86px);
  min-height: 100vh;
  padding: clamp(24px, 3.8vw, 58px);
  isolation: isolate;
}
.login-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(67vw, 1040px);
  height: min(67vw, 1040px);
  left: -17vw;
  top: -19vw;
  border: 1px solid rgba(83, 158, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(29, 78, 167, 0.018), 0 0 100px rgba(34, 129, 255, 0.1);
}

.hero-panel {
  display: flex;
  min-width: 0;
  min-height: calc(100vh - clamp(48px, 7.6vw, 116px));
  flex-direction: column;
}
.brand-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 42px;
}
.brand-logo { display: block; width: clamp(130px, 12vw, 194px); height: auto; filter: brightness(0) invert(1) contrast(0.92); }
.brand-divider { width: 1px; height: 28px; background: rgba(177, 207, 255, 0.4); }
.brand-bar p { margin: 0; color: #b5c8e6; font-size: clamp(13px, 1.1vw, 16px); letter-spacing: 0.08em; }

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 0.66fr) minmax(360px, 1.12fr);
  align-items: center;
  flex: 1;
  min-height: 0;
  gap: clamp(20px, 3vw, 54px);
  padding: clamp(30px, 6vh, 72px) 0 clamp(20px, 3vh, 32px);
}
.hero-intro { position: relative; z-index: 2; width: 100%; max-width: 390px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.eyebrow span { width: 30px; height: 1px; background: currentColor; box-shadow: 0 0 12px currentColor; }
.hero-intro h1 {
  margin: 0;
  color: #f7fbff;
  font-size: clamp(30px, 2.7vw, 48px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1.11;
}
.hero-title-line {
  display: block;
  white-space: nowrap;
}
.hero-intro h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px var(--cyan);
  text-shadow: 0 0 22px rgba(83, 209, 255, 0.25);
}
.hero-lead {
  max-width: 360px;
  margin: 22px 0 0;
  color: #a7bad8;
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.9;
  text-wrap: balance;
}
.keep-together { white-space: nowrap; }

.clinical-stage {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: clamp(420px, 55vh, 620px);
  margin: 0;
  place-items: center;
}
.hero-stage {
  position: relative;
  display: grid;
  width: min(116%, 650px);
  aspect-ratio: 1.18;
  place-items: center;
  isolation: isolate;
  transform: translateX(2%);
}
.hero-stage::before {
  position: absolute;
  z-index: -1;
  inset: 13% 13% 11%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 111, 255, 0.19), rgba(7, 34, 77, 0.08) 54%, transparent 74%);
  content: "";
  filter: blur(14px);
}
.hero-stage::after {
  position: absolute;
  z-index: 1;
  bottom: 1.5%;
  left: 50%;
  width: 68%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(125, 228, 255, .62), rgba(47, 137, 255, .3) 34%, rgba(24, 88, 201, .08) 56%, transparent 74%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scaleX(.48) scaleY(.32);
  filter: blur(11px);
  mix-blend-mode: screen;
}
.stage-art {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  height: 118%;
  object-fit: contain;
  pointer-events: none;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 26px rgba(44, 139, 255, 0.22));
  animation: stage-breathe 6s ease-in-out infinite;
}
.product-logo-stage {
  position: absolute;
  z-index: 5;
  top: -14%;
  left: 50%;
  width: 78%;
  aspect-ratio: 6.2;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-50%);
}
.product-logo {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  visibility: hidden;
  mix-blend-mode: normal;
  transform: translateY(-50%) scale(.985);
  filter: invert(1) hue-rotate(180deg) brightness(1.25) contrast(1.18) saturate(.9) drop-shadow(0 0 9px rgba(88, 196, 255, .2));
  will-change: opacity, transform, clip-path;
}
.product-logo.is-active {
  opacity: .94;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}
.ring-energy {
  position: absolute;
  z-index: 2;
  top: 2.5%;
  left: 14%;
  width: 72%;
  aspect-ratio: 1;
  overflow: visible;
  pointer-events: none;
  transform: rotate(-90deg);
}
.ring-energy-track,
.ring-energy-arc {
  fill: none;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
}
.ring-energy-track {
  stroke: rgba(104, 196, 255, .14);
  stroke-width: .28;
  opacity: 0;
}
.ring-energy-arc {
  stroke: url(#ringEnergyGradient);
  stroke-linecap: round;
  opacity: 0;
  filter: drop-shadow(0 0 1.8px #8ee6ff) drop-shadow(0 0 4px rgba(48, 134, 255, .92));
  will-change: transform, opacity, stroke-dashoffset;
}
.ring-energy-arc-main { stroke-width: 1.05; stroke-dasharray: 19 81; }
.ring-energy-arc-assist { stroke-width: .42; stroke-dasharray: 7 93; }
.hero-visuals {
  position: absolute;
  z-index: 2;
  inset: 9% 12% 12%;
  display: grid;
  place-items: center;
}
.hero-visual-frame {
  grid-area: 1 / 1;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: circle(0% at 50% 50%);
  transform: translateZ(0) scale(.985);
  will-change: opacity, transform, clip-path;
}
.hero-visual {
  display: block;
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .42));
}
.hero-visual-frame[data-product="instant"] .hero-visual {
  max-width: 80%;
  max-height: 78%;
  transform: translateY(calc(-2% - 5px));
}
.hero-visual-frame[data-product="fullarch"] .hero-visual {
  max-width: 88%;
  max-height: 88%;
  transform: translateY(-6%);
}
.hero-visual-frame.is-active {
  opacity: 1;
  visibility: visible;
  clip-path: circle(72% at 50% 50%);
  transform: translateZ(0) scale(1);
  animation: hero-drift 6s ease-in-out infinite;
}
.hero-visual-frame.is-leaving {
  visibility: visible;
  animation: hero-gate-exit 1.56s linear both;
}
.hero-visual-frame.is-entering {
  visibility: visible;
  animation: hero-gate-enter 1.56s linear both;
}
.aperture-flash {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 27%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(244, 253, 255, .95) 0 2%, rgba(115, 219, 255, .72) 9%, rgba(49, 139, 255, .3) 30%, transparent 68%);
  box-shadow: 0 0 24px rgba(122, 226, 255, .45), 0 0 76px rgba(42, 125, 255, .28);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%) scale(.24);
  will-change: transform, opacity;
}
.floor-energy {
  position: absolute;
  z-index: 3;
  bottom: 2.5%;
  left: 50%;
  width: 70%;
  height: 17%;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(187, 246, 255, .72), rgba(54, 151, 255, .35) 29%, rgba(27, 91, 207, .1) 57%, transparent 74%);
  filter: blur(9px);
  mix-blend-mode: screen;
  transform: translateX(-50%) scale(.46, .34);
  will-change: transform, opacity;
}
.gsap-ready .stage-art,
.gsap-ready .hero-visual-frame.is-active { animation: none; }
.gsap-ready .scan-sweep { display: none; }
.gsap-ready .hero-stage::after { display: none; }
.scan-sweep {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 14%;
  width: 72%;
  height: 2px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(121, 221, 255, .72), #fff 50%, rgba(121, 221, 255, .72), transparent);
  box-shadow: 0 0 8px #7dddff, 0 0 30px rgba(63, 151, 255, .86), 0 0 64px rgba(46, 120, 255, .34);
  transform: translateY(-50%) scaleX(.22);
  transform-origin: center;
}
.scan-sweep::before,
.scan-sweep::after {
  position: absolute;
  top: 50%;
  left: 4%;
  width: 92%;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
}
.scan-sweep::before {
  height: 118px;
  background: linear-gradient(to bottom, transparent, rgba(71, 150, 255, .055) 24%, rgba(112, 222, 255, .34) 49%, rgba(236, 252, 255, .5) 50%, rgba(112, 222, 255, .26) 51%, rgba(71, 150, 255, .045) 76%, transparent);
  filter: blur(9px);
}
.scan-sweep::after {
  left: 3%;
  width: 94%;
  height: 34px;
  background: repeating-linear-gradient(90deg, transparent 0 16px, rgba(184, 242, 255, .5) 16px 17px, transparent 17px 31px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mix-blend-mode: screen;
}
html:not(.gsap-ready) .hero-stage.is-switching .scan-sweep { animation: scan-gate 1.56s linear both; }
html:not(.gsap-ready) .hero-stage.is-switching .scan-sweep::before { animation: scan-gate-curtain 1.56s linear both; }
html:not(.gsap-ready) .hero-stage.is-switching .scan-sweep::after { animation: scan-gate-raster 1.56s linear both; }
html:not(.gsap-ready) .hero-stage.is-switching .stage-art { animation: stage-switch 1.56s linear both; }
html:not(.gsap-ready) .hero-stage.is-switching::after { animation: gate-floor-reflection 1.56s linear both; }
.hero-stage.has-single-product .scan-sweep { display: none; }
.clinical-stage figcaption {
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 50%;
  width: max-content;
  max-width: 92%;
  transform: translateX(-50%);
  color: #a5c8fa;
  font-size: clamp(11px, 0.85vw, 14px);
  letter-spacing: 0.16em;
  text-align: center;
}

.product-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 6px;
}
.product-story {
  display: grid;
  min-width: 0;
  min-height: clamp(82px, 7vw, 104px);
  padding: 0;
  place-items: center;
  border: 0;
  border-top: 1px solid var(--line);
  outline: 0;
  background: transparent;
  opacity: .42;
  filter: saturate(.7);
  transition: opacity .42s ease, filter .42s ease, border-color .42s ease, background .42s ease;
}
.product-story::after {
  grid-area: 1 / 1;
  align-self: start;
  justify-self: center;
  width: 46%;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 16px rgba(71, 184, 255, .9);
  content: "";
  transition: opacity .35s ease;
}
.product-story img {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: clamp(80px, 6.8vw, 100px);
  object-fit: contain;
  pointer-events: none;
}
.product-story:hover {
  opacity: .78;
  filter: saturate(.9) drop-shadow(0 0 10px rgba(55, 155, 255, .16));
  background: linear-gradient(180deg, rgba(54, 139, 239, .055), transparent 62%);
}
.product-story.is-active {
  border-top-color: rgba(100, 198, 255, .5);
  opacity: 1;
  filter: saturate(1) drop-shadow(0 0 12px rgba(55, 155, 255, .26));
  background: linear-gradient(180deg, rgba(54, 139, 239, .07), transparent 64%);
}
.product-story.is-active::after { opacity: 1; }
.product-story:focus-visible {
  background: linear-gradient(90deg, rgba(65, 155, 255, .1), transparent 42%);
  box-shadow: inset 0 0 0 1px rgba(105, 218, 255, .72), 0 0 18px rgba(52, 151, 255, .14);
}
.product-story:disabled { cursor: not-allowed; opacity: .16; filter: grayscale(.55); }
.product-rail.is-switching .product-story { transition-delay: .66s; }
.flow-line { position: relative; height: 1px; background: linear-gradient(90deg, rgba(70, 138, 245, 0.15), var(--cyan), rgba(70, 138, 245, 0.15)); box-shadow: 0 0 12px rgba(78, 182, 255, 0.55); }
.flow-line span { position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: #effaff; box-shadow: 0 0 13px 4px var(--cyan); transform: translate(-50%, -50%); will-change: transform; }
html:not(.gsap-ready) .flow-line span { left: 22%; transition: left .8s cubic-bezier(.2,.8,.2,1); }
html:not(.gsap-ready) .product-rail.is-switching .flow-line span { transition-duration: 1.08s; transition-delay: .22s; }
html:not(.gsap-ready) .product-rail[data-active-product="fullarch"] .flow-line span { left: 78%; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.login-panel { display: grid; min-height: calc(100vh - clamp(48px, 7.6vw, 116px)); place-items: center; }
.login-card {
  position: relative;
  width: min(100%, 440px);
  padding: clamp(28px, 3.2vw, 46px);
  border: 1px solid rgba(151, 201, 255, 0.22);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(19, 38, 66, 0.88), rgba(5, 14, 29, 0.86));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(22px);
}
.login-card::before { content: ""; position: absolute; top: 0; left: 11%; width: 78%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 18px var(--cyan); }
.login-card-topline { display: flex; align-items: center; justify-content: space-between; color: #75a8e8; font-size: 9px; font-weight: 700; letter-spacing: 0.16em; }
.login-card-topline .lucide { flex: 0 0 auto; width: 17px; height: 17px; color: var(--cyan); }
.card-heading { margin: 34px 0 31px; }
.card-heading p { margin: 0 0 9px; color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.card-heading h2 { margin: 0; color: #f7fbff; font-size: clamp(28px, 2.4vw, 36px); letter-spacing: -0.05em; }
.card-heading > span { display: block; margin-top: 10px; color: #91a7c7; font-size: 13px; }
.field-group + .field-group { margin-top: 13px; }
.input-field { position: relative; display: flex; align-items: center; min-height: 60px; border: 1px solid rgba(130, 170, 222, 0.32); border-radius: 10px; color: #87a8d0; background: rgba(0, 6, 17, 0.32); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.input-field::after { content: ""; position: absolute; right: 18px; bottom: 0; left: 18px; height: 1px; opacity: 0; background: linear-gradient(90deg, transparent, var(--cyan), transparent); transition: opacity .2s ease; }
.input-field:focus-within { border-color: rgba(91, 192, 255, 0.9); background: rgba(7, 24, 48, 0.8); box-shadow: 0 0 0 3px rgba(63, 143, 255, 0.12), 0 0 25px rgba(50, 153, 255, 0.12); }
.input-field:focus-within::after { opacity: 1; }
.input-field.error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 104, 135, 0.09); }
.input-field > .lucide { flex: 0 0 auto; width: 19px; height: 19px; margin-left: 18px; }
.input-field input, .input-field select { width: 100%; min-width: 0; padding: 0 16px; border: 0; outline: 0; color: #f4f8ff; background: transparent; font-size: 14px; }
.input-field select { appearance: none; }
.input-field input::placeholder { color: #7188aa; }
.field-error { min-height: 15px; margin: 5px 3px 0; color: var(--danger); font-size: 11px; }
.ghost-button { display: grid; flex: 0 0 auto; width: 48px; height: 44px; margin-right: 6px; place-items: center; border: 0; color: #a8c9ea; background: transparent; }
.ghost-button .lucide { width: 20px; height: 20px; }
.ghost-button:hover { color: var(--cyan); }
.form-options, .register-row { display: flex; align-items: center; justify-content: space-between; }
.form-options { margin-top: 15px; font-size: 12px; }
.remember { display: inline-flex; align-items: center; gap: 8px; color: #9db0cb; }
.remember input { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); }
.link-button { padding: 0; border: 0; color: #75b7ff; background: transparent; font-weight: 700; }
.link-button:hover { color: #b1e8ff; text-shadow: 0 0 12px rgba(86, 197, 255, 0.5); }
.login-button { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; border: 1px solid rgba(130, 209, 255, 0.72); border-radius: 10px; color: #fff; background: linear-gradient(110deg, #1b5ddc, #237fec 53%, #1d5bd8); box-shadow: 0 15px 30px rgba(20, 91, 216, 0.32); font-size: 15px; font-weight: 700; letter-spacing: .08em; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.login-button .lucide { width: 19px; height: 19px; transition: transform .2s ease; }
.login-button:hover { box-shadow: 0 18px 35px rgba(42, 128, 246, 0.52); filter: brightness(1.08); transform: translateY(-2px); }
.login-button:hover .lucide { transform: translate(2px, -2px); }
.login-button.small { min-height: 48px; margin-top: 18px; }
.register-row { margin-top: 22px; color: #91a6c4; font-size: 12px; }
.product-footer { display: flex; align-items: center; gap: 10px; margin-top: 35px; color: #6f86a7; }
.product-footer span { flex: 1; height: 1px; background: rgba(126, 160, 203, 0.18); }
.product-footer p { margin: 0; font-size: 9px; letter-spacing: .05em; white-space: nowrap; }

.login-icp {
  position: fixed;
  z-index: 2;
  right: 0;
  bottom: 15px;
  left: 0;
  margin: 0;
  text-align: center;
  pointer-events: none;
}
.login-icp a {
  color: rgba(142, 174, 213, 0.66);
  font-size: 11px;
  letter-spacing: .06em;
  text-decoration: none;
  pointer-events: auto;
  transition: color .16s ease;
}
.login-icp a:hover,
.login-icp a:focus-visible { color: #78cfff; }

.modal-backdrop { position: fixed; z-index: 10; inset: 0; display: grid; padding: 20px; place-items: center; opacity: 0; visibility: hidden; background: rgba(0, 5, 14, .74); backdrop-filter: blur(9px); transition: opacity .2s ease, visibility .2s ease; }
.modal-backdrop.show { opacity: 1; visibility: visible; }
.modal { position: relative; width: min(100%, 430px); padding: 38px; border: 1px solid rgba(129, 187, 255, .3); border-radius: 18px; background: #0a172b; box-shadow: 0 32px 90px rgba(0,0,0,.6); transform: translateY(10px) scale(.98); transition: transform .2s ease; }
.modal-backdrop.show .modal { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 12px; right: 12px; display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 50%; color: #a4bbd9; background: rgba(255,255,255,.06); }
.modal-close:hover { color: #fff; background: rgba(87, 164, 255, .18); }
.modal-close .lucide { width: 18px; height: 18px; }
.modal-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(105, 194, 255, .46); border-radius: 50%; color: var(--cyan); }
.modal-icon .lucide { width: 20px; height: 20px; }
.modal h2 { margin: 18px 0 8px; font-size: 23px; }
.modal p { margin: 0; color: #9eb1cc; font-size: 13px; line-height: 1.7; }
.modal-fields { display: grid; gap: 10px; margin-top: 20px; }
.input-field.compact { min-height: 51px; }
.toast { position: fixed; z-index: 12; bottom: 28px; left: 50%; max-width: calc(100vw - 36px); padding: 12px 17px; border: 1px solid rgba(127, 198, 255, .33); border-radius: 10px; color: #eaf5ff; background: rgba(5, 18, 38, .92); box-shadow: 0 14px 35px rgba(0,0,0,.4); font-size: 13px; opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes stage-breathe {
  0%, 100% { opacity: .92; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.012); }
}
@keyframes stage-switch {
  0%, 100% { opacity: .94; transform: translate(-50%, -50%) scale(1); filter: brightness(1) drop-shadow(0 0 26px rgba(44, 139, 255, .22)); }
  40% { opacity: .98; transform: translate(-50%, -50%) scale(1.008); filter: brightness(1.08) drop-shadow(0 0 34px rgba(58, 151, 255, .36)); }
  48%, 54% { opacity: 1; transform: translate(-50%, -50%) scale(1.018); filter: brightness(1.23) drop-shadow(0 0 48px rgba(76, 172, 255, .58)); }
  66% { opacity: .98; transform: translate(-50%, -50%) scale(1.01); filter: brightness(1.1) drop-shadow(0 0 36px rgba(58, 151, 255, .38)); }
}
@keyframes hero-drift {
  0%, 100% { transform: translateZ(0) translateY(0) scale(1); }
  50% { transform: translateZ(0) translateY(-5px) scale(1.005); }
}
@keyframes hero-gate-exit {
  0%, 10% { opacity: 1; transform: translateZ(0) scale(1); filter: blur(0) saturate(1) drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); clip-path: inset(0 0 0 0); }
  28% { opacity: 1; transform: translateZ(0) scale(.994); filter: blur(.35px) saturate(.96) drop-shadow(0 17px 26px rgba(0, 0, 0, .4)); clip-path: inset(12% 0 12% 0); }
  42% { opacity: .84; transform: translateZ(0) scale(.988); filter: blur(1.2px) saturate(.88) drop-shadow(0 13px 20px rgba(0, 0, 0, .32)); clip-path: inset(44% 0 44% 0); }
  46%, 100% { opacity: 0; transform: translateZ(0) scale(.985); filter: blur(3px) saturate(.8) drop-shadow(0 8px 14px rgba(0, 0, 0, .22)); clip-path: inset(49.6% 0 49.6% 0); }
}
@keyframes hero-gate-enter {
  0%, 55% { opacity: 0; transform: translateZ(0) scale(.975); filter: blur(4px) saturate(.82) drop-shadow(0 9px 15px rgba(0, 0, 0, .24)); clip-path: inset(49.6% 0 49.6% 0); }
  59% { opacity: .16; transform: translateZ(0) scale(.98); filter: blur(3px) saturate(.86) drop-shadow(0 11px 17px rgba(0, 0, 0, .28)); clip-path: inset(45% 0 45% 0); }
  76% { opacity: .86; transform: translateZ(0) scale(.993); filter: blur(1px) saturate(.96) drop-shadow(0 17px 25px rgba(0, 0, 0, .4)); clip-path: inset(11% 0 11% 0); }
  90%, 100% { opacity: 1; transform: translateZ(0) scale(1); filter: blur(0) saturate(1) drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); clip-path: inset(0 0 0 0); }
}
@keyframes scan-gate {
  0% { opacity: 0; transform: translateY(-50%) scaleX(.22); }
  18% { opacity: .16; transform: translateY(-50%) scaleX(.46); }
  40% { opacity: .78; transform: translateY(-50%) scaleX(.9); }
  48%, 55% { opacity: 1; transform: translateY(-50%) scaleX(1); }
  68% { opacity: .56; transform: translateY(-50%) scaleX(.86); }
  84% { opacity: .14; transform: translateY(-50%) scaleX(.48); }
  100% { opacity: 0; transform: translateY(-50%) scaleX(.24); }
}
@keyframes scan-gate-curtain {
  0%, 18% { opacity: 0; transform: translateY(-50%) scaleY(.08); }
  38% { opacity: .2; transform: translateY(-50%) scaleY(.34); }
  48%, 55% { opacity: .7; transform: translateY(-50%) scaleY(1); }
  70% { opacity: .15; transform: translateY(-50%) scaleY(.38); }
  100% { opacity: 0; transform: translateY(-50%) scaleY(.08); }
}
@keyframes scan-gate-raster {
  0%, 30% { opacity: 0; transform: translateY(-50%) scaleX(.34); }
  44% { opacity: .34; transform: translateY(-50%) scaleX(.78); }
  50%, 56% { opacity: .78; transform: translateY(-50%) scaleX(1); }
  72% { opacity: .12; transform: translateY(-50%) scaleX(.62); }
  100% { opacity: 0; transform: translateY(-50%) scaleX(.32); }
}
@keyframes gate-floor-reflection {
  0%, 28% { opacity: 0; transform: translateX(-50%) scaleX(.48) scaleY(.32); }
  44% { opacity: .12; transform: translateX(-50%) scaleX(.72) scaleY(.56); }
  50%, 56% { opacity: .58; transform: translateX(-50%) scaleX(1.04) scaleY(1); }
  72% { opacity: .14; transform: translateX(-50%) scaleX(1.13) scaleY(.72); }
  100% { opacity: 0; transform: translateX(-50%) scaleX(1.24) scaleY(.44); }
}
@media (max-width: 1060px) {
  .login-shell { display: flex; flex-direction: column; gap: 0; padding: 24px; }
  .hero-panel, .login-panel { min-height: auto; }
  .hero-content { grid-template-columns: minmax(220px, .64fr) minmax(350px, 1fr); min-height: 500px; gap: 16px; }
  .hero-intro { max-width: 330px; }
  .hero-intro h1 { font-size: clamp(28px, 3.35vw, 36px); }
  .clinical-stage { min-height: 410px; }
  .hero-stage { width: min(108%, 520px); transform: translateX(1%); }
  .product-logo-stage { top: -12%; width: 76%; }
  .product-rail { grid-template-columns: 1fr 34px 1fr; gap: 10px; }
  .product-story { min-height: 88px; }
  .product-story img { height: 84px; }
  .login-panel { margin-top: 34px; }
  .login-card { width: min(100%, 560px); }
}
@media (max-width: 640px) {
  .login-shell { padding: 18px; }
  .brand-bar { gap: 10px; }
  .brand-logo { width: 132px; }
  .brand-bar p { font-size: 11px; }
  .brand-divider { height: 20px; }
  .hero-content { display: flex; flex-direction: column; min-height: auto; padding: 45px 0 15px; gap: 18px; align-items: stretch; }
  .hero-intro { width: 100%; max-width: 100%; }
  .hero-intro h1 { font-size: 34px; max-width: 310px; }
  .hero-lead { max-width: 340px; margin-top: 15px; line-height: 1.7; }
  .clinical-stage { width: 100%; min-height: 358px; }
  .hero-stage { width: min(calc(100% + 24px), 430px); transform: none; }
  .product-logo-stage { top: -10%; width: 80%; }
  .product-rail { grid-template-columns: 1fr; gap: 9px; margin-top: 0; }
  .flow-line { width: 1px; height: 25px; margin: 0 auto; background: linear-gradient(to bottom, rgba(70,138,245,.1), var(--cyan), rgba(70,138,245,.1)); }
  .flow-line span { top: 50%; left: 50%; }
  html:not(.gsap-ready) .flow-line span { top: 22%; left: 50%; transition: top .8s cubic-bezier(.2,.8,.2,1); }
  html:not(.gsap-ready) .product-rail.is-switching .flow-line span { transition-duration: 1.08s; transition-delay: .22s; }
  html:not(.gsap-ready) .product-rail[data-active-product="fullarch"] .flow-line span { top: 78%; left: 50%; }
  .product-story { min-height: 104px; }
  .product-story img { height: 98px; }
  .login-panel { margin-top: 29px; }
  .login-card { padding: 27px 22px; border-radius: 17px; }
  .card-heading { margin: 27px 0 25px; }
  .product-footer p { font-size: 8px; }
  .login-icp { bottom: 10px; }
  .login-icp a { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .stage-art, .hero-stage::after, .hero-visual-frame.is-active, .hero-visual-frame.is-entering, .hero-visual-frame.is-leaving, .product-logo, .ring-energy-arc, .aperture-flash, .floor-energy, .scan-sweep, .scan-sweep::before, .scan-sweep::after { animation: none !important; }
}
