/* ==========================================================================
   Unisilk · Apple 风格设计系统
   参考 Apple 官网的排版语言：超大标题、极简留白、单一强调色、胶囊按钮、
   半透明模糊导航条、分区式长页面。不使用任何外部字体与图片。
   ========================================================================== */

:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #86868b;
  --muted-2: #6e6e73;
  --line: #d2d2d7;
  --bg: #fbfbfd;
  --surface: #f5f5f7;
  --dark: #000000;
  --dark-2: #1d1d1f;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --radius-tile: 18px;
  --nav-h: 48px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: rgba(0, 113, 227, 0.2); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
}
.wrap-wide { max-width: 1240px; margin: 0 auto; padding: 0 22px; }

/* ---------------- 导航 ---------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(251, 251, 253, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav__inner {
  max-width: 1024px;
  margin: 0 auto;
  height: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__brand {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.nav__brand span { color: var(--muted); font-weight: 400; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin: 0 0 0 auto;
}
.nav__links a {
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); font-weight: 500; }

.nav__cta {
  margin-left: 26px;
  padding: 6px 14px;
  border-radius: 980px;
  background: var(--blue);
  color: #fff !important;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.nav__cta:hover { background: var(--blue-hover); }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav.is-open .nav__toggle span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 834px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 22px;
    background: rgba(251, 251, 253, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav.is-open .nav__links { max-height: 420px; }
  .nav__links a { padding: 14px 0; font-size: 17px; width: 100%; border-bottom: 1px solid rgba(0,0,0,.06); }
  .nav__links li:last-child a { border-bottom: 0; }
  .nav__cta { margin: 16px 22px 20px; display: inline-block; }
}

/* ---------------- 通用区块 ---------------- */

main { padding-top: var(--nav-h); }

.section {
  padding: 110px 0;
}
.section--tight { padding: 72px 0; }
.section--surface { background: var(--surface); }
.section--dark {
  background: var(--dark);
  color: #f5f5f7;
}
.section--dark h2, .section--dark h3, .section--dark p { color: inherit; }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
  margin-bottom: 12px;
}

h1, .h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2, .h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h3, .h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.5;
  color: var(--muted-2);
  letter-spacing: -0.01em;
}

.body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.body + .body { margin-top: 18px; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.measure { max-width: 640px; }
.measure-lg { max-width: 780px; }

/* ---------------- 首屏 ---------------- */

.hero {
  padding: 96px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .eyebrow { margin-bottom: 14px; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin: 0 auto 30px; max-width: 660px; }

.hero__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.link-more {
  font-size: 17px;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-more::after { content: "›"; font-size: 1.1em; line-height: 1; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--ghost {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}
.btn--ghost:hover { background: rgba(0, 113, 227, 0.06); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--lg { padding: 15px 30px; font-size: 17px; }

/* 首屏下方的视觉带（无图片，用渐变 + 弧线暗示"丝路"） */
.hero__visual {
  margin-top: 56px;
  height: clamp(240px, 36vw, 460px);
  position: relative;
  background:
    radial-gradient(38% 55% at 50% 108%, rgba(0, 113, 227, 0.16), transparent 70%),
    radial-gradient(46% 60% at 18% 8%, rgba(0, 113, 227, 0.12), transparent 72%),
    radial-gradient(42% 58% at 84% 86%, rgba(255, 159, 10, 0.14), transparent 74%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.hero__visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------------- 磁贴（服务） ---------------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.tile {
  border-radius: var(--radius-tile);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 4px 24px -12px rgba(0, 0, 0, 0.12);
  padding: 48px 40px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tile:hover { text-decoration: none; transform: translateY(-2px); }
.tile--dark { background: var(--dark-2); color: #f5f5f7; }
.tile--dark .tile__desc { color: #a1a1a6; }
.tile__num {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.tile--dark .tile__num { color: #86868b; }
.tile h3 { margin-bottom: 12px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.tile__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 34em;
}
.tile__more { margin-top: auto; padding-top: 26px; font-size: 15px; color: var(--blue); }
.tile--dark .tile__more { color: #2997ff; }

/* ---------------- 统计 / 三列 ---------------- */

.cols {
  display: grid;
  gap: 40px;
}
.cols--2 { grid-template-columns: repeat(2, 1fr); }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.cols--4 { grid-template-columns: repeat(4, 1fr); }

.stat__value {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 10px;
}
.stat__label { font-size: 15px; color: var(--muted-2); line-height: 1.5; }

.card-plain { border-top: 1px solid var(--line); padding-top: 22px; }
.card-plain h3 { margin-bottom: 10px; }
.card-plain p { font-size: 15px; line-height: 1.6; color: var(--muted-2); }

/* ---------------- 分步（时间轴替代） ---------------- */

.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.step__num {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-top: 4px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; line-height: 1.65; color: var(--muted-2); }
.step p + p { margin-top: 8px; }

/* ---------------- 列表 ---------------- */

.list { list-style: none; margin: 0; padding: 0; }
.list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------------- 提示条 ---------------- */

.note {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-2);
}
.note strong { color: var(--ink-2); }

/* ---------------- CTA 带 ---------------- */

.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { margin: 0 auto 32px; }

/* ---------------- 表单 ---------------- */

.form { max-width: 680px; margin: 0 auto; text-align: left; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}
.field textarea { min-height: 160px; resize: vertical; }
.form__hint { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* 深色区块里的表单 */
.section--dark .field label { color: #d2d2d7; }
.section--dark .field input,
.section--dark .field textarea {
  background: #1d1d1f;
  border-color: #424245;
  color: #f5f5f7;
}
.section--dark .field input::placeholder,
.section--dark .field textarea::placeholder { color: #6e6e73; }

.form-result {
  display: none;
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.6;
}
.form-result.is-ok { display: block; background: rgba(48, 209, 88, 0.12); color: #1d7a35; }
.form-result.is-err { display: block; background: rgba(255, 59, 48, 0.1); color: #b3261e; }
.section--dark .form-result.is-ok { color: #6ee787; }
.section--dark .form-result.is-err { color: #ff8a80; }

/* ---------------- 页脚 ---------------- */

.footer {
  background: var(--surface);
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.7;
  padding: 44px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.footer h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--muted-2); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  padding-top: 18px;
}

/* ---------------- 动效 ---------------- */

.reveal { opacity: 1; }
html.has-js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.has-js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 834px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section--tight { padding: 52px 0; }
  .hero { padding-top: 64px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; padding: 36px 26px; }
  .cols--2, .cols--3, .cols--4 { grid-template-columns: 1fr; gap: 28px; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; padding: 26px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__visual { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  html.has-js .reveal { opacity: 1; transform: none; }
}
