/* 灯火下的幸福小家 · 官网首页样式
   视觉规格 1:1 对齐微信小程序设计语言：
   - 页面底色 page: linear-gradient(155deg,#eef5ff 0%,#f4f7fb 25%,#f4f7fb 72%,#edf5ff 100%)
   - 卡片 card: 44rpx 圆角(22px) + 白描边 + rgba(255,255,255,.92) + 0 10rpx 44rpx rgba(53,91,148,.045)
   - 主按钮 primary-btn: 135deg #438cf7→#2768e7 + 内高光 rgba(255,255,255,.3)
   - 品牌蓝 #2169E8 / 渐变蓝 #438CF7→#1F5FD9 / 琥珀 #B97F14 / 玫瑰 #C2506A / ink #1B2638 / muted #69768A
   法律条款页继续使用 legal.css，本文件只服务 index.html */

:root {
  color-scheme: light;
  --ink: #1b2638;
  --ink-2: #5b6b84;
  --muted: #69768a;
  --ink-3: #8b98ac;
  --line: #e1eafa;
  --blue: #2169e8;
  --blue-hi: #438cf7;
  --blue-deep: #1f5fd9;
  --blue-soft: #edf4ff;
  --amber: #b97f14;
  --amber-soft: #fdf3df;
  --rose: #c2506a;
  --rose-soft: #fbeef2;
  --mint: #3e977d;
  --mint-soft: #eaf8f3;
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-line: rgba(255, 255, 255, 0.98);
  --shadow-card: 0 5px 22px rgba(53, 91, 148, 0.045);
  --shadow-card-hover: 0 14px 40px rgba(53, 91, 148, 0.11);
  --shadow-float: 0 22px 60px rgba(53, 91, 148, 0.14);
  --radius-card: 22px;
  --radius-btn: 16px;
  --grad-hero: linear-gradient(135deg, #438cf7 0%, #1f5fd9 100%);
  --grad-btn: linear-gradient(135deg, #438cf7, #2768e7);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: linear-gradient(155deg, #eef5ff 0%, #f4f7fb 25%, #f4f7fb 72%, #edf5ff 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }

.container { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(225, 234, 250, 0.75);
  background: rgba(244, 247, 251, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 680;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand__logo {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(33, 105, 232, 0.22);
}

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.nav-cta) {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 140ms ease;
}
.site-nav a:not(.nav-cta):hover { color: var(--blue); }

/* 导航 CTA = 小程序 .primary-btn：渐变 + 内高光 + 方角 */
.nav-cta {
  padding: 10px 22px;
  border-radius: 14px;
  background: var(--grad-btn);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 22px rgba(33, 105, 232, 0.22);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 28px rgba(33, 105, 232, 0.3); }

/* ---------- 宣传口号横幅 ---------- */

.slogan-bar {
  position: relative;
  overflow: hidden;
  padding: 11px 16px;
  background: var(--grad-hero);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.slogan-bar::before,
.slogan-bar::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 66%);
}
.slogan-bar::before { left: -60px; }
.slogan-bar::after { right: -60px; background: radial-gradient(circle, rgba(255, 217, 143, 0.28), transparent 66%); }

.slogan-bar__text {
  position: relative;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 2px rgba(20, 50, 120, 0.2);
}

/* ---------- Hero ---------- */

.hero { padding: 78px 0 30px; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 56px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid #dbe7fb;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.hero__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-hi);
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(38px, 5.6vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.045em;
  font-weight: 760;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 5px;
  height: 12px;
  border-radius: 7px;
  background: rgba(185, 127, 20, 0.16);
  z-index: -1;
}

.hero__lead {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17.5px;
}

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: var(--radius-btn);
  font-size: 15.5px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.btn svg { width: 18px; height: 18px; }

/* 主按钮 = 小程序 .primary-btn：渐变 + 内高光 */
.btn--primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 30px rgba(33, 105, 232, 0.2);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 38px rgba(33, 105, 232, 0.28); }

/* 次按钮 = 小程序 .ghost-btn：#edf4ff 底 + #e1eafa 描边 */
.btn--ghost {
  border: 1px solid var(--line);
  background: var(--blue-soft);
  color: var(--blue);
}
.btn--ghost:hover { transform: translateY(-2px); background: #e3eeff; }

.hero__hint { margin-top: 18px; color: var(--ink-3); font-size: 13px; }

/* Hero 右侧：手机 mockup（旗舰机质感：光晕 + 网格景深 + 3D 倾角 + 灵动岛 + TabBar） */

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 26px 0 44px;
  perspective: 1400px;
}

/* 背后光晕 */
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 6% 4% 0;
  border-radius: 50%;
  background:
    radial-gradient(58% 52% at 52% 46%, rgba(67, 140, 247, 0.34), transparent 68%),
    radial-gradient(38% 34% at 24% 66%, rgba(126, 203, 213, 0.26), transparent 70%),
    radial-gradient(34% 30% at 80% 30%, rgba(244, 183, 106, 0.2), transparent 70%);
  filter: blur(26px);
  z-index: 0;
}

/* 点阵网格，营造科技景深 */
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(53, 91, 148, 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(64% 58% at 50% 50%, #000 0%, transparent 78%);
  mask-image: radial-gradient(64% 58% at 50% 50%, #000 0%, transparent 78%);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: 300px;
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(150deg, #45536e 0%, #1b2434 38%, #0e1522 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.34),
    inset 0 -1px 1px rgba(255, 255, 255, 0.08),
    0 40px 90px rgba(20, 42, 88, 0.34),
    0 12px 30px rgba(20, 42, 88, 0.18);
  transform: rotateY(-9deg) rotateX(2.5deg) rotateZ(0.5deg);
  transform-style: preserve-3d;
  transition: transform 500ms ease;
}

.phone:hover { transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg); }

/* 侧边实体按键 */
.phone::before {
  content: "";
  position: absolute;
  left: -2.5px;
  top: 21%;
  width: 2.5px;
  height: 92px;
  border-radius: 2px;
  background: linear-gradient(180deg, #5c6b86, #232f44);
  box-shadow: 0 128px 0 0 #3a465c;
}

.phone::after {
  content: "";
  position: absolute;
  right: -2.5px;
  top: 26%;
  width: 2.5px;
  height: 66px;
  border-radius: 2px;
  background: linear-gradient(180deg, #5c6b86, #232f44);
}

.phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: 44px;
  background: #f4f7fb;
  display: flex;
  flex-direction: column;
}

/* 灵动岛 */
.phone__island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 25px;
  border-radius: 999px;
  background: #0a1120;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 9px;
  z-index: 5;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.06);
}

.phone__island i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #33415c, #050a14 68%);
}

/* 状态栏 */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px 6px;
  color: var(--ink);
}

.status-bar__time { font-size: 12.5px; font-weight: 750; letter-spacing: 0.02em; }

.status-bar__icons { display: flex; align-items: center; gap: 5px; color: var(--ink); }
.status-bar__icons svg { height: 11px; width: auto; display: block; }

/* 屏幕内容 = 小程序真实首页：问候 + 常用操作 + 今天待办 */

.screen-body { padding: 18px 12px 12px; display: grid; gap: 10px; }

.screen-hello__title { font-size: 15px; font-weight: 760; letter-spacing: -0.01em; }
.screen-hello__sub { margin-top: 1px; font-size: 9.5px; color: var(--ink-3); }

/* 常用操作六宫格 */
.screen-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }

