/* ============================================================
   天禧福缘 · 公司官网样式
   设计方向：Refined Romance（精致浪漫）
   主色：玫红 #E91E63 / #FF4081
   -----------------------------------------------------------
   全部使用 CSS 变量，便于后续主题修改
   ============================================================ */

/* ---------- 1. 设计令牌（主题变量） ---------- */
:root {
  /* 主色 */
  --c-primary: #E91E63;
  --c-primary-deep: #B0154A;
  --c-primary-soft: #FF4081;
  --c-primary-light: #FFD7E6;

  /* 中性色 */
  --c-ink: #2A1620;        /* 深墨带红褐 */
  --c-text: #4A3540;
  --c-muted: #8A7480;
  --c-line: #F0E2EA;

  /* 背景 */
  --c-bg: #FFFBFC;
  --c-bg-alt: #FFF5F8;
  --c-card: #FFFFFF;
  --c-cream: #FFF8F3;

  /* 强调辅助 */
  --c-gold: #C9A86A;
  --c-dark: #1F1018;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(176, 21, 74, 0.06);
  --shadow-md: 0 8px 30px rgba(176, 21, 74, 0.10);
  --shadow-lg: 0 20px 60px rgba(176, 21, 74, 0.16);
  --shadow-rose: 0 16px 40px rgba(233, 30, 99, 0.22);

  /* 圆角 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* 间距 */
  --space-section: clamp(64px, 9vw, 130px);

  /* 容器 */
  --container: 1180px;

  /* 字体 —— 纯系统字体栈，零外部依赖，加载最快 */
  --font-display: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "STHeiti", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;

  /* 动效 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

/* ---------- 3. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--space-section) 0;
  position: relative;
}

/* ---------- 4. 通用区块标题 ---------- */
.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section__eyebrow {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--c-primary);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--c-ink);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.section__desc {
  margin-top: 18px;
  color: var(--c-muted);
  font-size: 16px;
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  will-change: transform;
}

.btn--primary {
  background: linear-gradient(120deg, var(--c-primary-soft), var(--c-primary));
  color: #fff;
  box-shadow: var(--shadow-rose);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(233, 30, 99, 0.32);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--c-ink);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(233, 30, 99, 0.25);
}
.btn--ghost:hover {
  background: #fff;
  border-color: var(--c-primary);
  transform: translateY(-3px);
}

