/* ============================================================
   遇见婚恋工作室 · 现代简约风格
   配色来源：奶油白 → 淡薰衣草紫渐变 + 香芋紫主色
   ============================================================ */

:root {
  --bg: #FBF9F5;
  --bg-soft: #F6F3EE;
  --surface: #FFFFFF;

  --lav-50:  #F6F4FE;
  --lav-100: #EDEAFB;
  --lav-200: #DDDAEF;
  --lav-300: #D6D0FB;
  --lav-400: #BDB4EC;
  --lav-500: #A49CD8;
  --lav-600: #8B7EC8;
  --lav-700: #6F5FB3;
  --lav-800: #55448F;

  --cream-100: #FDFCED;
  --cream-200: #FCFCD2;
  --cream-300: #F7F8D4;
  --cream-400: #F2F1DD;

  --ink:   #2F2A45;
  --ink-2: #5C5675;
  --ink-3: #8A84A3;
  --line:  #E8E4F3;
  --danger: #C46A7A;
  --success-bg: #EFF8F2;
  --success: #3F7A5C;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 2px 12px rgba(85, 68, 143, .07);
  --shadow-md: 0 14px 34px rgba(85, 68, 143, .12);
  --shadow-lg: 0 28px 70px rgba(85, 68, 143, .18);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", Georgia, serif;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: inline-block; vertical-align: middle; }

a { color: var(--lav-700); }

::selection { background: var(--lav-300); color: var(--ink); }

:focus-visible {
  outline: 3px solid rgba(139, 126, 200, .55);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -64px;
  left: 14px;
  z-index: 300;
  background: var(--lav-700);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  font-weight: 600;
  transition: top .3s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* 渐变文字 */
.grad-text {
  background: linear-gradient(120deg, #8B7EC8, #B07AC2 52%, #6F61AE);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--lav-700);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-text { color: transparent; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--lav-600), var(--lav-700));
  color: #fff;
  box-shadow: 0 10px 24px rgba(111, 95, 179, .32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(111, 95, 179, .42);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--lav-700);
  border-color: rgba(111, 95, 179, .45);
}
.btn-ghost:hover { background: var(--lav-100); transform: translateY(-2px); }
.btn-soft {
  background: var(--lav-100);
  color: var(--lav-700);
}
.btn-soft:hover { background: #E2DBF8; transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--lav-700);
  box-shadow: 0 10px 26px rgba(47, 42, 69, .18);
}
.btn-light:hover { transform: translateY(-2px); color: var(--lav-800); }
.btn-ghost-light {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .24); transform: translateY(-2px); color: #fff; }
.btn-sm { padding: .55rem 1.15rem; font-size: .88rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- 阅读进度条 ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #A49CD8, #8B7EC8, #6F61AE);
  z-index: 220;
  border-radius: 0 3px 3px 0;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(85, 68, 143, .08);
  border-bottom: 1px solid rgba(232, 228, 243, .8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--lav-100), #F3EDFA);
  color: var(--lav-600);
  border: 1px solid rgba(139, 126, 200, .25);
}
.brand-text strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: .08em;
  line-height: 1.15;
}
.brand-text small {
  display: block;
  font-size: .56rem;
  letter-spacing: .28em;
  color: var(--ink-3);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.nav-link {
  position: relative;
  padding: .5rem .78rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: .78rem;
  right: .78rem;
  bottom: .18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--lav-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--lav-700); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 176px 0 118px;
  overflow: hidden;
  background: linear-gradient(180deg, #FAF8E7 0%, #F1EDF8 52%, #E4DEF5 100%);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: .6;
}
.blob-1 { top: -12%; left: -6%; width: 430px; height: 430px; background: var(--cream-200); }
.blob-2 { top: 8%; right: -9%; width: 470px; height: 470px; background: var(--lav-300); }
.blob-3 { bottom: -18%; left: 28%; width: 520px; height: 520px; background: #CEC9F1; }

.spark {
  position: absolute;
  color: var(--lav-600);
  opacity: .45;
  animation: twinkle 3.2s ease-in-out infinite;
}
.s1 { top: 24%; left: 7%; font-size: 1.2rem; }
.s2 { top: 30%; right: 13%; font-size: 1rem; animation-delay: .8s; }
.s3 { bottom: 30%; left: 14%; font-size: 1.4rem; animation-delay: 1.6s; }
.s4 { bottom: 16%; right: 7%; font-size: .9rem; animation-delay: 2.2s; }

@keyframes twinkle {
  0%, 100% { opacity: .25; transform: scale(.9) rotate(0deg); }
  50% { opacity: .8; transform: scale(1.15) rotate(18deg); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-copy { animation: riseIn .9s .1s cubic-bezier(.22, .68, .35, 1) both; }
.hero-visual { animation: riseIn 1s .25s cubic-bezier(.22, .68, .35, 1) both; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .48rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(139, 126, 200, .28);
  color: var(--lav-700);
  font-size: .82rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero h1 {
  margin: 1.3rem 0 1.1rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
  line-height: 1.28;
  color: var(--ink);
  letter-spacing: .01em;
}

.lead {
  max-width: 34rem;
  margin: 0 0 1.9rem;
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--ink-2);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
  margin: 0;
  padding: 0;
}
.hero-stats li {
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(139, 126, 200, .2);
  border-radius: var(--radius-md);
  padding: .95rem .5rem;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-stats b {
  display: block;
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--lav-700);
  line-height: 1.2;
}
.hero-stats span {
  display: block;
  margin-top: .25rem;
  font-size: .76rem;
  color: var(--ink-3);
}

/* Hero 视觉区 */
.hero-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb {
  position: absolute;
  border-radius: 50%;
  animation: floaty 9s ease-in-out infinite;
}
.orb-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle at 32% 30%, #D6D0FB, #BDB4EC 72%);
  opacity: .85;
}
.orb-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at 58% 40%, #FCFCD2, #F0E7A8 78%);
  top: 4%;
  right: 2%;
  animation-delay: 1.6s;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.03); }
}

.hero-card {
  position: relative;
  z-index: 2;
  width: min(350px, 84%);
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 26px;
  padding: 1.8rem 1.6rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: floatCard 7s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-.6deg); }
}

