:root {
  --page-bg: #06111f;
  --page-bg-2: #08192d;
  --text-main: #d8e5fb;
  --text-sub: #8aa0c2;
  --brand-left: #4db6ff;
  --brand-right: #4d8dff;
  --line: rgba(96, 165, 250, 0.2);
  --glass: rgba(12, 22, 40, 0.72);
  --shadow: 0 30px 88px rgba(2, 8, 23, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "MiSans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(900px 700px at 8% 8%, rgba(56, 189, 248, 0.16) 0%, transparent 55%),
    radial-gradient(780px 620px at 92% 12%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
    radial-gradient(900px 700px at 50% 88%, rgba(14, 165, 233, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-2) 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  padding: 24px 32px 30px;
  overflow: hidden;
  --pointer-x: 0px;
  --pointer-y: 0px;
  --stage-x: 0px;
  --stage-y: 0px;
  --stage-tilt-x: 0;
  --stage-tilt-y: 0;
  --watermark-x: 0px;
  --watermark-y: 0px;
  perspective: 1600px;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-shell::before {
  background-image:
    linear-gradient(rgba(129, 190, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 190, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
  opacity: 0.38;
  transform: translate3d(calc(var(--pointer-x) * -0.01), calc(var(--pointer-y) * -0.01), 0);
}

.page-shell::after {
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.12), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(37, 99, 235, 0.12), transparent 24%);
  mix-blend-mode: screen;
  opacity: 0.65;
  transform: translate3d(calc(var(--pointer-x) * 0.015), calc(var(--pointer-y) * 0.015), 0);
}

.ambient {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(22px);
  opacity: 0.78;
}

.ambient-a {
  inset: -18% auto auto -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(56, 189, 248, 0.08) 28%, rgba(255, 255, 255, 0) 72%);
}

.ambient-b {
  top: 0;
  left: 34%;
  width: 36vw;
  height: 36vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0.1) 24%, rgba(255, 255, 255, 0) 70%);
}

.ambient-c {
  right: -10%;
  bottom: -16%;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0.08) 26%, rgba(255, 255, 255, 0) 70%);
}

.ambient-d {
  inset: auto 8% 6% auto;
  width: 18vw;
  height: 18vw;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.18) 0%, rgba(96, 165, 250, 0.04) 34%, rgba(255, 255, 255, 0) 74%);
  transform: translate3d(calc(var(--pointer-x) * 0.02), calc(var(--pointer-y) * 0.02), 0);
}

.brand-watermark {
  position: absolute;
  left: 40%;
  top: 46%;
  z-index: 0;
  width: min(135vw, 2150px);
  aspect-ratio: 1 / 1;
  transform: translate(
      calc(-40% + var(--watermark-x)),
      calc(-52% + var(--watermark-y))
    )
    scale(1.02);
  pointer-events: none;
  opacity: 0.11;
  filter: saturate(1.1);
  mix-blend-mode: screen;
  animation: watermark-float 14s ease-in-out infinite;
}

.brand-watermark::before {
  content: "";
  position: absolute;
  inset: 8% 9%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(125, 211, 252, 0.26), transparent 58%),
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.24), transparent 70%);
  filter: blur(18px);
  opacity: 0.8;
  transform: translate3d(calc(var(--pointer-x) * 0.03), calc(var(--pointer-y) * 0.03), 0);
}

.brand-watermark::after {
  content: "";
  position: absolute;
  inset: 14% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 68%);
  filter: blur(20px);
}

.brand-watermark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 24px rgba(125, 211, 252, 0.28))
    drop-shadow(0 0 68px rgba(37, 99, 235, 0.18))
    blur(0.2px);
  transform: translate3d(calc(var(--pointer-x) * 0.06), calc(var(--pointer-y) * 0.06), 0);
}

