/* 用户参考驱动的深色科技首页；三维场景全幅铺开，浅色模式和移动端保持同一品牌语言。 */
@font-face {
  font-family: Manrope;
  src: url("./manrope-800.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}
:root {
  color-scheme: dark;
  --bg: #080d0e;
  --surface: #0d1517;
  --ink: #eef5f4;
  --muted: #a2b3b4;
  --line: #283638;
  --accent: #80edda;
  --button-ink: #082b28;
  --warm: #eab77a;
  --cool: #9bbdea;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
body.light {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f4f5f6;
  --ink: #122b2c;
  --muted: #4e6264;
  --line: #d8dce0;
  --accent: #09695f;
  --button-ink: #fff;
  --warm: #935c23;
  --cool: #346599;
}
::selection {
  background: #80edda;
  color: #082b28;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
summary:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
a:hover {
  color: var(--accent);
}
h1,
h2,
h3,
p {
  margin: 0;
}
p {
  line-height: 1.8;
}
button svg {
  display: block;
}
button {
  color: inherit;
}
.wrap {
  max-width: 1280px;
  padding-inline: 42px;
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--bg);
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.header {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Manrope, "PingFang SC", sans-serif;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}
.brand img {
  border-radius: 8px;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
.header nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
}
.header-panel {
  display: contents;
}
.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: -16px;
}
.header :focus-visible {
  outline-offset: 2px;
}
.language-picker {
  position: relative;
  font-size: 13px;
}
.language-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 6px;
  cursor: pointer;
  list-style: none;
}
.language-trigger::-webkit-details-marker {
  display: none;
}
.language-picker[open] .language-trigger {
  background: var(--surface);
  color: var(--accent);
}
.language-picker[open] .language-chevron {
  transform: rotate(180deg);
}
.language-options {
  position: absolute;
  z-index: 1;
  top: calc(100% + 8px);
  right: 0;
  width: 184px;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgb(0 0 0 / 10%);
}
.language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 10px;
  border-radius: 4px;
}
.language-option:hover,
.language-option[aria-current="page"] {
  background: var(--surface);
  color: var(--accent);
}
.language-option:not([aria-current]) svg {
  visibility: hidden;
}
.theme-button {
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  border-radius: 7px;
}
.theme-button:hover,
.language-trigger:hover,
.menu-button:hover {
  background: var(--surface);
  color: var(--accent);
}
.menu-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 6px;
  display: none;
  place-items: center;
}
.menu-close-icon,
.menu-button[aria-expanded="true"] .menu-open-icon {
  display: none;
}
.menu-button[aria-expanded="true"] .menu-close-icon {
  display: block;
}
[hidden] {
  display: none !important;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 48px;
  padding: 13px 23px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 650;
  transition:
    background 0.2s,
    color 0.2s;
}
.primary {
  background: var(--accent);
  color: var(--button-ink);
}
.primary:hover {
  background: #b2ffec;
  color: #082b28;
}
.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.secondary:hover {
  border-color: var(--muted);
  color: var(--accent);
}
.nav-cta {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  gap: 0;
  white-space: nowrap;
}
.auth-register {
  margin-left: 4px;
}
.hero {
  position: relative;
  height: calc(100svh - 145px);
  min-height: 580px;
  max-height: 820px;
  overflow: hidden;
}
.scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.scene canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.scene-fallback {
  position: absolute;
  top: 24%;
  right: 17%;
  width: 200px;
  height: 200px;
  opacity: 0.35;
  object-fit: contain;
  filter: grayscale(1);
}
.scene.ready .scene-fallback {
  display: none;
}
.scene:not(.ready) {
  z-index: 0;
}
.hero-layout {
  height: 100%;
  position: relative;
  pointer-events: none;
  z-index: 4;
}
.hero-layout a,
.hero-layout button {
  pointer-events: auto;
}
.hero-copy {
  position: absolute;
  top: 12%;
  z-index: 1;
  max-width: 550px;
}
h1 {
  font-family: Manrope, "PingFang SC", sans-serif;
  font-size: 86px;
  line-height: 1.04;
  font-weight: 800;
}
h1 span {
  color: var(--accent);
}
.hero-line {
  font-size: 25px;
  font-weight: 600;
  margin-top: 25px;
}
.hero-description {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  margin-top: 18px;
}
.actions {
  display: flex;
  gap: 13px;
  margin-top: 32px;
}
.scene-caption {
  position: absolute;
  right: 90px;
  bottom: 95px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
}
.scene-caption p {
  font-family: Manrope, sans-serif;
  font-size: 11px;
  line-height: 1.8;
}
.scene-caption p span {
  font-family: "PingFang SC", sans-serif;
  font-size: 11px;
}
.caption-line {
  width: 35px;
  height: 1px;
  background: var(--accent);
}
#scene-motion {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: var(--bg);
  display: grid;
  place-content: center;
  border-radius: 50%;
}
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  height: 66px;
  color: var(--muted);
  font-size: 12px;
}
.hero-bottom code {
  font-size: 12px;
  color: var(--accent);
}
.hero-bottom a {
  color: var(--ink);
}
.scene-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.scene-strip a {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 36px 28px 36px 0;
  position: relative;
}
.scene-strip a + a {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}
.scene-code {
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
}
.scene-code.warm {
  color: var(--warm);
}
.scene-code.cool {
  color: var(--cool);
}
.scene-strip strong {
  font-size: 23px;
  font-weight: 550;
}
.scene-strip a > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.section {
  padding-top: 100px;
  padding-bottom: 100px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}
