/* H5 宣传页样式 - 移动端优先 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #f5f6f8;
  color: #333;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

/* 顶部导航 */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 10px;
  background: #fff; padding: 12px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.topbar .logo {
  width: 34px; height: 34px; border-radius: 8px;
  background: #3b82f6; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.topbar .site-name { font-size: 17px; font-weight: 600; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff; padding: 36px 20px 30px; text-align: center;
}
.hero .intro { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.hero .sub { font-size: 13px; opacity: .9; }
.hero .banner { margin-top: 14px; border-radius: 10px; overflow: hidden; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; background: #fff; color: #2563eb;
  padding: 11px 26px; border-radius: 24px;
  font-size: 15px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}

/* 区块 */
.section {
  background: #fff; margin: 12px 12px 0; border-radius: 12px; padding: 18px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.section-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; position: relative; padding-left: 10px; }
.section-title::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px;
  background: #3b82f6; border-radius: 2px;
}

/* 优势卡片 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feature {
  background: #f8fafc; border-radius: 10px; padding: 14px 8px; text-align: center;
}
.feature .f-icon { font-size: 22px; }
.feature .f-title { font-size: 14px; font-weight: 600; margin-top: 6px; }
.feature .f-desc { font-size: 11px; color: #888; margin-top: 2px; }

/* 打印点 */
.point-item { padding: 10px 0; border-bottom: 1px solid #f1f2f4; }
.point-item:last-child { border-bottom: none; }
.point-item .p-name { font-size: 15px; font-weight: 600; }
.point-item .p-addr { font-size: 12px; color: #888; margin-top: 2px; }
.point-item .p-time { font-size: 12px; color: #3b82f6; }

/* 公告列表 */
.ann-item { padding: 10px 0; border-bottom: 1px solid #f1f2f4; display: block; }
.ann-item:last-child { border-bottom: none; }
.ann-item .a-title { font-size: 14px; font-weight: 500; }
.ann-item .a-time { font-size: 12px; color: #999; margin-top: 2px; }
.ann-more { display: block; text-align: center; font-size: 13px; color: #3b82f6; padding-top: 10px; }

/* 公告详情 */
.ann-detail h1 { font-size: 18px; margin-bottom: 6px; }
.ann-detail .meta { font-size: 12px; color: #999; margin-bottom: 14px; }
.ann-detail .content { font-size: 14px; white-space: pre-wrap; }

/* 支付页 */
.pay-box { text-align: center; padding: 26px 16px; }
.pay-box .amount { font-size: 32px; font-weight: 700; color: #f59e0b; }
.pay-box .amount small { font-size: 14px; }
.pay-box .qr-wrap {
  width: 220px; height: 220px; margin: 18px auto; background: #fff;
  border: 1px solid #eee; border-radius: 10px; display: flex;
  align-items: center; justify-content: center;
}
.pay-box .qr-tip { font-size: 13px; color: #666; }
.pay-box .status { font-size: 14px; font-weight: 600; color: #3b82f6; margin-top: 10px; }
.pay-done { text-align: center; padding: 40px 20px; }
.pay-done .big { font-size: 52px; }
.pay-done .code {
  font-size: 34px; font-weight: 700; letter-spacing: 6px; color: #16a34a; margin: 14px 0;
}

/* 底部 */
.footer {
  text-align: center; padding: 22px 16px 30px; color: #999; font-size: 12px;
}
.footer .tel { color: #3b82f6; font-size: 14px; }

/* 通用按钮 */
.btn {
  display: block; width: 100%; border: none; border-radius: 24px;
  background: #3b82f6; color: #fff; font-size: 15px; font-weight: 600;
  padding: 12px 0; text-align: center; cursor: pointer;
}
.btn.ghost { background: #fff; color: #3b82f6; border: 1px solid #3b82f6; }

/* 手机端轻提示 */
.mini-toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%);
  background: rgba(0, 0, 0, .75); color: #fff; font-size: 13px;
  padding: 10px 16px; border-radius: 8px; max-width: 82%; line-height: 1.6;
  z-index: 100; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.mini-toast.show { opacity: 1; }