.floating,
.dock button,
.btn,
.logo-card,
.pill,
.glass-card,
.stack-card,
.user-badge,
.brand-mark {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.translate-btn {
  position: absolute;
  top: 52%;
  right: 10px;
  z-index: 5;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #1f6feb 0%, #54b1ff 100%);
  box-shadow: 0 12px 26px rgba(34, 111, 235, 0.34);
  color: #fff;
  cursor: pointer;
  animation: float-soft 6s ease-in-out infinite;
}

.translate-icon {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(540px, 0.9fr) minmax(760px, 1.1fr);
  align-items: center;
  gap: 96px;
  min-height: calc(100vh - 54px);
  max-width: 2400px;
  margin: 0 auto;
  padding: 20px 16px 12px;
}

.hero-copy {
  padding: 128px 0 0 10px;
  position: relative;
  animation: rise-in 900ms ease-out both;
}

.hero-kicker {
  width: 18px;
  height: 18px;
  margin: 0 0 18px 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4db6ff 0%, #2563eb 100%);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.28);
  animation: pulse-dot 2.8s ease-in-out infinite;
}

.hero-heading {
  margin-bottom: 16px;
}

.hero-brand {
  font-size: clamp(52px, 3.6vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #7dd3fc 0%, #3b82f6 56%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-top: 12px;
  font-size: clamp(34px, 2.75vw, 58px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #e8f2ff;
  opacity: 0.95;
}

.hero-desc {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(18px, 1.15vw, 24px);
  line-height: 1.55;
  color: #b8cae5;
  opacity: 0.96;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 34px;
}

.btn {
  min-width: 200px;
  padding: 16px 28px;
  border-radius: 999px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #1d4ed8 0%, #06b6d4 100%);
  box-shadow: 0 16px 34px rgba(29, 78, 216, 0.35);
}

.btn-secondary {
  color: #d8e5fb;
  background: rgba(10, 18, 34, 0.82);
  border-color: rgba(124, 165, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.logos-block {
  margin-top: 42px;
}

.logos-title {
  font-size: 15px;
  font-weight: 600;
  color: #8aa0c2;
}

.logo-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.logo-tile {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(127, 170, 255, 0.24);
  border-radius: 12px;
  background: rgba(10, 18, 34, 0.84);
  box-shadow: 0 8px 18px rgba(2, 8, 23, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
  overflow: hidden;
  flex: 0 0 auto;
}

.logo-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(120, 192, 255, 0.72);
  box-shadow: 0 12px 22px rgba(2, 8, 23, 0.28);
  background: rgba(15, 23, 42, 0.95);
}

.logo-tile img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

.logo-tile-more {
  width: 52px;
  font-size: 15px;
  font-weight: 700;
  color: #8aa0c2;
  letter-spacing: 0.5px;
}

.hero-visual {
  position: relative;
  min-height: 760px;
  animation: rise-in 900ms ease-out 80ms both;
}

.visual-stage {
  position: relative;
  width: min(100%, 920px);
  height: 760px;
  margin-left: auto;
  transform-style: preserve-3d;
  will-change: transform;
  transform:
    translate3d(var(--stage-x), var(--stage-y), 0)
    rotateX(calc(var(--stage-tilt-y) * 1deg))
    rotateY(calc(var(--stage-tilt-x) * 1deg));
  transition: transform 90ms linear;
}

.visual-stage::before {
  content: "";
  position: absolute;
  inset: 52px 44px 78px 72px;
  border-radius: 48%;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.1) 0 34%, rgba(255, 255, 255, 0) 35%),
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.18) 0, rgba(59, 130, 246, 0.08) 48%, rgba(255, 255, 255, 0) 72%);
  border: 1px solid rgba(94, 161, 255, 0.2);
  animation: spin-slow 34s linear infinite;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(120, 170, 255, 0.22);
}

.orbit-1 {
  inset: 112px 132px 122px 138px;
}

.orbit-2 {
  inset: 170px 194px 174px 202px;
}

.orbit-3 {
  inset: 48px 30px 30px 34px;
  opacity: 0.35;
}

.orbit-4 {
  inset: 0 0 0 0;
  opacity: 0.18;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(146, 186, 255, 0.16);
}

.orbit-ring-a {
  inset: 120px 210px 120px 180px;
}

.orbit-ring-b {
  inset: 180px 280px 180px 250px;
}

.orbit-ring-c {
  inset: 72px 80px 72px 120px;
  opacity: 0.28;
}

.orbit-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.1);
  animation: node-breathe 3.6s ease-in-out infinite;
}

.node-1 { left: 74px; top: 430px; }
.node-2 { right: 170px; top: 166px; }
.node-3 { right: 228px; top: 292px; }
.node-4 { left: 364px; bottom: 142px; }

