/* 首页第四版（稿 240-A 电脑 1440 / 240-B 手机 390；方案 wt/www-redesign-plan-1114.md 方向 C）。只首页引用。
   颜色只用 www.css 的令牌（深色跟系统）；照片段和成品墙本来就是深底，深浅色一样。不用暖橙棕（henry 11-13）。
   类名都带 h4- 前缀，不和第三版的 .phone / .ph / .hero 撞。860 以下换手机排法（和 www.css 同一个断点）。 */

/* ---- 顶栏：首页压在首屏大图上，透明底、白字、白色 Logo ---- */
body[data-page='home'] .top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  /* 顶栏压在大图上：一层很淡的深色渐变，亮照片上白字也看得清 */
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.38), rgba(8, 10, 16, 0));
  box-shadow: none;
}
body[data-page='home'] .brand picture {
  display: none;
}
body[data-page='home'] .brand .brand__ondark {
  display: block;
  height: 36px;
}
@media (max-width: 860px) {
  body[data-page='home'] .brand .brand__ondark {
    height: 30px;
  }
}
body[data-page='home'] .top__nav a {
  color: rgba(255, 255, 255, 0.88);
}
body[data-page='home'] .top__nav a:hover {
  color: #ffffff;
}
body[data-page='home'] .top__cta {
  background: #ffffff;
  color: #111113;
}
body[data-page='home'] .top__menu span {
  background: #ffffff;
}
body[data-page='home'] .top__drawer {
  position: relative;
}

/* ---- 通用 ---- */
.h4-sec {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.h4-sec--grey {
  background: var(--bg-alt);
}
.h4-sec--dark {
  background: #0e0e10;
  color: #ffffff;
}
.h4-sec--photo {
  color: #ffffff;
  background: #0e0e10;
}
.h4-bgph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.h4-bgph--blur {
  filter: blur(18px) saturate(1.1);
  transform: scale(1.1);
}
.h4-sec--photo::before,
.h4-start::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 10, 16, 0.72);
}
.h4-sec--photo > .wrap,
.h4-start > .wrap {
  position: relative;
  z-index: 2;
}
.h4-row {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: center;
}
.h4-row--rev {
  grid-template-columns: 1fr 420px;
}
.h4-row--rev .h4-copy {
  order: 2;
}
.h4-center {
  text-align: center;
}
.h4-copy h2 {
  font-size: 56px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 20px 0;
}
.h4-copy p {
  font-size: 20px;
  line-height: 1.65;
  color: var(--text-2);
}
.h4-sec--photo .h4-copy p,
.h4-sec--dark .h4-copy p {
  color: rgba(255, 255, 255, 0.78);
}
.h4-copy .h4-num {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-3);
}
.h4-sec--photo .h4-copy .h4-num {
  color: rgba(255, 255, 255, 0.6);
}
.h4-center .h4-copy {
  max-width: 900px;
  margin: 0 auto;
}

/* 你给的 → AI → AI 做出来的 */
.h4-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.h4-give,
.h4-got {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.h4-cap {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.5px;
}
.h4-sec--photo .h4-cap,
.h4-sec--dark .h4-cap {
  color: rgba(255, 255, 255, 0.65);
}
.h4-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--brand);
}
.h4-arrow span {
  width: 2px;
  height: 28px;
  background: currentColor;
  opacity: 0.35;
}
.h4-arrow b {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(31, 85, 214, 0.35);
}
.h4-sec--photo .h4-arrow {
  color: #afc4ff;
}
.h4-sec--photo .h4-arrow b {
  background: #1f55d6;
  color: #ffffff;
}
.h4-snap {
  width: 220px;
  height: 290px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  transform: rotate(-3deg);
}
.h4-snaps {
  display: grid;
  grid-template-columns: repeat(3, 96px);
  gap: 10px;
}
.h4-snaps img {
  width: 96px;
  height: 128px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.h4-snaps img:nth-child(2) {
  transform: translateY(18px);
}
.h4-say {
  max-width: 300px;
  background: var(--card);
  color: var(--text-1);
  border-radius: 22px 22px 6px 22px;
  padding: 18px 20px;
  font-size: 19px;
  line-height: 1.5;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.14);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}