.sq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 9px 4px 8px;
  border: 1px solid var(--card-line);
  border-radius: 12px;
  background: var(--card-bg);
  box-shadow: 0 4px 14px rgba(53, 91, 148, 0.05);
  font-size: 9.5px;
  font-weight: 650;
  color: var(--ink-2);
}

.sq svg { width: 16px; height: 16px; }
.sq:nth-child(3n + 1) svg { color: var(--blue); }
.sq:nth-child(3n + 2) svg { color: var(--amber); }
.sq:nth-child(3n) svg { color: var(--mint); }

/* 「今天」待办卡 = 小程序 .card：白描边 + 极柔投影 */
.screen-today {
  padding: 12px;
  border: 1px solid var(--card-line);
  border-radius: 16px;
  background: var(--card-bg);
  box-shadow: 0 5px 22px rgba(53, 91, 148, 0.05);
}

.screen-today__head { display: flex; align-items: baseline; justify-content: space-between; font-size: 12.5px; font-weight: 760; }
.screen-today__head span { font-size: 9.5px; font-weight: 600; color: var(--ink-3); }

.today-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #eef3fa; }
.today-row > div { flex: 1; min-width: 0; }
.today-row b { display: block; font-size: 11px; color: var(--ink); }
.today-row small { display: block; font-size: 9px; color: var(--ink-3); }

