:root {
  --bg: #eef6ff;
  --card: rgba(255, 255, 255, 0.92);
  --text: #142033;
  --muted: #5f6d82;
  --line: rgba(42, 90, 180, 0.10);
  --blue: #2f6dff;
  --blue2: #7557ff;
  --purple: #8b50ff;
  --orange: #ff9f1c;
  --shadow: 0 18px 45px rgba(45, 87, 145, 0.15);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at 5% 6%, rgba(73, 122, 255, 0.18), transparent 26%),
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.95), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 46%, #f8fbff 100%);
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 34px;
}

.heroV5 { padding: 0 0 18px; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.logo {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 12px 26px rgba(47, 109, 255, 0.25);
}
.brandText strong { display: block; font-size: 30px; letter-spacing: -0.02em; }
.brandText span { display: block; margin-top: 4px; color: var(--muted); font-size: 16px; }
.trustBox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f2e44;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
}
.trustIcon { font-size: 23px; }
.trustBox div { display: flex; flex-direction: column; }

.headline { text-align: center; margin: 0 auto 20px; max-width: 860px; }
.headline h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 950;
  background: linear-gradient(90deg, #152033 0%, #256bff 46%, #7b55ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.headline p {
  margin: 16px auto 0;
  color: #4d5c70;
  font-size: 19px;
  line-height: 1.75;
}
.heroBenefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.heroBenefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 26px rgba(50, 95, 155, 0.08);
}
.heroBenefitIcon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 25px;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
}
.heroBenefit strong { display: block; font-size: 17px; }
.heroBenefit span:last-child { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }

.stackV5 { display: grid; gap: 22px; }
.mainCard, .noticeBox {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mainCard { padding: 28px; }
.cardHeader { display: flex; align-items: flex-start; gap: 16px; }
.stepBadge {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 12px 24px rgba(47, 109, 255, 0.25);
}
.stepBadge.purple { background: linear-gradient(135deg, #8154ff, #b250ff); }
.cardTitle h2 { margin: 0; font-size: 34px; line-height: 1.2; letter-spacing: -0.035em; }
.tag {
  display: inline-flex;
  align-items: center;
  margin-top: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}
.tag.blue { background: linear-gradient(135deg, var(--blue), var(--blue2)); }
.tag.purple { background: linear-gradient(135deg, #8154ff, #b250ff); }
.cardDesc {
  margin: 18px 0 22px;
  color: #566579;
  font-size: 18px;
  line-height: 1.75;
}
.primaryBody {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.97fr);
  grid-template-areas: "features qr";
  gap: 24px;
  align-items: stretch;
}
.primaryBody .qrPanel { grid-area: qr; }
.primaryBody .primaryFeatures { grid-area: features; }
.groupBody.withQr {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
}
.featureGrid { display: grid; gap: 12px; }
.primaryFeatures { grid-template-columns: 1fr; }
.groupFeatures { grid-template-columns: repeat(5, 1fr); }
.featureItem {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(246, 250, 255, 0.96), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(47, 109, 255, 0.08);
}
.featureIcon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(49, 94, 160, 0.08);
}
.featureText strong { display: block; font-size: 17px; line-height: 1.35; }
.featureText span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.qrPanel { display: grid; gap: 14px; align-content: start; }
.qrCta {
  text-align: center;
  padding: 12px 16px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 14px 28px rgba(58, 86, 255, 0.22);
}
.qrCta strong { display: block; font-size: 24px; letter-spacing: -0.02em; }
.qrCta span { display: block; margin-top: 4px; font-size: 14px; opacity: .92; }
.qrBox {
  padding: 22px 20px 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(41, 73, 130, 0.09);
  box-shadow: 0 12px 32px rgba(45, 83, 143, 0.10);
  text-align: center;
}
.qr {
  width: min(100%, 330px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.qrTip {
  margin: 13px 0 0;
  color: #667286;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}
.qrTip br + text { color: var(--blue); }
.groupCard { padding-bottom: 24px; }
.groupBody { margin-top: 18px; }
.noticeBox {
  display: flex;
  gap: 18px;
  padding: 22px 26px;
  background: linear-gradient(135deg, #fff9e9, #fffef8);
  border-color: rgba(243, 188, 59, 0.32);
}
.noticeIcon { font-size: 32px; line-height: 1; }
.noticeBox strong { display: block; color: #bd7600; font-size: 22px; margin-bottom: 8px; }
.noticeBox p { margin: 0; color: #4e5d70; font-size: 17px; line-height: 1.75; }
.footer { text-align: center; padding: 26px 0 0; color: #68778c; }
.footer strong { display: block; color: #223047; font-size: 20px; margin-bottom: 8px; }
.footer p { margin: 0; line-height: 1.75; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 32, 51, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.errorBox { padding: 40px; text-align: center; }

@media (max-width: 780px) {
  body { background: linear-gradient(180deg, #f6fbff 0%, #edf6ff 54%, #f9fcff 100%); }
  .wrap { width: calc(100% - 20px); padding: 14px 0 22px; }
  .topbar { margin-bottom: 16px; gap: 10px; align-items: flex-start; }
  .logo { width: 52px; height: 52px; border-radius: 14px; font-size: 20px; }
  .brand { gap: 10px; }
  .brandText strong { font-size: 23px; }
  .brandText span { font-size: 13px; }
  .trustBox { font-size: 13px; gap: 6px; max-width: 130px; }
  .trustIcon { font-size: 18px; }
  .headline { margin-bottom: 13px; }
  .headline h1 { font-size: 34px; line-height: 1.08; }
  .headline p { margin-top: 9px; font-size: 15px; line-height: 1.55; }
  .heroBenefits { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .heroBenefit { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 9px 6px; border-radius: 14px; }
  .heroBenefitIcon { width: 34px; height: 34px; flex-basis: 34px; border-radius: 11px; font-size: 18px; }
  .heroBenefit strong { font-size: 12px; line-height: 1.25; }
  .heroBenefit span:last-child { display: none; }
  .stackV5 { gap: 14px; }
  .mainCard { padding: 18px 14px; border-radius: 24px; }
  .cardHeader { gap: 12px; align-items: flex-start; }
  .stepBadge { flex-basis: 52px; width: 52px; height: 52px; border-radius: 15px; font-size: 28px; }
  .cardTitle h2 { font-size: 26px; line-height: 1.15; }
  .tag { margin-top: 6px; padding: 5px 11px; font-size: 13px; }
  .cardDesc { margin: 12px 0 14px; font-size: 15px; line-height: 1.62; }
  .primaryBody { display: flex; flex-direction: column; gap: 13px; }
  .primaryBody .qrPanel { order: 1; }
  .primaryBody .primaryFeatures { order: 2; }
  .qrPanel { gap: 10px; }
  .qrCta { padding: 9px 11px; border-radius: 15px; }
  .qrCta strong { font-size: 18px; }
  .qrCta span { font-size: 12px; }
  .qrBox { padding: 16px 12px 12px; border-radius: 21px; }
  .qr { width: min(100%, 285px); }
  .qrTip { margin-top: 9px; font-size: 14px; }
  .primaryFeatures { grid-template-columns: 1fr 1fr; gap: 8px; }
  .featureItem { gap: 8px; padding: 10px; border-radius: 14px; }
  .featureIcon { width: 32px; height: 32px; flex-basis: 32px; border-radius: 11px; font-size: 17px; }
  .featureText strong { font-size: 13px; }
  .featureText span { margin-top: 2px; font-size: 11px; line-height: 1.35; }
  .groupBody { margin-top: 12px; }
  .groupFeatures { grid-template-columns: 1fr 1fr; gap: 8px; }
  .noticeBox { gap: 10px; padding: 16px 14px; border-radius: 20px; }
  .noticeIcon { font-size: 24px; }
  .noticeBox strong { font-size: 18px; margin-bottom: 5px; }
  .noticeBox p { font-size: 14px; line-height: 1.65; }
  .footer { padding-top: 20px; font-size: 12px; }
  .footer strong { font-size: 17px; }
}

@media (max-width: 380px) {
  .headline h1 { font-size: 30px; }
  .cardTitle h2 { font-size: 23px; }
  .primaryFeatures, .groupFeatures { grid-template-columns: 1fr; }
  .qr { width: min(100%, 260px); }
}