.h4-mic {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--brand);
  position: relative;
}
.h4-mic::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 8px;
  width: 10px;
  height: 15px;
  border-radius: 5px;
  background: var(--on-brand);
}
.h4-mic::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 23px;
  width: 2px;
  height: 6px;
  background: var(--on-brand);
}
.h4-gen {
  position: absolute;
  right: 18px;
  top: -14px;
  z-index: 4;
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #1f55d6;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(31, 85, 214, 0.35);
}

/* ---- iPhone 样式手机框：钛金属边 + 黑边 + 灵动岛 + 状态栏 + 侧键 + 底部横条；屏幕统一 9:19.5，截图不拉伸 ---- */
.h4-phone {
  position: relative;
  width: 300px;
  border-radius: 54px;
  padding: 11px;
  background: linear-gradient(145deg, #4a4a4f, #1c1c1f 40%, #2b2b2f 70%, #5a5a60);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.12),
    0 30px 70px rgba(0, 0, 0, 0.28);
  text-align: left;
}
.h4-phone::before,
.h4-phone::after {
  content: '';
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #3a3a3f;
}
.h4-phone::before {
  left: -3px;
  top: 110px;
  height: 58px;
  box-shadow: 0 -46px 0 0 #3a3a3f;
}
.h4-phone::after {
  right: -3px;
  top: 150px;
  height: 82px;
}
.h4-scr {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 43px;
  overflow: hidden;
  background: #ffffff;
  color: #111113;
  box-shadow: 0 0 0 2px #0a0a0b;
}
.h4-scr > img {
  display: block;
  width: 100%;
  height: auto;
}
.h4-scr::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 3;
  width: 34%;
  height: 5px;
  margin-left: -17%;
  border-radius: 3px;
  background: #111113;
  opacity: 0.8;
  pointer-events: none;
}
.h4-island {
  position: absolute;
  left: 50%;
  top: 11px;
  z-index: 4;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  border-radius: 14px;
  background: #000000;
}
.h4-sb {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 26px 0 30px;
  font-size: 14px;
  font-weight: 600;
  color: #111113;
}
.h4-ic {
  display: flex;
  gap: 5px;
  align-items: center;
}
.h4-sig {
  width: 17px;
  height: 11px;
  background: currentColor;
  clip-path: polygon(
    0 70%,
    20% 70%,
    20% 100%,
    0 100%,
    0 70%,
    27% 45%,
    47% 45%,
    47% 100%,
    27% 100%,
    27% 45%,
    54% 22%,
    74% 22%,
    74% 100%,
    54% 100%,
    54% 22%,
    81% 0,
    100% 0,
    100% 100%,
    81% 100%
  );
}
.h4-bat {
  width: 24px;
  height: 11.5px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  position: relative;
}
.h4-bat::after {
  content: '';
  position: absolute;
  left: 1.5px;
  top: 1.5px;
  bottom: 1.5px;
  width: 70%;
  background: currentColor;
  border-radius: 1.5px;
}
/* 整屏视频（短视频、一周内容）：状态栏压在画面上 */
.h4-phone--full .h4-scr {
  background: #0b0b0c;
}
.h4-phone--full .h4-scr::after {
  background: #ffffff;
  opacity: 0.85;
}
.h4-phone--full .h4-sb {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  color: #ffffff;
  pointer-events: none;
}
.h4-scr > video.svideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0b0b0c;
}
.h4-scr .vplay {
  z-index: 2;
}
.h4-scr .vmute {
  top: 48px;
  bottom: auto;
  right: 12px;
  z-index: 4;
}
.h4-post {
  text-align: left;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 48px 16px 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  pointer-events: none;
}
.h4-post i {
  font-style: normal;
  opacity: 0.85;
}
.h4-post b {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}
.h4-pub {
  margin-top: 10px;
  height: 40px;
  border-radius: 999px;
  background: #ffffff;
  color: #111113;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}
.h4-pub small {
  font-size: 11px;
  font-weight: 400;
  color: #6b6b73;
  margin-left: 6px;
}
/* 朋友圈列表 */
.h4-mbar {
  position: relative;
  z-index: 1;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  background: #ffffff;
  border-bottom: 1px solid #efeff1;
}
.h4-phone--feed .h4-scr > img {
  margin-top: -28px;
}
.h4-phone--feed .h4-scr > img + img {
  margin-top: -96px;
}

/* ---- 1 首屏 ---- */
.h4-hero {
  position: relative;
  height: max(640px, min(100vh, 900px));
  color: #ffffff;
  overflow: hidden;
  background: #1a1a1d;
}
.h4-hero__bg,
.h4-slide,
.h4-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.h4-slide img {
  object-fit: cover;
}
.h4-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.h4-slide.is-on {
  opacity: 1;
}
.h4-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(8, 10, 16, 0.78) 0%,
      rgba(8, 10, 16, 0.55) 38%,
      rgba(8, 10, 16, 0) 66%
    ),
    linear-gradient(0deg, rgba(8, 10, 16, 0.45) 0%, rgba(8, 10, 16, 0) 30%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.4) 0, rgba(8, 10, 16, 0) 160px);
}
.h4-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
}
/* 「Siwork AI」做大（洪总：SiworkAI 大，巨正科技小），后面跟一句小字 */
.h4-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.h4-eyebrow b {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.h4-eyebrow span {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  opacity: 0.85;
}
.h4-hero__title {
  font-size: 64px;
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 20px 0 26px;
}
.h4-hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, #a9c1ff 0%, #ffffff 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h4-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.h4-caps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 13px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.h4-caps svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.h4-hero__lead {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 36px;
}
.h4-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.h4-btn--white {
  background: #ffffff;
  color: #111113;
  gap: 8px;
}
.h4-btn--line {
  color: #ffffff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6);
}
.h4-hero__foot {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.h4-ind {
  font-size: 15px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.45);
  padding: 7px 14px;
  border-radius: 999px;
}
.h4-nav {
  flex: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  cursor: pointer;
  position: relative;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}
