/* =============================== PC 端 =============================== */
body { min-width: 1080px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  transition: background-color 0.25s, box-shadow 0.25s, height 0.25s;
}
.nav.scrolled {
  height: 66px;
  background: rgba(251, 255, 244, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 0 var(--ink);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 48px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font-size: 21px; font-weight: 900; letter-spacing: 0.04em; }
.brand-name small { font-size: 10px; font-weight: 800; letter-spacing: 0.24em; color: var(--muted); }
.nav-links { display: flex; gap: 8px; margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  transition: background-color 0.2s;
}
.nav-links a:hover { background: var(--lime); }
.nav .btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 138px 0 90px;
  min-height: min(100vh, 920px);
  background:
    radial-gradient(900px 520px at 85% 30%, rgba(200, 240, 60, 0.45), transparent 60%),
    linear-gradient(180deg, #d3f5de 0%, #e7fad3 52%, var(--paper) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(21, 25, 15, 0.1) 1.2px, transparent 1.6px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 40px;
}
.hero h1 {
  margin: 26px 0 22px;
  font-size: clamp(56px, 5.6vw, 80px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.hero h1 .outline {
  color: var(--white);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--ink);
  font-style: italic;
}
.lead { max-width: 520px; font-size: 18px; color: var(--muted); }

.dl-zone { display: flex; align-items: stretch; gap: 22px; margin-top: 38px; }
.dl-btns { display: flex; flex-direction: column; gap: 16px; }
.dl-btns .btn { width: 248px; }
.qr-card {
  position: relative;
  width: 168px;
  padding: 14px 14px 10px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--hard);
  text-align: center;
}
.qr-card .qr { width: 136px; height: 136px; margin: 0 auto; }
.qr-card p { margin-top: 6px; font-size: 13px; font-weight: 800; }
.qr-card::before {
  content: "SCAN";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
}
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 15px; height: 15px; color: #138a4a; }

.stats { display: flex; gap: 40px; margin-top: 40px; }
.stat b { display: block; font-size: 34px; font-weight: 900; font-style: italic; line-height: 1; }
.stat b sup { font-size: 18px; color: var(--lime-deep); -webkit-text-stroke: 0.6px var(--ink); }
.stat span { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; height: 700px; display: grid; place-items: center; }
.hero-visual .speedlines { inset: -120px; }
.hero-disc {
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}
.hero-disc::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 2px dashed rgba(21, 25, 15, 0.45);
}
.hero-visual .phone { --pw: 304px; transform: rotate(4deg); z-index: 2; }
.hero-visual .s1 { top: 90px; left: 0; --r: -8deg; }
.hero-visual .s2 { top: 250px; right: -10px; --r: 7deg; --d: 0.6s; }
.hero-visual .s3 { bottom: 130px; left: 10px; --r: 5deg; --d: 1.2s; }
.hero-visual .s4 { bottom: 60px; right: 30px; --r: -6deg; --d: 1.8s; }
.hero-visual .bubble { top: 40px; right: 40px; --r: 8deg; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.scroll-cue i {
  width: 22px;
  height: 34px;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  position: relative;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--ink);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- 胶带 ---------- */
.tapes { position: relative; height: 150px; margin: -30px 0 10px; z-index: 3; }
.tapes .tape { position: absolute; left: -4%; right: -4%; padding: 14px 0; font-size: 22px; }
.tapes .tape.a { top: 30px; background: var(--lime); transform: rotate(-2.4deg); }
.tapes .tape.b { top: 62px; background: var(--ink); color: var(--lime); transform: rotate(1.8deg); }

/* ---------- 区块通用 ---------- */
.section { position: relative; padding: 110px 0; scroll-margin-top: 20px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.sec-head .tag-title { font-size: 18px; }
.sec-head h2 { margin-top: 16px; font-size: 46px; font-weight: 900; line-height: 1.15; }
.sec-head p { margin-top: 12px; max-width: 560px; color: var(--muted); font-size: 16px; }

/* ---------- 线路中心 ---------- */
.lines-grid { display: grid; grid-template-columns: 390px 1fr; gap: 28px; }
.perma {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 32px 30px 28px;
  background: var(--ink);
  color: var(--white);
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: 8px 8px 0 var(--lime-deep);
}
.perma::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: repeating-conic-gradient(from 0deg, rgba(200, 240, 60, 0.18) 0 4deg, transparent 4deg 12deg);
  border-radius: 50%;
}
.perma-label {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.perma h3 { margin-top: 18px; font-size: 26px; font-weight: 900; }
.perma .url {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--lime);
  word-break: break-all;
  font-family: "SF Mono", Menlo, Consolas, monospace;
}
.perma .row { display: flex; gap: 10px; margin-top: 20px; }
.perma .btn-sm { height: 42px; flex: 1; color: var(--ink); }
.perma .btn-sm.lime { background: var(--lime); color: var(--ink); }
.perma hr { width: 100%; margin: 26px 0 22px; border: 0; border-top: 2px dashed rgba(255, 255, 255, 0.22); }
.perma .mail { display: flex; gap: 14px; align-items: flex-start; }
.perma .mail .ico {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(200, 240, 60, 0.14);
  color: var(--lime);
}
.perma .mail .ico svg { width: 22px; height: 22px; }
.perma .mail p { font-size: 13px; color: rgba(255, 255, 255, 0.66); }
.perma .mail b { display: block; font-size: 16px; color: var(--white); word-break: break-all; }
.perma .mail .btn-sm { flex: none; margin-left: auto; height: 34px; background: transparent; color: var(--lime); border-color: var(--lime); box-shadow: none; }
.perma .tip {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.66);
}
.perma .tip kbd {
  display: inline-block;
  padding: 1px 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-bottom-width: 3px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
}

