/* ============================================================================
   翻翻纪念日 FlipDay · 独立站样式
   设计语言：极光靛蓝（品牌色取自 App 的 BrandColor #4F5CD9）
   ============================================================================ */

/* ============ Design tokens ============ */
:root {
  --bg: #F7F8FC;
  --bg-soft: #EEF1FA;
  --card: #FFFFFF;
  --primary: #4F5CD9;
  --primary-strong: #3B47C4;
  --primary-soft: #E7EAFF;
  --violet: #8B6CE0;
  --teal: #3FB8AE;
  --rose: #E05B8E;
  --up: #E4514A;      /* 倒计时（红 = 未来，符合中文习惯） */
  --up-soft: #FFE8E6;
  --past: #2FA37A;    /* 已过去（绿） */
  --past-soft: #DFF5EE;
  --ink: #1F2333;
  --muted: #6B7186;
  --line: #E4E8F2;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 18px 46px -18px rgba(59, 71, 196, .28);
  --shadow-soft: 0 10px 28px -12px rgba(31, 35, 51, .16);
  --font-display: "Manrope", "Noto Sans SC", "Noto Sans JP", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", "Noto Sans SC", "Noto Sans JP", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
}

/* ============ Reset ============ */
*, *::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);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
.container { width: min(1160px, 92%); margin: 0 auto; }

/* ============ Progress bar ============ */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--violet), var(--rose));
  z-index: 1000; transition: width .1s linear;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 800; font-family: var(--font-display);
  border-radius: 999px; border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
  padding: 13px 24px; font-size: 15px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff; box-shadow: 0 12px 26px -10px rgba(59, 71, 196, .6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(59, 71, 196, .62); }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-strong); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 248, 252, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(31, 35, 51, .28); }
