/* 元系 OriginLink — Landing Page
   暖白纸面 / 深绿标题 / 冷灰正文；薄荷绿仅用于焦点、细线与截图微光。 */

:root {
  --paper:      #f8faf6;
  --paper-edge: #f1f5ee;
  --ink:        #163b2d;
  --ink-soft:   #2c4a3c;
  --body:       #6d776f;
  --body-light: #97a299;
  --line:       #dfe7dd;
  --line-soft:  #eaf0e7;
  --lilac:      #3f9a72;
  --lilac-glow: rgba(63, 154, 114, 0.18);

  --wrap: 1160px;
  --pad: clamp(22px, 5vw, 40px);

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 4px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand img { display: block; width: 26px; height: 26px; border-radius: 7px; }
.wordmark {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.header-cta {
  font-size: 14px;
  font-weight: 560;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px solid var(--ink);
  line-height: 1.2;
}
.header-cta:hover { color: var(--lilac); border-color: var(--lilac); }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(52px, 7vw, 92px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero-copy { max-width: 620px; }
.hero-art {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #f2f8f3;
  box-shadow: 0 24px 60px rgba(22, 59, 45, 0.08);
}
.hero-art img { display: block; width: 100%; height: auto; }

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  font-weight: 650;
  color: var(--ink);
}
.hero-sub {
  margin: clamp(22px, 3vw, 30px) 0 0;
  max-width: 640px;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.85;
  color: var(--body);
  font-weight: 400;
}
.hero-sub span { display: block; }
.hero-actions {
  margin-top: clamp(30px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  background: #1f6b4c;
  color: #fff;
  font-size: 15px;
  font-weight: 560;
  border: 1px solid #1f6b4c;
  border-radius: 8px;
}
.btn-primary:hover { background: #18543b; border-color: #18543b; }
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--body);
  min-height: 50px;
}
.btn-text span { font-size: 16px; line-height: 1; }
.btn-text:hover { color: var(--ink); }

/* ---------- 主视觉 / 真实产品样机 ---------- */
.hero-visual {
  position: relative;
  margin-top: clamp(44px, 6vw, 72px);
}
.product-shot {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 工作流 ---------- */
.workflow {
  border-top: 1px solid var(--line);
  padding-block: clamp(64px, 9vw, 108px);
}
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--body-light);
  text-transform: uppercase;
}
.section-intro {
  margin: 0;
  max-width: 620px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  color: var(--ink);
  font-weight: 520;
  letter-spacing: -0.01em;
}

.flow { position: relative; }
.flow-track {
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.flow-progress {
  display: block;
  height: 1px;
  width: 16.666%;
  background: var(--lilac);
  transition: width 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.flow-step { position: relative; padding-top: 30px; }
.step-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--body-light);
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.flow-step.is-active .step-dot {
  border-color: var(--lilac);
  background: var(--lilac);
  box-shadow: 0 0 0 5px var(--lilac-glow);
}
.step-index {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--body-light);
  font-variant-numeric: tabular-nums;
}
.flow-step h3 {
  margin: 0 0 12px;
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.flow-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--body);
  max-width: 320px;
}

/* ---------- 下载 ---------- */
.download {
  border-top: 1px solid var(--line);
  padding-block: clamp(72px, 10vw, 128px) clamp(72px, 10vw, 116px);
}
.download h2 {
  margin: 0 0 clamp(34px, 5vw, 52px);
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 620;
}
.download-links { max-width: 720px; border-top: 1px solid var(--line); }
.download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  border-bottom: 1px solid var(--line);
}
.download-name { font-size: 17px; font-weight: 560; letter-spacing: -0.01em; }
.download-action {
  font-size: 14px;
  color: var(--body);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.download-action span { font-size: 15px; }
.download-link:hover .download-name,
.download-link:hover .download-action { color: var(--lilac); }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-block: 24px;
}
.footer-inner nav { display: flex; gap: 28px; }
.footer-inner a, .operator { font-size: 13px; color: var(--body); }
.footer-inner a:hover { color: var(--ink); }
.operator { margin: 0; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-block: 14px 24px;
  border-top: 1px solid var(--line-soft);
}
.footer-legal p { margin: 0; font-size: 12px; color: var(--body-light); }
.footer-legal a { color: var(--body-light); }
.footer-legal a:hover { color: var(--lilac); }

/* ---------- 手机 ---------- */
@media (max-width: 720px) {
  .header-inner { min-height: 60px; }
  .brand img { width: 24px; height: 24px; }
  .wordmark { font-size: 16px; }

  .hero { padding-top: 34px; padding-bottom: 52px; }
  .hero-top { grid-template-columns: 1fr; gap: 20px; }
  .hero-art { border-radius: 12px; }
  /* 手机上 3D 图只占很窄一条，确保标题/按钮/截图上半部分同屏可见 */
  .hero-art img { width: 100%; height: 118px; object-fit: cover; object-position: center 46%; }
  .hero h1 { font-size: clamp(34px, 9.1vw, 46px); line-height: 1.18; }
  .hero-sub { margin-top: 18px; font-size: 14.5px; line-height: 1.75; }
  .hero-sub span { display: inline; }
  .hero-actions { margin-top: 24px; gap: 18px; }
  .btn-primary { min-height: 46px; padding-inline: 22px; font-size: 14.5px; }
  .btn-text { min-height: 46px; font-size: 13px; }

  .hero-visual { margin-top: 32px; }

  .section-intro { font-size: 18px; }
  .section-head { margin-bottom: 34px; }

  /* 工作流：纵向 */
  .flow-track {
    top: 5px;
    bottom: 20px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .flow-progress {
    width: 1px !important;
    height: 33.333%;
    transition: height 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .flow-steps { grid-template-columns: 1fr; gap: 30px; }
  .flow-step { padding-top: 0; padding-left: 30px; }
  .step-dot { top: 6px; left: 0; }
  .step-index { margin-bottom: 8px; }
  .flow-step h3 { margin-bottom: 8px; }
  .flow-step p { max-width: none; font-size: 13.5px; line-height: 1.8; }

  .download h2 { font-size: clamp(30px, 8vw, 40px); }
  .footer-inner { min-height: 0; padding-block: 28px 34px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 33px; }
  .hero-sub { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow-progress, .step-dot { transition: none; }
}