.h4-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}
.h4-nav:focus-visible,
.h4-dots button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.h4-nav::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-30%, -50%) rotate(45deg);
}
.h4-nav--next::before {
  transform: translate(-70%, -50%) rotate(-135deg);
}
.h4-nav[hidden] {
  display: none;
}
.h4-ind {
  min-width: 5.5em;
  text-align: center;
}
.h4-dots {
  display: flex;
  margin-left: 4px;
}
/* 圆点点按范围 24×24，看得见的点在里面的 i 上 */
.h4-dots button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  min-width: 18px;
  padding: 0 5px;
  border: 0;
  background: none;
  cursor: pointer;
}
.h4-dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s ease;
}
.h4-dots button:hover i {
  background: rgba(255, 255, 255, 0.8);
}
.h4-dots .is-on i {
  width: 32px;
  background: #ffffff;
}
.h4-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  font-size: 12px;
  color: #ffffff;
  background: var(--badge-bg);
  padding: 4px 10px;
  border-radius: 999px;
}
.h4-bubble {
  position: absolute;
  z-index: 4;
  right: 330px;
  bottom: 300px;
  background: #ffffff;
  color: #111113;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 18px 18px 4px 18px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 10px;
}
.h4-bubble i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ok);
}
.h4-b-done,
.h4-b-hi {
  display: none;
}
.h4-zz[data-motion='celebrate'] ~ .h4-bubble .h4-b-work,
.h4-zz[data-motion='wave'] ~ .h4-bubble .h4-b-work {
  display: none;
}
.h4-zz[data-motion='celebrate'] ~ .h4-bubble .h4-b-done,
.h4-zz[data-motion='wave'] ~ .h4-bubble .h4-b-hi {
  display: inline;
}

