:root {
  --bg: #000;
  --text: #f4f4f4;
  --muted: #9b9b9b;
  --dim: #5a5a5a;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #2ee59d;
  --btn: #ececec;
  --btn-ink: #111;
  --font: "Sora", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  background: var(--bg);
  overflow-x: hidden;
}

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 40% at 15% 25%, rgba(46, 229, 157, 0.09), transparent 60%),
    radial-gradient(ellipse 45% 35% at 85% 20%, rgba(255, 255, 255, 0.035), transparent 55%),
    #000;
}

/* —— Nav（对齐汽水：左 logo / 中链接 / 右按钮） —— */
.nav {
  height: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-pill {
  height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* —— Hero（左文案固定宽，右样机贴右） —— */
.stage {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 24px 0 48px max(32px, calc((100vw - 1120px) / 2));
}

.copy {
  animation: in 0.55s ease both;
}

.mark {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin-bottom: 14px;
}

.slogan {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
}

.dl {
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 650;
  transition: filter 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.dl svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.dl.primary {
  background: var(--btn);
  color: var(--btn-ink);
}

.dl.primary:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.dl.secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
}

.dl.secondary:hover:not(.is-off) {
  background: rgba(255, 255, 255, 0.11);
}

.dl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dl.is-off {
  opacity: 0.45;
  cursor: default;
}

/* 样机：靠右、高度约 62vh，不抢左文案 */
.visual {
  height: min(62vh, 560px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  animation: in 0.7s ease 0.06s both;
  overflow: hidden;
}

.visual img {
  height: 100%;
  width: auto;
  max-width: min(640px, 52vw);
  object-fit: contain;
  object-position: right center;
  display: block;
  margin-right: max(12px, calc((100vw - 1120px) / 2 - 8px));
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.55));
  user-select: none;
  animation: float 8s ease-in-out infinite;
}

@keyframes in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 960px) {
  .nav {
    padding: 0 20px;
  }

  .stage {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 20px;
    gap: 20px;
  }

  .visual {
    order: -1;
    height: auto;
    justify-content: center;
  }

  .visual img {
    height: auto;
    width: min(100%, 480px);
    max-width: 480px;
    margin: 0 auto;
    animation: none;
  }

  .mark {
    max-width: 300px;
  }

  .actions {
    max-width: none;
  }
}
