/* =========================================================
   wx-v2.css — 微信会员营销系统 产品页（胭脂玫瑰 · 对话气泡叙事）
   差异化：深胭脂底 + 玫瑰强调；Hero 右侧 CSS 微信对话面板；
   功能块以「对话气泡卡 + 截图」左右交替推进三大价值
   ========================================================= */

:root {
  --wx-deep: #38101d;   /* 深胭脂 */
  --wx: #4a1626;
  --rose: #c34a68;      /* 胭脂玫瑰 */
  --rose-2: #e07d94;    /* 亮玫瑰（深底用） */
  --paper: #fdf9f8;
  --ink: #26141a;
  --ink-2: #4a333c;
  --muted: #7d646d;
  --hair: rgba(38, 20, 26, .12);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------- 小标 -------- */
.whero .eyebrow,
.whead .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--rose-2);
  font: 600 11px/1.4 Arial, sans-serif;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.whead .eyebrow { color: var(--rose); margin-bottom: 14px; }
.whero .eyebrow:before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

/* =========================================================
   Hero：深胭脂 + 实景门店 + 左文案右对话面板
   ========================================================= */
.whero {
  position: relative;
  color: #fff;
  padding: 172px 0 116px;
  background:
    linear-gradient(100deg, rgba(45, 13, 23, .95) 28%, rgba(45, 13, 23, .72) 60%, rgba(45, 13, 23, .34) 100%),
    url('../img/wx/hero-wx.jpg') right center / cover no-repeat,
    var(--wx-deep);
}
.whero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 384px;
  gap: 64px;
  align-items: center;
}
.whero h1 {
  margin: 0 0 8px;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.14;
  letter-spacing: -.035em;
  font-weight: 700;
}
.whero h1 em {
  display: block;
  margin-top: 16px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .76);
}
.wactions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.whero .btn-primary { background: var(--rose); color: #fff; box-shadow: none; }
.whero .btn-primary:hover { background: #d55f7c; }
.whero .btn-ghost { border-color: rgba(255, 255, 255, .38); color: #fff; }
.whero .btn-ghost:hover { background: #fff; color: var(--wx-deep); }

/* -------- 微信对话面板（CSS 重绘） -------- */
.wchat {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(46, 14, 25, .6);
  backdrop-filter: blur(5px);
  padding: 18px 20px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.wchat-top {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .72);
}
.wchat-body { padding-top: 14px; }
.wb {
  max-width: 82%;
  margin: 10px 0;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
}
.wb.left {
  margin-right: auto;
  border-top-left-radius: 4px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .9);
}
.wb.right {
  margin-left: auto;
  border-top-right-radius: 4px;
  background: var(--rose);
  color: #fff;
}
.wsys {
  padding: 6px 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .48);
}

/* =========================================================
   居中分区头（无横线）
   ========================================================= */
.wsec { padding: 92px 0; }
.whead { text-align: center; margin-bottom: 44px; }
.whead h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.028em;
  font-weight: 700;
  color: var(--ink);
}
.wlead {
  margin: -20px auto 0;
  max-width: 620px;
  text-align: center;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

/* =========================================================
   适用对象 + 部分功能（米纸底，居中打勾清单）
   ========================================================= */
.wfeat-sec { background: var(--paper); }
.wfeat-label {
  margin: 52px 0 6px;
  text-align: center;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
}
.wfeat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 26px;
  max-width: 860px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.wfeat li {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
  color: var(--ink-2);
  font-size: 15px;
}
.wfeat li:before {
  content: "";
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c34a68' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5.5 5.5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* =========================================================
   三大应用价值：幕标题 + 气泡卡/截图交替
   ========================================================= */
.wvalue { background: #fff; }
.wact + .wact { margin-top: 88px; }
.wact-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 44px;
  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
}
.wact-head:before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--rose);
}
.wblk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 452px);
  gap: 58px;
  align-items: center;
}
.wblk + .wblk { margin-top: 56px; }
.wblk.flip .wblk-copy { order: 2; }
.wblk.flip .wblk-shot { order: 1; }
.wblk-copy {
  position: relative;
  padding: 30px 34px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: var(--paper);
}
.wblk-copy:before {
  content: "";
  position: absolute;
  top: 42px;
  right: -7px;
  width: 12px;
  height: 12px;
  background: var(--paper);
  border-top: 1px solid var(--hair);
  border-right: 1px solid var(--hair);
  transform: rotate(45deg);
}
.wblk.flip .wblk-copy:before {
  right: auto;
  left: -7px;
  border-top: 0;
  border-right: 0;
  border-bottom: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}
