/* =========================================================
   相喜 · 官网样式
   Palette: 暖橘粉 / 奶油白
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

:root {
  --coral: #FF6B5B;
  --coral-2: #FF7BA8;
  --rose: #F8456B;
  --peach: #FFA96B;
  --cream: #FFF8F2;
  --cream-2: #FFF0E6;
  --ink: #2A1B1D;
  --ink-2: #6D585B;
  --ink-3: #9B8689;
  --line: rgba(42, 27, 29, .09);
  --white: #fff;
  --grad: linear-gradient(102deg, #FF5C8A 0%, #FF6B4B 52%, #FF9E5E 100%);
  --grad-soft: linear-gradient(135deg, #FFF3EC 0%, #FFE9DE 100%);
  --shadow-s: 0 2px 8px rgba(122, 61, 48, .06);
  --shadow-m: 0 12px 32px -12px rgba(122, 61, 48, .18);
  --shadow-l: 0 28px 64px -24px rgba(122, 61, 48, .26);
  --r-s: 14px;
  --r-m: 22px;
  --r-l: 30px;
  --max: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC",
          "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(255, 107, 91, .18); }

/* ---------- 通用 ---------- */
.section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 90px;
  scroll-snap-align: start;
  overflow: hidden;
}
.section-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .06em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--coral);
  text-transform: uppercase;
}
.eyebrow .idx {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .72rem;
  letter-spacing: .06em;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 107, 91, .1);
  color: var(--coral);
}

.h2 {
  font-size: clamp(1.9rem, 3.9vw, 3.15rem);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-top: 18px;
  text-wrap: balance;
}

.lead {
  margin-top: 22px;
  font-size: clamp(1rem, 1.15vw, 1.075rem);
  color: var(--ink-2);
  line-height: 1.9;
  max-width: 30em;
  text-wrap: pretty;
}
.lead.center { margin-left: auto; margin-right: auto; text-align: center; max-width: 32em; }

.br-m { display: none; }

/* ---------- 按钮 ---------- */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  box-shadow: 0 10px 24px -10px rgba(248, 69, 107, .7);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(248, 69, 107, .8); }

.btn-heart {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 8px 20px -8px rgba(248, 69, 107, .65);
  transition: transform .3s var(--ease);
}
.btn-heart:hover { transform: translateY(-2px) scale(1.02); }

.btn-ghost {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 600;
  font-size: .9rem;
  transition: background .25s, color .25s;
}
.btn-ghost:hover { background: rgba(42, 27, 29, .04); }

/* =========================================================
   导航
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease), backdrop-filter .4s;
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: block; width: 34px; height: 34px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name {
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: #fff;
  transition: color .4s;
}

.nav-menu { margin-left: auto; display: flex; gap: 6px; }
.nav-link {
  position: relative;
  padding: 8px 15px;
  font-size: .93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  border-radius: 999px;
  transition: color .3s, background .3s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.nav-link.is-active { color: #fff; background: rgba(255, 255, 255, .18); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  transition: background .3s, transform .3s var(--ease), color .3s, border-color .3s;
}
.nav-cta:hover { background: rgba(255, 255, 255, .28); transform: translateY(-1px); }

/* 滚动后的实心导航 */
.nav.is-solid {
  background: rgba(255, 248, 242, .86);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(122, 61, 48, .5);
  padding: 12px 0;
}
.nav.is-solid .brand-name { color: var(--ink); }
.nav.is-solid .nav-link { color: var(--ink-2); }
.nav.is-solid .nav-link:hover { color: var(--ink); background: rgba(42, 27, 29, .05); }
.nav.is-solid .nav-link.is-active { color: var(--coral); background: rgba(255, 107, 91, .1); }
.nav.is-solid .nav-cta {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(248, 69, 107, .7);
}
.nav.is-solid .nav-cta:hover { transform: translateY(-1px); }

