:root {
  color-scheme: light dark;
  --bg: #f7f8fb;
  --card: rgba(255, 255, 255, 0.78);
  --card-strong: rgba(255, 255, 255, 0.92);
  --text: #101828;
  --muted: #667085;
  --line: rgba(16, 24, 40, 0.1);
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --soft: rgba(37, 99, 235, 0.1);
  --shadow: 0 18px 60px rgba(16, 24, 40, 0.1);
  --radius: 28px;
}

[data-theme="dark"] {
  --bg: #080b12;
  --card: rgba(15, 23, 42, 0.72);
  --card-strong: rgba(15, 23, 42, 0.92);
  --text: #f8fafc;
  --muted: #98a2b3;
  --line: rgba(148, 163, 184, 0.18);
  --primary: #60a5fa;
  --primary-strong: #93c5fd;
  --soft: rgba(96, 165, 250, 0.12);
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.13), transparent 32rem),
    radial-gradient(circle at 90% 20%, rgba(124, 58, 237, 0.1), transparent 28rem),
    var(--bg);
  transition: background 0.35s ease, color 0.35s ease;
}

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

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0 42px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.nav-links {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.theme-button {
  padding: 9px 13px;
  border-radius: 999px;
}

.nav-links a:hover,
.theme-button:hover {
  background: rgba(125, 125, 125, 0.1);
}

.theme-button {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 8vw, 76px);
  line-height: 1;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.intro {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 28px;
}

.intro-main,
.intro-side,
.feature-grid article,
.model-showcase,
.deploy-panel {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.intro-main {
  min-height: 360px;
  padding: clamp(30px, 6vw, 58px);
  border-radius: var(--radius);
}

.intro-side {
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, var(--soft), transparent),
    var(--card);
}

.info-card span,
.panel-top span,
.metric-list span,
.feature-grid span {
  color: var(--muted);
  font-size: 13px;
}

.info-card strong {
  display: block;
  margin: 8px 0 12px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.info-card p,
.feature-grid p,
.model-copy p,
.deploy-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.section {
  padding: 58px 0 28px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  min-height: 220px;
  padding: 26px;
  border-radius: 24px;
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--primary);
  font-weight: 800;
}

.model-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  margin: 54px 0;
  padding: clamp(26px, 5vw, 46px);
  border-radius: var(--radius);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 26px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  font-weight: 800;
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.22);
}

.model-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, var(--soft), transparent 22rem),
    var(--card-strong);
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.panel-top b {
  color: var(--primary-strong);
  font-size: 14px;
}

.metric-list {
  display: grid;
  gap: 0;
}

.metric-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.metric-list div:last-child {
  border-bottom: 0;
}

.metric-list strong {
  text-align: right;
  font-size: clamp(18px, 2.6vw, 26px);
  letter-spacing: -0.04em;
}

.deploy-panel {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 28px;
  align-items: center;
  margin: 34px 0 64px;
  padding: clamp(26px, 5vw, 46px);
  border-radius: var(--radius);
}

.deploy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.deploy-tags span {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-strong);
  color: var(--text);
  font-weight: 700;
}

.vr-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 42px;
}

.vr-hero-text,
.vr-summary,
.vr-use-grid article,
.vr-file-list,
.vr-audio-list article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.vr-hero-text {
  padding: clamp(28px, 5vw, 46px);
}

.vr-hero-text h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.vr-hero-text p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.vr-summary {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.vr-summary div {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.vr-summary div:last-child {
  border-bottom: 0;
}

.vr-summary span,
.vr-file-list span,
.vr-audio-row span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.vr-summary strong,
.vr-file-list strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.vr-section {
  margin: 46px 0;
}

.vr-section-title {
  max-width: 760px;
  margin-bottom: 18px;
}

.vr-section-title h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.vr-section-title p,
.vr-use-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.vr-use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vr-use-grid article {
  padding: 24px;
}

.vr-use-grid h3,
.vr-audio-list h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.vr-file-list {
  overflow: hidden;
}

.vr-file-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.vr-file-list div:last-child {
  border-bottom: 0;
}

.vr-file-list span {
  margin-bottom: 0;
}

.vr-audio-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vr-audio-list article {
  padding: 24px;
}

.vr-audio-row {
  margin-top: 18px;
}

.vr-audio-row audio {
  width: 100%;
}

@media (max-width: 900px) {
  .nav {
    border-radius: 26px;
  }

  .nav-links {
    display: none;
  }

  .intro,
  .model-showcase,
  .deploy-panel,
  .vr-hero,
  .vr-use-grid,
  .vr-audio-list {
    grid-template-columns: 1fr;
  }

  .intro-main {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 22px, 1120px);
  }

  .nav {
    top: 10px;
    margin-bottom: 28px;
  }

  .brand {
    font-size: 15px;
  }

  .theme-button {
    padding: 8px 11px;
    font-size: 13px;
  }

  .intro-main,
  .intro-side,
  .model-showcase,
  .deploy-panel,
  .vr-hero-text,
  .vr-summary,
  .vr-use-grid article,
  .vr-file-list,
  .vr-audio-list article {
    border-radius: 20px;
  }

  .metric-list div,
  .vr-file-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric-list strong {
    text-align: left;
  }

  .primary-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.download-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.download-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-strong);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.download-row a:hover {
  background: var(--soft);
  color: var(--primary-strong);
}

@media (max-width: 560px) {
  .download-row {
    justify-content: flex-start;
  }

  .download-row a {
    width: 100%;
  }
}
