@charset "UTF-8";

/* ==============================
   纽特人大师 — 移植工具箱（柔紫圆角版）
   ============================== */

:root {
  --plum: #8E6E8E;
  --plum-deep: #654765;
  --plum-soft: #B79FB7;
  --plum-pale: #F3ECF3;
  --ink: #2B212B;
  --ink-soft: #4A3D4A;
  --muted: #7B6C7B;
  --bg: #FCFAFB;
  --line: #E8DDE8;
  --radius: 6px;
  --radius-lg: 22px;
  --shell: 1140px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.75;
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--plum-deep);
  outline-offset: 3px;
}

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

/* ---------- 图标 ---------- */
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}

.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }
.icon-arrow::before { background-image: url("../icons/arrow.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }
.icon-plus::before { background-image: url("../icons/plus.svg"); }
.icon-bolt::before { background-image: url("../icons/bolt.svg"); }
.icon-shield::before { background-image: url("../icons/shield.svg"); }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(252, 250, 251, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(142, 110, 142, 0.14);
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(calc(100% - 52px), var(--shell));
  min-height: var(--header-h);
  margin: 0 auto;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 6px 14px 6px 7px;
  gap: 9px;
  background: var(--plum-pale);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  gap: 18px;
  list-style: none;
}

.primary-nav a {
  display: inline-block;
  padding: 6px 2px;
  color: var(--ink-soft);
  font-size: 13.5px;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--plum-deep);
  text-decoration: underline;
  text-decoration-color: var(--plum-soft);
  text-underline-offset: 6px;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 20px;
  gap: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(142, 110, 142, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-download .icon {
  filter: brightness(0) invert(1);
}

.nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(142, 110, 142, 0.34);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

/* ---------- 按钮 ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  gap: 10px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #8E6E8E 0%, #6B4C6B 100%);
  box-shadow: 0 14px 26px rgba(142, 110, 142, 0.3);
}

.button-primary .icon {
  filter: brightness(0) invert(1);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(142, 110, 142, 0.36);
}

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  padding: 66px 0 72px;
  overflow: hidden;
  background: linear-gradient(160deg, #F7F0F7 0%, #FCFAFB 52%, #F2E9F2 100%);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero::before {
  top: -120px;
  right: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(183, 159, 183, 0.4), rgba(183, 159, 183, 0));
}

.hero::after {
  bottom: -160px;
  left: -90px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(142, 110, 142, 0.22), rgba(142, 110, 142, 0));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 52px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 4px 12px;
  color: var(--plum-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 4.8vw, 60px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 16px 0 0;
  color: var(--plum-deep);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.45;
}

.hero-summary {
  max-width: 480px;
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.92;
}

/* ---------- 英雄区：安装步骤条 ---------- */
.hero-steps {
  min-width: 0;
  padding: 26px 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 46px rgba(101, 71, 101, 0.12);
}

.step-node {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.step-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, #A986A9 0%, #6B4C6B 100%);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(142, 110, 142, 0.3);
}

.step-body b {
  display: block;
  font-size: 15.5px;
  letter-spacing: 0.02em;
}

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

.step-body em {
  display: inline-block;
  margin-top: 7px;
  padding: 2px 9px;
  color: var(--plum-deep);
  background: var(--plum-pale);
  border-radius: 999px;
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: 0.05em;
}

.step-link {
  width: 0;
  height: 26px;
  margin-left: 20px;
  border-left: 2px dashed var(--plum-soft);
}

.step-foot {
  margin-top: 18px;
  padding-top: 14px;
  color: var(--plum-deep);
  border-top: 1px solid var(--plum-pale);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ---------- 区块标题 ---------- */
.section-heading {
  max-width: 660px;
  margin-bottom: 38px;
}

.section-heading-centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 35px);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.32;
}

.section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- 核心特色：2×2 圆角卡 ---------- */
.routes {
  padding: 76px 0 80px;
  background: var(--bg);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.fours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.four {
  position: relative;
  min-width: 0;
  padding: 30px 28px 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.four:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(101, 71, 101, 0.12);
}

.four .n {
  position: absolute;
  top: 12px;
  right: 20px;
  color: #F0E4F0;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}

.four h3 {
  position: relative;
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
}

.four p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.85;
}

/* ---------- 界面展示 ---------- */
.screens {
  padding: 78px 0 88px;
  background: var(--plum-pale);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.screens .section-heading {
  max-width: 600px;
}

.covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.covers figure {
  min-width: 0;
  margin: 0;
  padding: 10px 10px 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(101, 71, 101, 0.1);
  transform: rotate(-1.4deg);
  transition: transform 200ms ease;
}

.covers figure:nth-child(even) {
  transform: rotate(1.4deg);
}

.covers figure:hover {
  transform: rotate(0deg) translateY(-4px);
}

.covers img {
  width: 100%;
  height: auto;
  background: var(--plum-pale);
  border-radius: 12px;
}

.covers b {
  display: block;
  margin: 11px 2px 0;
  font-size: 13.5px;
  font-weight: 700;
}

.covers small {
  display: block;
  margin: 2px 2px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 78px 0 70px;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.faq-list {
  display: grid;
  max-width: 880px;
  margin: 0 auto;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-item[open] {
  border-color: var(--plum-soft);
  box-shadow: 0 10px 24px rgba(101, 71, 101, 0.08);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 10px 20px;
  cursor: pointer;
  list-style: none;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.faq-item summary .icon {
  flex: none;
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--plum-pale);
  transition: transform 200ms ease;
  filter: sepia(1) saturate(1.4) hue-rotate(255deg) brightness(0.8);
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.9;
}

/* ---------- 官方入口 ---------- */
.official {
  padding: 8px 0 76px;
}

.official .section-heading {
  max-width: 660px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  margin-bottom: 26px;
}

.official-fold {
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(135deg, #B79FB7, #8E6E8E) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 22px;
  color: var(--plum-deep);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  list-style: none;
}

.official-fold summary::-webkit-details-marker {
  display: none;
}

.official-fold summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  font-weight: 700;
}

.official-fold[open] summary::after {
  content: "–";
}

.official-link {
  padding: 4px 22px 20px;
}

.official-link p {
  margin: 0;
  font-size: 14px;
}

.official-link a {
  color: var(--plum-deep);
  font-weight: 600;
  word-break: break-all;
  border-bottom: 1px solid var(--plum-soft);
}

/* ---------- 用户评价 ---------- */
.reviews {
  padding: 76px 0 84px;
  background: linear-gradient(180deg, #F5EEF5 0%, #FBF8FB 100%);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.rgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px 24px 20px;
  background: #fff;
  border-radius: 18px 18px 18px 6px;
  box-shadow: 0 10px 22px rgba(101, 71, 101, 0.07);
}

.review-card header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.review-card .who {
  display: flex;
  align-items: center;
  gap: 9px;
}

.review-card .who::before {
  display: block;
  width: 30px;
  height: 30px;
  content: "";
  background: linear-gradient(135deg, #C7B2C7, #8E6E8E);
  border-radius: 50%;
}

.review-card .who b {
  font-size: 14.5px;
  font-weight: 600;
}

.review-card time {
  margin-left: auto;
  color: #A797A7;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.review-card > p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13.8px;
  line-height: 1.9;
}

.rv-site {
  margin-top: 12px;
  color: var(--plum);
  font-size: 11.5px;
}

/* ---------- 下载 CTA ---------- */
.download-cta {
  padding: 0 0 78px;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.download-cta .page-shell {
  padding: 48px 44px 46px;
  color: #F7EFF7;
  background: linear-gradient(135deg, #7A577A 0%, #4B324B 100%);
  border-radius: 28px;
  box-shadow: 0 26px 50px rgba(75, 50, 75, 0.24);
}

.download-cta .eyebrow {
  margin-bottom: 12px;
  padding: 0;
  color: #DCC8DC;
  background: transparent;
  border: 0;
}

.download-cta h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.download-cta .section-heading {
  max-width: 620px;
  margin-bottom: 24px;
}

.download-cta .section-heading > p:last-child {
  color: #D9C7D9;
}

.download-cta .button-primary {
  color: #4B324B;
  background: #fff;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.download-cta .button-primary .icon {
  filter: none;
}

.download-cta .button-primary:hover {
  background: #F7EFF7;
}

.disclaimer {
  max-width: 640px;
  margin: 22px 0 0;
  color: #D3C0D3;
  font-size: 12px;
  line-height: 1.8;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 30px 0 24px;
  color: #E4D8E4;
  background: #40303F;
}

.site-footer .page-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer p {
  margin: 0;
  font-size: 12.5px;
}

.site-footer a {
  color: #EFE2EF;
  border-bottom: 1px solid rgba(239, 226, 239, 0.35);
}

.site-footer a:hover {
  color: #fff;
}

.icp a {
  color: #BBA8BB;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 148px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 10px 22px rgba(75, 50, 75, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.to-top::before {
  width: 9px;
  height: 9px;
  content: "";
  border-top: 2px solid var(--plum-deep);
  border-left: 2px solid var(--plum-deep);
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: var(--plum-pale);
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid {
    gap: 32px;
  }

  .primary-nav ul {
    gap: 12px;
  }

  .brand {
    padding-right: 11px;
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

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

  .hero-steps {
    max-width: 520px;
  }

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

  .rgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  body {
    padding-top: var(--header-h);
    font-size: 15px;
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
  }

  .page-shell,
  .nav-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: var(--header-h);
    column-gap: 8px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    padding: 4px 9px 4px 5px;
    font-size: 15px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0 -16px;
    padding: 12px 16px 16px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(101, 71, 101, 0.08);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
  }

  .primary-nav a {
    padding: 11px 12px;
    background: var(--plum-pale);
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
  }

  .nav-download {
    grid-column: 3;
    grid-row: 1;
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
    box-shadow: none;
  }

  .nav-download .icon {
    width: 14px;
    height: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 4;
    grid-row: 1;
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 36px 0 46px;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

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

  .hero-title {
    font-size: 21px;
    margin-top: 12px;
  }

  .hero-summary {
    margin: 16px 0 24px;
    font-size: 14px;
  }

  .hero-steps {
    max-width: none;
    padding: 20px 17px 14px;
  }

  .routes,
  .screens,
  .reviews {
    padding: 52px 0;
  }

  .faq {
    padding: 52px 0 20px;
  }

  .official {
    padding: 4px 0 52px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .fours {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .four {
    padding: 24px 20px 22px;
  }

  .four .n {
    font-size: 38px;
    top: 10px;
    right: 16px;
  }

  .four h3 {
    font-size: 17px;
  }

  .covers figure {
    transform: none;
  }

  .covers figure:nth-child(even) {
    transform: none;
  }

  .download-cta {
    padding: 0 0 52px;
  }

  .download-cta .page-shell {
    width: min(calc(100% - 24px), var(--shell));
    padding: 32px 22px 30px;
    border-radius: 22px;
  }

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

  .site-footer .page-shell {
    display: block;
  }

  .site-footer p + p {
    margin-top: 7px;
  }

  .to-top {
    right: 14px;
    bottom: 136px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 360px) {
  .brand span {
    font-size: 13.5px;
  }

  .nav-download span {
    display: none;
  }

  .nav-download {
    width: 34px;
    padding: 0;
    justify-content: center;
  }

  .primary-nav ul {
    grid-template-columns: minmax(0, 1fr);
  }
}
