/* ═══ 慕松官网 · 设计令牌（对齐 App 默认主题） ═══ */
:root {
  --primary: #1B2A4A;
  --primary-dark: #16233F;
  --primary-deep: #101B36;
  --primary-light: #E8EDF6;
  --accent: #C9A05A;
  --accent-hover: #D9B576;
  --accent-light: #F0E5CC;
  --bg-page: #EFE9DE;
  --card-bg: #FBF7F0;
  --text: #211D15;
  --text-dim: #6B6455;
  --text-on-dark: #F3EFE6;
  --text-on-dark-dim: rgba(243, 239, 230, 0.62);
  --font-display: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 100px;
  --shadow-sm: 0 2px 10px rgba(27, 42, 74, 0.08);
  --shadow-md: 0 10px 34px rgba(27, 42, 74, 0.14);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══ 基础 ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-page);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ═══ 滚动渐入 ═══ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; } .d5 { transition-delay: 0.4s; } .d6 { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ═══ 按钮 ═══ */
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-full);
  font-size: 15px; font-weight: 600; letter-spacing: 1px;
  transition: all 0.25s var(--ease-out); cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: var(--primary-deep); box-shadow: 0 6px 20px rgba(201, 160, 90, 0.35); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201, 160, 90, 0.45); }
.btn-outline { background: transparent; color: var(--text-on-dark); border: 1px solid rgba(243, 239, 230, 0.45); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-large { padding: 17px 40px; font-size: 16px; }

/* ═══ 导航 ═══ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; gap: 40px;
  padding: 0 40px;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.header.scrolled {
  background: rgba(16, 27, 54, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.header-logo {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  color: var(--text-on-dark); letter-spacing: 4px; margin-right: auto;
}
.header-logo em, .footer-logo em { color: var(--accent); font-style: normal; }
.header-nav { display: flex; gap: 34px; }
.header-nav a {
  font-size: 14.5px; color: var(--text-on-dark-dim); letter-spacing: 1px;
  transition: color 0.2s; position: relative;
}
.header-nav a:hover { color: var(--accent); }
.header-cta {
  padding: 9px 24px; border-radius: var(--radius-full);
  background: var(--accent); color: var(--primary-deep);
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  transition: all 0.25s var(--ease-out); white-space: nowrap;
}
.header-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.menu-toggle { display: none; }

/* ═══ HERO ═══ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: var(--primary-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-night.jpg") center 30% / cover no-repeat;
  animation: heroZoom 18s var(--ease-out) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 27, 54, 0.55) 0%, rgba(16, 27, 54, 0.18) 45%, rgba(16, 27, 54, 0.72) 100%);
}
.hero-stars span {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; opacity: 0; animation: twinkle 3.6s ease-in-out infinite;
}
.hero-stars span:nth-child(1) { top: 16%; left: 12%; animation-delay: 0s; }
.hero-stars span:nth-child(2) { top: 24%; left: 78%; animation-delay: 0.7s; }
.hero-stars span:nth-child(3) { top: 12%; left: 45%; animation-delay: 1.4s; }
.hero-stars span:nth-child(4) { top: 34%; left: 28%; animation-delay: 2.1s; }
.hero-stars span:nth-child(5) { top: 20%; left: 60%; animation-delay: 2.8s; }
.hero-stars span:nth-child(6) { top: 42%; left: 88%; animation-delay: 1.1s; }
.hero-stars span:nth-child(7) { top: 30%; left: 6%; animation-delay: 2.4s; }
.hero-stars span:nth-child(8) { top: 8%; left: 30%; animation-delay: 3.2s; }
@keyframes twinkle { 0%, 100% { opacity: 0; } 50% { opacity: 0.9; } }
.hero-content { position: relative; z-index: 2; padding: 120px 24px 80px; }
.hero-tag {
  font-size: 14px; letter-spacing: 6px; color: var(--accent);
  text-transform: uppercase; margin-bottom: 26px; font-weight: 500;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.2vw, 68px);
  font-weight: 700; line-height: 1.28; letter-spacing: 6px;
  color: var(--text-on-dark); margin-bottom: 28px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px); line-height: 2;
  color: var(--text-on-dark-dim); margin-bottom: 44px; letter-spacing: 1px;
}
.hero-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-scroll a { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-on-dark-dim); font-size: 12px; letter-spacing: 3px; }
.scroll-line { width: 1px; height: 44px; background: linear-gradient(180deg, var(--accent), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ═══ 信任数据条 ═══ */
.trust-bar { background: var(--bg-page); padding: 72px 0 60px; border-bottom: 1px solid rgba(27, 42, 74, 0.08); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.trust-num { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 700; color: var(--primary); line-height: 1.15; }
.trust-num small { font-size: 0.48em; color: var(--accent); margin-left: 4px; font-weight: 600; }
.trust-label { font-size: 14px; color: var(--text-dim); margin-top: 8px; letter-spacing: 1px; }
.trust-cert { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; margin-top: 44px; }
.trust-cert-item { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-dim); letter-spacing: 1px; }
.trust-cert-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* ═══ 通用区块 ═══ */
.section { padding: 108px 0; }
.section-alt { background: var(--card-bg); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-label {
  font-size: 13px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 18px;
}
.section-label.light { color: var(--accent); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 700;
  line-height: 1.35; color: var(--primary); letter-spacing: 2px; margin-bottom: 20px;
}
.section-desc { font-size: 16px; color: var(--text-dim); line-height: 1.9; }

/* ═══ 疗愈理念 ═══ */
.ability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ability-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.ability-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.ability-img { aspect-ratio: 16 / 10; overflow: hidden; }
.ability-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.ability-card:hover .ability-img img { transform: scale(1.05); }
.ability-card h3 {
  font-family: var(--font-display); font-size: 21px; color: var(--primary);
  padding: 26px 28px 10px; letter-spacing: 2px;
}
.ability-card p { padding: 0 28px 30px; font-size: 14.5px; color: var(--text-dim); line-height: 1.85; }

/* ═══ 承诺横幅 ═══ */
.band { position: relative; padding: 130px 24px; text-align: center; overflow: hidden; }
.band-bg { position: absolute; inset: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 27, 54, 0.82) 0%, rgba(16, 27, 54, 0.45) 100%); }
.band-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.band-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 36px); font-weight: 700;
  color: var(--accent-light); letter-spacing: 3px; line-height: 1.6; margin-bottom: 20px;
}
.band-attribution { font-size: 15px; color: var(--text-on-dark-dim); letter-spacing: 2px; }