.wblk-copy h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.wblk-copy p {
  margin: 0 0 8px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.85;
}
.wblk-copy p:last-child { margin-bottom: 0; }
.wblk-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--hair);
  background: #fff;
  box-shadow: 0 16px 44px rgba(38, 20, 26, .1);
}
.wblk-shot img + img { margin-top: 22px; }

/* =========================================================
   CTA：深胭脂 + 玫瑰微光
   ========================================================= */
.wcta {
  padding: 100px 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(640px 280px at 50% 0%, rgba(195, 74, 104, .22), transparent 70%),
    var(--wx-deep);
}
.wcta-inner { max-width: 600px; margin: 0 auto; }
.wcta h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.025em;
  font-weight: 700;
}
.wcta p {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, .74);
  font-size: 15.5px;
  line-height: 1.9;
}
.wcta .wactions { justify-content: center; margin-top: 0; }
.wcta .btn-primary { background: var(--rose); color: #fff; box-shadow: none; }
.wcta .btn-primary:hover { background: #d55f7c; }
.wcta .btn-ghost { border-color: rgba(255, 255, 255, .38); color: #fff; }
.wcta .btn-ghost:hover { background: #fff; color: var(--wx-deep); }

/* =========================================================
   响应式（用户移动设备约 900px：布局塌缩放 1024 断点）
   ========================================================= */
@media (max-width: 1024px) {
  .whero {
    padding: 148px 0 88px;
    background:
      linear-gradient(180deg, rgba(45, 13, 23, .94) 0%, rgba(45, 13, 23, .8) 62%, rgba(45, 13, 23, .92) 100%),
      url('../img/wx/hero-wx.jpg') right center / cover no-repeat,
      var(--wx-deep);
  }
  .whero-inner { grid-template-columns: 1fr; gap: 40px; }
  .wchat { display: none; }
  .wfeat { grid-template-columns: repeat(3, 1fr); gap: 2px 18px; }
  .wblk { grid-template-columns: 1fr; gap: 30px; }
  .wblk.flip .wblk-copy { order: 0; }
  .wblk.flip .wblk-shot { order: 1; }
  .wblk-copy { padding: 24px 26px; }
  .wblk-copy:before { display: none; }
  .wblk + .wblk { margin-top: 44px; }
  .wact + .wact { margin-top: 64px; }
}
@media (max-width: 600px) {
  .whero { padding: 118px 0 66px; }
  .whero h1 { font-size: 34px; }
  .whero h1 em { font-size: 15.5px; margin-top: 12px; }
  .wactions { margin-top: 28px; }
  .wsec { padding: 62px 0; }
  .whead { margin-bottom: 34px; }
  .whead h2 { font-size: 24px; }
  .wlead { font-size: 14px; }
  .wfeat { grid-template-columns: repeat(2, 1fr); gap: 0 12px; }
  .wfeat li { font-size: 14px; padding: 10px 0; }
  .wfeat-label { margin-top: 40px; }
  .wact-head { font-size: 20px; margin-bottom: 32px; }
  .wblk-copy h3 { font-size: 17px; }
  .wblk-copy p { font-size: 13.5px; }
  .wcta { padding: 68px 0; }
  .wcta h2 { font-size: 22px; }
  .wcta p { font-size: 14px; }
}

/* 顶栏渐变跟随深胭脂底色 */
.site-header { background: linear-gradient(180deg, rgba(45, 13, 23, .68), rgba(45, 13, 23, 0)); }
