* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: calc(100vw / 375 * 16);
}

body {
  font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: #f2f2f2;
  color: #333;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 1.5rem;
}

/* ========== 顶部 Header ========== */
.header {
  background: linear-gradient(180deg, #3da3ff 0%, #2d8cf0 100%);
  padding: 0.75rem 1rem 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.header-logo {
  height: 2.75rem;
  width: auto;
  max-width: 4.5rem;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  background: transparent;
  border: none;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

.header-text {
  flex: 1;
  min-width: 0;
}

.header-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.header-subtitle {
  margin-top: 0.375rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

/* ========== 主视觉 Banner ========== */
.banner-card {
  margin: 0 0.75rem;
  margin-top: 0.625rem;
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 0.75rem rgba(45, 140, 240, 0.2);
}

/* ========== CTA 按钮 ========== */
.cta-btn {
  display: block;
  width: calc(100% - 1.5rem);
  margin: 0.875rem auto 0;
  padding: 0.8125rem 0;
  border: none;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #4aabff 0%, #2d8cf0 100%);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 0.25rem 0.75rem rgba(45, 140, 240, 0.35);
  transition: opacity 0.2s, transform 0.15s;
}

.cta-btn:active {
  opacity: 0.85;
  transform: scale(0.98);
}

.cta-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========== 卡片通用 ========== */
.card {
  margin: 0.875rem 0.75rem 0;
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0.0625rem 0.375rem rgba(0, 0, 0, 0.04);
}

.card-last {
  margin-bottom: 0.5rem;
}

.card-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #2d8cf0;
  padding: 1rem 1rem 0.625rem;
}

.card-body {
  padding: 0 1rem 1.125rem;
}

/* ========== 使用流程 ========== */
.process-text {
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 0.375rem;
}

.link {
  color: #2d8cf0;
  text-decoration: none;
}

.link:active {
  opacity: 0.7;
}

.qrcode-box {
  margin-top: 0.875rem;
  border: 0.0625rem solid #e8e8e8;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem 1rem;
  text-align: center;
}

.qrcode-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
}

.qrcode-desc {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.25rem;
  margin-bottom: 0.625rem;
}

.qrcode-wrap {
  display: flex;
  justify-content: center;
}

.qrcode-img {
  width: 8.75rem;
  height: 8.75rem;
  object-fit: contain;
}

/* ========== 产品介绍 ========== */
.intro-main {
  text-align: center;
  font-size: 0.8125rem;
  color: #333;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.intro-sub {
  text-align: center;
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem 0.375rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 0.375rem;
  display: block;
  object-fit: contain;
}

.feature-name {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.5625rem;
  color: #999;
  line-height: 1.3;
  margin-top: 0.125rem;
}

/* ========== 微信引导遮罩 ========== */
.wechat-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
}

.wechat-mask[hidden] {
  display: none;
}

.wechat-mask-content {
  color: #fff;
  text-align: right;
  font-size: 1rem;
  line-height: 1.8;
}

.wechat-mask-content::before {
  content: "↗";
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 20%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  z-index: 10000;
  white-space: nowrap;
  max-width: 80%;
  text-align: center;
}

.toast[hidden] {
  display: none;
}

@media screen and (min-width: 750px) {
  html {
    font-size: 32px;
  }

  .page {
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.08);
  }
}
