* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%;
  font-family: var(--font, 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
.page {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(92px + var(--safe-bottom, 0px));
}
.hero {
  color: var(--hero-text);
  padding: 36px 24px 52px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay, none);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--hero-blob, rgba(255,255,255,0.12));
  pointer-events: none;
}
.hero-shape-1 { width: 180px; height: 180px; top: -60px; right: -40px; }
.hero-shape-2 { width: 120px; height: 120px; bottom: -40px; left: -20px; }
.hero-promo {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--hero-promo-bg, rgba(255,255,255,0.22));
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid var(--hero-promo-border, transparent);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  background: var(--hero-badge-bg, rgba(255,255,255,0.18));
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero p { font-size: 15px; opacity: var(--hero-sub-opacity, 0.9); line-height: 1.65; max-width: 340px; }
.main {
  padding: 0 16px;
  margin-top: var(--main-overlap, -32px);
  flex: 1;
  position: relative;
  z-index: 2;
}
.card {
  background: var(--card);
  border-radius: var(--radius, 18px);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  margin-bottom: 14px;
  border: var(--card-border, none);
}
.qr-card { text-align: center; }
.qr-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.qr-wrap {
  display: inline-block;
  padding: 14px;
  background: var(--qr-bg, #fff);
  border: 1px solid var(--qr-border, #eee);
  border-radius: 14px;
  box-shadow: var(--qr-shadow, 0 4px 20px rgba(0,0,0,0.06));
}
.qr-wrap img { display: block; width: 200px; height: 200px; object-fit: contain; }
.qr-hint { margin-top: 14px; font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
.consultant { display: flex; align-items: center; gap: 16px; }
.avatar {
  width: 58px; height: 58px; border-radius: var(--avatar-radius, 16px);
  background: var(--avatar-bg);
  color: var(--avatar-color);
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--avatar-shadow, none);
}
.consultant-info h2 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.consultant-info > span { font-size: 13px; color: var(--text-secondary); display: block; }
.wecom-tag {
  display: inline-flex; align-items: center; margin-top: 10px;
  font-size: 12px; font-weight: 500;
  color: var(--tag-color); background: var(--tag-bg);
  padding: 5px 12px; border-radius: 8px;
}
.features { list-style: none; }
.features li {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--feature-divider, #f0f0f0);
}
.features li:last-child { border-bottom: none; padding-bottom: 0; }
.features li:first-child { padding-top: 0; }
.feature-icon {
  font-size: 22px; flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--feature-icon-bg, transparent);
  border-radius: 12px;
}
.feature-text h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.feature-text p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
.steps { font-size: 13px; color: var(--text-secondary); line-height: 1.85; }
.steps strong { color: var(--text); display: block; margin-bottom: 8px; font-size: 14px; }
.footer-text {
  text-align: center; font-size: 12px; color: var(--text-muted);
  padding: 10px 20px 28px; line-height: 1.6;
}
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  max-width: 480px; margin: 0 auto;
  padding: 14px 16px calc(14px + var(--safe-bottom, 0px));
  background: var(--cta-bar-bg, rgba(255,255,255,0.92));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--cta-bar-border, #eee);
  z-index: 100;
}
.btn-primary {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 52px; border: none;
  border-radius: var(--btn-radius, 14px);
  background: var(--btn-bg);
  color: var(--btn-color, #fff);
  font-size: 17px; font-weight: 600; font-family: inherit;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
  letter-spacing: 0.02em;
}
.btn-primary:active { transform: scale(0.98); opacity: 0.92; }
.hint { text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 8px; }
.toast {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.82); color: #fff;
  padding: 14px 22px; border-radius: 12px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
  z-index: 200; max-width: 85%; text-align: center;
}
.toast.show { opacity: 1; }
