:root {
  color-scheme: dark;
  --bg: #030303;
  --ink: #f6f0e6;
  --muted: #aaa296;
  --dim: #6f6a62;
  --gold: #d5a943;
  --gold-strong: #f5c960;
  --panel: rgba(22, 22, 22, 0.88);
  --panel-deep: rgba(10, 10, 10, 0.92);
  --panel-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(213, 169, 67, 0.38);
  --danger: #e66f64;
  --ok: #83d391;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 14%, rgba(213, 169, 67, 0.18), transparent 23rem),
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.07), transparent 18rem),
    linear-gradient(145deg, #030303 0%, #0a0a0a 46%, #020202 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 30px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px 14px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 12px 26px rgba(213, 169, 67, 0.22);
}

.brand strong,
.brand em {
  display: block;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.brand em {
  margin-top: 2px;
  color: var(--dim);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.22em;
}

.site-nav {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.site-nav a {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 22px;
  align-items: start;
  padding-top: 26px;
}

.hero__copy,
.product-stage,
.download-panel,
.screenshot-showcase,
.workflow article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.9), rgba(10, 10, 10, 0.93));
  box-shadow: var(--shadow);
}

.hero__copy {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-xl);
}

.hero__copy::before,
.hero__copy::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero__copy::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
}

.hero__copy::after {
  right: -140px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(213, 169, 67, 0.3);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(213, 169, 67, 0.08);
}

.eyebrow,
.download-note span {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  position: relative;
}

h1 {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.065em;
}

.hero__lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.68;
}

.hero__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.primary-button,
.ghost-button {
  min-height: 52px;
  border-radius: 999px;
  padding: 0 24px;
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  color: #171006;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
  box-shadow: 0 18px 40px rgba(213, 169, 67, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(213, 169, 67, 0.28);
}

.primary-button.is-disabled {
  color: #918877;
  pointer-events: none;
  background: #262626;
  box-shadow: none;
}

.ghost-button {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 180ms ease, background 180ms ease;
}

.ghost-button:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.075);
}

.hero__download-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.hero__facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero__facts li {
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.product-stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 500px;
  overflow: hidden;
  padding: clamp(30px, 3vw, 40px);
  border-radius: var(--radius-xl);
}

.product-stage::before {
  content: "";
  position: relative;
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-strong), rgba(213, 169, 67, 0.18));
}

.stage-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.product-stage h2 {
  max-width: 460px;
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.stage-caption {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

.stage-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.stage-list div {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.stage-list dt {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.stage-list dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius-xl);
}

.release-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.25fr;
  gap: 18px;
}

.release-card__status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel-soft);
}

.release-card__status strong {
  font-size: 21px;
}

.release-card__status p,
.download-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  line-height: 1.72;
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(213, 169, 67, 0.13);
}

.status-dot[data-state="ready"] {
  background: var(--ok);
  box-shadow: 0 0 0 7px rgba(131, 211, 145, 0.14);
}

.status-dot[data-state="error"] {
  background: var(--danger);
  box-shadow: 0 0 0 7px rgba(230, 111, 100, 0.14);
}

.status-dot[data-state="idle"] {
  background: var(--dim);
  box-shadow: 0 0 0 7px rgba(111, 106, 98, 0.14);
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.release-meta div,
.download-note {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel-soft);
}

.release-meta div {
  min-height: 150px;
  padding: 20px;
}

.release-meta dt {
  color: var(--dim);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 13px;
}

.release-meta dd {
  margin: 14px 0 0;
  font-size: clamp(18px, 2.3vw, 26px);
  font-weight: 900;
  word-break: break-word;
}

.download-note {
  padding: 24px;
}

.download-note h2 {
  margin: 18px 0 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.download-gate {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.download-gate label {
  color: var(--dim);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 13px;
}

.download-gate__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.download-gate input,
.download-gate button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 14px;
}

.download-gate input {
  width: 100%;
  padding: 0 17px;
  color: var(--ink);
  outline: none;
  background: rgba(255, 255, 255, 0.045);
}

.download-gate input:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(213, 169, 67, 0.08);
}

.download-gate button {
  padding: 0 18px;
  color: #171006;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
}

.download-gate button:disabled {
  color: #918877;
  cursor: wait;
  background: #262626;
}

.download-gate p {
  margin: 0;
  color: var(--muted);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 13px;
  line-height: 1.58;
}

.screenshot-showcase {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: 26px;
  border-radius: var(--radius-xl);
}

.screenshot-showcase::before {
  content: "";
  position: absolute;
  top: -160px;
  right: 10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(213, 169, 67, 0.13), transparent 68%);
}

.showcase-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 22px;
  align-items: end;
}

.showcase-heading span {
  grid-column: 1 / -1;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.showcase-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.058em;
}

.showcase-heading p {
  margin: 0;
  color: var(--muted);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 15px;
  line-height: 1.72;
}

.showcase-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 24px;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(0, 0, 0, 0.36);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.showcase-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  object-fit: cover;
  background: #050505;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.4);
}

.showcase-card--large img {
  aspect-ratio: 1920 / 955;
}

.showcase-card:not(.showcase-card--large) img {
  aspect-ratio: 1916 / 972;
}

.showcase-card figcaption {
  display: grid;
  gap: 6px;
  padding: 0 4px 4px;
}

.showcase-card strong {
  color: var(--ink);
  font-size: 18px;
}

.showcase-card span {
  color: var(--muted);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.workflow article {
  min-height: 230px;
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: transform 180ms ease, border-color 180ms ease;
}

.workflow article:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.workflow span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.workflow h2 {
  margin: 54px 0 12px;
  font-size: 24px;
}

.workflow p {
  margin: 0;
  color: var(--muted);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  line-height: 1.72;
}

code {
  color: var(--gold);
  word-break: break-all;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__copy,
  .product-stage,
  .download-panel,
  .screenshot-showcase,
  .workflow article {
    animation: rise-in 680ms ease both;
  }

  .product-stage {
    animation-delay: 70ms;
  }

  .download-panel {
    animation-delay: 120ms;
  }

  .screenshot-showcase {
    animation-delay: 150ms;
  }

  .workflow article:nth-child(1) {
    animation-delay: 160ms;
  }

  .workflow article:nth-child(2) {
    animation-delay: 200ms;
  }

  .workflow article:nth-child(3) {
    animation-delay: 240ms;
  }

  .workflow article:nth-child(4) {
    animation-delay: 280ms;
  }
}

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

@media (max-width: 1080px) {
  .hero,
  .download-panel,
  .showcase-heading,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero__copy,
  .product-stage {
    min-height: auto;
  }

  .hero__facts {
    margin-top: 30px;
  }

  .workflow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 1220px);
    padding-top: 12px;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    border-radius: 24px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 14px;
  }

  .hero__copy,
  .product-stage,
  .download-panel,
  .screenshot-showcase,
  .workflow article {
    border-radius: 24px;
    padding: 22px;
  }

  .hero__copy::before {
    display: none;
  }

  .hero__actions,
  .hero__facts,
  .release-card,
  .release-meta,
  .showcase-heading,
  .showcase-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
  }

  .primary-button,
  .ghost-button,
  .download-gate button {
    width: 100%;
  }

  .download-gate__row {
    grid-template-columns: 1fr;
  }

  .product-stage h2 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .workflow article {
    min-height: 180px;
  }
}