/* ---------- 右侧指示器 ---------- */
.indicator {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.dot {
  width: 22px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}
.dot span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(42, 27, 29, .22);
  transition: width .35s var(--ease), background .35s;
}
.dot:hover span { background: rgba(255, 107, 91, .6); }
.dot.is-active span { width: 22px; background: var(--coral); }
.dot.on-dark span { background: rgba(255, 255, 255, .5); }
.dot.on-dark.is-active span { background: #fff; }

/* =========================================================
   01 首屏
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: #3a2320; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: opacity 1s ease;
}
.hero-fallback {
  position: absolute;
  inset: -10%;
  z-index: 1;
  background: linear-gradient(140deg, #FF8FA8 0%, #FF6B4B 45%, #FFB27A 100%);
  overflow: hidden;
}
.hero-fallback .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .85;
  animation: drift 18s ease-in-out infinite;
}
.blob.b1 { width: 52vw; height: 52vw; left: -8%; top: -6%; background: #FFD9A8; }
.blob.b2 { width: 44vw; height: 44vw; right: -6%; top: 18%; background: #FF7BA8; animation-delay: -6s; }
.blob.b3 { width: 40vw; height: 40vw; left: 32%; bottom: -18%; background: #FF5C6B; animation-delay: -12s; }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, -6%, 0) scale(1.12); }
}
.hero.no-video .hero-video { opacity: 0; }

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(115% 75% at 50% 6%, rgba(22, 9, 11, .5) 0%, rgba(22, 9, 11, .12) 46%, rgba(22, 9, 11, 0) 64%),
    radial-gradient(62% 38% at 50% 44%, rgba(26, 9, 11, .38) 0%, rgba(26, 9, 11, .1) 55%, rgba(26, 9, 11, 0) 78%),
    linear-gradient(to bottom,
      rgba(22, 9, 11, .55) 0%,
      rgba(22, 9, 11, .36) 28%,
      rgba(30, 12, 14, .26) 52%,
      rgba(255, 248, 242, .58) 84%,
      var(--cream) 100%);
}

.hero-inner { display: flex; flex-direction: column; align-items: center; }

/* 只保留纯文字 + 闪动圆点，不做胶囊按钮外观 */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .92);
  white-space: nowrap;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #FFD3A8;
  box-shadow: 0 0 0 0 rgba(255, 211, 168, .8);
  animation: pulse 2.4s infinite;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 211, 168, .7); }
  70% { box-shadow: 0 0 0 9px rgba(255, 211, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 211, 168, 0); }
}

.hero-title {
  margin-top: 26px;
  font-size: clamp(2.1rem, 5.4vw, 4.35rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.025em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(40, 12, 16, .36);
  max-width: 15em;
}
/* 首屏关键词不做强调：与「遇见」等其余文字同为纯白，取消渐变、光晕与下划线 */
.hero-title .grad-text {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #fff;
  padding-bottom: 0;
  filter: none;
}

/* 四个关键词：样式对齐参考站首屏副标题
   —— 细字重、无底色无边框、等宽排布、词间 1px 淡灰竖线 */
.hero-chips {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .3em;
  /* 参考站为 .24rem（1rem = 视口宽/19.2），即 1.25vw */
  font-size: clamp(15px, 1.25vw, 24px);
  font-weight: 100;
  line-height: 1.25;
  letter-spacing: normal;
  color: #fff;
  text-align: center;
}
.hero-chips li {
  position: relative;
  display: inline-block;
  width: 3.42em; /* 参考站 span 宽 .82rem ÷ 字号 .24rem */
  font-size: inherit;
  font-weight: 100;
  letter-spacing: normal;
  text-align: center;
  white-space: nowrap;
}
.hero-chips li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: .75em;
  background: #dbdbdb;
  transform: translateY(-50%);
}

/* 下载按钮 */
.downloads {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.dl-item { position: relative; }
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 13px 24px 13px 19px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .4);
  border: 1px solid rgba(203, 205, 209, .7);
  box-shadow: 0 14px 34px -16px rgba(60, 20, 24, .5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
  color: #fff;
  text-align: left;
}
.dl-btn:hover {
  transform: translateY(-3px);
  background: rgba(0, 0, 0, .55);
  box-shadow: 0 22px 44px -18px rgba(60, 20, 24, .55);
}
.dl-ico {
  width: 28px;
  height: 28px;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .35));
}
.dl-txt { display: flex; flex-direction: column; line-height: 1.3; }
.dl-txt b { font-size: .92rem; font-weight: 700; color: #fff; }
.dl-txt i { font-size: .72rem; font-style: normal; color: rgba(255, 255, 255, .72); }

.qr-pop {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translate(-50%, -8px);
  width: 152px;
  padding: 10px 10px 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 56px -18px rgba(60, 20, 24, .45), 0 0 0 1px rgba(42, 27, 29, .05);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 8;
}
.qr-pop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 11px; height: 11px;
  margin-left: -5.5px;
  margin-bottom: -5px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px;
}
.qr-pop img { width: 100%; height: auto; border-radius: 7px; }
.qr-pop p { margin-top: 7px; font-size: .72rem; color: var(--ink-2); white-space: nowrap; }
.dl-item:hover .qr-pop,
.dl-item:focus-within .qr-pop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }


/* ---------- 02 遇见：全屏氛围图 + 资料条 ----------
   样式对齐参考站 qingtenglove.com 第二屏「寻觅」：
   左侧资料条（半透明白底圆角条 + 头像姓名 + 职业小条），右侧大标题与副标题右对齐 */
.meet { background: #2f2622; color: #fff; }
.meet-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    /* 右侧柔和暗化，保证压在人物/亮部的白色文案可读 */
    linear-gradient(270deg, rgba(26, 18, 16, .74) 0%, rgba(26, 18, 16, .56) 26%, rgba(26, 18, 16, .22) 48%, rgba(26, 18, 16, 0) 66%),
    url("../img/meet-bg.jpg") center 62% / cover no-repeat;
}
/* 顶部深色渐变，保证导航与标题压在亮部也清晰 */
.meet-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(55, 43, 40, .86) 0%, rgba(52, 41, 39, .44) 48%, rgba(50, 40, 38, 0) 100%);
}
.meet-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.meet-visual { display: flex; justify-content: flex-end; }

.profile { width: clamp(238px, 20.2vw, 388px); }
.profile-item { position: relative; display: flex; align-items: center; font-weight: 400; }
.profile-item.row-1 {
  padding: clamp(4px, .42vw, 8px) clamp(6px, .52vw, 10px);
  border-radius: clamp(6px, .52vw, 10px);
  background: rgba(255, 255, 255, .6);
  color: #242933;
  font-size: clamp(11px, .833vw, 16px);
}
.profile-item .icon-wrap {
  width: clamp(13px, 1.25vw, 24px);
  height: clamp(13px, 1.25vw, 24px);
  margin-right: clamp(5px, .42vw, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E8455E;
  flex: none;
}
.profile-item .icon-wrap svg { width: 100%; height: 100%; }
.profile-item .education { flex-grow: 1; }
.profile-item .divider {
  width: clamp(1px, .104vw, 2px);
  height: clamp(10px, .833vw, 16px);
  margin: 0 clamp(7px, .73vw, 14px);
  background: rgba(36, 41, 51, .6);
  display: inline-block;
  flex: none;
}

.profile-item.row-2 {
  height: clamp(54px, 4.79vw, 92px);
  padding: clamp(9px, .94vw, 18px) 0 clamp(6px, .63vw, 12px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
}
.row-2 .avatar {
  width: clamp(34px, 3.33vw, 64px);
  height: clamp(34px, 3.33vw, 64px);
  border-radius: 50%;
  object-fit: cover;
  margin-right: clamp(8px, .833vw, 16px);
  flex: none;
}
.row-2 .profile-info { flex: 1; min-width: 0; }
.row-2 .base-info { display: flex; align-items: center; gap: 6px; height: clamp(22px, 1.77vw, 34px); }
.row-2 .name { font-size: clamp(15px, 1.25vw, 24px); font-weight: 800; }
.row-2 .age { font-size: clamp(11px, .833vw, 16px); color: rgba(255, 255, 255, .85); }
.row-2 .city {
  display: inline-flex; align-items: center; gap: 3px; margin-left: auto;
  font-size: clamp(10px, .73vw, 14px); color: rgba(255, 255, 255, .8);
}
.row-2 .city svg { width: clamp(13px, 1vw, 20px); height: clamp(13px, 1vw, 20px); }
.row-2 .desc {
  display: flex; align-items: center;
  margin-top: clamp(7px, .63vw, 12px);
  font-size: clamp(11px, .833vw, 16px);
  color: rgba(255, 255, 255, .9);
}
.row-2 .desc .divider { background: rgba(245, 246, 250, .6); }

.profile-item.row-3 { justify-content: space-between; }
.row-3 .profession-item {
  width: clamp(112px, 9.375vw, 180px);
  height: clamp(21px, 1.875vw, 36px);
  line-height: clamp(21px, 1.875vw, 36px);
  margin-top: clamp(9px, .833vw, 16px);
  padding-left: clamp(6px, .52vw, 10px);
  border-radius: clamp(6px, .52vw, 10px);
  background: rgba(255, 255, 255, .6);
  color: #242933;
  font-size: clamp(11px, .833vw, 16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row-3 .profession-item .bold { font-weight: 700; color: var(--ink); }

/* 右侧文案：右对齐 + 深色背景上改白 */
.meet-copy { text-align: right; }
.meet-copy .h2 { color: #fff; }
.meet-copy .lead { margin-left: auto; color: rgba(255, 255, 255, .76); }

/* =========================================================
   03 破冰 / 聊天（样式对齐参考站「聊天」屏）
   ========================================================= */
.chat {
  background: #2f2622;
  align-items: flex-start;
  padding-top: clamp(112px, 13.2vh, 176px);
  padding-bottom: clamp(76px, 10.5vh, 148px);
}
.chat-bg { position: absolute; inset: 0; z-index: 0; display: flex; }
.cb-half {
  position: relative;
  width: 50%;
  height: 100%;
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
}
.cb-left { background-image: url("../img/chat-left.jpg"); }
.cb-right { background-image: url("../img/chat-right.jpg"); }
/* 顶部深色渐变，保证导航与标题压在亮部也清晰 */
.cb-half::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(48, 36, 32, .92) 0%, rgba(46, 35, 32, .52) 50%, rgba(44, 34, 31, 0) 100%);
}

/* 左右两侧浮动的聊天气泡（参考站同款：半透明白底 + 深色字 + 小尾巴） */
.chat-bubbles { position: absolute; inset: 0; z-index: 1; display: flex; pointer-events: none; }
.cb-col { position: relative; width: 50%; height: 100%; }
.msg {
  position: absolute;
  display: inline-flex;
  align-items: center;
  height: clamp(27px, 2.04vw, 33px);
  padding: 0 clamp(9px, .98vw, 14px);
  border-radius: clamp(6px, .69vw, 10px);
  background: rgba(255, 255, 255, .82);
  color: #3f4550;
  font-size: clamp(11px, .83vw, 13px);
  white-space: nowrap;
  box-shadow: 0 12px 24px -14px rgba(18, 13, 12, .7);
}
.msg::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 13px;
  width: 12px; height: 6px;
  background: rgba(255, 255, 255, .82);
  clip-path: polygon(0 0, 100% 0, 18% 100%);
}
.msg.m-out::after { left: auto; right: 13px; clip-path: polygon(0 0, 100% 0, 82% 100%); }
.cb-col-l .msg:nth-child(1) { bottom: 36vh; right: 8%; }
.cb-col-l .msg:nth-child(2) { bottom: 21vh; right: 3%; }
.cb-col-r .msg:nth-child(1) { bottom: 45vh; left: 9%; }
.cb-col-r .msg:nth-child(2) { bottom: 29vh; left: 3%; }

.chat-inner { max-width: none; padding: 0 clamp(22px, 4.17vw, 96px); }
.chat-copy { max-width: min(46%, 720px); text-align: left; }
.chat-title {
  font-size: clamp(30px, 3.125vw, 50px);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(38, 27, 23, .55), 0 1px 3px rgba(38, 27, 23, .35);
}
.chat-sub .s1 {
  margin-top: clamp(13px, 1.9vh, 24px);
  font-size: clamp(15px, 1.25vw, 21px);
  font-weight: 700;
  line-height: 1.75;
  color: rgba(255, 255, 255, .95);
  text-shadow: 0 1px 14px rgba(38, 27, 23, .6), 0 1px 2px rgba(38, 27, 23, .4);
}
.chat-sub .s2 {
  margin-top: clamp(7px, .95vh, 13px);
  font-size: clamp(13px, 1.042vw, 17px);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 1px 12px rgba(38, 27, 23, .65), 0 1px 2px rgba(38, 27, 23, .45);
}

/* =========================================================
   04 同频圈 / 村口（样式对齐参考站「村口」屏）
   ========================================================= */
.circle { background: #efe7dd; align-items: flex-start; padding-top: clamp(112px, 13.2vh, 176px); padding-bottom: clamp(76px, 10.5vh, 148px); }
.circle-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/circle-bg.jpg") center 38% / cover no-repeat;
}
/* 顶部深色渐变，保证导航与标题压在亮部也清晰（参考站 5.3rem 高） */
.circle-bg::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(70, 73, 78, .82) 0%, rgba(68, 71, 76, .38) 52%, rgba(66, 69, 74, 0) 100%);
}
.circle-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 clamp(22px, 4.17vw, 96px);
}
.circle-title {
  font-size: clamp(30px, 3.125vw, 50px);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(40, 38, 36, .55), 0 1px 3px rgba(40, 38, 36, .35);
}
.circle-sub .s1 {
  margin-top: clamp(13px, 1.9vh, 24px);
  font-size: clamp(15px, 1.25vw, 21px);
  font-weight: 700;
  line-height: 1.75;
  color: rgba(255, 255, 255, .95);
  text-shadow: 0 1px 14px rgba(40, 38, 36, .6), 0 1px 2px rgba(40, 38, 36, .4);
}
.circle-sub .s2 {
  margin-top: clamp(7px, .95vh, 13px);
  font-size: clamp(13px, 1.042vw, 17px);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 1px 12px rgba(40, 38, 36, .65), 0 1px 2px rgba(40, 38, 36, .45);
}