.glass-card {
  position: absolute;
  left: 104px;
  top: 232px;
  width: 236px;
  min-height: 212px;
  padding: 14px 16px 18px;
  border-radius: 22px;
  background: rgba(10, 18, 34, 0.84);
  border: 1px solid rgba(123, 163, 255, 0.24);
  box-shadow: 0 22px 50px rgba(2, 8, 23, 0.34);
  animation: float-card 7s ease-in-out infinite;
}

.window-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
}

.window-dots span:nth-child(2) { background: #fbbf24; }
.window-dots span:nth-child(3) { background: #60a5fa; }

.model-scan {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 116px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(132, 198, 255, 0.12), rgba(132, 198, 255, 0.42), rgba(132, 198, 255, 0.12));
}

.search-bar {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  color: #8aa0c2;
  background: rgba(8, 15, 28, 0.96);
  border: 1px solid rgba(127, 170, 255, 0.22);
  font-size: 14px;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.toggle-switch {
  width: 28px;
  height: 16px;
  padding: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d4ed8, #22d3ee);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.toggle-switch i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  animation: toggle-slide 2.8s ease-in-out infinite;
}

.tag {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 183, 255, 0.22);
  background: rgba(8, 15, 28, 0.92);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 700;
}

.model-copy {
  margin-top: 22px;
}

.model-copy h3 {
  margin: 0;
  font-size: 18px;
  color: #7dd3fc;
}

.model-copy p {
  margin: 10px 0 0;
  line-height: 1.75;
  font-size: 14px;
  color: #9fb3d5;
}

.stack-card {
  position: absolute;
  left: 378px;
  top: 232px;
  width: 138px;
  height: 88px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(30, 64, 175, 0.86));
  border: 1px solid rgba(124, 165, 255, 0.28);
  box-shadow:
    0 10px 26px rgba(2, 8, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: float-card 8s ease-in-out infinite;
}

.stack-card::before {
  content: "";
  position: absolute;
  inset: 9px 12px auto 12px;
  height: 20px;
  border-radius: 10px;
  background: rgba(125, 211, 252, 0.14);
}

.stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.stack-a { transform: translate(0, 0); opacity: 0.9; }
.stack-b { transform: translate(0, 18px); opacity: 0.72; }
.stack-c { transform: translate(0, 36px); opacity: 0.56; }
.stack-d { transform: translate(0, 54px); opacity: 0.42; }

.pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.88);
  border: 1px solid rgba(127, 170, 255, 0.24);
  color: #cfe3ff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(2, 8, 23, 0.26);
  animation: float-pulse 6.5s ease-in-out infinite;
}

.pill::before {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.24), rgba(34, 211, 238, 0.18));
  font-size: 14px;
}

.pill-top {
  left: 358px;
  top: 42px;
}

.pill-top::before { content: "💲"; background: linear-gradient(180deg, rgba(96, 165, 250, 0.34), rgba(34, 211, 238, 0.22)); color: #d9f1ff; }

.pill-right {
  right: 46px;
  top: 118px;
}

.pill-right::before { content: "⚡"; background: linear-gradient(180deg, rgba(56, 189, 248, 0.34), rgba(59, 130, 246, 0.24)); color: #eef7ff; }

.pill-bottom-right {
  right: 42px;
  bottom: 104px;
}

.pill-bottom-right::before { content: "▣"; background: linear-gradient(180deg, rgba(56, 189, 248, 0.32), rgba(34, 197, 94, 0.18)); color: #dffcf1; }

.pill-bottom {
  left: 292px;
  bottom: 20px;
}

.pill-bottom::before { content: "👥"; background: linear-gradient(180deg, rgba(59, 130, 246, 0.28), rgba(96, 165, 250, 0.18)); color: #eaf4ff; }

.pill-left {
  left: 152px;
  bottom: 108px;
}

.pill-left::before { content: "▣"; background: linear-gradient(180deg, rgba(96, 165, 250, 0.26), rgba(14, 165, 233, 0.18)); color: #d9f1ff; }

.user-badge {
  position: absolute;
  right: 122px;
  top: 222px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 15, 28, 0.92);
  border: 1px solid rgba(125, 211, 252, 0.22);
  color: #7dd3fc;
  font-size: 18px;
  box-shadow: 0 14px 30px rgba(2, 8, 23, 0.24);
  animation: float-soft 5.5s ease-in-out infinite;
}

.hud-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.7), transparent);
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.6));
  opacity: 0.75;
}