.today-row__time {
  flex: none;
  width: 38px;
  padding: 3px 0;
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 9px;
  font-weight: 750;
  text-align: center;
}
.today-row__time--amber { background: var(--amber-soft); color: var(--amber); }

.tag { flex: none; padding: 2px 8px; border-radius: 999px; font-size: 9px; font-weight: 700; }
.tag--blue { background: var(--blue-soft); color: var(--blue); }
.tag--rose { background: var(--rose-soft); color: var(--rose); }

.today-chore { padding-top: 9px; }
.today-chore__head { display: flex; align-items: baseline; justify-content: space-between; font-size: 11px; font-weight: 750; }
.today-chore__head span { font-size: 9.5px; font-weight: 700; color: var(--mint); }

.progress { height: 5px; margin: 7px 0 9px; border-radius: 999px; background: #e8eef8; overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #5aa5f8, #2f6fe4); }

.today-chore__item { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 10.5px; font-weight: 650; color: var(--ink-2); }
.today-chore__item small { flex: none; font-size: 9px; font-weight: 500; color: var(--ink-3); }

/* 底部 TabBar + 悬浮发布键（= 小程序 float-add 渐变） */

.screen-tabbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: auto;
  padding: 9px 10px 13px;
  border-top: 1px solid rgba(225, 234, 250, 0.9);
  background: rgba(255, 255, 255, 0.96);
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--ink-3);
  font-size: 9.5px;
  font-weight: 650;
  min-width: 46px;
}

.tab svg { width: 19px; height: 19px; }

.tab--active { color: var(--blue); }

.fab-wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 46px; }
.fab-wrap small { font-size: 9.5px; font-weight: 650; color: var(--blue); }

.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -26px 0 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #7dbbff, #3273f2 75%);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.56), 0 10px 24px rgba(50, 116, 232, 0.32);
}

.fab svg { width: 18px; height: 18px; }

.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--card-line);
  border-radius: 16px;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 40px rgba(53, 91, 148, 0.14);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  animation: floaty 5.2s ease-in-out infinite;
}

.float-chip small { display: block; font-size: 10.5px; font-weight: 500; color: var(--ink-3); }

.float-chip svg { width: 20px; height: 20px; flex: none; }