h2 {
  font-size: 43px;
  line-height: 1.5;
  font-weight: 550;
}
h2 span {
  color: var(--muted);
}
.section-heading p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
}
.text-link {
  font-size: 13px;
  color: var(--accent);
  white-space: nowrap;
}
.works-section {
  background: var(--surface);
  margin-top: 90px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  min-height: 230px;
}
.work {
  min-width: 0;
}
.work-stage {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
  background: #fff;
}
.work-stage iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: top left;
  border: 0;
  pointer-events: none;
}
.work-open {
  position: absolute;
  inset: 0;
  display: block;
}
.work-open:focus-visible {
  outline-offset: -5px;
}
.work-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
.result {
  font-size: 11px;
  color: var(--accent);
}
.result.warning {
  color: var(--warm);
}
.work-meta {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.proof-note {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 11px;
}
.proof-note.stale {
  color: var(--warm);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.model-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.model-list {
  position: absolute;
  inset: 20% 4% 20% 51%;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px;
  align-content: center;
  justify-content: space-around;
}
.model-list[data-orbit-ready] {
  display: block;
  inset: 0;
}
.model-list[data-orbit-ready] .model-brand {
  position: absolute;
  left: 0;
  top: 0;
}
.model-brand {
  --brand-color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  width: 142px;
  height: 104px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--bg);
  pointer-events: auto;
  box-shadow: 0 8px 20px #122b2c12;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  backface-visibility: hidden;
}
.model-brand:hover {
  border-color: var(--brand-color);
  box-shadow: 0 8px 24px #122b2c0d;
}
.model-brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
body.light .model-brand-claude { --brand-color: #9c4d35; }
body.light .model-brand-deepseek { --brand-color: #315bd6; }
body.light .model-brand-gemini { --brand-color: #7048b8; }
body.light .model-brand-zhipu { --brand-color: #354ccc; }
body:not(.light) .model-brand-claude { --brand-color: #e8a08a; }
body:not(.light) .model-brand-deepseek { --brand-color: #a2b7ff; }
body:not(.light) .model-brand-gemini { --brand-color: #c9adff; }
body:not(.light) .model-brand-zhipu { --brand-color: #acb8ff; }
.model-brand-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  min-height: 22px;
}
.model-brand-heading h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.model-brand-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: var(--ink);
  mask: var(--brand-icon) center / contain no-repeat;
}
.brand-claude { --brand-icon: url("./claude.svg"); background: #cc785c; }
.brand-openai { --brand-icon: url("./openai.svg"); }
.brand-grok { --brand-icon: url("./grok.svg"); }
.brand-deepseek { --brand-icon: url("./deepseek.svg"); background: #4d6bfe; }
.brand-gemini { --brand-icon: url("./gemini.svg"); background: #688bfa; }
.brand-zhipu { --brand-icon: url("./zhipu.svg"); background: #6486e7; }
.brand-kimi { --brand-icon: url("./kimi.svg"); }
.brand-minimax { --brand-icon: url("./minimax.svg"); background: #d64c65; }
.model-brand-models {
  list-style: none;
  padding: 0;
  margin: 0;
  min-height: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.model-name {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--brand-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.model-brand-pricing {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding: 7px 0 0;
  color: var(--muted);
  font-size: 9px;
}
.model-rate {
  color: var(--brand-color);
  font-size: 15px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fine-print {
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
  max-width: 85ch;
}
@media (min-width: 641px) and (max-width: 1000px) {
  .model-brand {
    width: 104px;
    height: 66px;
    padding: 8px;
  }
  .model-brand-heading {
    gap: 5px;
    margin-bottom: 4px;
    min-height: 18px;
  }
  .model-brand-heading h3 { font-size: 12px; }
  .model-brand-icon { width: 18px; height: 18px; }
  .model-brand-models { display: none; }
  .model-brand-pricing { padding-top: 4px; font-size: 8px; }
  .model-rate { font-size: 12px; }
}
.data-message {
  grid-column: 1/-1;
  padding: 30px 0;
  color: var(--muted);
  font-size: 14px;
  pointer-events: auto;
}
.connection {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.connection-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.connection h2 {
  font-size: 40px;
}
.connection .button {
  margin-top: 28px;
}
.endpoint > span {
  font-family: Manrope, sans-serif;
  font-size: 11px;
  color: var(--muted);
}
.endpoint > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.endpoint code {
  font-size: 19px;
  color: var(--accent);
  overflow-wrap: anywhere;
}
.endpoint button {
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  display: grid;
  place-content: center;
  flex-shrink: 0;
}
.endpoint p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
  min-height: 22px;
}
.endpoint > a {
  font-size: 12px;
  display: inline-block;
  margin-top: 15px;
}
footer {
  padding-top: 36px;
  padding-bottom: 30px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-top nav {
  display: flex;
  gap: 24px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
}
footer > p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 20px;
}
@media (min-width: 1600px) {
  .hero-copy {
    top: 14%;
  }
  h1 {
    font-size: 96px;
  }
  .hero-line {
    font-size: 28px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    padding-inline: 30px;
  }
  .header {
    gap: 22px;
  }
  .header nav {
    gap: 18px;
  }
  .brand {
    font-size: 16px;
  }
  h1 {
    font-size: 75px;
  }
  .hero-copy {
    top: 14%;
  }
  .hero-line {
    font-size: 22px;
  }
  .scene-caption {
    right: 45px;
    bottom: 100px;
  }
  .scene-strip strong {
    font-size: 20px;
  }
  .gallery {
    gap: 16px;
  }
  .proof-note {
    display: block;
  }
  .proof-note p + p {
    margin-top: 6px;
  }
  .connection-inner {
    gap: 40px;
  }
  .connection h2 {
    font-size: 34px;
  }
  .endpoint code {
    font-size: 16px;
  }
}
@media (max-width: 900px) {
  .header {
    height: 64px;
    gap: 12px;
    justify-content: space-between;
  }
  .header-actions {
    margin-left: auto;
    flex-shrink: 0;
    gap: 4px;
  }
  .header .nav-cta {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 13px;
    gap: 0;
  }
  .header-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 16px 30px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px rgb(0 0 0 / 5%);
  }
  .header.menu-ready:not(.menu-expanded) .header-panel {
    display: none;
  }
  .header nav {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
  }
  .header-tools {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    gap: 8px;
  }
  .language-options {
    position: static;
    margin-top: 8px;
    box-shadow: none;
  }
  .header-tools {
    align-items: flex-start;
  }
  .menu-button:not([hidden]) {
    display: grid;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding-inline: 22px;
  }
  .header {
    padding-inline: 16px;
    gap: 8px;
  }
  .brand {
    font-size: 14px;
    gap: 8px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .header-panel {
    padding-inline: 22px;
  }
  .header .nav-cta {
    padding-inline: 10px;
    font-size: 12px;
  }
  .desktop-link {
    display: none !important;
  }
  .auth-register {
    display: none;
  }
  .hero {
    height: calc(100svh - 145px);
    min-height: 660px;
    max-height: 740px;
  }
  .hero-copy {
    top: 35px;
    max-width: 100%;
    pointer-events: auto;
  }
  h1 {
    font-size: 58px;
    line-height: 1.03;
  }
  .hero-line {
    font-size: 19px;
    margin-top: 19px;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 10px;
  }
  .hero-description br {
    display: none;
  }
  .actions {
    margin-top: 19px;
    gap: 10px;
  }
  .button {
    font-size: 12px;
    padding: 11px 16px;
    gap: 18px;
    min-height: 42px;
  }
  .scene-caption {
    right: 22px;
    bottom: 65px;
    gap: 10px;
  }
  .scene-caption p {
    font-size: 8px;
  }
  .scene-caption p span {
    font-size: 9px;
  }
  .caption-line {
    width: 20px;
  }
  #scene-motion {
    width: 28px;
    height: 28px;
  }
  .hero-bottom {
    height: 45px;
    font-size: 10px;
    gap: 10px;
  }
  .hero-bottom code {
    display: none;
  }
  .hero-bottom a {
    font-size: 10px;
  }
  .scene-strip {
    grid-template-columns: 1fr;
    padding-block: 5px;
  }
  .scene-strip a,
  .scene-strip a + a {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px 18px;
    align-items: center;
    padding: 22px 0;
    border-left: 0;
  }
  .scene-strip a + a {
    border-top: 1px solid var(--line);
  }
  .scene-strip strong {
    font-size: 19px;
    font-weight: 500;
  }
  .scene-strip a > span:last-child {
    grid-column: 1;
    font-size: 11px;
  }
  .scene-code {
    font-size: 10px;
  }
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .works-section {
    margin-top: 50px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 28px;
  }
  h2 {
    font-size: 29px;
  }
  .section-heading p {
    font-size: 12px;
    margin-top: 13px;
  }
  .text-link {
    font-size: 12px;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .gallery .work:nth-child(n + 2) {
    display: none;
  }
  .proof-note {
    font-size: 10px;
    margin-top: 20px;
  }
  .model-list {
    inset: 47% 12px 90px;
  }
  .model-brand {
    width: 88px;
    height: 56px;
    padding: 6px;
  }
  .model-brand-heading {
    gap: 4px;
    margin-bottom: 4px;
    min-height: 16px;
  }
  .model-brand-heading h3 {
    font-size: 10px;
  }
  .model-brand-icon {
    width: 14px;
    height: 14px;
  }
  .model-name {
    font-size: 10px;
  }
  .model-brand-models {
    display: none;
  }
  .model-rate {
    font-size: 10px;
  }
  .model-brand-pricing {
    padding-top: 4px;
    font-size: 7px;
    gap: 2px;
  }
  .fine-print {
    font-size: 10px;
  }
  .connection-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .connection h2 {
    font-size: 29px;
  }
  .endpoint code {
    font-size: 15px;
  }
  .endpoint p {
    font-size: 11px;
  }
  .footer-top {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }
  .footer-top nav {
    gap: 20px;
    font-size: 10px;
  }
  footer > p {
    font-size: 10px;
  }
  .scene-fallback {
    width: 130px;
    height: 130px;
    top: 60%;
    right: 18%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
