:root {
  --surface: #121414;
  --surface-low: #171b1b;
  --surface-mid: #1d2423;
  --surface-high: rgba(32, 41, 39, 0.78);
  --text: #e2e2e2;
  --muted: #9ba8a5;
  --subtle: #687673;
  --accent: #00e0b7;
  --accent-deep: #00a485;
  --warm: #d6c7ad;
  --ghost: rgba(226, 226, 226, 0.1);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", "Noto Serif SC", sans-serif;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(0, 224, 183, 0.08), transparent 38%),
    linear-gradient(180deg, #0f1111 0%, var(--surface) 40%, #151918 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 78%);
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 36px));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--ghost);
  border-radius: 999px;
  background: rgba(18, 20, 20, 0.62);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(30px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 5px;
  border-radius: 16px;
  background: #0b0f0f;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: rgba(226, 226, 226, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  min-height: 40px;
  padding: 11px 14px;
  border-radius: 999px;
  transition: color 220ms var(--ease), background 220ms var(--ease);
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 82svh;
  grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr);
  gap: 36px;
  align-items: center;
  padding: 116px max(28px, calc((100% - 1180px) / 2)) 54px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--surface));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  animation: softLift 700ms var(--ease) both;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.hero h1,
.section-copy h2,
.lab-card h2,
.release h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
}

.hero h1 {
  font-size: 76px;
  line-height: 1.05;
}

.hero-summary {
  margin: 22px 0 30px;
  color: rgba(226, 226, 226, 0.72);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
}

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

.button-primary {
  color: #031412;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  outline: 1px solid rgba(226, 226, 226, 0.11);
}

.hero-gallery {
  position: relative;
  z-index: 2;
  height: 580px;
  animation: softLift 760ms var(--ease) 120ms both;
}

.phone {
  position: absolute;
  width: 260px;
  margin: 0;
  padding: 12px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(18, 20, 20, 0.82);
  box-shadow: var(--shadow);
  outline: 1px solid rgba(226, 226, 226, 0.11);
  transition: transform 360ms var(--ease);
}

.phone:hover {
  transform: translateY(-8px);
}

.phone-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #041412;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  font-size: 12px;
  font-weight: 800;
}

.phone-screen {
  display: block;
  height: 500px;
  overflow: hidden;
  border-radius: 25px;
  background: var(--surface-low);
}

.phone-screen img {
  width: 100%;
  height: auto;
}

.phone-plaza {
  top: 42px;
  left: 8px;
  width: 230px;
}

.phone-create {
  top: 0;
  left: 210px;
  width: 300px;
}

.phone-lab {
  right: 0;
  bottom: 12px;
  width: 250px;
}

.intro,
.experience,
.workflow,
.release {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.intro {
  margin-top: -10px;
  margin-bottom: 88px;
}

.intro-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(226, 226, 226, 0.08);
  outline: 1px solid rgba(226, 226, 226, 0.08);
}

.intro-inner p {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 18px;
  background: rgba(21, 25, 24, 0.94);
  color: rgba(226, 226, 226, 0.76);
  font-weight: 800;
}

.section-copy {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-copy h2,
.lab-card h2,
.release h2 {
  font-size: 48px;
  line-height: 1.2;
}

.section-copy > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.experience {
  margin-bottom: 112px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.experience-item {
  display: grid;
  min-height: 640px;
  align-content: space-between;
  gap: 20px;
  padding: 18px;
  border-radius: 34px;
  background: var(--surface-low);
  outline: 1px solid rgba(226, 226, 226, 0.09);
  transition: transform 260ms var(--ease), background 260ms var(--ease);
}

.experience-item:hover {
  transform: translateY(-6px);
  background: var(--surface-mid);
}

.experience-item-wide {
  grid-column: span 2;
}

.screen-crop {
  height: 430px;
  overflow: hidden;
  border-radius: 26px;
  background: #0c0f0f;
}

.screen-crop img {
  width: 100%;
  height: auto;
}

.experience-item-wide .screen-crop {
  height: 430px;
}

.experience-item div:last-child {
  padding: 4px 4px 8px;
}

.experience-item span,
.workflow-list span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.experience-item h3,
.workflow-list h3 {
  margin: 10px 0 10px;
  font-family: "Noto Serif SC", serif;
  font-size: 26px;
  line-height: 1.25;
}

.experience-item p,
.workflow-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 96px;
}

.workflow-visual,
.workflow-list article,
.release {
  border-radius: 34px;
  background: var(--surface-low);
  outline: 1px solid rgba(226, 226, 226, 0.09);
}

.workflow-visual {
  min-height: 520px;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(0, 224, 183, 0.12), transparent 48%),
    var(--surface-low);
}

.lab-card {
  display: grid;
  height: 100%;
  align-content: end;
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(18, 20, 20, 0.36), rgba(18, 20, 20, 0.94) 54%, rgba(18, 20, 20, 0.98)),
    url("./assets/lab.png");
  background-position: center top;
  background-size: cover;
  box-shadow: inset 0 -220px 190px rgba(0, 0, 0, 0.78);
}

.lab-card p {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
}

.progress-block {
  margin-top: 28px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(18, 20, 20, 0.72);
  backdrop-filter: blur(24px);
  outline: 1px solid rgba(226, 226, 226, 0.1);
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  color: rgba(226, 226, 226, 0.8);
  font-weight: 700;
}

.progress-meta strong {
  color: var(--accent);
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-track span {
  position: relative;
  display: block;
  width: 64%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}

.progress-track span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 1800ms var(--ease) infinite;
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-list article {
  min-height: 160px;
  padding: 26px;
}

.release {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 80px;
  padding: 34px;
}

.release-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: rgba(226, 226, 226, 0.78);
  list-style: none;
}

