:root {
  /* TikTok 平台风:近黑底 + 青粉撞色 */
  --bg: #0f0f12;
  --bg-alt: #15151b;
  --card: #17171d;
  --line: #26262e;
  --ink: #f5f5f7;
  --body: #b9b9c2;
  --muted: #8a8a94;
  --cyan: #25f4ee;
  --pink: #fe2c55;
  --wa: #25d366;
  --wa-dark: #1da851;
  --radius: 18px;
  --shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 14px 34px rgba(0, 0, 0, .38);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  /* clip 而非 hidden:hidden 会造出滚动容器,吸顶页头的 sticky 会失效 */
  overflow-x: clip;
  /* 手机点按不留灰块,改用青色轻微反馈 */
  -webkit-tap-highlight-color: rgba(37, 244, 238, .14);
}

/* 锚点跳转别被吸顶页头盖住标题 */
[id] { scroll-margin-top: 84px; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--ink); line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); font-weight: 900; }
/* balance 让窄屏标题两行长度接近,不留孤字尾行 */
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; text-wrap: balance; }
h3 { font-size: 1.12rem; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--cyan); color: #0f0f12; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.06rem; }
/* 转化按钮统一品牌绿:深色页面上绿色跳得出来,也和 WhatsApp 心智一致 */
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 22px rgba(37, 211, 102, .4); }
.btn-wa:hover { background: var(--wa-dark); }
/* 次按钮用青色描边,和主按钮拉开层级 */
.btn-ghost { background: transparent; color: var(--cyan); border-color: rgba(37, 244, 238, .45); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(37, 244, 238, .08); }
.ico-wa { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(15, 15, 18, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); flex: none; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 1.09rem; letter-spacing: .01em; color: var(--ink); }
.brand-text small { color: var(--muted); font-size: .78rem; }
.site-nav { display: flex; gap: 26px; margin-left: auto; font-size: .96rem; }
.site-nav a { color: var(--body); font-weight: 600; }
.site-nav a:hover { color: var(--cyan); text-decoration: none; }
.header-cta { margin-left: 8px; }

/* 手机专用横滑快捷导航;桌面用 .site-nav,这条隐藏 */
.chip-nav { display: none; }
.chip-nav a {
  flex: none;
  display: inline-flex; align-items: center;
  min-height: 44px;                 /* 拇指点得到 */
  padding: 0 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--body); font-size: .9rem; font-weight: 600;
  scroll-snap-align: start;
}
.chip-nav a:active { border-color: var(--cyan); color: var(--cyan); }

/* ---------- 首屏:居中单列,和上一版左右分栏拉开差异 ---------- */
.hero {
  background:
    radial-gradient(760px 340px at 10% 0%, rgba(37, 244, 238, .13), transparent 62%),
    radial-gradient(760px 380px at 96% 6%, rgba(254, 44, 85, .15), transparent 64%),
    var(--bg);
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px);
}
.hero-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 900px; margin: 0 auto;
}
.eyebrow {
  display: inline-block; margin: 0 0 16px;
  background: rgba(37, 244, 238, .1); color: var(--cyan);
  border: 1px solid rgba(37, 244, 238, .38);
  font-size: .85rem; font-weight: 700; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 999px;
}
/* TikTok logo 式错位重影:白字本体 + 青粉双侧阴影,不动画、不耗性能 */
.hero h1 {
  margin-bottom: .35em; text-wrap: balance; color: #fff;
  text-shadow: -3px 0 0 rgba(37, 244, 238, .5), 3px 0 0 rgba(254, 44, 85, .5);
}
/* 渐变文字和 text-shadow 叠加会穿帮,hl 段关掉阴影只吃渐变色 */
.hl {
  background: linear-gradient(92deg, var(--cyan) 10%, var(--pink) 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; text-shadow: none;
  padding: 0 .04em;
}
.lede { font-size: 1.09rem; max-width: 34em; }
.lede strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 22px; }
/* 卖点做成描边胶囊:深色底上比上版的实心圆点更轻、更"app" */
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0 0 30px; padding: 0; font-size: .95rem; font-weight: 600; color: var(--ink); }
.hero-badges li {
  display: flex; align-items: center; gap: 7px;
  background: var(--card); border: 1px solid var(--line);
  padding: 8px 15px; border-radius: 999px;
}
.hero-badges li::before { content: "✓"; color: var(--cyan); font-weight: 800; font-size: .9rem; }
.hero-shot { margin: 0; width: 100%; max-width: 880px; }
/* 门店照用青粉错位硬阴影,呼应 logo 撞色 */
.hero-shot img {
  border-radius: var(--radius);
  box-shadow: 12px 12px 0 rgba(254, 44, 85, .45), -12px -12px 0 rgba(37, 244, 238, .32);
}
.hero-shot figcaption, .shot figcaption {
  margin-top: 16px; font-size: .9rem; color: var(--muted); text-align: center;
}