.match-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}
.avatar svg { border-radius: 50%; display: block; }
.mini-heart { animation: heartBeat 2.4s ease-in-out infinite; }
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.18); }
  24% { transform: scale(1); }
  36% { transform: scale(1.1); }
  48% { transform: scale(1); }
}

.match-ring {
  position: relative;
  width: 96px;
  height: 96px;
  margin: .3rem auto 1.1rem;
}
.match-ring svg { display: block; }
.ring-fg {
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 1.6s ease .5s;
}
.ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-text b { font-size: 1.25rem; color: var(--lav-700); line-height: 1.1; }
.ring-text span { font-size: .6rem; color: var(--ink-3); letter-spacing: .08em; }
.match-note { margin: 0; font-size: .8rem; color: var(--ink-3); }

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .58rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--lav-700);
  box-shadow: var(--shadow-md);
  animation: floaty 6s ease-in-out infinite;
}
.float-chip span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lav-100);
  color: var(--lav-700);
  font-size: .7rem;
}
.chip-1 { top: 13%; left: 1%; }
.chip-2 { top: 44%; right: -3%; animation-delay: 1.2s; }
.chip-3 { bottom: 11%; left: 5%; animation-delay: 2.2s; }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  color: var(--ink-3);
  text-decoration: none;
  font-size: .72rem;
  letter-spacing: .2em;
}
.scroll-hint .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(92, 86, 117, .4);
  border-radius: 999px;
  position: relative;
}
.scroll-hint .wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--lav-600);
  border-radius: 4px;
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(13px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 理念跑马灯 ---------- */
.marquee {
  overflow: hidden;
  background: #FBF9EF;
  border-top: 1px solid #EFEBDD;
  border-bottom: 1px solid #EFEBDD;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding: .95rem 1.2rem 1.05rem 0;
}
.marquee-group span {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--lav-700);
  letter-spacing: .2em;
}
.marquee-group i {
  font-style: normal;
  color: var(--lav-400);
  font-size: .8rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- 通用区块 ---------- */
.section { padding: 108px 0; }

.section-head {
  max-width: 660px;
  margin: 0 auto 3.4rem;
  text-align: center;
}
.section-head h2 {
  margin: .85rem 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  line-height: 1.4;
  color: var(--ink);
}
.section-head p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.9;
}
.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
  text-align: left;
  margin-bottom: 2.8rem;
}
.section-head.split h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--lav-700);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "✦";
  margin-right: .5rem;
  font-size: .7rem;
}