/* ============================================================
   6. 导航栏
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  transition: all 0.4s var(--ease);
  background: transparent;
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(255, 251, 252, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(176, 21, 74, 0.08), 0 8px 24px rgba(176, 21, 74, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.nav__logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary-soft), var(--c-primary-deep));
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  box-shadow: var(--shadow-rose);
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--c-ink);
  letter-spacing: 0.06em;
}
.nav.is-scrolled .nav__logo-text { color: var(--c-ink); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: 15px;
  color: var(--c-text);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--c-primary-soft), var(--c-primary));
  border-radius: 2px;
  transition: width 0.35s var(--ease);
}
.nav__link:hover { color: var(--c-primary); }
.nav__link:hover::after { width: 100%; }
.nav__link.is-active { color: var(--c-primary); }
.nav__link.is-active::after { width: 100%; }

.nav__cta {
  padding: 10px 24px;
  border-radius: var(--r-pill);
  background: linear-gradient(120deg, var(--c-primary-soft), var(--c-primary));
  color: #fff !important;
  font-weight: 600;
  box-shadow: var(--shadow-rose);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(233, 30, 99, 0.3); }
.nav__cta::after { display: none; }

/* 汉堡按钮 */
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1001;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   7. Hero 首页 Banner
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(160deg, #FFF5F8 0%, #FFEDF3 40%, #FFE2EC 100%);
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.hero__blob--1 {
  width: 520px; height: 520px;
  top: -120px; left: -80px;
  background: radial-gradient(circle at 30% 30%, #FF80B5, #E91E63);
}
.hero__blob--2 {
  width: 480px; height: 480px;
  bottom: -140px; right: -60px;
  background: radial-gradient(circle at 70% 70%, #FFB1C8, #FF4081);
  animation-delay: -5s;
}
.hero__blob--3 {
  width: 340px; height: 340px;
  top: 40%; left: 55%;
  background: radial-gradient(circle, #FFE4B5, #C9A86A);
  opacity: 0.35;
  animation-delay: -9s;
}

.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero__eyebrow {
  font-size: 14px;
  letter-spacing: 0.35em;
  color: var(--c-primary);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 8vw, 92px);
  line-height: 1.1;
  color: var(--c-ink);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero__title-accent {
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, var(--c-primary-soft), var(--c-primary-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title-accent::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: -6px;
  height: 14px;
  background: var(--c-primary-light);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.7;
  filter: blur(2px);
}

.hero__subtitle {
  font-size: clamp(16px, 2.2vw, 21px);
  color: var(--c-text);
  margin-bottom: 44px;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 6vw, 70px);
  flex-wrap: wrap;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.hero__stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(-1 * clamp(15px, 3vw, 35px));
  top: 50%;
  width: 1px; height: 40px;
  background: rgba(176, 21, 74, 0.2);
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1;
}
.hero__stat-num .unit { font-size: 0.5em; margin-left: 2px; }
.hero__stat-label {
  font-size: 14px;
  color: var(--c-muted);
  margin-top: 8px;
  letter-spacing: 0.1em;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(176, 21, 74, 0.35);
  border-radius: 14px;
  z-index: 2;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--c-primary);
  border-radius: 2px;
  animation: scrollWheel 1.8s var(--ease) infinite;
}

/* ============================================================
   8. 服务介绍
   ============================================================ */
.services { background: var(--c-bg); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--c-card);
  border-radius: var(--r-lg);
  padding: 40px 28px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary-soft), var(--c-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #FFE2EC, #FFD7E6);
  margin-bottom: 24px;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-card__icon { transform: rotate(-6deg) scale(1.05); }

/* CSS 图标 */
.ico { display: block; font-size: 26px; line-height: 1; }
.ico--spark::before { content: "✦"; color: var(--c-primary); }
.ico--shield::before { content: "☗"; color: var(--c-primary); }
.ico--heart::before { content: "♥"; color: var(--c-primary); }
.ico--chat::before { content: "✎"; color: var(--c-primary); }

.service-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.service-card__desc {
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}
.service-card__num {
  position: absolute;
  right: 20px; bottom: 14px;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: var(--c-primary);
  opacity: 0.08;
  line-height: 1;
}

/* ============================================================
   9. APP 功能展示
   ============================================================ */
.features {
  background: linear-gradient(180deg, var(--c-bg-alt) 0%, #FFF1F6 100%);
  overflow: hidden;
}
.features__bg {
  position: absolute;
  top: 10%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 64, 129, 0.12), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.features__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* —— CSS 手机框 —— */
.features__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone {
  width: 280px;
  height: 580px;
  background: linear-gradient(150deg, #2A1620, #1F1018);
  border-radius: 42px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255, 255, 255, 0.04) inset;
  position: relative;
}
.phone__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #1F1018;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #FFF5F8, #FFEDF3);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone__statusbar {
  display: flex;
  justify-content: space-between;
  padding: 12px 22px 8px;
  font-size: 11px;
  color: var(--c-ink);
  font-weight: 600;
}
.phone__statusbar-right { letter-spacing: 1px; }

.phone__app {
  flex: 1;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.phone__app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px 12px;
  border-bottom: 1px solid rgba(176, 21, 74, 0.1);
  margin-bottom: 4px;
}
.phone__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF80B5, #E91E63);
  position: relative;
}
.phone__avatar::after {
  content: "♥";
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  color: #fff;
  font-size: 14px;
}
.phone__avatar--1 { background: linear-gradient(135deg, #FFB1C8, #FF4081); }
.phone__app-name { display: flex; flex-direction: column; }
.phone__match-name { font-size: 14px; font-weight: 600; color: var(--c-ink); }
.phone__match-tag { font-size: 10px; color: var(--c-primary); }

.phone__msg {
  max-width: 78%;
  padding: 9px 14px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.5;
  animation: msgIn 0.6s var(--ease) backwards;
}
.phone__msg--in {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 4px;
  color: var(--c-text);
  box-shadow: var(--shadow-sm);
  animation-delay: 0.3s;
}
.phone__msg--out {
  align-self: flex-end;
  background: linear-gradient(120deg, var(--c-primary-soft), var(--c-primary));
  color: #fff;
  border-bottom-right-radius: 4px;
  animation-delay: 0.6s;
}
.phone__msg.voice {
  display: flex; align-items: center; gap: 5px;
  animation-delay: 0.9s;
}
.phone__wave {
  width: 3px;
  background: var(--c-primary);
  border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
}
.phone__wave:nth-child(1) { height: 6px; animation-delay: 0s; }
.phone__wave:nth-child(2) { height: 12px; animation-delay: 0.1s; }
.phone__wave:nth-child(3) { height: 8px; animation-delay: 0.2s; }
.phone__wave:nth-child(4) { height: 14px; animation-delay: 0.3s; }
.phone__wave:nth-child(5) { height: 10px; animation-delay: 0.15s; }
.phone__voice-len { font-size: 10px; color: var(--c-primary); margin-left: 4px; }

.phone__match-card {
  margin-top: auto;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 26px;
  background: linear-gradient(135deg, #FF80B5, #E91E63);
  border-radius: 18px;
  color: #fff;
  box-shadow: var(--shadow-rose);
}
.phone__match-pct { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.phone__match-label { font-size: 10px; letter-spacing: 0.1em; opacity: 0.9; }

.phone__inputbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 14px;
  border-top: 1px solid rgba(176, 21, 74, 0.08);
}
.phone__input-placeholder {
  font-size: 12px;
  color: var(--c-muted);
  background: #fff;
  padding: 6px 14px;
  border-radius: 18px;
  flex: 1;
  margin-right: 10px;
}
.phone__send {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
}

/* 浮动标签 */
.features__float {
  position: absolute;
  padding: 10px 18px;
  background: #fff;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
  box-shadow: var(--shadow-md);
  animation: floaty 4s ease-in-out infinite;
}
.features__float--a { top: 12%; left: -10px; }
.features__float--b { bottom: 18%; right: -10px; animation-delay: -2s; }
.features__float--a::before,
.features__float--b::before { content: "●"; color: var(--c-primary); margin-right: 6px; font-size: 8px; vertical-align: middle; }

/* 功能列表 */
.features__list { margin-top: 8px; }
.feature-item {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(176, 21, 74, 0.08);
}
.feature-item:last-child { border-bottom: none; }
.feature-item__dot {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFE2EC, #FFD7E6);
  color: var(--c-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.feature-item:hover .feature-item__dot {
  background: linear-gradient(135deg, var(--c-primary-soft), var(--c-primary));
  color: #fff;
  transform: translateY(-3px) rotate(-4deg);
}
.feature-item__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.feature-item__desc {
  color: var(--c-muted);
  font-size: 15px;
}

/* ============================================================
   10. 下载引导
   ============================================================ */
.download {
  background: linear-gradient(135deg, var(--c-primary-deep) 0%, var(--c-primary) 55%, var(--c-primary-soft) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.download::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  pointer-events: none;
}
.download::after {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.download__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: center;
}
.download .section__eyebrow { color: rgba(255, 255, 255, 0.85); }
.download__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}
.download__desc {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 460px;
}
.download__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--r-md);
  backdrop-filter: blur(10px);
  transition: all 0.35s var(--ease);
}
.btn-store:hover {
  background: #fff;
  color: var(--c-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.btn-store__mark { font-size: 28px; line-height: 1; }
.btn-store__text { display: flex; flex-direction: column; line-height: 1.2; }
.btn-store__text small { font-size: 11px; opacity: 0.8; }
.btn-store__text { font-weight: 600; font-size: 17px; }
.download__tip { font-size: 13px; opacity: 0.75; }

/* 二维码 */
.download__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.qr-frame {
  width: 200px; height: 200px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  position: relative;
}
.qr-frame img {
  width: 100%; height: 100%;
  object-fit: contain;
}
/* 图片不存在时的占位 */
.qr-frame__placeholder {
  position: absolute;
  inset: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--c-muted);
  border: 2px dashed rgba(176, 21, 74, 0.3);
  border-radius: 10px;
  background: #FFF5F8;
}
.qr-frame__placeholder span { font-size: 44px; color: var(--c-primary); opacity: 0.5; }
.qr-frame__placeholder em { font-style: normal; font-weight: 600; font-size: 13px; color: var(--c-primary); }
.qr-frame__placeholder small { font-size: 11px; }
/* 有图片时隐藏占位 */
.qr-frame:not(.is-placeholder) .qr-frame__placeholder { display: none; }

.download__scan-tip {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: 0.1em;
  opacity: 0.9;
}
.download__scan-tip::before { content: "⤵ "; }

/* ============================================================
   11. 关于我们
   ============================================================ */
.about { background: var(--c-bg); }
.about__inner {
  max-width: 900px;
  text-align: center;
}
.about__quote {
  position: relative;
  padding: 50px 40px;
}
.about__quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  color: var(--c-primary);
  opacity: 0.15;
  position: absolute;
  top: -10px; left: 0;
}
.about__quote p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 500;
  line-height: 1.8;
  color: var(--c-ink);
  position: relative;
  z-index: 1;
}
.about__values {
  display: flex;
  justify-content: center;
  gap: clamp(40px, 8vw, 90px);
  margin-top: 60px;
  flex-wrap: wrap;
}
.about__value { text-align: center; }
.about__value-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 700;
  background: linear-gradient(120deg, var(--c-primary-soft), var(--c-primary-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.about__value-label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--c-muted);
  letter-spacing: 0.15em;
}

/* ============================================================
   12. 联系我们
   ============================================================ */
.contact { background: var(--c-bg-alt); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.contact-card {
  background: var(--c-card);
  border-radius: var(--r-lg);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.contact-card__ico {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE2EC, #FFD7E6);
  color: var(--c-primary);
  font-size: 22px;
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease);
}
.contact-card:hover .contact-card__ico { transform: scale(1.08) rotate(-6deg); }
.contact-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 10px;
}
.contact-card__value {
  font-size: 20px;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.contact-card__note {
  font-size: 13px;
  color: var(--c-muted);
}

/* ============================================================
   13. Footer
   ============================================================ */
.footer {
  background: var(--c-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 36px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary-soft), var(--c-primary-deep));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
.footer__logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.06em;
}
.footer__desc { font-size: 14px; opacity: 0.7; }
.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
}
.footer__links a:hover { opacity: 1; color: var(--c-primary-soft); }
.footer__meta {
  font-size: 13px;
  opacity: 0.55;
  line-height: 1.9;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  padding-top: 24px;
  margin-top: 8px;
}
.footer__meta a {
  font-size: 12px;
  color: inherit;
  transition: color 0.3s var(--ease);
}
.footer__meta a:hover {
  color: var(--c-primary-soft);
}

/* ============================================================
   14. 回到顶部按钮
   ============================================================ */
.backtop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary-soft), var(--c-primary));
  color: #fff;
  font-size: 22px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-rose);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.7);
  transition: all 0.4s var(--ease);
}
.backtop.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.backtop:hover { transform: translateY(-4px) scale(1.08); }