.header-inner { display: flex; align-items: center; gap: 18px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 12px; overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-cn { font-weight: 900; font-size: 16.5px; letter-spacing: .3px; }
.brand-en { font-size: 10px; font-weight: 800; color: var(--primary); letter-spacing: 1.4px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 13px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  color: var(--ink); transition: background .18s, color .18s;
}
.nav a:hover { background: var(--primary-soft); color: var(--primary-strong); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Language switch */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 8px 12px; font-size: 13.5px; font-weight: 800; color: var(--ink);
  transition: border-color .18s;
}
.lang-btn:hover { border-color: var(--primary); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 158px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-soft); padding: 6px;
  opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: .18s ease;
  z-index: 20;
}
.lang-switch.open .lang-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.lang-menu li button {
  width: 100%; text-align: left; padding: 9px 12px; border-radius: 9px;
  background: none; border: none; font-size: 14px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.lang-menu li button:hover { background: var(--bg-soft); }
.lang-menu li button.active { color: var(--primary-strong); font-weight: 800; }
.lang-menu li button.active::after { content: "✓"; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.menu-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ============ Hero ============ */
.hero { position: relative; padding: 62px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .55; }
.blob-1 { width: 520px; height: 520px; background: #D6DAFF; top: -180px; right: -140px; }
.blob-2 { width: 420px; height: 420px; background: #D9F2EF; top: 32%; left: -200px; }
.blob-3 { width: 340px; height: 340px; background: #F2DCFF; bottom: -140px; left: 34%; }

.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 48px; align-items: center; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-soft); color: var(--primary-strong);
  font-weight: 800; font-size: 13px; padding: 7px 15px; border-radius: 999px; margin-bottom: 20px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(79, 92, 217, .22); }
.hero-title { font-family: var(--font-display); font-size: clamp(34px, 5.2vw, 56px); font-weight: 900; line-height: 1.14; letter-spacing: -1.2px; }
.hero-title .highlight {
  background: linear-gradient(115deg, var(--primary) 0%, var(--violet) 52%, var(--rose) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 22px 0 30px; font-size: 16.5px; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13.5px; color: var(--muted); font-weight: 700; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(63, 184, 174, .2); flex: 0 0 auto; }

/* ---------- Phone mockup ---------- */
.hero-visual { display: flex; justify-content: center; }
.phone-wrap { position: relative; }
.phone-aurora {
  position: absolute; inset: -8% -12%;
  background:
    radial-gradient(46% 40% at 20% 18%, rgba(79, 92, 217, .40) 0%, transparent 70%),
    radial-gradient(44% 42% at 82% 30%, rgba(63, 184, 174, .38) 0%, transparent 70%),
    radial-gradient(50% 44% at 50% 92%, rgba(224, 91, 142, .34) 0%, transparent 70%);
  filter: blur(30px);
  border-radius: 50%;
  z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: 292px; aspect-ratio: 9 / 19.2;
  background: linear-gradient(160deg, #262B45, #14172A);
  border-radius: 46px; padding: 9px;
  box-shadow: 0 40px 70px -26px rgba(31, 35, 51, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden;
  background: var(--bg); display: flex; flex-direction: column;
}
.mock-topbar {
  height: 30px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; font-size: 10px; font-weight: 800; color: var(--ink);
}
.mock-topbar .mock-status { display: flex; gap: 3px; align-items: center; }
.mock-topbar .mock-status i { display: block; width: 12px; height: 7px; border-radius: 2px; background: #C7CCDC; }
.mock-topbar .mock-status i.bat { width: 16px; background: var(--ink); }
.mock-body { flex: 1 1 auto; padding: 4px 16px 0; overflow: hidden; }
.mock-screenTitle { font-size: 22px; font-weight: 900; letter-spacing: -.6px; margin-bottom: 12px; }
.mock-group { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; margin: 10px 0 7px; }
.mock-group .dot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.mock-group.up { color: var(--up); } .mock-group.up .dot { background: var(--up); }
.mock-group.past { color: var(--past); } .mock-group.past .dot { background: var(--past); }
.mock-card {
  background: #fff; border-radius: 16px; padding: 11px 13px; margin-bottom: 9px;
  box-shadow: 0 8px 20px -12px rgba(31, 35, 51, .3);
}
.mock-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mock-chip { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 2px 7px; font-size: 8.5px; font-weight: 800; white-space: nowrap; }
.mock-chip.up { background: var(--up-soft); color: var(--up); }
.mock-chip.past { background: var(--past-soft); color: var(--past); }
.mock-cat { font-size: 9px; font-weight: 800; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.mock-cat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.mock-card.past-card .mock-cat::before { background: var(--teal); }
.mock-card-title { font-size: 13px; font-weight: 800; margin-top: 6px; line-height: 1.35; }
.mock-card-date { font-size: 9.5px; color: var(--muted); font-weight: 600; margin-top: 1px; }
.mock-count { display: flex; align-items: baseline; margin-top: 8px; font-weight: 900; letter-spacing: -.4px; }
.mock-count .num { font-size: 19px; }
.mock-count .unit { font-size: 9px; font-weight: 800; margin: 0 5px 0 2px; opacity: .8; }
.mock-count.up { color: var(--up); }
.mock-count.past { color: var(--past); }
.mock-tabbar {
  flex: 0 0 auto; height: 48px; background: #fff; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-around;
}
.mock-tabbar i { width: 19px; height: 19px; border-radius: 6px; background: #CFD4E4; display: block; }
.mock-tabbar i.on { background: var(--primary); }
.mock-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mock-tab b { display: block; width: 20px; height: 3px; border-radius: 2px; background: transparent; }
.mock-tab.on b { background: var(--primary); }
.mock-home-bar { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 88px; height: 4px; border-radius: 3px; background: #C7CCDC; }

/* ============ Stats ============ */
.stats { border-block: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-value { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 900; color: var(--primary-strong); letter-spacing: -.8px; }
.stat-label { font-size: 13px; color: var(--muted); font-weight: 700; }

/* ============ Sections ============ */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 54px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(27px, 3.5vw, 39px); font-weight: 900; letter-spacing: -.8px; margin-bottom: 14px; line-height: 1.25; }
.section-head p { color: var(--muted); font-size: 16.5px; }

/* ============ Features ============ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.feature-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.feature-card h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 10px; font-family: var(--font-display); line-height: 1.4; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ============ How ============ */
.how { background: linear-gradient(180deg, var(--bg-soft), #F4F6FD); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: #fff; border-radius: var(--radius-lg); padding: 32px 28px;
  border: 1px solid var(--line); text-align: center; position: relative;
}
.step-num {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--primary), var(--violet)); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 18px; font-family: var(--font-display);
}
.step h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 10px; font-family: var(--font-display); line-height: 1.4; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ============ Split sections (markday / flip) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-copy .badge { margin-bottom: 16px; }
.split-copy h2 { font-family: var(--font-display); font-size: clamp(26px, 3.1vw, 34px); font-weight: 900; letter-spacing: -.7px; margin-bottom: 14px; line-height: 1.28; }
.split-copy > p { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
.bullets { display: flex; flex-direction: column; gap: 18px; }
.bullet { display: flex; gap: 14px; }
.bullet-icon {
  width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px;
  display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-strong);
}
.bullet h4 { font-size: 15.5px; font-weight: 800; margin-bottom: 5px; font-family: var(--font-display); line-height: 1.45; }
.bullet p { font-size: 14px; color: var(--muted); }
.split-visual { display: flex; justify-content: center; }
.markday { background: var(--bg); }
.flip-sec { background: linear-gradient(180deg, #F4F6FD, var(--bg-soft)); }

/* Calendar mockup */
.cal-mock {
  width: min(400px, 100%); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-soft);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-month { font-weight: 900; font-size: 15.5px; font-family: var(--font-display); }
.cal-nav { display: flex; gap: 6px; }
.cal-nav i { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--muted); font-size: 11px; font-style: normal; font-weight: 800; }
.cal-views { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.cal-view { font-size: 10.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.cal-view.on { background: var(--primary); color: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 9.5px; font-weight: 800; color: var(--muted); padding-bottom: 6px; }
.cal-dow.we { color: var(--primary); }
.cal-day {
  position: relative; aspect-ratio: 1 / 1; border-radius: 10px;
  display: grid; place-items: center; font-size: 11.5px; font-weight: 700;
}
.cal-day.mute { color: #C4C9DA; font-weight: 600; }
.cal-day.today { background: var(--primary); color: #fff; font-weight: 900; }
.cal-day .m {
  position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%;
}
.cal-day .m.tiny { width: 3.5px; height: 3.5px; }
.cal-day .m.big { width: 8px; height: 8px; }
.cal-day.today .m { display: none; }
.cal-sum { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: center; }

/* Flip card mockup */
.flip-mock-wrap { position: relative; }
.flip-mock-wrap::before {
  content: ""; position: absolute; inset: 8% -6% -8% 6%;
  border-radius: 26px; background: rgba(79, 92, 217, .14);
  transform: rotate(-5deg); z-index: 0;
}
.flip-mock-wrap::after {
  content: ""; position: absolute; inset: 10% 4% -4% -6%;
  border-radius: 26px; background: rgba(63, 184, 174, .16);
  transform: rotate(4deg); z-index: 0;
}
.flip-mock {
  position: relative; z-index: 1;
  width: min(300px, 100%); aspect-ratio: 3 / 3.9; border-radius: 28px; overflow: hidden;
  background: linear-gradient(165deg, #FFF1DC 0%, #FFDCC8 46%, #F7C4D9 100%);
  box-shadow: 0 28px 54px -22px rgba(31, 35, 51, .45);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px 16px 66px;   /* 底部给 flip-caption 的渐变让位 */
}
.flip-mock .cat { width: 56%; flex: 0 0 auto; }
/* 生活格言（与 App 翻翻卡「图 + 一句话」一致）—— 用衬线体读起来像书页 */
.flip-quote { margin: 0; text-align: center; max-width: 94%; }
.flip-quote blockquote {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "Noto Serif JP", "Noto Serif", Georgia, "Times New Roman", serif;
  font-size: 15px; line-height: 1.8; font-weight: 700; letter-spacing: .04em;
  color: #5C3A28; text-wrap: balance;
}
.flip-quote figcaption {
  margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  color: rgba(92, 58, 40, .72);
}
.flip-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(31, 20, 40, .62));
  color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; gap: 8px;
}
.flip-index {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(255, 255, 255, .88); color: var(--ink);
  border-radius: 999px; padding: 4px 11px; font-size: 11px; font-weight: 800;
}

/* ============ Devices ============ */
.devices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.device-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.device-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px;
  background: var(--bg-soft); color: var(--primary-strong); display: grid; place-items: center;
}
.device-card h3 { font-size: 18px; font-weight: 800; font-family: var(--font-display); margin-bottom: 10px; }
.device-card p { font-size: 14.5px; color: var(--muted); }

/* ============ Pricing ============ */
.pricing { background: linear-gradient(180deg, var(--bg-soft), #F4F6FD); }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 34px 30px; display: flex; flex-direction: column; position: relative;
}
.price-card.featured {
  border-color: transparent;
  box-shadow: var(--shadow-card);
  background: linear-gradient(180deg, #FFFFFF, #F7F8FF);
  outline: 2px solid var(--primary);
  outline-offset: -1px;
}
.price-badge {
  position: absolute; top: -13px; right: 26px;
  background: linear-gradient(135deg, var(--primary), var(--violet)); color: #fff;
  font-size: 11.5px; font-weight: 800; padding: 5px 13px; border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(59, 71, 196, .6);
}
.price-title { font-size: 18px; font-weight: 900; font-family: var(--font-display); margin-bottom: 10px; }
.price-amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-amount .amount { font-size: 40px; font-weight: 900; font-family: var(--font-display); letter-spacing: -1.4px; color: var(--primary-strong); }
.price-amount .period { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.price-list { margin: 22px 0 0; display: flex; flex-direction: column; gap: 11px; }
.price-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); }
.price-list li::before {
  content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233B47C4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price-note { text-align: center; margin: 26px auto 0; max-width: 620px; color: var(--muted); font-size: 13.5px; }

/* ============ Download ============ */
.download-card {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  background: linear-gradient(135deg, #FFFFFF, #F2F4FF);
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 34px 36px; box-shadow: var(--shadow-soft);
}
.download-icon {
  width: 72px; height: 72px; flex: 0 0 auto; border-radius: 22px;
  background: linear-gradient(135deg, var(--primary), var(--violet)); color: #fff;
  display: grid; place-items: center;
}
.download-body { flex: 1 1 260px; min-width: 0; }
.download-body h3 { font-size: 20px; font-weight: 900; font-family: var(--font-display); margin-bottom: 6px; }
.download-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.download-meta span {
  font-size: 12px; font-weight: 700; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px;
}
.download-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.download-note { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ============ Subscribe ============ */
.subscribe-card {
  background: linear-gradient(135deg, #EDF0FF, #E4F5F2);
  border: 1px solid #DFE4FA; border-radius: var(--radius-xl); padding: 56px 52px;
}
.subscribe-form { max-width: 580px; margin: 0 auto; }
.input-row { display: flex; gap: 10px; }
.input-row .text-input { flex: 1; min-width: 0; }
.text-input {
  width: 100%; padding: 14px 18px; font-size: 15px; font-family: var(--font-body);
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink);
  transition: border-color .18s, box-shadow .18s; outline: none;
}
.text-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79, 92, 217, .13); }
.interests { margin-top: 20px; }
.interests-label { display: block; font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: 13.5px; font-weight: 700; color: var(--ink); transition: .15s;
}
.chip:hover { border-color: var(--primary); color: var(--primary-strong); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.form-msg { margin-top: 14px; font-size: 14px; font-weight: 800; min-height: 20px; }
.form-msg.success { color: #1E8C74; }
.form-msg.error { color: #D8453E; }

/* ============ Feedback ============ */
.feedback-form {
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-soft);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.form-grid .field { margin-bottom: 0; }
.field label { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.field select.text-input {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7186' stroke-width='2.4' 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 16px center; padding-right: 44px;
}
textarea.text-input { resize: vertical; min-height: 120px; line-height: 1.65; }
.stars { display: flex; gap: 4px; align-items: center; }
.star {
  background: none; border: none; font-size: 28px; line-height: 1;
  color: #D9DEEB; transition: color .12s, transform .12s; padding: 0 2px;
}
.star:hover { transform: scale(1.12); }
.star.active { color: #F5B23C; }
.stars-hint { font-size: 12px; color: var(--muted); font-weight: 700; margin-left: 8px; }
.feedback-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.feedback-actions .form-msg { margin-top: 0; }

/* ============ Footer ============ */
.site-footer { background: #161A2B; color: #E9ECF6; padding: 62px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .brand-cn { color: #fff; }
.footer-brand .brand-en { color: rgba(233, 236, 246, .55); letter-spacing: 1.4px; }
.footer-brand .brand-mark { background: rgba(255, 255, 255, .1); }
.footer-tagline { margin-top: 16px; color: rgba(233, 236, 246, .62); font-size: 14px; max-width: 280px; }
.footer-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.4px; color: rgba(233, 236, 246, .48); margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14.5px; color: rgba(233, 236, 246, .82); transition: color .15s; word-break: break-word; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: rgba(233, 236, 246, .5);
}
/* 备案号：跟随页脚次要文字色，hover 提亮（与 .footer-col a 一致） */
.footer-icp { color: inherit; text-decoration: none; }
.footer-icp:hover { color: #fff; text-decoration: underline; }

/* ============ Toast ============ */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 80px);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 14px;
  font-size: 14.5px; font-weight: 700; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .4);
  opacity: 0; transition: .3s cubic-bezier(.2, .8, .2, 1); z-index: 1000; pointer-events: none;
  max-width: 92%; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.success { background: #1E8C74; }
.toast.error { background: #D8453E; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Honeypot (anti-spam) ============ */
.hp-field {
  position: absolute !important; left: -9999px !important; width: 1px !important;
  height: 1px !important; opacity: 0 !important; pointer-events: none !important;
}

/* ============ 月历：图标 / 计数两种呈现 ============ */
.cal-day .m-icon {
  position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  font-size: 8.5px; line-height: 1; font-style: normal; font-weight: 700;
}
.cal-day .m-count {
  position: absolute; top: 2px; right: 3px;
  min-width: 11px; height: 11px; padding: 0 2px; border-radius: 6px;
  background: var(--primary); color: #fff;
  font-size: 7.5px; font-weight: 800; line-height: 11px; text-align: center;
}
.cal-day.today .m-icon { color: #fff !important; }
.cal-day.today .m-count { background: #fff; color: var(--primary); }
.cal-day.mute .m, .cal-day.mute .m-icon, .cal-day.mute .m-count { display: none; }
.cal-view { cursor: pointer; border: none; font-family: inherit; }

/* ============ 手机模型：已过去那张卡多一组「年」，字号略收 ============ */
.mock-count { flex-wrap: wrap; row-gap: 1px; }
.mock-count.past .num { font-size: 16px; }
.mock-count.past .unit { font-size: 8.5px; margin: 0 3px 0 1px; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-note { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .devices-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-visual { order: 2; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; padding: 16px; gap: 4px; box-shadow: var(--shadow-soft);
    border-bottom: 1px solid var(--line);
  }
  .nav.open a { width: 100%; }
  .menu-toggle { display: flex; margin-left: auto; }
  .header-inner { gap: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .section { padding: 66px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 22px; }
}
@media (max-width: 560px) {
  .input-row { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field { margin-bottom: 0; }
  .subscribe-card { padding: 32px 22px; }
  .feedback-form { padding: 26px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .lang-btn span#langLabel { display: none; }
  .phone { width: min(268px, 82vw); }
  .download-card { padding: 26px 22px; gap: 18px; }
  .price-card { padding: 28px 22px; }
  .stars-hint { display: none; }
}

/* ============ 防撑破（重要） ============
   grid/flex 子项默认 min-width:auto，只要里面有一个不可换行的东西
   （按钮 white-space:nowrap、长英文词、电话号码），整条轨道就会被撑到比视口还宽，
   表现成「整页往右溢出、右侧被裁掉」。
   与 RelaxSound 独立站同一条经验：轨道一律 minmax(0,1fr)，子项一律 min-width:0。 */
.hero-grid > *, .stats-grid > *, .features-grid > *, .steps > *,
.split > *, .devices-grid > *, .price-grid > *, .form-grid > *,
.footer-inner > *, .input-row > *, .bullets > *, .chips > * { min-width: 0; }
.hero-grid, .stats-grid, .features-grid, .steps,
.split, .devices-grid, .price-grid, .form-grid, .footer-inner { min-width: 0; }
.btn, .chip, .mock-chip, .pill, .stat-value, .price-amount .amount { overflow-wrap: anywhere; }
.hero-title, .hero-sub, .split-copy h2, .section-head h2, .section-head p { overflow-wrap: anywhere; }