/* ---------- 关于我们 ---------- */
.about {
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF9F5 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4.2rem;
  align-items: center;
}

.about-media { position: relative; }
.media-card {
  position: relative;
  height: 470px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, #FCFCD2 0%, #EDEAFB 56%, #D6D0FB 100%);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 2rem;
  text-align: center;
}
.media-orb {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  top: -70px;
  right: -70px;
  background: radial-gradient(circle, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%);
}
.media-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  bottom: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%);
}
.media-heart {
  position: relative;
  z-index: 1;
  animation: heartBeat 3s ease-in-out infinite;
}
.media-quote {
  position: relative;
  z-index: 1;
  max-width: 24rem;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.85;
  color: var(--ink);
}
.media-quote cite {
  display: block;
  margin-top: .9rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--ink-2);
  letter-spacing: .1em;
}

.media-float {
  position: absolute;
  bottom: 30px;
  right: -18px;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.05rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.media-float b { font-size: 1.55rem; color: var(--lav-700); line-height: 1; }
.media-float span { font-size: .78rem; color: var(--ink-3); line-height: 1.7; }

.about-copy h2 {
  margin: .85rem 0 1.2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.42;
  color: var(--ink);
}
.about-copy p {
  margin: .7rem 0;
  color: var(--ink-2);
  line-height: 1.95;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin: 1.7rem 0 2.1rem;
  padding: 0;
}
.feature-list li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .95rem 1.05rem;
  background: #FAF8FD;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.feature-list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--lav-600);
  margin-top: 2px;
}
.feature-list b { display: block; font-size: .92rem; color: var(--ink); margin-bottom: .16rem; }
.feature-list span { font-size: .78rem; color: var(--ink-3); }

/* ---------- 服务项目 ---------- */
.services {
  background: linear-gradient(180deg, #F6F3EE 0%, #EFEBF9 100%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #A49CD8, #D6D0FB, #FCFCD2);
  opacity: 0;
  transition: opacity .35s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: #DDD7F4;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--lav-100), #F3EDFA);
  color: var(--lav-700);
  margin-bottom: 1.2rem;
}
.service-icon svg { width: 27px; height: 27px; transition: transform .35s ease; }
.service-card:hover .service-icon svg { transform: scale(1.12) rotate(-5deg); }

.service-card h3 { margin: 0 0 .6rem; font-size: 1.12rem; color: var(--ink); }
.service-card p { margin: 0 0 1.1rem; font-size: .9rem; color: var(--ink-2); line-height: 1.85; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--lav-700);
  text-decoration: none;
}
.card-link span { transition: transform .3s ease; }
.card-link:hover span { transform: translateX(4px); }