/* 右侧动态卡 + 评论（参考站 .p-c：left 50% + 1.62rem，top 30vh，宽 4.8rem） */
.post-col {
  position: absolute;
  left: calc(50% + clamp(46px, 8.44vw, 162px));
  top: clamp(44px, 16.8vh, 170px);
  width: clamp(280px, 25vw, 353px);
}
.post-card {
  background: rgba(255, 255, 255, .94);
  border-radius: 12px;
  padding: 14px 14px 10px;
  box-shadow: 0 18px 44px rgba(35, 30, 26, .18);
}
.post-head { display: flex; align-items: center; gap: 10px; }
.post-ava { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.post-who b { display: block; font-size: 14px; color: #26221f; }
.post-who i { display: block; margin-top: 2px; font-size: 11.5px; font-style: normal; color: #8d8880; }
.post-text { margin-top: 10px; font-size: 13px; line-height: 1.65; color: #33302c; }
.post-img {
  margin-top: 10px;
  border-radius: 9px;
  overflow: hidden;
  aspect-ratio: 1200 / 545;
  background: #f2ece4;
}
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-actions {
  display: flex; gap: 18px;
  padding-top: 9px;
  font-size: 12px; color: #8d8880;
}
.post-comments {
  margin-top: 3px;
  background: rgba(255, 255, 255, .6);
  border-radius: 10px;
  padding: 14px 0 12px 20px;
  color: #757a82;
  font-size: clamp(11.5px, .92vw, 13px);
  line-height: 1.5;
}
.post-comments .comment-item { margin-top: 8px; }
.post-comments .comment-item:first-child { margin-top: 0; }
.post-comments .name { color: #1f1f1f; font-weight: 700; }
.post-comments .content { font-size: .92em; }
.post-comments .comment-more {
  margin-top: 6px;
  color: #1f1f1f; font-weight: 700;
  font-size: .95em;
}

/* =========================================================
   05 脱单故事（样式对齐参考站「脱单故事」屏）
   ========================================================= */
.stories {
  background: linear-gradient(135deg, #3a5d7a 0%, #84797b 100%);
}
.stories-head {
  position: absolute;
  top: clamp(112px, 13.2vh, 176px);
  right: clamp(22px, 3.33vw, 64px);
  z-index: 4;
  text-align: right;
}
.stories-title {
  font-size: clamp(30px, 3.125vw, 50px);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(24, 34, 44, .5), 0 1px 3px rgba(24, 34, 44, .3);
}
.stories-sub .s1 {
  margin-top: clamp(13px, 1.9vh, 24px);
  font-size: clamp(15px, 1.25vw, 21px);
  font-weight: 700;
  line-height: 1.75;
  color: rgba(255, 255, 255, .95);
  text-shadow: 0 1px 14px rgba(24, 34, 44, .55);
}
.stories-sub .s2 {
  margin-top: clamp(7px, .95vh, 13px);
  font-size: clamp(13px, 1.042vw, 17px);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 1px 12px rgba(24, 34, 44, .6);
}

/* 头像星云：参考站容器 19.2rem×10.8rem，13 张卡片绝对定位散布 */
.story-stage {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 88.2%;
  z-index: 2;
}
.s-item {
  position: absolute;
  left: var(--x, 0);
  top: var(--y, 0);
  /* 与参考站一致：容器 2.28rem ≈ 142.4px @1440（9.888%），照片直径 132.4px */
  width: 9.888%;
  aspect-ratio: 1;
  z-index: 2;
}
.s-item[data-reveal] {
  opacity: 0;
  transform: scale(.75);
  transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s);
}
.s-item[data-reveal].is-in { opacity: 1; transform: scale(1); }
.s-item.dim[data-reveal].is-in { opacity: .72; }
.s-ring {
  position: absolute; inset: 0;
  border: 1.5px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  transition: box-shadow .35s, border-color .35s;
}
.s-ava {
  position: absolute;
  inset: 3.5%;
  width: 93%; height: 93%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.s-item:hover { z-index: 6; }
.s-item:hover .s-ring {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .14), 0 6px 30px rgba(10, 18, 28, .35);
}
/* 文案区：名字 / 日期 / 介绍由 flex 统排，行距可控不重叠 */
.s-meta {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 240%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  text-shadow: 0 1px 10px rgba(20, 28, 38, .5);
}
.s-name {
  font-size: clamp(13px, .93vw, 15px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.s-name small {
  display: block;
  margin-top: 3px;
  font-weight: 200;
  font-size: .84em;
  line-height: 1.3;
  color: rgba(255, 255, 255, .82);
}
.s-intro {
  margin-top: 6px;
  font-size: clamp(12px, .83vw, 13.5px);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, .86);
}
/* hover 时整体淡入 */
.s-item:hover .s-meta { opacity: 1; }

/* 最后一格：二维码卡（参考站 more_example + qrcode 双层结构：
   默认显示「我要脱单」引导面，鼠标移入即显示二维码） */
.s-more { cursor: pointer; }
/* 圆形裁剪会切掉二维码四角定位角，故缩到圆内接正方形以内（约 67% 直径）完整显示 */
.s-more .s-ava { background: #fff; padding: 16.5%; object-fit: contain; }
.s-more-face {
  position: absolute;
  inset: 3.5%;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7%;
  color: #4d6a60;
  opacity: 1;
  transition: opacity .32s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.s-more-face svg { width: 24%; height: 24%; }
.s-more-face i { display: block; width: 52%; height: 1px; background: rgba(77, 106, 96, .32); }
.s-more-face b { font-size: clamp(13px, .92vw, 16px); font-weight: 700; letter-spacing: .06em; }
/* 鼠标移入 / 触屏点击后：引导面淡出，露出二维码 */
.s-more:hover .s-more-face,
.s-more.is-open .s-more-face { opacity: 0; }

/* =========================================================
   06 版权页 + 固定底条（样式对齐参考站最后一屏）
   ========================================================= */
.footer {
  min-height: auto;
  padding: clamp(44px, 7vh, 76px) 0 clamp(78px, 11vh, 110px);
  background: linear-gradient(135deg, #3a5d7a 0%, #84797b 100%);
  color: rgba(255, 255, 255, .88);
}
.footer-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-btns {
  position: relative;
  /* 高于导航栏(100)与底部黑条(80)，保证二维码浮层永远在最上层 */
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 56px);
}
.contact-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  /* 参考站同款：按钮为「图标+文字」整图，白色描边胶囊 */
  border: none;
  background: none;
  padding: 0;
  transition: opacity .3s, transform .3s;
}
.contact-btn > img { display: block; height: 64px; width: auto; }
.contact-btn:hover { opacity: .82; }
/* hover / 点击弹出的二维码 / 邮箱：向下展开（参考站 .qrcode-wrap） */
.pop {
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  bottom: auto;
  /* max-content 防止绝对定位浮层被父按钮宽度压制导致二维码变形 */
  width: max-content;
  max-width: min(88vw, 260px);
  transform: translate(-50%, -8px);
  transform-origin: top center;
  background: rgba(255, 255, 255, .97);
  color: #242933;
  border-radius: 10px;
  padding: 10px;
  white-space: nowrap;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  pointer-events: none;
  z-index: 999;
}
.pop::after {
  content: "";
  position: absolute;
  left: 50%; top: -6px;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid rgba(255, 255, 255, .97);
}
.contact-btn:hover .pop,
.contact-btn:focus-within .pop,
.contact-btn.is-open .pop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.pop img {
  width: 176px; height: 176px;
  border-radius: 8px;
  display: block;
  background: #fff;
  object-fit: contain;
}
.pop b { display: block; margin-top: 6px; font-weight: 600; font-size: 13px; }
.pop-mail { padding: 10px 18px; font-weight: 600; }
/* 浮层向上弹出，需放开最后一屏的纵向裁剪（横向仍由 body 兜底） */
#footer { overflow: visible; }

.copyright {
  margin-top: clamp(30px, 5.8vh, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(12px, 1.02vw, 15px);
  font-weight: 300;
  line-height: clamp(26px, 2.45vw, 35px);
  text-align: center;
  color: rgba(255, 255, 255, .92);
}
.copyright a { color: #8ab9ff; text-decoration: none; }
.copyright a:hover { text-decoration: underline; }
.copyright .underline { color: #fff; text-decoration: underline; margin-right: 12px; }
.copyright .gong-an { display: inline-flex; align-items: center; gap: 5px; }

/* 固定底部条（参考站 .footer：黑底 + 二维码 + slogan） */
.footer-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  height: 68px;
  background: rgba(0, 0, 0, .42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  transform: translateY(100%);
  transition: transform .7s ease;
  pointer-events: none;
}
.footer-bar.show { transform: none; pointer-events: auto; }
.footer-bar img { width: 50px; height: 50px; border-radius: 6px; background: #fff; flex: none; }
.fb-title { font-size: 14.7px; font-weight: 600; letter-spacing: .02em; }
.fb-sub { margin-top: 3px; font-size: 12px; color: rgba(255, 255, 255, .72); }

/* =========================================================
   入场动画
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1180px) {
  .indicator { right: 14px; }
}

@media (max-width: 1020px) {
  .post-col { top: clamp(120px, 24vh, 300px); }
}

@media (max-width: 900px) {
  html { scroll-snap-type: none; }
  .section { min-height: auto; padding: 84px 0 72px; }
  .hero { min-height: 100svh; padding: 104px 0 88px; }
  .section-inner { padding: 0 22px; }
  .nav-inner { padding: 0 18px; gap: 14px; }
  .nav-menu { display: none; }
  .nav-cta { margin-left: auto; }
  .indicator { display: none; }

  .lead { max-width: none; }

  /* 破冰：文案贴顶居中，气泡落在下半屏 */
  .chat { min-height: 92svh; align-items: flex-start; padding: 96px 0 80px; }
  .chat-inner { padding: 0 22px; }
  .chat-copy { max-width: 100%; text-align: center; }
  .chat-copy .s1, .chat-copy .s2 { max-width: 34em; margin-left: auto; margin-right: auto; }
  .msg {
    white-space: normal;
    height: auto;
    max-width: 42vw;
    padding: 7px 10px;
    line-height: 1.5;
    border-radius: 8px;
    font-size: 10.5px;
  }
  .cb-col-l .msg:nth-child(1) { bottom: 24vh; right: 6%; }
  .cb-col-l .msg:nth-child(2) { bottom: 11vh; right: 3%; }
  .cb-col-r .msg:nth-child(1) { bottom: 32vh; left: 6%; }
  .cb-col-r .msg:nth-child(2) { bottom: 18vh; left: 3%; }

  .meet-inner { grid-template-columns: 1fr; gap: 40px; }
  .meet-bg {
    background:
      linear-gradient(180deg, rgba(26, 18, 16, .52) 0%, rgba(26, 18, 16, .44) 35%, rgba(26, 18, 16, .58) 100%),
      url("../img/meet-bg.jpg") center 62% / cover no-repeat;
  }
  .meet-visual { justify-content: center; }
  .meet-copy { text-align: center; }
  .meet-copy .lead { margin-left: auto; margin-right: auto; }

  /* 同频圈：标题贴顶，动态卡下移并居中收窄 */
  .circle { padding-top: 92px; padding-bottom: 56px; }
  .circle-bg { background-position: 42% 32%; }
  .circle-inner { padding: 0 22px; }
  .circle-title { margin-top: 0; }
  .post-col {
    position: static;
    margin: 24px auto 0;
    width: min(100%, 340px);
  }
  .post-card { padding: 12px 12px 8px; }
  .post-img { max-height: 132px; aspect-ratio: auto; }
  .post-img img { height: 132px; }
  .post-comments { padding: 12px 0 10px 14px; }

  /* 脱单故事：星云改网格（section 是横向 flex，需要转纵向） */
  .stories { flex-direction: column; align-items: stretch; }
  .stories-head { position: static; text-align: center; padding: 96px 22px 0; }
  .stories-sub .s1, .stories-sub .s2 { margin-left: auto; margin-right: auto; max-width: 30em; }
  .story-stage {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 12px;
    padding: 34px 22px 40px;
  }
  .s-item { position: relative; left: auto; top: auto; width: auto; height: auto; }
  .s-ring { inset: 0 0 26% 0; }
  .s-ava { inset: 3% 3% 29.4% 3%; width: 94%; height: 68%; }
  .s-meta { position: static; transform: none; opacity: 1; max-width: 100%; margin-top: calc(74% + 6px); }
  .s-name { font-size: 10.5px; line-height: 1.35; }
  .s-name small { font-size: 9.5px; white-space: nowrap; margin-top: 2px; }
  .s-intro { display: none; }
  .s-item.dim[data-reveal].is-in { opacity: 1; }
  .s-more .s-ava { padding: 16.5%; object-fit: contain; }

  /* 版权页 */
  .contact-btns { gap: 16px; }
  .contact-btn > img { height: 54px; }
  .pop img { width: 152px; height: 152px; }
  .footer-bar img { width: 42px; height: 42px; }
  .br-m { display: inline; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(1.75rem, 7.4vw, 2.5rem); }
  .downloads { width: 100%; flex-direction: column; align-items: stretch; gap: 10px; }
  .dl-item { width: 100%; }
  .dl-btn { width: 100%; justify-content: flex-start; }
  /* 手机端扫码无意义，直接隐藏二维码浮层 */
  .qr-pop { display: none; }

  /* 破冰：小屏进一步压缩气泡 */
  .chat { min-height: 88svh; }
  .msg { max-width: 44vw; padding: 6px 9px; font-size: 10px; }
  .cb-col-l .msg:nth-child(1) { bottom: 22vh; right: 4%; }
  .cb-col-l .msg:nth-child(2) { bottom: 11vh; right: 2%; }
  .cb-col-r .msg:nth-child(1) { bottom: 30vh; left: 4%; }
  .cb-col-r .msg:nth-child(2) { bottom: 17vh; left: 2%; }

  /* 同频圈：小屏进一步收窄 */
  .post-col { margin-top: 30vh; }
  /* 脱单故事：小屏 3 列 */
  .story-stage { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; padding-bottom: 34px; }
  /* 版权页按钮竖排更从容；浮层同样向下展开并水平居中 */
  .contact-btns { flex-direction: column; gap: 12px; }
  .contact-btn > img { height: 50px; }
  .pop {
    top: calc(100% + 12px); bottom: auto;
    left: 50%;
    transform: translate(-50%, -8px);
    transform-origin: top center;
  }
  .pop::after {
    left: 50%; top: -6px; bottom: auto;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid rgba(255, 255, 255, .97);
    border-top: none;
  }
  .contact-btn:hover .pop,
  .contact-btn:focus-within .pop,
  .contact-btn.is-open .pop { transform: translate(-50%, 0); }
  .footer-bar { height: 58px; }
  .fb-title { font-size: 13px; }
  .fb-sub { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
