:root {
  --primary: #07c160;
  --primary-dark: #06ad56;
  --accent: #ff6a00;
  --bg: #f5f6f7;
  --card: #ffffff;
  --text: #1f2329;
  --sub: #646a73;
  --radius: 14px;
  --hero-from: #07c160;
  --hero-to: #0aa06e;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 36px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 18px; font-weight: 600; letter-spacing: .5px;
  color: #fff; background: var(--primary);
  box-shadow: 0 10px 24px -6px color-mix(in srgb, var(--primary) 60%, transparent);
  transition: transform .15s, background .15s, box-shadow .15s;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); background: var(--primary-dark); }
.btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); animation: shine 2.8s infinite;
}
@keyframes shine { 0% { left: -60%; } 60%, 100% { left: 130%; } }
.btn-light { background: #fff; color: var(--primary); box-shadow: 0 12px 30px -8px rgba(0,0,0,.25); }
.btn-light:active { background: #f2f2f2; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  padding: 72px 0 120px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.08); pointer-events: none;
}
.hero::before { width: 520px; height: 520px; right: -160px; top: -200px; }
.hero::after { width: 320px; height: 320px; left: -120px; bottom: -160px; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 14px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #ffd84d; box-shadow: 0 0 0 0 rgba(255,216,77,.7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,216,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,216,77,0); } }
.hero h1 { font-size: 48px; line-height: 1.25; font-weight: 800; margin: 20px 0 16px; letter-spacing: 1px; }
.hero .subtitle { font-size: 18px; opacity: .92; max-width: 520px; margin-bottom: 32px; }
.hero .cta-note { margin-top: 14px; font-size: 14px; opacity: .85; }

.hero-visual { display: flex; justify-content: center; }
.hero-visual img { border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-lg); max-height: 420px; object-fit: cover; }
.gift-card {
  width: 100%; max-width: 380px; padding: 28px; color: var(--text);
  background: rgba(255,255,255,.96); border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-lg); transform: rotate(2deg); animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(2deg) translateY(-10px); } }
.gift-card .gc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.gift-card .gc-title { font-weight: 700; font-size: 18px; }
.gift-card .gc-tag { font-size: 12px; color: #fff; background: var(--accent); padding: 3px 10px; border-radius: 999px; }
.gift-card ul { list-style: none; }
.gift-card li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px dashed #e5e6eb; font-size: 15px; }
.gift-card li:first-child { border-top: 0; }
.gift-card li .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: color-mix(in srgb, var(--primary) 12%, transparent); flex: none; }
.gift-card li .check { margin-left: auto; color: var(--primary); font-weight: 700; }

/* ---------- 数据条 ---------- */
.stats {
  position: relative; z-index: 2; margin-top: -64px;
  display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr);
  background: var(--card); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
  padding: 28px 12px;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: #eef0f2; }
.stat .num { font-size: 32px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat .label { font-size: 14px; color: var(--sub); margin-top: 4px; }

/* ---------- 区块 ---------- */
.section { padding: 72px 0 0; }
.section-title { text-align: center; font-size: 32px; font-weight: 800; margin-bottom: 36px; }
.section-title::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--primary); margin: 12px auto 0; }

.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.point {
  background: var(--card); border-radius: var(--radius); padding: 28px 22px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.point:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.point .ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 28px;
  background: color-mix(in srgb, var(--primary) 12%, transparent); margin-bottom: 16px;
}
.point h3 { font-size: 18px; margin-bottom: 8px; }
.point p { font-size: 14px; color: var(--sub); }

.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.testi::before { content: "“"; position: absolute; right: 18px; top: 0; font-size: 72px; line-height: 1; color: color-mix(in srgb, var(--primary) 18%, transparent); font-family: Georgia, serif; }
.testi .stars { color: #ffb400; letter-spacing: 2px; margin-bottom: 10px; }
.testi p { font-size: 15px; margin-bottom: 16px; }
.testi .who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--sub); }
.testi .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: var(--primary); object-fit: cover; flex: none; }
/* 图片图标 */
.ic img { width: 62%; height: 62%; object-fit: contain; }

/* ---------- 底部 CTA ---------- */
.final {
  margin: 80px auto 0; border-radius: calc(var(--radius) + 8px); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); color: #fff;
  padding: 56px 24px; text-align: center;
}
.final h2 { font-size: 30px; margin-bottom: 10px; }
.final p { opacity: .9; margin-bottom: 28px; }
footer { text-align: center; color: var(--sub); font-size: 13px; padding: 40px 20px 48px; }

/* 悬浮按钮（仅手机） */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  box-shadow: 0 -6px 20px rgba(0,0,0,.06);
  transform: translateY(110%); transition: transform .3s;
}
.float-cta.show { transform: translateY(0); }
.float-cta .btn { width: 100%; }

/* 自动跳转倒计时 */
.jump-tip {
  position: fixed; top: calc(14px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 999px;
  background: rgba(17, 24, 39, .82); color: #fff; font-size: 14px; white-space: nowrap;
  backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0,0,0,.18);
  animation: tipIn .35s ease-out;
}
@keyframes tipIn { from { opacity: 0; transform: translate(-50%, -12px); } }
body.has-jump-tip .hero { padding-top: 112px; }
@media (max-width: 768px) { body.has-jump-tip .hero { padding-top: 76px; } }
.jump-tip b { color: #ffd84d; font-size: 16px; min-width: 1.2em; text-align: center; display: inline-block; }
.jump-tip a { background: var(--primary); color: #fff; border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: 600; }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero h1 { font-size: 40px; }
  .points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 96px; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 30px; margin: 16px 0 12px; }
  .hero .subtitle { font-size: 15px; margin: 0 auto 26px; }
  .hero .btn { width: 100%; max-width: 360px; }
  .gift-card { max-width: 340px; padding: 22px; margin: 0 auto; }
  .stats { margin-top: -56px; padding: 20px 4px; }
  .stat .num { font-size: 22px; }
  .stat .label { font-size: 12px; }
  .section { padding-top: 48px; }
  .section-title { font-size: 24px; margin-bottom: 24px; }
  .points { gap: 12px; }
  .point { padding: 20px 16px; }
  .point .ic { width: 46px; height: 46px; font-size: 24px; border-radius: 13px; margin-bottom: 12px; }
  .point h3 { font-size: 16px; }
  .point p { font-size: 13px; }
  .testis {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 16px; margin: 0 -16px;
    scrollbar-width: none;
  }
  .testis::-webkit-scrollbar { display: none; }
  .testi { scroll-snap-align: center; }
  .final { margin-top: 48px; padding: 40px 20px; }
  .final h2 { font-size: 22px; }
  .final .btn { width: 100%; }
  .float-cta { display: block; }
  body.has-float footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