/* ---- 招招：官方 PNG + LED 表情（兜底），能合成视频时换方案 D 动态视频（home.js） ---- */
.h4-zz {
  position: absolute;
  z-index: 3;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.h4-zz:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
  border-radius: 24px;
}
.h4-zz--hero {
  right: 120px;
  bottom: 60px;
  width: 280px;
  height: 280px;
}
.h4-zz__in {
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
  animation: h4-float 4s ease-in-out infinite;
}
.h4-zz__png {
  position: absolute;
  left: 50%;
  top: 6%;
  height: 88%;
  width: auto;
  transform: translateX(-50%);
}
.h4-zz__cv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.h4-zz.is-video .h4-zz__png {
  visibility: hidden;
}
.h4-zz.is-video .h4-zz__in {
  animation: none;
}
.h4-zz.is-wave .h4-zz__in {
  animation: h4-wave 1.2s ease-out;
}
.h4-zz.is-celebrate .h4-zz__in {
  animation: h4-jump 1.4s ease-out 2;
}
@keyframes h4-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes h4-wave {
  0%,
  100% {
    transform: rotate(0);
  }
  20% {
    transform: rotate(-8deg);
  }
  40% {
    transform: rotate(6deg);
  }
  60% {
    transform: rotate(-4deg);
  }
}
@keyframes h4-jump {
  0%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-16px) scale(1.04);
  }
  55% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-6px);
  }
}

/* ---- 4 一周 ---- */
.h4-week {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  margin-top: 64px;
  padding: 16px 0 8px;
}
.h4-wk {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.h4-wk__d {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.h4-wk__d b {
  font-weight: 600;
}
.h4-wk__d span {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: var(--soft-blue);
  padding: 3px 9px;
  border-radius: 9px;
}
.h4-wk__s {
  font-size: 14px;
  color: var(--text-3);
}
.h4-wk .h4-phone {
  width: 196px;
  border-radius: 38px;
  padding: 7px;
}
.h4-wk .h4-scr {
  border-radius: 32px;
}
.h4-wk .h4-island {
  width: 62px;
  height: 18px;
  margin-left: -31px;
  top: 8px;
}
.h4-wk .h4-sb {
  height: 32px;
  font-size: 11px;
  padding: 4px 16px 0 22px;
}
.h4-wk .h4-ic {
  gap: 3px;
  transform: scale(0.75);
  transform-origin: right center;
}
.h4-wk .h4-phone::before {
  top: 76px;
  height: 38px;
  box-shadow: 0 -32px 0 0 #3a3a3f;
}
.h4-wk .h4-phone::after {
  top: 100px;
  height: 56px;
}
.h4-wk .h4-post {
  padding: 40px 12px 18px;
}
.h4-wk .h4-post b {
  font-size: 13px;
}
.h4-wk .h4-pub {
  height: 32px;
  font-size: 13px;
}
.h4-wk .vplay::before {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
}
.h4-wk .vmute {
  top: 34px;
}
.h4-wk--today .h4-phone {
  width: 244px;
  border-radius: 46px;
  padding: 9px;
}
.h4-wk--today .h4-scr {
  border-radius: 38px;
}
.h4-wk--today .h4-wk__d b,
.h4-wk--today .h4-wk__s {
  color: var(--brand);
  font-weight: 600;
}

/* ---- 5 招呼顾客 ---- */
.h4-night {
  margin-top: 28px;
  font-size: 16px;
}
.h4-night b {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
}
.h4-pair {
  display: flex;
  gap: 28px;
  align-items: flex-end;
  justify-content: center;
}
.h4-pair .h4-phone {
  width: 280px;
}
.h4-pair .h4-phone:first-child {
  transform: translateY(-36px);
}
.h4-notif {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 34px;
  z-index: 2;
  background: #ffffff;
  color: #111113;
  border-radius: 18px;
  padding: 12px 12px 10px;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}
.h4-notif__h {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #6b6b73;
}
.h4-notif__h img {
  width: 18px;
  height: auto;
}
.h4-notif__h b {
  color: #111113;
  font-weight: 600;
}
.h4-notif__h span {
  margin-left: auto;
}
.h4-notif__t {
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
}
.h4-notif__d {
  font-size: 11.5px;
  line-height: 1.4;
  color: #5b5b63;
  margin-top: 3px;
}
.h4-notif__b {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}
.h4-notif__b span {
  flex: 1;
  height: 26px;
  border-radius: 13px;
  background: #f6f6f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}
.h4-notif__b .on {
  background: #1f55d6;
  color: #ffffff;
}

/* ---- 7 不用学 ---- */
.h4-sec--say {
  background: linear-gradient(180deg, var(--soft-blue) 0%, var(--bg) 100%);
}
.h4-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
}
.h4-copy .h4-chip {
  color: var(--brand);
  font-size: 15px;
}
.h4-chip svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
/* 店铺官网屏：顾客搜得到你（示意搜索卡 + 三条说明） */
.h4-found {
  position: relative;
  margin-top: 28px;
  max-width: 420px;
  padding: 14px 16px 16px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.h4-copy .h4-found__q {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: 15px;
  line-height: 1.3;
  color: var(--text-1);
}
.h4-found__ic {
  flex: none;
  width: 14px;
  height: 14px;
  border: 2px solid var(--text-3);
  border-radius: 50%;
  position: relative;
}
.h4-found__ic::after {
  content: '';
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 6px;
  height: 2px;
  background: var(--text-3);
  transform: rotate(45deg);
}
.h4-copy .h4-found__r {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  font-size: 14px;
  line-height: 1.5;
}
.h4-found__r b {
  display: block;
  font-size: 16px;
  color: var(--brand);
}
.h4-found__r span {
  color: var(--text-2);
}
.h4-found .h4-found__badge {
  background: #5b5b63;
  top: 14px;
  right: 14px;
  bottom: auto;
  font-size: 11px;
  padding: 2px 8px;
}
.h4-found__list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.h4-found__list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}
.h4-found__list li + li {
  margin-top: 6px;
}
.h4-found__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}
.h4-mbr {
  display: none;
}
.h4-say__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 64px;
}
.h4-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  margin-top: 6px;
}
.h4-wave i {
  width: 4px;
  border-radius: 2px;
  background: var(--brand);
  opacity: 0.75;
  height: 12px;
}
.h4-wave i:nth-child(3n + 1) {
  height: 22px;
}
.h4-wave i:nth-child(4n + 2) {
  height: 26px;
}
.h4-wave i:nth-child(5n) {
  height: 8px;
}
.h4-nos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.h4-nos li {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 10px 18px;
  border-radius: 999px;
}

