
:root {
  --bg: #f5f6fa;
  --card: rgba(255,255,255,.92);
  --text: #111827;
  --muted: #6b7280;
  --line: rgba(17,24,39,.10);
  --brand: #111827;
  --brand2: #2563eb;
  --warn: #fff7ed;
  --warnText: #9a3412;
  --ok: #ecfdf5;
  --okText: #047857;
  --shadow: 0 18px 60px rgba(15, 23, 42, .12);
  --radius: 24px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(37,99,235,.14), transparent 34%),
    radial-gradient(circle at 84% 0%, rgba(17,24,39,.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 36%, #eef2ff 100%);
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(960px, 100%); margin: 0 auto; padding: 28px 16px 34px; }
.hero {
  padding: 30px 22px 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(17,24,39,.96), rgba(37,99,235,.92));
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.hero:after {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
}
.brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  font-weight: 900;
  letter-spacing: .5px;
}
.brand-sub { color: rgba(255,255,255,.66); font-size: 13px; }
h1 { font-size: clamp(28px, 7vw, 48px); line-height: 1.08; margin: 20px 0 12px; letter-spacing: -.7px; position: relative; z-index: 1; }
.sub { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.75; margin: 0; position: relative; z-index: 1; }
.notice {
  margin-top: 18px;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.16);
  line-height: 1.65;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.grid { display: grid; gap: 16px; margin-top: 18px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, .08);
  backdrop-filter: blur(10px);
}
.card h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.2px; }
.desc { margin: 0 0 14px; color: var(--muted); line-height: 1.7; font-size: 14px; }
.actionRow { display: grid; gap: 10px; grid-template-columns: 1fr; }
.btn {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 15px 16px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .15s ease, opacity .15s ease;
  min-height: 52px;
}
.btn:active { transform: scale(.985); }
.primary { background: var(--brand); color: #fff; }
.secondary { background: #eef2ff; color: #1d4ed8; }
.ghost { background: #f3f4f6; color: #111827; }
.qrWrap { margin-top: 14px; display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; }
.qr {
  width: 112px;
  height: 112px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
  object-fit: contain;
}
.small { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 10px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.tips { background: var(--warn); color: var(--warnText); border-color: rgba(251,146,60,.35); }
.okbox { background: var(--ok); color: var(--okText); border-color: rgba(16,185,129,.26); }
.footer { text-align: center; color: var(--muted); font-size: 12px; margin-top: 18px; line-height: 1.6; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(80px);
  background: rgba(17,24,39,.94);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  transition: all .22s ease;
  z-index: 20;
  max-width: calc(100% - 32px);
  text-align: center;
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.hidden { display: none !important; }
@media (min-width: 720px) {
  .wrap { padding-top: 46px; }
  .hero { padding: 42px 42px 34px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .full { grid-column: 1 / -1; }
  .actionRow { grid-template-columns: 1fr 1fr; }
  .card { padding: 22px; }
}
