﻿/* 叔叔不约 · buyueshushu.com.cn — 左侧预览 + 滚动说明 */

:root {
  --lav: #f7f3fa;
  --paper: #fffdfe;
  --plum: #2b1f33;
  --muted: #7f6d89;
  --line: #e9e0f0;
  --rose: #e0559b;
  --rose-deep: #b83575;
  --pad: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--plum);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ul, figure, blockquote { margin: 0; }

ul { padding: 0; list-style: none; }

.pad {
  width: 100%;
  max-width: var(--pad);
  margin: 0 auto;
  padding: 0 26px;
}

/* ---------- 顶栏 ---------- */

.topline {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 254, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topline-in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand span {
  display: flex;
  flex-direction: column;
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.3;
}

.brand em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 400;
  color: #ac9ab6;
}

.links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

.links a:hover { color: var(--rose-deep); }

.cta {
  align-items: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--plum);
  color: #fff6fb;
  font-size: 14px;
  font-weight: 600;
}

.cta:not([hidden]) { display: inline-flex; }

/* ---------- 主舞台 ---------- */

.stage {
  padding: 60px 0 40px;
  background:
    radial-gradient(700px 380px at 12% 0%, #fbe7f2, transparent 68%),
    var(--lav);
  border-bottom: 1px solid var(--line);
}

.stage-grid {
  display: grid;
  grid-template-columns: 358px 1fr;
  gap: 64px;
  align-items: start;
}

/* 左：手机 */

.screen-col {
  position: sticky;
  top: 96px;
}

.screen-frame {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(80, 45, 95, 0.14);
}

.screen-stack {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 300 / 445;
  background: #f2ecf5;
}

.screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.6s ease;
}

.screen.is-active {
  opacity: 1;
  transform: none;
}

.screen-cap {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 1.2px;
  color: #a18fae;
}

/* 右：文案 */

.tag {
  font-size: 12px;
  letter-spacing: 2.4px;
  color: var(--rose-deep);
}

.stage-copy h1 {
  margin-top: 14px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.14;
  letter-spacing: -1.2px;
}

.stage-copy h1 span {
  display: block;
  margin-top: 12px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
  color: #6d5a78;
  letter-spacing: 0.4px;
  line-height: 1.6;
}

.stage-lead {
  margin-top: 20px;
  max-width: 520px;
  color: var(--muted);
  font-size: 15.5px;
}

.step-block {
  position: relative;
  padding: 30px 0 30px 30px;
  border-left: 1px solid var(--line);
  margin-top: 10px;
}

.step-block:first-of-type { margin-top: 34px; }

.step-block::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 38px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dfd2e6;
  transition: background 0.3s, box-shadow 0.3s;
}

.step-block.is-on::before {
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(224, 85, 155, 0.14);
}

.num {
  font-size: 12px;
  letter-spacing: 2px;
  color: #b9a7c4;
}

.step-block h2 {
  margin-top: 4px;
  font-size: 24px;
  letter-spacing: -0.4px;
}

.step-block p {
  margin-top: 10px;
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
}

.ticks {
  margin-top: 14px;
  display: grid;
  gap: 6px;
}

.ticks li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: #6d5a78;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.55;
}

/* ---------- 通用区头 ---------- */

.sec-head h2 {
  font-size: clamp(24px, 3vw, 33px);
  letter-spacing: -0.6px;
  line-height: 1.3;
}

.sec-head p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- 砍掉的功能 ---------- */

.rules {
  padding: 84px 0;
}

.rule-rows {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.rule-row {
  display: grid;
  grid-template-columns: 200px 1fr 60px;
  gap: 26px;
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.2s, background 0.2s;
}

.rule-row:hover {
  padding-left: 14px;
  background: #fdf7fb;
}

.rule-row h3 {
  font-size: 18px;
}

.rule-row p {
  font-size: 14.5px;
  color: var(--muted);
}

.rule-mark {
  justify-self: end;
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #f0c9dd;
  color: var(--rose-deep);
}

/* ---------- 留言 ---------- */

.voices {
  padding: 84px 0;
  background: var(--lav);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.voice {
  padding: 26px 26px 22px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.voice p {
  font-size: 15px;
  color: #4d3b58;
}

.voice footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  font-weight: 600;
}

.voice footer em {
  margin-left: 10px;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: #a18fae;
}

/* ---------- 问答 ---------- */

.faq {
  padding: 84px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 56px;
  align-items: start;
}

.faq-list { border-top: 1px solid var(--line); }

.qa { border-bottom: 1px solid var(--line); }

.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: "+";
  flex: none;
  color: var(--rose);
  font-weight: 400;
  font-size: 18px;
}

.qa[open] summary::after { content: "−"; }

.qa p {
  padding: 0 0 20px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- 下载 ---------- */

.get {
  padding: 0 0 88px;
}

.get-band {
  padding: 40px 40px 38px;
  border-radius: 24px;
  background: linear-gradient(115deg, #2b1f33 0%, #43284a 62%, #6b2f55 100%);
  color: #fdf5fa;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
}

.get-head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.4px;
}

.get-head p {
  margin-top: 6px;
  font-size: 13.5px;
  color: #cbb7d4;
}

.get-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.get-btn {
  flex: 1 1 168px;
  flex-direction: column;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s, transform 0.2s;
}

.get-btn:not([hidden]) { display: flex; }

.get-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.get-btn strong { font-size: 15px; }

.get-btn em {
  font-style: normal;
  font-size: 12px;
  color: #cbb7d4;
}

/* ---------- 页脚 ---------- */

.foot {
  padding: 34px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--lav);
}

.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.foot-brand span {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.foot-brand em {
  font-style: normal;
  font-size: 10px;
  font-weight: 400;
  color: #ac9ab6;
}

.foot-nav {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}

.foot-nav a:hover { color: var(--rose-deep); }

.foot-copy {
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #ac9ab6;
}

/* ---------- 出现动画 ---------- */

.lift {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.lift.shown {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
  .stage-grid { grid-template-columns: 290px 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .get-band { grid-template-columns: 1fr; gap: 22px; }
  .links { display: none; }
  .cta { margin-left: auto; }
}

@media (max-width: 720px) {
  .pad { padding: 0 18px; }
  .stage { padding: 36px 0 30px; }
  .stage-grid { grid-template-columns: 1fr; gap: 26px; }
  .screen-col { position: static; max-width: 280px; margin: 0 auto; }
  .stage-copy h1 { font-size: 34px; }
  .rule-row { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .rule-row p { grid-column: 1 / -1; }
  .rule-mark { justify-self: end; }
  .voice-grid { grid-template-columns: 1fr; }
  .rules, .voices, .faq { padding: 62px 0; }
  .get-band { padding: 28px 22px; }
  .get-btn { flex: 1 1 100%; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .foot-nav { flex-wrap: wrap; gap: 14px; }
}

/* ---------- 404 ---------- */

.blank {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  background:
    radial-gradient(600px 320px at 50% 0%, #fbe7f2, transparent 70%),
    var(--lav);
}

.blank-in { max-width: 440px; }

.blank-code {
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--rose);
  font-weight: 700;
}

.blank h1 {
  margin-top: 16px;
  font-size: clamp(25px, 5vw, 34px);
  line-height: 1.32;
}

.blank p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
}

.blank .cta { margin-top: 28px; }