.domain-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.domain {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px 18px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--hard);
  transition: transform 0.18s, box-shadow 0.18s;
}
.domain:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.domain-top { display: flex; align-items: center; gap: 10px; }
.domain-top b { font-size: 16px; font-weight: 900; }
.domain .chip {
  padding: 1px 9px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  background: var(--lime);
  border: 1.5px solid var(--ink);
}
.domain .fastest {
  margin-left: auto;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 900;
  color: var(--white);
  background: var(--red);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  transform: rotate(3deg);
}
.domain .host {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  word-break: break-all;
}
.domain .bar { height: 8px; background: var(--lime-soft); border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.domain .bar i { display: block; height: 100%; border-radius: 999px; }
.domain-foot { display: flex; align-items: center; gap: 8px; }
.domain-foot [data-ms] { font-size: 14px; font-weight: 900; margin-right: auto; font-variant-numeric: tabular-nums; }

/* ---------- 特色 ---------- */
.features {
  background: linear-gradient(180deg, var(--paper), var(--mint) 18%, var(--mint) 82%, var(--paper));
}
.features::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(21, 25, 15, 0.09) 1.2px, transparent 1.6px);
  background-size: 16px 16px;
  pointer-events: none;
}
.feat-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 22px;
}
.feat {
  position: relative;
  overflow: hidden;
  padding: 30px 28px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s;
}
.feat:hover { transform: rotate(-1deg) translateY(-4px); }
.feat .ico {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--lime);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink);
}
.feat .ico svg { width: 30px; height: 30px; }
.feat h3 { margin-top: 20px; font-size: 22px; font-weight: 900; }
.feat p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.feat.big {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  background: var(--lime);
}
.feat.big .ico { background: var(--white); }
.feat.big > * { position: relative; z-index: 1; }
.feat.big .num {
  margin-top: auto;
  padding-top: 40px;
  font-size: 92px;
  line-height: 0.9;
  font-weight: 900;
  font-style: italic;
  color: var(--white);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 6px 6px 0 var(--ink);
}
.feat.big .num small { font-size: 46px; }
.feat.big p { color: var(--ink-2); }
.feat.big::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.55) 0 4deg, transparent 4deg 12deg);
  border-radius: 50%;
}
.feat.wide { grid-column: span 2; display: flex; align-items: center; gap: 26px; background: var(--ink); color: var(--white); }
.feat.wide h3 { margin-top: 0; color: var(--lime); }
.feat.wide p { color: rgba(255, 255, 255, 0.7); }
.feat.wide .ico { flex: none; width: 76px; height: 76px; }
.feat.wide .ico svg { width: 38px; height: 38px; }
.feat.wide .genres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.feat.wide .genres span {
  padding: 3px 12px;
  border: 1.5px solid rgba(200, 240, 60, 0.6);
  border-radius: 999px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- 安装教程 ---------- */
.seg {
  display: inline-flex;
  padding: 5px;
  gap: 4px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--hard);
}
.seg button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: 11px;
  font-weight: 900;
  font-size: 16px;
  transition: background-color 0.2s, color 0.2s;
}
.seg button svg { width: 20px; height: 20px; }
.seg button.active { background: var(--ink); color: var(--lime); }
.panel { display: none; }
.panel.active { display: block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--hard);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -24px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  background: var(--lime);
  border: 2px solid var(--ink);
  clip-path: polygon(0 20%, 55% 20%, 55% 0, 100% 50%, 55% 100%, 55% 80%, 0 80%);
  z-index: 2;
}
.step .no {
  font-size: 48px;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  color: var(--lime);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--ink);
}
.step h4 { margin-top: 14px; font-size: 18px; font-weight: 900; }
.step p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.step .path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
}
.step .path span { padding: 2px 8px; background: var(--lime-soft); border: 1.5px solid var(--ink); border-radius: 6px; }
.guide-note {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--lime-soft);
  border: 2px dashed var(--ink);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
}
.guide-note svg { width: 22px; height: 22px; flex: none; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.faq-grid .sec-head { display: block; margin: 0; }
.help-card {
  margin-top: 30px;
  padding: 22px;
  background: var(--lime);
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--hard);
}
.help-card b { font-size: 18px; font-weight: 900; }
.help-card p { margin: 6px 0 14px; font-size: 14px; color: var(--ink-2); }