/* ---- 8 成品墙 ---- */
.h4-wall {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 56px 16px;
  margin-top: 56px;
}
.h4-tile {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #222225;
}
.h4-tile:nth-child(even) {
  transform: translateY(28px);
}
.h4-tile > video.svideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #222225;
}
.h4-tile .vplay::before {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
}
.h4-tile .h4-gen {
  left: 10px;
  right: auto;
  top: 10px;
  height: 22px;
  padding: 0 8px;
  font-size: 12px;
  background: var(--badge-bg);
  box-shadow: none;
  pointer-events: none;
}
.h4-tile figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 10px;
  border-radius: 10px;
  pointer-events: none;
}
.h4-tile figcaption a {
  display: inline-block;
  margin: -8px -10px;
  padding: 8px 10px;
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}
.h4-tile figcaption a:hover,
.h4-tile figcaption a:focus-visible {
  text-decoration: underline;
}
.h4-tile .vmute {
  bottom: auto;
  top: 10px;
  right: 10px;
}
.h4-wall__note {
  margin-top: 64px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.h4-wall__note a {
  display: inline-block;
  padding: 12px 4px;
  margin: -12px 0 -12px 2px;
  color: #afc4ff;
  font-weight: 600;
}

/* ---- 9 下载 App（11-15 起不放二维码：卡片是 App 图标 + 下载按钮） ---- */
.h4-start {
  position: relative;
  padding: 130px 0;
  color: #ffffff;
  overflow: hidden;
  background: #1a1a1d;
}
.h4-start::before {
  background: linear-gradient(90deg, rgba(8, 10, 16, 0.8), rgba(8, 10, 16, 0.45));
}
.h4-start__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.h4-start h2 {
  font-size: 64px;
  font-weight: 600;
  line-height: 1.15;
}
.h4-start p {
  font-size: 22px;
  opacity: 0.88;
  margin-top: 20px;
  line-height: 1.6;
}
.h4-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: h4s;
  font-size: 17px;
}
.h4-steps li {
  counter-increment: h4s;
  display: flex;
  align-items: center;
}
.h4-steps li::before {
  content: counter(h4s);
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  color: #111113;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  margin-right: 8px;
}
.h4-qr {
  position: relative;
  flex: none;
  width: 300px;
  background: #ffffff;
  color: #111113;
  border-radius: 28px;
  padding: 28px;
  text-align: center;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.18);
}
.h4-qr__icon {
  display: block;
  width: 104px;
  height: 104px;
  margin: 12px auto 0;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(17, 17, 19, 0.14);
}
.h4-qr__btn {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 22px;
  background: #111113;
  color: #ffffff;
}
.h4-qr__btn.btn--off {
  background: #ececef;
  color: #5b5b63;
  cursor: not-allowed;
}
.h4-qr__t1 {
  font-size: 19px;
  font-weight: 600;
  margin-top: 18px;
}
.h4-start .h4-qr p {
  opacity: 1;
  line-height: 1.4;
}
.h4-qr .h4-qr__t1 {
  font-size: 19px;
}
.h4-qr .h4-qr__t2 {
  font-size: 14px;
  color: #6b6b73;
  margin-top: 6px;
}
.h4-qr__dl {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 600;
  color: #1f55d6;
}
.h4-zz--qr {
  right: -56px;
  top: -118px;
  width: 150px;
  height: 150px;
}