/* ============================================================
   15. 滚动渐入动画
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
/* 子元素错位动画延迟 */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* 关键帧 */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1.4); }
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 尊重无动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   16. 响应式 — 平板
   ============================================================ */
@media (max-width: 980px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features__layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .features__visual { order: 2; }
  .features__detail { text-align: center; }
  .features__list { max-width: 560px; margin: 0 auto; }
  .download__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .download__desc { margin-left: auto; margin-right: auto; }
  .download__buttons { justify-content: center; }
}

/* ============================================================
   17. 响应式 — 移动端
   ============================================================ */
@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }

  /* 移动端导航 */
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: linear-gradient(180deg, #FFFBFC, #FFF5F8);
    padding: 80px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 60px rgba(176, 21, 74, 0.15);
    z-index: 1000;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { font-size: 18px; }
  .nav__cta { margin-top: 10px; }

  .hero { padding: 110px 0 60px; min-height: 92vh; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 30px; }
  .hero__stat:not(:last-child)::after { display: none; }

  .services__grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 24px 28px; }

  .phone { width: 240px; height: 500px; }
  .phone__notch { width: 84px; height: 18px; }

  .contact__grid { grid-template-columns: 1fr; }

  .footer__links { gap: 16px; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 44px; }
  .phone { width: 220px; height: 460px; }
}