/* ---------- 底部 CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 56px 60px;
  background: var(--lime);
  border: 3px solid var(--ink);
  border-radius: 32px;
  box-shadow: 10px 10px 0 var(--ink);
}
.cta .speedlines {
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0.6) 0deg 2.2deg, transparent 2.2deg 9deg);
  -webkit-mask-image: radial-gradient(circle at 80% 50%, transparent 0 10%, #000 40%, transparent 75%);
  mask-image: radial-gradient(circle at 80% 50%, transparent 0 10%, #000 40%, transparent 75%);
}
.cta h2 { position: relative; font-size: 48px; font-weight: 900; line-height: 1.15; }
.cta p { position: relative; margin-top: 10px; font-size: 17px; color: var(--ink-2); }
.cta .row { position: relative; display: flex; gap: 16px; margin-top: 28px; }
.cta .row .btn-android { background: var(--white); }
.cta .qr-card { position: relative; transform: rotate(3deg); }

/* ---------- 页脚 ---------- */
.footer { margin-top: 110px; padding: 56px 0 40px; background: var(--ink); color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.footer .top { display: flex; align-items: center; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer .brand-name b { color: var(--white); }
.footer .brand-name small { color: var(--lime); }
.footer nav { display: flex; gap: 28px; margin-left: auto; }
.footer nav a:hover { color: var(--lime); }
.footer .bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; }

/* ---------- 下载弹窗 ---------- */
.dl-modal { text-align: center; }
.dl-modal h3 { font-size: 22px; font-weight: 900; }
.dl-modal .sub { margin-top: 4px; color: var(--muted); font-size: 14px; }
.dl-modal .qr-box {
  width: 220px;
  margin: 22px auto 18px;
  padding: 14px;
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--hard);
  background: var(--white);
}
.dl-modal .qr { width: 188px; height: 188px; }
.dl-modal .row { display: flex; gap: 10px; justify-content: center; }
.dl-modal .row .btn-sm { height: 42px; padding: 0 18px; }
.dl-modal .small { margin-top: 16px; font-size: 12px; color: var(--muted); }

@media (max-width: 1240px) {
  .hero h1 { font-size: 60px; }
  .dl-btns .btn { width: 220px; }
  .hero-visual .phone { --pw: 280px; }
  .hero-disc { width: 420px; height: 420px; }
  .lines-grid { grid-template-columns: 340px 1fr; }
}