.release-list li {
  padding-left: 16px;
  border-left: 3px solid rgba(0, 224, 183, 0.7);
  line-height: 1.45;
}

@keyframes softLift {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 1120px) {
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow,
  .release {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 118px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-gallery {
    height: 560px;
    width: min(100%, 760px);
  }

  .phone-create {
    left: 190px;
  }
}

@media (max-width: 780px) {
  .site-header {
    top: 12px;
    width: min(calc(100% - 24px), 620px);
    min-height: 58px;
  }

  .brand span:last-child {
    display: none;
  }

  .site-nav {
    gap: 2px;
    font-size: 13px;
  }

  .site-nav a {
    padding-inline: 10px;
  }

  .hero {
    padding: 96px 18px 38px;
  }

  .hero h1 {
    font-size: 52px;
  }

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

  .hero-gallery {
    height: 292px;
  }

  .phone {
    padding: 8px;
    border-radius: 26px;
  }

  .phone-screen {
    height: 250px;
    border-radius: 20px;
  }

  .phone-label {
    top: 13px;
    left: 13px;
    padding: 6px 9px;
  }

  .phone-plaza {
    left: 0;
    top: 36px;
    width: 132px;
  }

  .phone-create {
    left: 92px;
    top: 0;
    width: 172px;
  }

  .phone-lab {
    right: 0;
    bottom: 0;
    width: 148px;
  }

  .intro,
  .experience,
  .workflow,
  .release {
    width: min(calc(100% - 28px), 680px);
  }

  .intro {
    margin-bottom: 64px;
  }

  .intro-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-inner p:last-child {
    grid-column: 1 / -1;
  }

  .section-copy h2,
  .lab-card h2,
  .release h2 {
    font-size: 34px;
  }

  .experience {
    margin-bottom: 72px;
  }

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

  .experience-item,
  .experience-item-wide {
    grid-column: auto;
    min-height: auto;
  }

  .screen-crop,
  .experience-item-wide .screen-crop {
    height: 380px;
  }

  .workflow {
    margin-bottom: 72px;
  }

  .workflow-visual {
    min-height: 460px;
    padding: 16px;
  }

  .lab-card {
    padding: 22px;
  }

  .release {
    margin-bottom: 52px;
    padding: 24px;
  }
}

@media (max-width: 420px) {
  .site-nav a {
    padding-inline: 7px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-actions {
    display: flex;
    gap: 10px;
  }

  .button {
    flex: 1 1 0;
    min-height: 52px;
    padding-inline: 12px;
  }

  /* 420px断点下手机模型高度调整为200px，提升图片可辨识度 */
  .hero-gallery {
    height: 200px;
  }

  .phone-screen {
    height: 180px;
  }

  .phone-plaza {
    top: 20px;
    width: 100px;
  }

  .phone-create {
    left: 70px;
    width: 140px;
  }

  .phone-lab {
    width: 110px;
  }

  .intro-inner p {
    min-height: 64px;
  }

  .intro {
    margin-top: -74px;
  }

  .screen-crop,
  .experience-item-wide .screen-crop {
    height: 320px;
  }

  .workflow-list article {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* ===== Android App下载区域样式 ===== */
.download-section {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 96px;
  padding: 48px;
  border-radius: 34px;
  background: var(--surface-low);
  outline: 1px solid var(--ghost);
  animation: softLift 700ms var(--ease) both;
}

.download-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 48px;
  align-items: center;
}

.download-info h2 {
  margin: 12px 0 16px;
  font-family: "Noto Serif SC", serif;
  font-size: 42px;
  line-height: 1.2;
}

.download-desc {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.download-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  color: var(--subtle);
  font-size: 13px;
  font-weight: 600;
}

.meta-value {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 16px;
}

.download-btn svg {
  flex-shrink: 0;
}

.download-tip {
  margin: 0;
  color: var(--subtle);
  font-size: 13px;
}

.download-tip a {
  color: var(--accent);
  font-weight: 600;
}

.download-tip a:hover {
  text-decoration: underline;
}

/* 二维码区域 */
.download-qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qrcode-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  outline: 1px solid rgba(0, 0, 0, 0.08);
}

.qrcode-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
}

.qrcode-img {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: #fff;
}

.qrcode-placeholder canvas {
  border-radius: 12px;
}

.qrcode-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: var(--surface-low);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.qrcode-label {
  margin: 0;
  color: var(--surface);
  font-size: 14px;
  font-weight: 700;
}

.qrcode-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 224, 183, 0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

/* 安装指南 */
.install-guide {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--ghost);
}

.install-guide h3 {
  margin: 0 0 20px;
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  color: var(--text);
}

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

.guide-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #031412;
  font-size: 16px;
  font-weight: 800;
}

.guide-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* 下载区域响应式 */
@media (max-width: 780px) {
  .download-section {
    width: min(calc(100% - 28px), 680px);
    margin-bottom: 72px;
    padding: 24px;
  }

  .download-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .download-info h2 {
    font-size: 32px;
  }

  .download-meta {
    flex-wrap: wrap;
    gap: 16px;
  }

  .download-qrcode {
    order: -1;
  }

  .guide-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .download-section {
    padding: 20px;
  }

  .download-info h2 {
    font-size: 28px;
  }

  .download-btn {
    justify-content: center;
    width: 100%;
  }

  .qrcode-card {
    padding: 16px;
  }

  .qrcode-placeholder {
    width: 160px;
    height: 160px;
  }
}