.hud-line-a {
  left: 78px;
  top: 210px;
  width: 210px;
  transform: rotate(-18deg);
}

.hud-line-b {
  right: 142px;
  bottom: 176px;
  width: 188px;
  transform: rotate(18deg);
}

.dock {
  position: fixed;
  right: 12px;
  bottom: 14px;
  z-index: 6;
  display: flex;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(127, 170, 255, 0.2);
  box-shadow: 0 10px 22px rgba(2, 8, 23, 0.24);
}

.dock button {
  width: 24px;
  height: 24px;
  border: 0;
  background: rgba(8, 15, 28, 0.95);
  color: #9fb3d5;
  font-size: 13px;
  cursor: pointer;
}

.dock button:last-child {
  background: linear-gradient(180deg, #1d4ed8, #22d3ee);
  color: #fff;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-soft {
  0%, 100% { transform: translate3d(calc(var(--pointer-x) * 0.01), calc(var(--pointer-y) * 0.01), 0) translateY(0); }
  50% { transform: translate3d(calc(var(--pointer-x) * 0.01), calc(var(--pointer-y) * 0.01), 0) translateY(-8px); }
}

@keyframes float-pulse {
  0%, 100% { transform: translate3d(calc(var(--pointer-x) * 0.012), calc(var(--pointer-y) * 0.012), 0) translateY(0) scale(1); }
  50% { transform: translate3d(calc(var(--pointer-x) * 0.012), calc(var(--pointer-y) * 0.012), 0) translateY(-8px) scale(1.02); }
}

@keyframes float-card {
  0%, 100% { transform: translate3d(calc(var(--pointer-x) * 0.015), calc(var(--pointer-y) * 0.015), 0) translateY(0); }
  50% { transform: translate3d(calc(var(--pointer-x) * 0.015), calc(var(--pointer-y) * 0.015), 0) translateY(-10px); }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 18px rgba(37, 99, 235, 0.22); }
  50% { transform: scale(1.15); box-shadow: 0 10px 18px rgba(34, 211, 238, 0.34); }
}

@keyframes node-breathe {
  0%, 100% { transform: translate3d(calc(var(--pointer-x) * 0.01), calc(var(--pointer-y) * 0.01), 0) scale(1); opacity: 0.72; }
  50% { transform: translate3d(calc(var(--pointer-x) * 0.01), calc(var(--pointer-y) * 0.01), 0) scale(1.45); opacity: 1; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes toggle-slide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(12px); }
}

@keyframes watermark-float {
  0%, 100% {
    transform: translate(
        calc(-40% + var(--watermark-x)),
        calc(-52% + var(--watermark-y))
      )
      scale(1.02);
  }
  50% {
    transform: translate(
        calc(-40% + var(--watermark-x)),
        calc(-54% + var(--watermark-y))
      )
      scale(1.05);
  }
}

.page-shell.is-ready .hero-copy,
.page-shell.is-ready .hero-visual {
  animation: rise-in 900ms ease-out both;
}

.page-shell.is-ready .hero-visual {
  animation-delay: 80ms;
}

@media (max-width: 1400px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy {
    padding-left: 0;
    padding-top: 96px;
  }

  .hero-visual {
    min-height: 640px;
  }

  .visual-stage {
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .page-shell {
    padding: 22px 16px 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-brand {
    font-size: clamp(40px, 10vw, 54px);
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    min-width: 0;
    font-size: 16px;
  }

  .visual-stage {
    width: 100%;
    height: 600px;
    transform: scale(0.82);
    transform-origin: center top;
  }

  .brand-watermark {
    width: 160vw;
    top: 38%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
  }
}

@media (max-width: 640px) {
  body {
    overflow: auto;
  }

  .hero-visual {
    margin-top: -28px;
  }

  .brand-watermark {
    width: 180vw;
    top: 34%;
    opacity: 0.09;
  }

  .logos-row {
    gap: 10px;
  }

  .logo-links {
    gap: 10px;
  }

  .logo-tile {
    width: 44px;
    height: 44px;
  }

  .logo-tile img {
    width: 24px;
    height: 24px;
  }

  .logo-tile-more {
    width: 48px;
    font-size: 14px;
  }

  .translate-btn {
    top: 18px;
    right: 14px;
  }

  .dock {
    right: 10px;
    bottom: 10px;
  }
}
