:root {
  --surface: #fcfcf7;
  --surface-dim: #ebeae4;
  --surface-low: #f7f6f2;
  --surface-container: #f0ede0;
  --surface-high: #eae9e6;
  --card: #ffffff;
  --text: #3a3a38;
  --text-2: #585855;
  --text-3: #8a8985;
  --line: #eae9e6;
  --primary: #eb6928;
  --primary-hover: #ff9147;
  --primary-soft: #fde3d4;
  --primary-ink: #7a2e0c;
  --teal: #2c91af;
  --teal-soft: #d4eef5;
  --teal-ink: #15495a;
  --night: #190922;
  --night-text: #f5f4ef;
  --error: #d94141;
  --radius: 16px;
  --radius-btn: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.06);
  --ease: cubic-bezier(.16,1,.3,1);
  --display: Fraunces, "Noto Serif SC", "Songti SC", serif;
  --sans: "Nunito Sans", "Noto Sans SC", "PingFang SC", sans-serif;
  --hand: Caveat, "Nunito Sans", cursive;
}

[data-theme="dark"] {
  --surface: #190922;
  --surface-dim: #12061a;
  --surface-low: #24132e;
  --surface-container: #2a1636;
  --surface-high: #341c42;
  --card: #24132e;
  --text: #f5f4ef;
  --text-2: #c9c4bc;
  --text-3: #8a8985;
  --line: rgba(255,255,255,.08);
  --shadow: 0 4px 24px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--surface);
  color: var(--text);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font-family: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.header {
  position: sticky; top: 16px; z-index: 50;
  padding: 0 12px;
}
.header-bar {
  display: flex; align-items: center; gap: 28px;
  height: 56px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px 0 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display);
  font-weight: 500; font-size: 1.15rem;
  text-decoration: none; letter-spacing: -.02em;
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: .85rem;
}
.nav { display: flex; gap: 22px; }
.nav a {
  text-decoration: none; color: var(--text-2);
  font-weight: 700; font-size: .95rem;
}
.nav a:hover { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent;
  color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.btn-nav {
  height: 40px; padding: 0 16px; border-radius: var(--radius-btn);
  background: var(--night); color: var(--night-text);
  text-decoration: none; font-weight: 700; font-size: .9rem;
  display: inline-flex; align-items: center;
}
[data-theme="dark"] .btn-nav { background: var(--card); color: var(--text); border: 1px solid var(--line); }

.hero {
  position: relative;
  padding: 72px 0 48px;
  overflow: hidden;
  min-height: 640px;
}
.hero-copy { position: relative; z-index: 2; text-align: center; padding-top: 48px; }
h1, h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.013em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
.lead {
  max-width: 520px; margin: 18px auto 0;
  color: var(--text-2); font-size: 1.05rem; line-height: 1.65;
}
.hero-ctas {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-top: 28px;
}
.btn-primary {
  height: 44px; padding: 0 20px; border-radius: var(--radius-btn);
  background: var(--primary); color: #fff;
  text-decoration: none; font-weight: 700;
  display: inline-flex; align-items: center;
  transition: background .15s ease, transform .15s ease;
}
.btn-primary:hover { background: var(--primary-hover); color: #3d1605; }
.btn-ghost {
  height: 44px; padding: 0 18px; border-radius: var(--radius-btn);
  border: 1px solid var(--line); background: var(--card);
  text-decoration: none; font-weight: 700; color: var(--text);
  display: inline-flex; align-items: center;
}
.btn-ghost:hover { background: var(--surface-high); }

.hero-doodles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.float-card {
  position: absolute;
  font-family: var(--sans);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  animation: bob 6s var(--ease) infinite;
}
.card-chart { top: 72px; left: 8%; width: 190px; }
.card-cal { bottom: 120px; left: 14%; }
.hand {
  display: block; font-family: var(--sans); font-weight: 700; letter-spacing: .05em; color: var(--primary);
  font-size: .85rem; margin-bottom: 8px;
}
[data-theme="dark"] .hand { color: #9ad4e4; }
.cal-grid {
  display: grid; grid-template-columns: repeat(4, 14px); gap: 6px;
}
.cal-grid i { width: 14px; height: 14px; border-radius: 3px; background: var(--surface-container); }
.cal-grid i.on { background: var(--primary); }
.blob { position: absolute; animation: bob 7s ease-in-out infinite reverse; }
.blob-a { right: 18%; top: 64px; }
.blob-b { left: 22%; bottom: 90px; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.proof { position: relative; z-index: 2; margin-top: 88px; text-align: center; }
.proof-rule {
  color: var(--text-3); font-size: .9rem;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.proof-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 22px 0 8px;
}
.proof-pills span {
  background: var(--card);
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 10px 16px;
  font-size: .88rem; color: var(--text-2);
}
.proof-pills b { color: var(--text); font-weight: 700; margin-right: 4px; }

.kicker {
  font-weight: 700; font-size: .85rem; color: var(--primary);
  margin-bottom: 10px;
}
.kicker.light { color: var(--primary-hover); }
.sub { color: var(--text-2); margin: 10px 0 28px; max-width: 460px; }

.products { padding: 40px 0 88px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter {
  height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  color: var(--text-2); font-weight: 700; cursor: pointer;
}
.filter:hover { background: var(--surface-high); color: var(--text); }
.filter.active {
  background: var(--night); color: var(--night-text); border-color: var(--night);
}
[data-theme="dark"] .filter.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.empty { text-align: center; color: var(--text-3); grid-column: 1 / -1; padding: 40px 0; }
.product {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  cursor: pointer;
  text-align: left;
  transition: background .2s var(--ease), transform .2s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product:hover { background: var(--surface-high); transform: translateY(-3px); }
.product .tag {
  display: inline-block;
  background: var(--teal-soft); color: var(--teal-ink);
  font-family: var(--hand); font-size: 1rem;
  padding: 2px 10px; border-radius: 999px; margin-bottom: 14px;
}
.product .tag-empty { visibility: hidden; }
.product h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 500; margin-bottom: 6px; }
.product .meta { color: var(--text-2); font-size: .95rem; min-height: 48px; }
.product-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: auto; padding-top: 18px;
}
.price { font-family: var(--display); font-size: 1.7rem; color: var(--primary); }
.go { font-weight: 700; font-size: .9rem; color: var(--text-2); }

.how { padding: 0 0 96px; }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px;
}
.steps article {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px;
}
.steps span {
  font-family: var(--hand); color: var(--primary); font-size: 1.3rem;
}
.steps h3 { font-family: var(--display); font-size: 1.2rem; margin: 8px 0 6px; }
.steps p { color: var(--text-2); font-size: .95rem; }

.help {
  position: relative;
  background: var(--night);
  color: var(--night-text);
  padding: 96px 0;
  overflow: hidden;
}
.help-glow {
  position: absolute; right: -10%; bottom: -30%;
  width: 520px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(235,105,40,.35), rgba(235,105,40,.15), transparent 70%);
  pointer-events: none;
}
.help h2 { color: var(--night-text); }
.help-lead { color: rgba(245,244,239,.72); max-width: 480px; margin: 12px 0 36px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 16px; }
.help .card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 24px;
}
.help .card h3 { font-family: var(--display); font-weight: 500; margin-bottom: 6px; }
.help .card p { color: rgba(245,244,239,.7); margin-bottom: 16px; }
.btn-light {
  height: 44px; padding: 0 16px; border-radius: var(--radius-btn);
  border: 0; background: #fff; color: #111; font-weight: 700; cursor: pointer;
}
.btn-light:hover { background: var(--primary-hover); }

footer { padding: 36px 0 48px; background: var(--surface); border-top: 1px solid var(--line); }
.foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--text-3); font-size: .9rem;
}
.foot a { color: var(--primary); text-decoration: none; }
.foot .logo { color: var(--text); }