/* ---------- 匹配流程 ---------- */
.process { background: #FFFFFF; }
.process-steps {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 13%;
  right: 13%;
  height: 2px;
  background: linear-gradient(90deg, #D6D0FB, #A49CD8, #8B7EC8);
  border-radius: 2px;
}
.step { position: relative; text-align: center; }
.step-num {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B7EC8, #6F61AE);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(111, 95, 179, .32);
  border: 5px solid #fff;
  margin-bottom: 1.3rem;
  transition: transform .35s ease, box-shadow .35s ease;
}
.step:hover .step-num {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(111, 95, 179, .42);
}
.step-card h3 { margin: 0 0 .5rem; font-size: 1.05rem; color: var(--ink); }
.step-card p {
  margin: 0 auto;
  max-width: 19rem;
  font-size: .87rem;
  color: var(--ink-2);
  line-height: 1.85;
}

/* ---------- 会员故事 ---------- */
.stories {
  background: linear-gradient(180deg, #F5F1FA 0%, #FBF9F3 100%);
}
.carousel { max-width: 800px; margin-inline: auto; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}
.story-card {
  position: relative;
  flex: 0 0 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.7rem 2.5rem 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.quote-mark {
  position: absolute;
  top: 4px;
  left: 30px;
  font-family: var(--font-serif);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--lav-300);
}
.story-card blockquote {
  position: relative;
  margin: 1.1rem 0 1.9rem;
  font-family: var(--font-serif);
  font-size: 1.14rem;
  line-height: 2;
  color: var(--ink);
}
.story-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
}
.author-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--a, var(--lav-100));
  color: var(--b, var(--lav-700));
  font-size: 1.05rem;
  font-weight: 700;
  border: 2px solid var(--b, var(--lav-600));
}
.story-author b { display: block; font-size: .95rem; color: var(--ink); }
.story-author small { font-size: .78rem; color: var(--ink-3); }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.7rem;
}
.carousel-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--lav-700);
  cursor: pointer;
  transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.carousel-btn:hover {
  background: var(--lav-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.carousel-dots { display: flex; gap: .45rem; }
.carousel-dots .dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 999px;
  padding: 0;
  background: #D8D3EC;
  cursor: pointer;
  transition: width .35s ease, background .35s ease;
}
.carousel-dots .dot.active { width: 28px; background: var(--lav-600); }

/* ---------- 线下活动 ---------- */
.events { background: #FFFFFF; }
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.event-card {
  display: flex;
  gap: 1.15rem;
  padding: 1.8rem 1.6rem;
  background: linear-gradient(180deg, #FFFFFF, #F9F7FB);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #D9D3F2;
}
.event-date {
  flex-shrink: 0;
  width: 76px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #FCFCD2, #F0EAD3);
  border: 1px solid #EAE4C2;
  border-radius: var(--radius-sm);
}
.event-date b { font-family: var(--font-serif); font-size: 1.85rem; color: var(--lav-800); line-height: 1; }
.event-date span { font-size: .68rem; color: var(--ink-2); margin-top: .35rem; letter-spacing: .05em; }
.event-tag {
  display: inline-block;
  padding: .26rem .7rem;
  background: var(--lav-100);
  color: var(--lav-700);
  font-size: .72rem;
  font-weight: 600;
  border-radius: 999px;
}
.event-body h3 { margin: .5rem 0 .5rem; font-size: 1.05rem; color: var(--ink); line-height: 1.5; }
.event-body p { margin: 0 0 .8rem; font-size: .86rem; color: var(--ink-2); line-height: 1.8; }
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .95rem;
  font-size: .76rem;
  color: var(--ink-3);
}

/* ---------- CTA 横幅 ---------- */
.cta-section { padding-top: 0; }
.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3.4rem 3.8rem;
  border-radius: 34px;
  background: linear-gradient(120deg, #8B7EC8 0%, #A49CD8 52%, #6F61AE 100%);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .22);
}
.cta-banner::before { width: 220px; height: 220px; top: -90px; right: -70px; }
.cta-banner::after { width: 130px; height: 130px; bottom: -60px; left: 26%; }
.cta-spark {
  position: absolute;
  right: 9%;
  top: 14%;
  font-size: 3rem;
  opacity: .28;
  animation: twinkle 3.4s ease-in-out infinite;
}
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 {
  margin: 0 0 .6rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #fff;
  line-height: 1.4;
}
.cta-copy p { margin: 0; color: rgba(255, 255, 255, .88); line-height: 1.8; }
.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  flex-shrink: 0;
}

/* ---------- 常见问题 ---------- */
.faq { background: #FBF9F5; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: start;
}
.faq-list { display: grid; }
.faq-side { position: sticky; top: 104px; }
.faq-side h2 {
  margin: .85rem 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  line-height: 1.42;
  color: var(--ink);
}
.faq-side p { margin: 0 0 1.7rem; color: var(--ink-2); line-height: 1.9; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: .95rem;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq-item.open { border-color: #C9C2EE; box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.18rem 1.35rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: .98rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}
.faq-q:hover { color: var(--lav-700); }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  background: var(--lav-600);
  border-radius: 2px;
  transition: transform .35s ease, opacity .35s ease;
}
.faq-icon::before { width: 100%; height: 2px; transform: translateY(-50%); }
.faq-icon::after { width: 2px; height: 100%; transform: translateY(-50%); }
.faq-item.open .faq-icon::after { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s cubic-bezier(.4, 0, .2, 1);
}
.faq-a p {
  margin: 0;
  padding: 0 1.35rem 1.2rem;
  color: var(--ink-2);
  font-size: .92rem;
  line-height: 1.9;
}

/* ---------- 联系我们 ---------- */
.contact {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F1FA 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 {
  margin: .85rem 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.42;
  color: var(--ink);
}
.contact-info > p { margin: 0 0 1.9rem; color: var(--ink-2); line-height: 1.9; }

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .95rem;
}
.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.05rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.ci-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--lav-100);
  color: var(--lav-700);
}
.ci-icon svg { width: 20px; height: 20px; }
.contact-list b { display: block; font-size: .94rem; color: var(--ink); margin-bottom: .22rem; }
.contact-list span { font-size: .85rem; color: var(--ink-2); line-height: 1.7; word-break: break-word; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: .42rem;
  margin-bottom: 1.05rem;
}
.field label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}
.field label em { color: var(--danger); font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid #DCD7EE;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .93rem;
  color: var(--ink);
  background: #FDFCFE;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.field textarea { resize: vertical; min-height: 112px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='none' stroke='%238A84A3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .95rem center; padding-right: 2.6rem; cursor: pointer; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lav-600);
  box-shadow: 0 0 0 3px rgba(139, 126, 200, .18);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field-error { font-size: .76rem; color: var(--danger); min-height: 1em; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: 1.25rem;
  font-size: .82rem;
  color: var(--ink-2);
  cursor: pointer;
  line-height: 1.7;
}
.consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--lav-700);
  flex-shrink: 0;
  cursor: pointer;
}
.form-tip { margin: 1rem 0 0; text-align: center; font-size: .76rem; color: var(--ink-3); }
.form-success {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--success-bg);
  border: 1px solid #CFE7D8;
  color: var(--success);
  font-size: .9rem;
  line-height: 1.6;
}
.form-success[hidden] { display: none; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #2E2A44;
  color: #C9C3E2;
  padding-top: 4.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.35fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.brand-light { color: #fff; }
.brand-light .brand-mark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); color: #C6BFF0; }
.brand-light .brand-text small { color: #9E97BF; }
.footer-brand p { margin: 1.25rem 0 0; max-width: 22rem; font-size: .9rem; line-height: 1.95; color: #9E97BF; }
.footer-col h4 {
  margin: 0 0 1.1rem;
  color: #fff;
  font-size: .95rem;
  letter-spacing: .1em;
}
.footer-col a, .footer-col span {
  display: block;
  color: #9E97BF;
  text-decoration: none;
  font-size: .88rem;
  line-height: 2.25;
  transition: color .25s ease;
}
.footer-col a:hover { color: #D6D0FB; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.25rem 0;
  font-size: .8rem;
  color: #8D86AF;
}
.bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.bottom-inner p { margin: 0; }
.bottom-inner a { color: #B5AEE0; text-decoration: none; margin-left: .5rem; }
.bottom-inner a:hover { color: #fff; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 150;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B7EC8, #6F61AE);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); }

/* ---------- 滚动显现动效（JS 增强） ---------- */
.js .section-head,
.js .about-media,
.js .about-copy,
.js .media-float,
.js .service-card,
.js .step,
.js .event-card,
.js .cta-banner,
.js .faq-side,
.js .faq-item,
.js .contact-info,
.js .contact-form {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .75s cubic-bezier(.22, .68, .35, 1);
}
.js .service-card:nth-child(2), .js .step:nth-child(2), .js .event-card:nth-child(2) { transition-delay: .08s; }
.js .service-card:nth-child(3), .js .step:nth-child(3), .js .event-card:nth-child(3) { transition-delay: .16s; }
.js .service-card:nth-child(4), .js .step:nth-child(4), .js .faq-item:nth-child(4) { transition-delay: .08s; }
.js .service-card:nth-child(5), .js .faq-item:nth-child(5) { transition-delay: .16s; }
.js .service-card:nth-child(6), .js .faq-item:nth-child(6) { transition-delay: .24s; }
.js .faq-item:nth-child(2) { transition-delay: .06s; }
.js .faq-item:nth-child(3) { transition-delay: .12s; }
.js .visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .hero-grid { gap: 2rem; }
  .chip-2 { right: 0; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 76px;
    right: 0;
    width: min(330px, 82vw);
    height: calc(100vh - 76px);
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    padding: 1.4rem 1.2rem;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-left: 1px solid var(--line);
    box-shadow: -16px 0 44px rgba(85, 68, 143, .14);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { padding: .85rem 1rem; border-radius: 12px; font-size: .98rem; }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active { background: var(--lav-100); color: var(--lav-700); }
  .nav-toggle { display: flex; }

  .services-grid, .events-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .process-steps::before { display: none; }
  .about-grid { gap: 3rem; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .faq-side { position: static; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 820px) {
  .hero { padding: 150px 0 100px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { min-height: 440px; margin-top: 1.5rem; }
  .scroll-hint { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; margin-inline: auto; }
  .media-float { right: 14px; }
  .section { padding: 84px 0; }
}

@media (max-width: 640px) {
  .nav { height: 68px; }
  .nav-links { top: 68px; height: calc(100vh - 68px); }
  html { scroll-padding-top: 78px; }
  .nav-cta { display: none; }
  .hero { padding: 128px 0 84px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .hero-visual { min-height: 400px; }
  .orb-1 { width: 290px; height: 290px; }
  .orb-2 { width: 200px; height: 200px; }
  .float-chip { font-size: .76rem; padding: .5rem .8rem; }
  .chip-1 { left: -2%; }
  .chip-3 { left: 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .services-grid, .events-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .media-card { height: 400px; }
  .story-card { padding: 2.2rem 1.4rem 1.8rem; }
  .story-card blockquote { font-size: 1.02rem; }
  .cta-banner { padding: 2.5rem 1.7rem; }
  .cta-actions .btn { width: 100%; }
  .contact-form { padding: 1.6rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { text-align: center; }
  .bottom-inner { flex-direction: column; }
  .back-top { right: 18px; bottom: 18px; }
}

/* ---------- 无障碍：减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .js .section-head, .js .about-media, .js .about-copy, .js .media-float,
  .js .service-card, .js .step, .js .event-card, .js .cta-banner,
  .js .faq-side, .js .faq-item, .js .contact-info, .js .contact-form {
    opacity: 1;
    transform: none;
  }
}