/* ---------- 利益点横条:渐变左竖条 + 左对齐,与上版居中三列区分 ---------- */
.perks-band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.perks li {
  border-left: 3px solid var(--cyan);
  border-image: linear-gradient(180deg, var(--cyan), var(--pink)) 1;
  padding-left: 16px;
}
.perks strong { display: block; font-size: 1.02rem; color: var(--ink); letter-spacing: .01em; }
.perks small { display: block; margin-top: 2px; color: var(--muted); font-size: .84rem; }

/* ---------- 区块 ---------- */
.section { padding: clamp(48px, 6.5vw, 84px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { text-align: center; }
/* 标题下的青粉渐变短条,深色页面上给每个区块一个视觉锚点 */
.section-title::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 2px;
  margin: 14px auto 0; background: linear-gradient(90deg, var(--cyan), var(--pink));
}
.section-sub { text-align: center; color: var(--muted); margin: .6em auto 2.4em; max-width: 40em; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 优势卡:图标换成渐变序号,深色卡片 */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(37, 244, 238, .4); }
.card-no {
  display: block; margin-bottom: 12px;
  font-size: 2.1rem; font-weight: 900; line-height: 1; letter-spacing: .02em;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card p { margin: 0; font-size: .97rem; }

.showcase .shot { margin: 0; }
.showcase img {
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 rgba(254, 44, 85, .35), -10px -10px 0 rgba(37, 244, 238, .25);
}

/* 品类卡:文字压图的封面式(短视频封面感),与上版白底上图下文完全不同 */
.tile {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-4px); border-color: rgba(254, 44, 85, .45); }
.tile img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tile-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 14, .88) 55%, rgba(10, 10, 14, .96) 100%);
}
.tile-body h3 { margin-bottom: .25em; color: #fff; }
.tile-body p {
  margin: 0; font-size: .9rem; color: #c9c9d1; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 品类区看完顺手就能点,不用再滑到底 */
.goods-cta { margin-top: 30px; }

/* ---------- 下单三步:序号改青粉渐变圆球 ---------- */
.steps { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; box-shadow: var(--shadow); position: relative; }
.step-no {
  position: absolute; top: -19px; left: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  color: #0f0f12;
  font-weight: 900; font-size: 1.15rem;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(254, 44, 85, .35);
}
.step h3 { margin-top: 14px; }
.step p { margin: 0; font-size: .97rem; }
.wa-num { margin-top: 14px; font-size: .95rem; color: var(--muted); }
.wa-num a { color: var(--wa); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }

/* ---------- FAQ:深色卡 + 青色左竖条,展开变粉 ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--cyan);
  border-radius: 14px;
  padding: 0 20px;
}
.faq details[open] { border-left-color: var(--pink); }
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 34px 17px 0; position: relative;
  font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--pink); line-height: 1;
}
.faq details[open] summary::after { content: "−"; color: var(--cyan); }
.faq details p { margin: 0 0 18px; font-size: .97rem; }
.faq details strong { color: var(--ink); }

/* ---------- 结尾行动条:黑底 + glitch 标题,按钮保持品牌绿 ---------- */
.cta-band { background: #0a0a0e; border-top: 1px solid var(--line); padding: clamp(44px, 5.5vw, 68px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 {
  color: #fff; margin-bottom: .3em;
  text-shadow: -2px 0 0 rgba(37, 244, 238, .5), 2px 0 0 rgba(254, 44, 85, .5);
}
.cta-band p { margin: 0; color: var(--body); }

/* ---------- 页脚 ---------- */
.site-footer { background: #0a0a0e; color: var(--muted); padding: 46px 0 22px; font-size: .93rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { border-radius: 10px; }
.footer-brand strong { display: block; color: var(--ink); font-size: 1.05rem; }
.footer-brand span { display: block; font-size: .8rem; letter-spacing: .03em; }
.footer-brand .reg { color: #5d5d66; margin-top: 4px; }
.footer-contact p { margin: 0 0 6px; }
.footer-contact a { color: var(--wa); font-weight: 700; }
.copyright { text-align: center; margin: 34px 0 0; padding-top: 18px; border-top: 1px solid #1d1d23; font-size: .84rem; color: #5d5d66; }

/* ---------- 悬浮 WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--wa); color: #fff; font-weight: 700;
  padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  /* 呼吸光圈:广告流量的注意力在屏幕上只有几秒,得让出口自己会动 */
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-float:hover { background: var(--wa-dark); text-decoration: none; }
.wa-float svg { width: 24px; height: 24px; fill: currentColor; }

@keyframes wa-pulse {
  0% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- 进场动画 ---------- */
/* 只有确认 JS 可用(html.js 由页头内联脚本打上)才隐藏,否则脚本失败就成白屏 */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .step-no { top: -16px; }

  /* 横滑胶囊导航:一屏放不下就滑,不做汉堡菜单——少一次点击。
     整块页头不吸顶,只让这条吸顶,小屏才不会被顶部栏吃掉六分之一屏。 */
  .site-header { position: static; }
  .chip-nav {
    display: flex; gap: 8px;
    position: sticky; top: 0; z-index: 41;
    padding: 9px 16px;
    background: rgba(15, 15, 18, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .chip-nav::-webkit-scrollbar { display: none; }
}

/* ---------- 手机(主场景) ---------- */
@media (max-width: 760px) {
  body {
    font-size: 16.5px;
    /* 给底部常驻行动栏留位,含 iPhone 底部安全区 */
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
  [id] { scroll-margin-top: 74px; }

  .wrap { padding: 0 16px; }
  .header-inner { min-height: 58px; gap: 12px; }
  .brand-logo { width: 38px; height: 38px; border-radius: 10px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { display: none; }
  /* 底部行动栏常驻,页头再放一个绿按钮只是重复占地方 */
  .header-cta { display: none; }

  .hero { padding: 26px 0 38px; }
  h1 { font-size: clamp(1.72rem, 8.4vw, 2.3rem); text-shadow: -2px 0 0 rgba(37, 244, 238, .5), 2px 0 0 rgba(254, 44, 85, .5); }
  .eyebrow { font-size: .8rem; padding: 5px 12px; margin-bottom: 12px; }
  .lede { font-size: 1rem; }
  .hero-shot img { border-radius: 14px; box-shadow: 7px 7px 0 rgba(254, 44, 85, .45), -7px -7px 0 rgba(37, 244, 238, .3); }
  .hero-shot figcaption, .shot figcaption { font-size: .82rem; margin-top: 12px; }
  .hero-actions { margin: 4px 0 18px; gap: 10px; width: 100%; }
  .hero-actions .btn { width: 100%; }

  /* 卖点胶囊 2×2:一屏看完,不用横向扫 */
  .hero-badges {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    font-size: .92rem; margin: 0 0 26px; width: 100%;
  }
  .hero-badges li { justify-content: center; padding: 9px 10px; }

  /* 利益点手机竖排:左竖条样式天然适合纵向堆叠 */
  .perks-band { padding: 20px 0; }
  .perks { grid-template-columns: 1fr; gap: 14px; }
  .perks strong { font-size: .98rem; }
  .perks small { font-size: .8rem; }

  .section { padding: 40px 0; }
  .section-sub { font-size: .95rem; margin-bottom: 1.8em; }

  /* 优势卡单列:序号在左、文字在右,窄屏不挤 */
  .grid-4 { grid-template-columns: 1fr; gap: 12px; }
  .card { display: grid; grid-template-columns: 56px 1fr; gap: 0 14px; padding: 18px; align-items: start; }
  .card-no { margin-bottom: 0; grid-row: span 2; font-size: 1.8rem; align-self: center; }
  .card h3 { margin-bottom: .25em; align-self: center; }
  .card p { grid-column: 2; font-size: .94rem; }

  /* 品类封面卡保持双列:手机逛货架就是这个手势 */
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { border-radius: 14px; }
  .tile-body { padding: 30px 12px 11px; }
  .tile-body h3 { font-size: .98rem; }
  .tile-body p { font-size: .76rem; line-height: 1.55; }
  .goods-cta { margin-top: 22px; }
  .goods-cta .btn { width: 100%; }

  .grid-2 { grid-template-columns: 1fr; }
  .showcase img { border-radius: 14px; box-shadow: 6px 6px 0 rgba(254, 44, 85, .35), -6px -6px 0 rgba(37, 244, 238, .25); }

  .steps { gap: 20px; margin-bottom: 24px; }
  .step { padding: 26px 18px 20px; }
  .wa-num { margin-top: 12px; }
  .wa-num a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.12rem; }
  .cta-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-inner .btn { width: 100%; }

  /* 点按目标一律 ≥48px 高 */
  .faq details { padding: 0 16px; }
  .faq summary { min-height: 48px; display: flex; align-items: center; padding: 12px 30px 12px 0; }

  .footer-inner { flex-direction: column; gap: 22px; }
  .copyright { margin-top: 26px; }
  /* 页脚号码是要按的,撑到 44px 并放大字号 */
  .footer-contact a {
    display: inline-flex; align-items: center; min-height: 44px;
    margin-left: 4px;
    font-size: 1.08rem; letter-spacing: .02em;
  }
  .brand { min-height: 44px; }

  /* 悬浮按钮 → 整条底部行动栏:拇指区最好按的位置 */
  .wa-float {
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    justify-content: center;
    padding: 15px; border-radius: 14px;
    font-size: 1.05rem;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .5);
  }
  .wa-float span { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .tile:hover { transform: none; }
  .wa-float { animation: none; }
}