/* ═══ 服务体系 ═══ */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 980px; margin: 0 auto; }
.service-card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  padding: 46px 42px 40px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-num {
  font-family: var(--font-display); font-size: 64px; font-weight: 700;
  color: var(--accent-light); line-height: 1; margin-bottom: 14px;
}
.service-card h3 { font-family: var(--font-display); font-size: 23px; color: var(--primary); letter-spacing: 2px; margin-bottom: 16px; }
.service-card > p { font-size: 15px; color: var(--text-dim); line-height: 1.9; margin-bottom: 22px; }
.service-card ul li { position: relative; padding: 7px 0 7px 22px; font-size: 14.5px; color: var(--text); }
.service-card ul li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 10px; height: 2px; background: var(--accent);
}
.service-cta { text-align: center; margin-top: 56px; }
.service-cta-note { margin-top: 18px; font-size: 14px; color: var(--text-dim); letter-spacing: 1px; }

/* ═══ 慕松老师 ═══ */
.mentor { position: relative; padding: 120px 0; overflow: hidden; background: var(--primary-deep); }
.mentor-bg { position: absolute; inset: 0; opacity: 0.5; }
.mentor-bg img { width: 100%; height: 100%; object-fit: cover; }
.mentor-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 27, 54, 0.75), rgba(16, 27, 54, 0.88)); }
.mentor .container { position: relative; z-index: 2; }
.mentor-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: start; }
.mentor-name {
  font-family: var(--font-display); font-size: clamp(52px, 7vw, 84px);
  font-weight: 700; color: var(--accent); letter-spacing: 14px; line-height: 1.1; margin: 10px 0 24px;
}
.mentor-title { font-size: 17px; color: var(--text-on-dark); line-height: 1.9; letter-spacing: 1.5px; margin-bottom: 34px; }
.mentor-roles li {
  position: relative; padding: 10px 0 10px 24px;
  font-size: 14.5px; color: var(--text-on-dark-dim); letter-spacing: 1px;
  border-bottom: 1px solid rgba(243, 239, 230, 0.12);
}
.mentor-roles li::before { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 2px; background: var(--accent); }
.mentor-story p { font-size: 15px; color: var(--text-on-dark-dim); line-height: 2.05; margin-bottom: 20px; letter-spacing: 0.5px; }
.mentor-story blockquote {
  margin-top: 34px; padding: 26px 30px;
  border-left: 3px solid var(--accent);
  background: rgba(201, 160, 90, 0.08); border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.mentor-story blockquote p {
  font-family: var(--font-display); font-size: 19px; color: var(--accent-light);
  letter-spacing: 1.5px; line-height: 1.8; margin-bottom: 10px;
}
.mentor-story cite { font-style: normal; font-size: 13.5px; color: var(--text-on-dark-dim); letter-spacing: 1px; }

/* ═══ App 下载 ═══ */
.download-grid { display: grid; grid-template-columns: 400px 1fr; gap: 70px; align-items: center; }
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 290px; border-radius: 44px; padding: 12px;
  background: linear-gradient(150deg, #2A3D66, var(--primary-deep));
  box-shadow: 0 30px 60px rgba(16, 27, 54, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}
.phone-notch {
  width: 110px; height: 22px; margin: 2px auto 8px;
  background: var(--primary-deep); border-radius: 12px;
}
.phone-screen { border-radius: 32px; overflow: hidden; background: var(--primary-deep); }
.phone-screen img { width: 100%; display: block; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.feature-item {
  background: #fff; border-radius: var(--radius-md); padding: 22px 20px;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-item h4 { font-family: var(--font-display); font-size: 16.5px; color: var(--primary); letter-spacing: 1px; margin-bottom: 7px; }
.feature-item p { font-size: 13px; color: var(--text-dim); line-height: 1.7; }
.download-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.qrcode-placeholder { display: flex; align-items: center; gap: 14px; }
.qrcode-box {
  width: 96px; height: 96px; flex: none;
  border: 2px dashed rgba(27, 42, 74, 0.3); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 12px; color: var(--text-dim); line-height: 1.6;
}
.qrcode-placeholder p { font-size: 12.5px; color: var(--text-dim); line-height: 1.7; }
.download-note { margin-top: 22px; font-size: 13px; color: var(--text-dim); letter-spacing: 1px; }

/* ═══ FOOTER ═══ */
.footer { background: var(--primary-deep); color: var(--text-on-dark-dim); padding: 70px 0 44px; text-align: center; }
.footer-logo { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--text-on-dark); letter-spacing: 6px; }
.footer-slogan { font-size: 14px; letter-spacing: 3px; margin: 14px 0 30px; color: var(--text-on-dark-dim); }
.footer-links { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-links a { font-size: 14px; letter-spacing: 1px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-legal { border-top: 1px solid rgba(243, 239, 230, 0.1); padding-top: 28px; font-size: 13px; line-height: 2; }
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--accent); }

/* ═══ 响应式：平板（≤1024px） ═══ */
@media (max-width: 1024px) {
  .header { padding: 0 28px; gap: 24px; }
  .header-nav { gap: 22px; }
  .section { padding: 84px 0; }
  .mentor-grid { grid-template-columns: 1fr; gap: 48px; }
  .mentor-name { letter-spacing: 10px; }
  .download-grid { grid-template-columns: 1fr; gap: 56px; }
  .feature-grid { max-width: 640px; margin-left: auto; margin-right: auto; }
  .download-actions, .download-note { justify-content: center; text-align: center; }
  .download-note { width: 100%; }
}

/* ═══ 响应式：手机（≤768px） ═══ */
@media (max-width: 768px) {
  .container { padding: 0 22px; }
  .header { padding: 0 20px; height: 64px; }
  .header-logo { font-size: 23px; }
  .header-nav {
    position: fixed; inset: 64px 0 auto 0; z-index: 99;
    flex-direction: column; gap: 0;
    background: rgba(16, 27, 54, 0.97); backdrop-filter: blur(16px);
    max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out);
  }
  .header-nav.open { max-height: 320px; box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3); }
  .header-nav a { padding: 17px 24px; font-size: 15.5px; border-top: 1px solid rgba(243, 239, 230, 0.08); }
  .header-cta { margin-left: auto; padding: 8px 18px; font-size: 13px; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 8px; background: none; border: none; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--text-on-dark); border-radius: 2px; transition: all 0.3s var(--ease-out); }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-content { padding: 100px 20px 70px; }
  .hero-title { letter-spacing: 3px; }
  .hero-buttons .btn-primary, .hero-buttons .btn-outline { padding: 13px 26px; font-size: 14px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .trust-cert { gap: 14px 22px; }
  .section { padding: 68px 0; }
  .section-header { margin-bottom: 44px; }
  .ability-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .band { padding: 90px 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 28px 32px; }
  .mentor { padding: 84px 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .phone { width: 262px; }
}

/* ═══ 响应式：小屏手机（≤480px） ═══ */
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons a { width: 100%; max-width: 280px; justify-content: center; }
  .trust-cert { flex-direction: column; align-items: center; gap: 10px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .download-actions { flex-direction: column; }
  .btn-large { width: 100%; max-width: 320px; justify-content: center; }
  .qrcode-placeholder { margin-top: 6px; }
}