.mask {
  position: fixed; inset: 0;
  background: rgba(25,9,34,.55); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 20px;
}
.mask.show { display: flex; }
.modal {
  background: var(--card); color: var(--text);
  border-radius: 16px; padding: 32px;
  max-width: 420px; width: 100%; position: relative;
  box-shadow: var(--shadow);
}
.close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 999px;
  border: 0; background: var(--surface-low); color: var(--text-2); cursor: pointer;
}
.badge {
  display: inline-block; background: var(--primary-soft); color: var(--primary-ink);
  padding: 4px 10px; border-radius: 999px; font-family: var(--hand); font-size: 1rem;
  margin-bottom: 12px;
}
.modal h3 { font-family: var(--display); font-size: 1.4rem; margin-bottom: 8px; }
.modal p { color: var(--text-2); }
.flow {
  display: flex; align-items: center; gap: 6px; margin: 20px 0;
  font-size: .8rem; color: var(--text-3); flex-wrap: wrap;
}
.flow span {
  background: var(--surface-low); padding: 4px 10px; border-radius: 6px;
}
.actions { display: flex; gap: 10px; margin-top: 20px; }
.ghost {
  flex: 1; height: 44px; border-radius: var(--radius-btn);
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font-weight: 700; cursor: pointer;
}
.btn-coral {
  flex: 2; height: 44px; border-radius: var(--radius-btn);
  background: var(--primary); color: #fff; text-decoration: none;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.btn-coral:hover { background: var(--primary-hover); color: #3d1605; }
.note { text-align: center; font-size: .8rem; color: var(--text-3); margin-top: 14px; }
.qr-placeholder {
  background: var(--surface-low); border: 1px dashed var(--line);
  border-radius: 12px; padding: 48px; text-align: center; margin: 16px 0;
}
.qr-fake { color: var(--text-3); }
.qr-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface-low); padding: 12px 16px; border-radius: 6px;
}
.copy {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; padding: 6px 12px; cursor: pointer; font-weight: 700;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .card-chart, .card-cal, .blob-b { display: none; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .hero { min-height: 0; padding: 40px 0 24px; }
  .hero-copy { padding-top: 8px; }
  .hero-doodles { display: none; }
  .steps, .contact-cards { grid-template-columns: 1fr; }
  .foot { flex-direction: column; text-align: center; }
  .header { top: 8px; }
}

.logo-img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }

/* 首页背景：与图标 + 主题色呼应的虚化扩散色块（高斯模糊），只做背景，不挡内容 */
.bg-blobs { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-blob { position: absolute; border-radius: 50%; filter: blur(90px); }
.blob-orange { width: 460px; height: 460px; top: -140px; left: -100px; background: #eb6928; opacity: 0.32; }
.blob-teal { width: 420px; height: 420px; top: 18%; right: -120px; background: #2c91af; opacity: 0.28; }
.blob-yellow { width: 480px; height: 480px; bottom: -160px; left: 18%; background: #e8c86a; opacity: 0.38; }
.blob-peach { width: 320px; height: 320px; top: 42%; left: 42%; background: #fde3d4; opacity: 0.5; filter: blur(80px); }
body > header, body > main, body > footer { position: relative; z-index: 1; }
[data-theme="dark"] .bg-blob { opacity: 0.18; }
[data-theme="dark"] .blob-peach { opacity: 0.22; }

.search-box { display: flex; align-items: center; }
.search-box input { height: 36px; width: 170px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 0.9rem; outline: none; }
.search-box input:focus { border-color: var(--primary); }
.search-box input::placeholder { color: var(--text-3); }
@media (max-width: 900px) { .search-box input { width: 130px; } }
@media (max-width: 640px) { .search-box input { width: 110px; } }



.notice-modal { padding: 0; overflow: hidden; }
.notice-head { background: var(--primary); color: #fff; padding: 20px 24px 24px; position: relative; }
.notice-head h3 { font-size: 1.5rem; margin-top: 8px; }
.notice-date { display: inline-block; background: rgba(255,255,255,.25); padding: 2px 10px; border-radius: 999px; font-size: 0.85rem; }
.notice-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 999px; border: 0; background: rgba(255,255,255,.25); color: #fff; font-size: 1.2rem; cursor: pointer; }
.notice-body { padding: 24px; }
.notice-body p { color: var(--text); margin-bottom: 20px; }
.notice-btn { width: 100%; }

.help .card a.btn-light { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.qr-placeholder img { width: 100%; max-width: 260px; border-radius: 12px; display: block; margin: 0 auto; }

/* 右侧促销小横幅：统一无衬线字体，可点击打开购买弹窗 */
.promo-stack { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.promo-banner { position: absolute; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); cursor: pointer; font-family: var(--sans); pointer-events: auto; animation: promoIn .6s var(--ease) both, bob 6s var(--ease) .6s infinite; transition: box-shadow .2s var(--ease); }
.promo-banner:nth-child(1) { top: 100px; right: 7%; width: 152px; padding: 10px 12px; }
.promo-banner:nth-child(1) strong { font-size: .95rem; }
.promo-banner:nth-child(1) em { font-size: 1.05rem; }
.promo-banner:nth-child(2) { top: 235px; right: 16%; width: 192px; padding: 14px 16px; animation: promoIn .6s var(--ease) .15s both, bob 6s var(--ease) .75s infinite reverse; }
.promo-banner:nth-child(2) strong { font-size: 1.05rem; }
.promo-banner:nth-child(2) em { font-size: 1.3rem; }
.promo-banner:hover { box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.promo-tag { display: inline-block; background: var(--primary-soft); color: var(--primary-ink); font-size: .8rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-bottom: 6px; }
.promo-tag-2 { background: var(--teal-soft); color: var(--teal-ink); }
.promo-banner strong { display: block; font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.promo-banner em { font-style: normal; font-size: 1.15rem; font-weight: 700; color: var(--primary); }
/* 左侧卡片动效：折线描绘 + 圆点呼吸 + 账单格子依次点亮 */
.card-chart polyline { stroke-dasharray: 300; stroke-dashoffset: 300; animation: drawLine 2s var(--ease) forwards; }
.card-chart circle { animation: pulseDot 2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.cal-grid i.on { animation: popCell 2.4s ease-in-out infinite; }
.cal-grid i:nth-child(2) { animation-delay: 0s; }
.cal-grid i:nth-child(5) { animation-delay: .3s; }
.cal-grid i:nth-child(7) { animation-delay: .6s; }
.cal-grid i:nth-child(11) { animation-delay: .9s; }
@keyframes promoIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: .7; } }
@keyframes popCell { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
