:root {
  --brand: #ff7a45;
  --brand-light: #ffb347;
  --brand-soft: #fff2e9;
  --ink: #1f2329;
  --ink-soft: #6b7280;
  --line: rgba(31, 35, 41, 0.08);
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 2px 6px rgba(31, 35, 41, 0.05), 0 14px 36px rgba(255, 122, 69, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #fffaf6;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

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

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

.hero {
  background: linear-gradient(160deg, #ffc46b 0%, var(--brand) 58%, #ff6234 100%);
  color: #fff;
  border-radius: 0 0 32px 32px;
  padding: 40px 20px 32px;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  letter-spacing: 0.4px;
}

.hero-title {
  margin: 16px 0 12px;
  font-size: 36px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-sub {
  max-width: 30em;
  font-size: 14.5px;
  opacity: 0.94;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.hero-tags li {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 12.5px;
}

/* 二维码卡片 */
.qr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(120, 45, 12, 0.18);
}

.qr-img {
  width: 96px;
  height: 96px;
  flex: none;
  border-radius: 10px;
}

.qr-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink);
}

.qr-copy strong {
  font-size: 16px;
  color: var(--ink);
}

.qr-copy span {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

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

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 20px 8px;
}

.section {
  padding: 34px 0 6px;
}

.section-title {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: 0.2px;
}

.section-desc {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------------- 功能 ---------------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.feature {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(31, 35, 41, 0.04);
}

.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  margin-bottom: 10px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.icon-orange {
  background: #fff1e6;
  color: #ff7a45;
}

.icon-blue {
  background: #eaf3ff;
  color: #3f8eeb;
}

.icon-green {
  background: #eafaf0;
  color: #2fb56b;
}

.icon-purple {
  background: #f4efff;
  color: #8a5cf6;
}

.icon-amber {
  background: #fff8e3;
  color: #e0a021;
}

.icon-teal {
  background: #e7f8f8;
  color: #1ba6a6;
}

.feature h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature p {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ---------------- 截图 ---------------- */

.shots {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding-bottom: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shots::-webkit-scrollbar {
  display: none;
}

.shot {
  flex: none;
  width: 216px;
  margin: 0;
  scroll-snap-align: start;
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.shot figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------------- 步骤 ---------------- */

.steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.step-no {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.steps h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.steps p {
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------------- 底部 CTA ---------------- */

.cta {
  margin-top: 36px;
  padding: 30px 20px;
  border-radius: 24px;
  background: linear-gradient(150deg, #ffb347, #ff7a45 62%, #ff6234);
  color: #fff;
  text-align: center;
}

.cta h2 {
  font-size: 20px;
  font-weight: 750;
}

.cta-qr {
  width: 168px;
  height: 168px;
  margin: 18px auto 0;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
}

.cta-tip {
  margin-top: 12px;
  font-size: 12.5px;
  opacity: 0.92;
}

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

.footer {
  padding: 28px 20px 36px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.footer-muted {
  margin-top: 6px;
  font-size: 11.5px;
  opacity: 0.75;
}

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

@media (min-width: 640px) {
  .hero {
    padding: 56px 24px 44px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-sub {
    font-size: 15.5px;
  }

  .qr-img {
    width: 112px;
    height: 112px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 900px) {
  .shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    overflow: visible;
  }

  .shot {
    width: auto;
  }
}