.float-chip--finance { top: 8%; left: 2%; color: var(--mint); animation-delay: 0.4s; }
.float-chip--story { bottom: 4%; right: 0; color: var(--blue); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
  .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 通用 section ---------- */

.section { padding: 74px 0 8px; }

.section__head { max-width: 620px; margin: 0 auto 42px; text-align: center; }
.section__eyebrow {
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.18em;
}
.section__head h2 { margin: 10px 0 12px; font-size: clamp(28px, 4vw, 38px); line-height: 1.25; letter-spacing: -0.03em; font-weight: 760; }
.section__head p { margin: 0; color: var(--muted); font-size: 16.5px; }

/* ---------- 功能板块（四大分组：白卡 + 白描边 + 极柔投影） ---------- */

.group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.group-card {
  padding: 30px 30px 24px;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.group-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.group-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }

.group-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.group-card__icon svg { width: 26px; height: 26px; }

.group-card__icon--blue { background: var(--blue-soft); color: var(--blue); }
.group-card__icon--mint { background: var(--mint-soft); color: var(--mint); }
.group-card__icon--amber { background: var(--amber-soft); color: var(--amber); }
.group-card__icon--rose { background: var(--rose-soft); color: var(--rose); }

.group-card h3 { margin: 0 0 3px; font-size: 19px; letter-spacing: -0.01em; font-weight: 740; }
.group-card__head p { margin: 0; color: var(--ink-3); font-size: 12.5px; }

.group-card__list { display: grid; margin: 0; padding: 0; list-style: none; }
.group-card__list li { padding: 10px 0; border-top: 1px solid #edf2fa; }
.group-card__list b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.group-card__list span { display: block; margin-top: 1px; font-size: 12.5px; color: var(--muted); }

/* ---------- 家庭故事册特色带（= 小程序故事页 hero 蓝渐变） ---------- */

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 52px;
  margin-top: 26px;
  padding: 52px 56px;
  border-radius: 28px;
  background: var(--grad-hero);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 24px 70px rgba(33, 105, 232, 0.32);
  overflow: hidden;
  position: relative;
}

.story-band::before {
  content: "";
  position: absolute;
  right: -150px;
  top: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 66%);
}

.story-band::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 127, 20, 0.2), transparent 66%);
}

.story-band > * { position: relative; z-index: 1; }

.story-band__eyebrow { color: #ffd98f; font-size: 12.5px; font-weight: 750; letter-spacing: 0.18em; }
.story-band h2 { margin: 10px 0 14px; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 760; }
.story-band p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 15.5px; }

.story-band__points { display: grid; gap: 14px; margin-top: 26px; }
.story-band__point { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: rgba(255, 255, 255, 0.94); }
.story-band__point svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #ffd98f; }

/* 故事册示意卡（= 小程序故事页白卡） */

.story-demo {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-card);
  background: var(--card-bg);
  color: var(--ink);
  box-shadow: 0 26px 60px rgba(15, 43, 92, 0.28);
}

.story-demo__month { display: flex; align-items: baseline; gap: 10px; }
.story-demo__month strong { font-size: 20px; letter-spacing: -0.02em; }
.story-demo__month span { color: var(--ink-3); font-size: 12.5px; }

.story-demo__stats { display: flex; gap: 8px; margin: 14px 0 18px; }
.story-demo__stats i {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 700;
  font-style: normal;
}
.story-demo__stats i:nth-child(2) { background: var(--amber-soft); color: var(--amber); }
.story-demo__stats i:nth-child(3) { background: var(--mint-soft); color: var(--mint); }

.timeline { display: grid; }
.timeline__item { position: relative; padding: 0 0 18px 26px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: -2px;
  width: 2px;
  background: var(--line);
}
.timeline__item:last-child::before { display: none; }
.timeline__item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue-hi);
  box-shadow: 0 0 0 3px rgba(67, 140, 247, 0.14);
}
.timeline__item:nth-child(2)::after { border-color: #e0a53a; box-shadow: 0 0 0 3px rgba(224, 165, 58, 0.16); }
.timeline__item:nth-child(3)::after { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(194, 80, 106, 0.13); }

.timeline__day { font-size: 11.5px; color: var(--ink-3); font-weight: 700; }
.timeline__title { font-size: 14px; font-weight: 700; color: var(--ink); }
.timeline__text { font-size: 12px; color: var(--muted); }

.timeline__item--locked .timeline__title { color: var(--ink-3); }
.timeline__item--locked::after { border-color: var(--ink-3); box-shadow: none; }
.timeline__lock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 11px;
  font-weight: 750;
}

