:root {
  --ink: #101623;
  --text: #3a4456;
  --mute: #6b7485;
  --line: #d7deea;
  --paper: #f6f8fc;
  --white: #ffffff;
  --red: #e94b48;
  --red-deep: #d13a37;
  --mint: #e7f7f1;
  --mint-ink: #0d7a5f;
  --soft: #fff1f0;
  --shadow: 0 20px 48px rgba(16, 22, 35, 0.1);
  --header: 76px;
  --w: 1200px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0;
  min-width: 320px;
  padding-top: var(--header);
  color: var(--text);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }
ul, ol, p, h1, h2, h3, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid rgba(233, 75, 72, 0.35); outline-offset: 3px; }

.wrap { width: min(var(--w), calc(100% - 48px)); margin-inline: auto; }

/* header — 模板6/10 清晰顶栏 */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 22, 35, 0.08);
  backdrop-filter: blur(12px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-width: 160px;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.brand strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--mute);
  font-weight: 600;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.nav a:hover { color: var(--red); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 22px;
}

/* hero — 模板10 设备+浮卡 / 16 柔色背景 */
.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -20%;
  width: 58%;
  height: 120%;
  background:
    radial-gradient(circle at 40% 40%, rgba(233, 75, 72, 0.16), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(13, 122, 95, 0.1), transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--red-deep);
  font-size: 12px;
  font-weight: 800;
}
.eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.hero h1 {
  color: var(--ink);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero-sub {
  margin-top: 14px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
}
.hero-desc {
  margin-top: 14px;
  max-width: 34em;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 30px rgba(233, 75, 72, 0.28);
}
.btn-primary:hover { background: var(--red-deep); }
.btn-secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-points li {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
}
.hero-points small {
  display: block;
  margin-top: 4px;
  color: var(--mute);
  font-size: 12px;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}
.phone {
  position: relative;
  width: min(280px, 72%);
  z-index: 2;
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(180deg, #2a3140, #151922);
  box-shadow: var(--shadow);
  animation: rise 5.8s ease-in-out infinite;
}
.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: #eef1f5;
}
.phone-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}
.float-card {
  position: absolute;
  z-index: 3;
  width: 210px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(215, 222, 234, 0.9);
  box-shadow: 0 16px 36px rgba(16, 22, 35, 0.12);
  animation: rise 6.4s ease-in-out infinite reverse;
}
.float-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
}
.float-card span {
  color: var(--mute);
  font-size: 12px;
  font-weight: 600;
}
.float-a { left: 2%; top: 16%; }
.float-b { right: 0; bottom: 18%; }
.float-a b,
.float-b b {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.float-a b { background: var(--mint-ink); }
.float-b b { background: var(--red); }

@keyframes rise {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* channels — 模板6 频道条 */
.channels {
  padding: 18px 0 72px;
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.channel {
  padding: 22px 20px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.channel:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 75, 72, 0.35);
}
.channel i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--red);
  font-size: 20px;
}
.channel:nth-child(2) i { background: var(--mint); color: var(--mint-ink); }
.channel:nth-child(3) i { background: #eef2ff; color: #3b5bdb; }
.channel:nth-child(4) i { background: #fff7e6; color: #d97706; }
.channel h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
}
.channel p {
  color: var(--mute);
  font-size: 13px;
  line-height: 1.65;
}

/* section heads */
.sec {
  padding: 72px 0;
}
.sec-head {
  max-width: 40em;
  margin-bottom: 32px;
}
.sec-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.sec-head h2 {
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.sec-head p {
  margin-top: 12px;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.8;
}

/* showcase — 模板15/18 错落截图 */
.showcase {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.showcase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.show-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.show-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}
.show-list i {
  color: var(--red);
  font-size: 20px;
  margin-top: 1px;
}
.shot-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: end;
}
.shot {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(16, 22, 35, 0.08);
}
.shot:nth-child(1) { transform: translateY(-18px); }
.shot:nth-child(3) { transform: translateY(18px); }
.shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}
.shot figcaption {
  padding: 10px 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  background: var(--white);
  border-top: 1px solid var(--line);
}

/* features — 模板16 shelf 清晰列表 */
.features {
  background: var(--paper);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature {
  padding: 24px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 196px;
}
.feature em {
  display: block;
  margin-bottom: 12px;
  color: var(--mute);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.feature h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
}
.feature p {
  color: var(--mute);
  font-size: 13px;
  line-height: 1.7;
}

/* steps — 模板13 流程 */
.steps {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 28px;
  font-weight: 900;
}
.step h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}
.step p {
  color: var(--mute);
  font-size: 14px;
  line-height: 1.7;
}

/* reviews */
.reviews-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
}
.review-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.review {
  padding: 16px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}
.review.wide { grid-column: 1 / -1; }
.review.soft { background: var(--soft); border-color: #f3d4d2; }
.review header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.review header > span {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.review strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}
.review time {
  display: block;
  margin-top: 2px;
  color: var(--mute);
  font-size: 12px;
}
.review p {
  color: var(--text);
  font-size: 13px;
  line-height: 1.75;
}

/* faq */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 8px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary b {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--red);
  font-size: 12px;
  flex: none;
}
.faq-list summary i {
  margin-left: auto;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p {
  padding: 0 8px 18px 52px;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.75;
}

/* download — 模板11 下载轨 */
.download {
  padding: 20px 0 96px;
}
.download-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(16, 22, 35, 0.06);
}
.download-panel img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
}
.download-panel h2 {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  margin-bottom: 8px;
}
.download-panel p {
  color: var(--mute);
  font-size: 14px;
  line-height: 1.7;
}
.download-actions {
  display: grid;
  gap: 10px;
  min-width: 180px;
}

/* footer */
.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 800;
}
.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.site-footer p {
  max-width: 36em;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.7;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.copy {
  margin-top: 24px;
  color: var(--mute);
  font-size: 12px;
}

/* 投诉条在右下角底部，返回顶部位于其上方，避免互相遮挡 */
#interaction-complaint-button {
  color: #1f2430 !important;
  font-weight: 700;
}
#interaction-complaint-button:hover {
  color: #1f2430 !important;
}
.backtop {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.backtop.on { opacity: 1; pointer-events: auto; }
@media (max-width: 768px) {
  .backtop {
    right: 16px;
    bottom: 76px;
  }
}

.fade {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .showcase-grid,
  .reviews-layout,
  .faq-layout,
  .download-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .channel-grid,
  .feature-grid,
  .step-grid,
  .shot-rail,
  .review-wall {
    grid-template-columns: 1fr 1fr;
  }
  .shot:nth-child(1),
  .shot:nth-child(3) { transform: none; }
  .hero-visual { min-height: 480px; }
  .nav {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .menu-btn { display: grid; place-items: center; margin-left: auto; }
  .header-cta { display: none; }
  .site-footer nav { justify-content: flex-start; }
  .download-actions { min-width: 0; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--w), calc(100% - 32px)); }
  .channel-grid,
  .feature-grid,
  .step-grid,
  .shot-rail,
  .review-wall,
  .hero-points {
    grid-template-columns: 1fr;
  }
  .float-card { width: min(190px, 46%); padding: 12px; }
  .float-a { left: 0; top: 8%; }
  .float-b { right: 0; bottom: 10%; }
}