/* ---- 电脑窄屏 ---- */
@media (min-width: 861px) and (max-width: 1199px) {
  .h4-row,
  .h4-row--rev {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .h4-row--rev .h4-copy {
    order: 0;
  }
  .h4-zz--hero {
    right: 40px;
    width: 220px;
    height: 220px;
  }
  /* 这一档文字区宽，气泡放招招头顶，不往左伸进文字 */
  .h4-bubble {
    right: 60px;
    bottom: 290px;
  }
  .h4-week,
  .h4-wall {
    gap: 16px;
  }
  .h4-week {
    justify-content: flex-start;
    overflow-x: auto;
    padding-left: 40px;
    padding-right: 40px;
  }
  .h4-wall {
    grid-template-columns: repeat(5, 1fr);
    gap: 40px 14px;
  }
}

/* ---- 手机 390（240-B） ---- */
@media (max-width: 860px) {
  .h4-sec {
    padding: 72px 0;
  }
  .h4-row,
  .h4-row--rev {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .h4-row--rev .h4-copy {
    order: 0;
  }
  .h4-copy h2 {
    font-size: 34px;
    margin: 16px 0 14px;
  }
  .h4-copy p {
    font-size: 17px;
  }
  .h4-mbr {
    display: inline;
  }
  .h4-flow {
    flex-direction: column;
    gap: 16px;
  }
  .h4-arrow {
    flex-direction: row;
  }
  .h4-arrow span {
    width: 28px;
    height: 2px;
  }
  .h4-arrow b {
    width: 48px;
    height: 48px;
    font-size: 17px;
  }
  .h4-snap {
    width: 170px;
    height: 224px;
  }
  .h4-snaps {
    grid-template-columns: repeat(3, 84px);
  }
  .h4-snaps img {
    width: 84px;
    height: 112px;
  }
  .h4-say {
    font-size: 17px;
  }
  .h4-say--big {
    max-width: 300px;
  }
  .h4-phone {
    width: 250px;
    border-radius: 46px;
    padding: 9px;
  }
  .h4-scr {
    border-radius: 37px;
  }
  .h4-sb {
    height: 40px;
    font-size: 13px;
    padding: 5px 22px 0 26px;
  }
  .h4-island {
    width: 80px;
    height: 24px;
    margin-left: -40px;
    top: 9px;
  }

  /* 手机首屏（用户 11-14 晚真机：招招压住「给老板用的 AI」和标题）：顶栏下面给招招和气泡留一块，
     文字从这块下面开始；字大、换行时首屏往下长，不往上顶，招招永远不压字 */
  .h4-hero {
    height: auto;
    min-height: 780px;
  }
  .h4-hero::before {
    background:
      linear-gradient(
        0deg,
        rgba(8, 10, 16, 0.88) 0%,
        rgba(8, 10, 16, 0.6) 45%,
        rgba(8, 10, 16, 0.05) 72%
      ),
      linear-gradient(180deg, rgba(8, 10, 16, 0.5) 0, rgba(8, 10, 16, 0) 110px);
  }
  .h4-hero__inner {
    height: auto;
    min-height: 780px;
    justify-content: flex-end;
    padding-top: 236px;
    padding-bottom: 96px;
  }
  .h4-eyebrow b {
    font-size: 30px;
  }
  .h4-eyebrow span {
    font-size: 13px;
  }
  .h4-hero__title {
    font-size: 38px;
    margin: 12px 0 16px;
  }
  .h4-caps {
    gap: 8px;
    margin-bottom: 16px;
  }
  .h4-caps li {
    height: 34px;
    font-size: 14px;
    padding: 0 12px 0 10px;
  }
  .h4-caps svg {
    width: 16px;
    height: 16px;
  }
  .h4-hero__lead {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .h4-hero__btns {
    flex-direction: column;
    gap: 12px;
  }
  .h4-hero__btns .btn {
    width: 100%;
    height: 50px;
  }
  .h4-hero__foot {
    bottom: 28px;
    gap: 10px;
  }
  .h4-dots {
    display: none;
  }
  .h4-nav {
    width: 36px;
    height: 36px;
  }
  .h4-zz--hero {
    width: 150px;
    height: 150px;
    right: 8px;
    bottom: auto;
    top: 72px;
  }
  .h4-bubble {
    right: 138px;
    bottom: auto;
    top: 118px;
    font-size: 13px;
    padding: 9px 12px;
  }

  .h4-week {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 16px;
    margin-top: 36px;
    padding: 6px 20px 16px;
    scroll-snap-type: x mandatory;
  }
  .h4-wk {
    scroll-snap-align: center;
  }
  .h4-wk .h4-phone {
    width: 160px;
  }
  .h4-wk--today .h4-phone {
    width: 200px;
  }
  /* 手机上小手机框：状态栏跟着缩，时间和图标不钻到灵动岛底下 */
  .h4-wk .h4-sb,
  .h4-pair .h4-sb {
    height: 26px;
    font-size: 9px;
    padding: 3px 12px 0 16px;
  }
  .h4-wk .h4-island,
  .h4-pair .h4-island {
    width: 46px;
    height: 14px;
    margin-left: -23px;
    top: 7px;
  }
  .h4-wk .h4-ic,
  .h4-pair .h4-ic {
    gap: 2px;
    transform: scale(0.6);
    transform-origin: right center;
  }

  .h4-pair {
    gap: 12px;
  }
  .h4-pair .h4-phone {
    width: 170px;
    border-radius: 32px;
    padding: 6px;
  }
  .h4-pair .h4-scr {
    border-radius: 27px;
  }
  .h4-pair .h4-sb {
    height: 28px;
    font-size: 10px;
    padding: 3px 14px 0 18px;
  }
  .h4-pair .h4-island {
    width: 52px;
    height: 16px;
    margin-left: -26px;
    top: 7px;
  }
  .h4-pair .h4-phone:first-child {
    transform: none;
  }
  .h4-pair .h4-gen {
    top: -12px;
    right: 10px;
    height: 24px;
    font-size: 11px;
    padding: 0 9px;
  }
  .h4-pair .h4-phone::before,
  .h4-pair .h4-phone::after {
    display: none;
  }
  .h4-notif {
    left: 6px;
    right: 6px;
    bottom: 20px;
    padding: 8px 8px 7px;
    border-radius: 12px;
  }
  .h4-notif__h {
    font-size: 9px;
  }
  .h4-notif__h img {
    width: 12px;
  }
  .h4-notif__t {
    font-size: 10.5px;
    margin-top: 4px;
  }
  .h4-notif__d {
    font-size: 9px;
  }
  .h4-notif__b {
    margin-top: 6px;
  }
  .h4-notif__b span {
    height: 20px;
    font-size: 9.5px;
  }

  .h4-say__stage {
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
  }
  .h4-nos {
    gap: 10px;
    margin-top: 28px;
  }
  .h4-nos li {
    font-size: 15px;
    padding: 8px 14px;
  }

  .h4-wall {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 10px;
    margin-top: 32px;
  }
  .h4-tile:nth-child(even) {
    transform: none;
  }
  .h4-tile:nth-child(3n + 2) {
    transform: translateY(18px);
  }
  .h4-tile:nth-child(n + 10) {
    display: none;
  }
  .h4-wall__note {
    margin-top: 40px;
  }

  .h4-start {
    padding: 80px 0;
  }
  .h4-start::before {
    background: rgba(8, 10, 16, 0.72);
  }
  .h4-start__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }
  .h4-start h2 {
    font-size: 38px;
  }
  .h4-start p {
    font-size: 17px;
  }
  .h4-steps {
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
    margin-top: 28px;
  }
  .h4-qr {
    width: 100%;
  }
  .h4-zz--qr {
    right: -6px;
    top: -104px;
    width: 124px;
    height: 124px;
  }
}

/* 减弱动态：招招不浮、不招手；首屏不换图（home.js 也会停）；视频照样点了才播 */
@media (prefers-reduced-motion: reduce) {
  .h4-zz__in,
  .h4-zz.is-wave .h4-zz__in,
  .h4-zz.is-celebrate .h4-zz__in {
    animation: none;
  }
  .h4-slide {
    transition: none;
  }
}

/* ===== 招招会客厅入群码（11-20 伊川定，D-062）：手机/电脑说明开关 + 首页一屏 #lounge ===== */
/* 手机 / 电脑各自显示的说明 */
.lg-m {
  display: none;
}
@media (max-width: 860px) {
  .lg-pc {
    display: none;
  }
  .lg-m {
    display: block;
  }
}

/* ---------- 放法一：成品墙和下载屏之间加一屏 ---------- */
.h4-lounge {
  background: var(--bg-alt);
}
.h4-lounge__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}
.h4-lounge .h4-copy {
  max-width: 640px;
}
.h4-lounge__list {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
  color: var(--text-1);
}
.h4-lounge__list li {
  display: flex;
  align-items: center;
}
.h4-lounge__list li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
  margin-right: 14px;
}
.h4-lounge__card {
  flex: none;
  width: 320px;
  margin: 0;
  background: #ffffff;
  color: #111113;
  border-radius: 28px;
  padding: 32px 28px 28px;
  text-align: center;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.1);
}
.h4-lounge__qr {
  display: block;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}
.h4-lounge__name {
  display: block;
  font-size: 19px;
  font-weight: 600;
  margin-top: 18px;
}
.h4-lounge__hint {
  font-size: 14px;
  color: #6b6b73;
  margin-top: 6px;
  line-height: 1.5;
}
.h4-lounge__save {
  margin-top: 18px;
  width: 100%;
  background: #ffffff;
  color: #111113;
  box-shadow: inset 0 0 0 1px #e4e4e7;
}

@media (max-width: 860px) {
  .h4-lounge {
    padding: 72px 0;
  }
  .h4-lounge__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }
  .h4-lounge .h4-copy h2 {
    font-size: 34px;
    margin: 14px 0;
  }
  .h4-lounge .h4-copy p {
    font-size: 17px;
  }
  .h4-lounge__list {
    margin-top: 24px;
    gap: 12px;
    font-size: 16px;
  }
  .h4-lounge__card {
    width: 100%;
    padding: 28px 24px 24px;
  }
  .h4-lounge__qr {
    width: 200px;
    height: 200px;
  }
  .h4-lounge__save.lg-m {
    display: flex;
  }
}