/* ---------- 会员方案 ---------- */

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.plan-card--featured {
  border: 1.5px solid rgba(67, 140, 247, 0.55);
  background: linear-gradient(170deg, #eef4ff 0%, rgba(255, 255, 255, 0.94) 48%);
  box-shadow: 0 14px 44px rgba(33, 105, 232, 0.14);
}

.plan-card__flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--grad-btn);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 20px rgba(33, 105, 232, 0.24);
}

.plan-card__name { color: var(--muted); font-size: 14.5px; font-weight: 700; }
.plan-card__price { display: flex; align-items: baseline; gap: 4px; margin: 8px 0 2px; }
.plan-card__price b { font-size: 44px; letter-spacing: -0.04em; font-weight: 760; }
.plan-card__price span { color: var(--ink-3); font-size: 14px; }
.plan-card__per { color: var(--ink-3); font-size: 12.5px; }

.plan-card__list { display: grid; gap: 10px; margin: 22px 0 26px; padding: 0; list-style: none; }
.plan-card__list li { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-2); font-size: 13.5px; }
.plan-card__list svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--mint); }

.plan-card__note { margin-top: auto; color: var(--ink-3); font-size: 12px; }

.plans-foot { margin: 26px auto 0; max-width: 640px; text-align: center; color: var(--ink-3); font-size: 13px; }
.plans-foot a { color: var(--blue); }

/* ---------- 合规条款区 ---------- */

.legal-band { padding: 66px 0 30px; }

.legal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.legal-card {
  display: block;
  padding: 24px 26px;
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.legal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }

.legal-card__top { display: flex; align-items: center; justify-content: space-between; }
.legal-card__label { padding: 4px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 700; }
.legal-card--privacy .legal-card__label { background: var(--mint-soft); color: var(--mint); }
.legal-card--member .legal-card__label { background: var(--amber-soft); color: var(--amber); }
.legal-card__arrow { color: var(--ink-3); font-size: 15px; transition: transform 160ms ease, color 160ms ease; }
.legal-card:hover .legal-card__arrow { transform: translateX(3px); color: var(--blue); }

.legal-card h3 { margin: 12px 0 6px; font-size: 17px; color: var(--ink); }
.legal-card p { margin: 0; color: var(--ink-3); font-size: 13px; }

/* ---------- Footer ---------- */

.site-footer { margin-top: 66px; padding: 34px 0 44px; border-top: 1px solid rgba(225, 234, 250, 0.8); color: var(--ink-3); font-size: 13px; }

.site-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer__brand img { width: 26px; height: 26px; border-radius: 8px; }
.site-footer__brand b { color: var(--ink); font-size: 15px; }

.site-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.site-footer__meta a { color: var(--ink-3); text-underline-offset: 3px; }
.site-footer__meta a:hover { color: var(--blue); }

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
  .hero { padding: 52px 0 20px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { order: -1; }
  .story-band { grid-template-columns: 1fr; gap: 36px; padding: 40px 34px; }
  .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .legal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .group-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  body { font-size: 15px; }
  .site-header__inner { min-height: 62px; }
  .site-nav { gap: 14px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .brand__logo { width: 34px; height: 34px; }
  .brand { font-size: 16px; }
  .slogan-bar { padding: 9px 14px; }
  .slogan-bar__text { font-size: 13px; letter-spacing: 0.08em; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 38px); }
  .hero__lead { font-size: 16px; }
  .hero__actions .btn { flex: 1; justify-content: center; padding: 14px 18px; }
  .section { padding: 52px 0 4px; }
  .group-card { padding: 24px 22px 18px; }
  .story-band { padding: 32px 24px; border-radius: 24px; }
  .float-chip { display: none; }
  .hero__visual::after { background-size: 18px 18px; }
  .phone { width: 268px; transform: none; }
  .phone__island { width: 78px; height: 22px; }
  .plan-card--featured { order: -1; }
  .site-footer { margin-top: 48px; }
}
