/* =========================================================
   小妲己直播官网 — 共享样式表
   风格：可爱糖果 · Soft UI（新拟态）· 轻陪伴慢节奏
   适配：桌面 / 平板 / 手机 全响应式
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --candy-pink: #ff7aa8;
  --candy-pink-deep: #ff5f96;
  --candy-pink-soft: #ffd3e2;
  --candy-purple: #a88bfa;
  --candy-purple-deep: #8b6cf0;
  --candy-purple-soft: #e5dcff;
  --candy-blue: #8ec5ff;
  --candy-blue-soft: #d9ecff;
  --candy-mint: #7ee8c3;
  --candy-yellow: #ffd976;
  --candy-peach: #ffb08e;

  --bg-top: #fff6fa;
  --bg-bottom: #f3efff;
  --surface: #ffffff;
  --surface-soft: #fdf7fb;

  --ink: #4a3b5c;
  --ink-soft: #7d6f90;
  --ink-light: #a99cb9;

  --shadow-soft: 0 12px 32px rgba(168, 139, 250, 0.16), 0 4px 12px rgba(255, 122, 168, 0.10);
  --shadow-raise: 0 20px 48px rgba(168, 139, 250, 0.24), 0 8px 18px rgba(255, 122, 168, 0.14);
  --shadow-press: inset 0 3px 8px rgba(168, 139, 250, 0.18), inset 0 -3px 8px rgba(255, 255, 255, 0.9);
  --shadow-card: 0 10px 30px rgba(122, 95, 170, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.9);

  --grad-candy: linear-gradient(135deg, #ff8fb8 0%, #c69cff 55%, #8ec5ff 100%);
  --grad-pink: linear-gradient(135deg, #ff9dc4 0%, #ff6fa3 100%);
  --grad-purple: linear-gradient(135deg, #c3a8ff 0%, #9a78f5 100%);
  --grad-mint: linear-gradient(135deg, #9af0d2 0%, #6fdcb4 100%);
  --grad-yellow: linear-gradient(135deg, #ffe6a0 0%, #ffc95e 100%);
  --grad-blue: linear-gradient(135deg, #a8d8ff 0%, #7db3fb 100%);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Nunito", "Quicksand", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(160deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--candy-pink-soft); color: var(--candy-pink-deep); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #fff5fa; }
::-webkit-scrollbar-thumb { background: var(--candy-pink-soft); border-radius: 10px; border: 2px solid #fff5fa; }
::-webkit-scrollbar-thumb:hover { background: var(--candy-purple-soft); }

/* ---------- 3. 布局工具 ---------- */
.container { width: min(92%, var(--maxw)); margin-inline: auto; }
.section { padding: 88px 0 24px; }
.section-sm { padding: 56px 0 16px; }
.text-center { text-align: center; }
.gradient-text {
  background: var(--grad-candy);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- 4. 背景装饰 ---------- */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.45; animation: float 14s ease-in-out infinite; }
.blob-1 { width: 420px; height: 420px; background: #ffc9de; top: -120px; left: -100px; }
.blob-2 { width: 380px; height: 380px; background: #d4c4ff; top: 30%; right: -120px; animation-delay: -4s; }
.blob-3 { width: 340px; height: 340px; background: #c5e6ff; bottom: -100px; left: 20%; animation-delay: -8s; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, -32px, 0) scale(1.08); }
}

/* ---------- 5. 导航栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 252, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 24px rgba(168, 139, 250, 0.08);
}
.nav-inner {
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.32rem; letter-spacing: .5px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-candy); color: #fff; font-size: 1.35rem;
  box-shadow: 0 8px 18px rgba(255, 122, 168, 0.35), inset 0 2px 4px rgba(255,255,255,.6);
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateY(0) rotate(-4deg);} 50%{transform:translateY(-4px) rotate(4deg);} }
.brand-text .small { display: block; font-size: .62rem; font-weight: 700; color: var(--candy-purple); letter-spacing: 2px; line-height: 1; }
.brand-text .big { background: var(--grad-candy); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  padding: 10px 16px; border-radius: var(--radius-pill); font-weight: 700; font-size: .95rem;
  color: var(--ink-soft); transition: all .25s var(--ease); position: relative;
}
.nav-menu a:hover { color: var(--candy-pink-deep); background: rgba(255,122,168,.08); transform: translateY(-1px); }
.nav-menu a.active { color: #fff; background: var(--grad-pink); box-shadow: 0 8px 18px rgba(255,111,163,.3); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: none; border-radius: 15px; cursor: pointer;
  background: var(--surface); box-shadow: var(--shadow-soft); color: var(--candy-purple-deep); font-size: 1.3rem;
  align-items: center; justify-content: center;
}
.menu-toggle:active { box-shadow: var(--shadow-press); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border: none; border-radius: var(--radius-pill); cursor: pointer;
  font-weight: 800; font-size: 1rem; letter-spacing: .3px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
  text-align: center;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--grad-pink); color: #fff; box-shadow: 0 12px 26px rgba(255,111,163,.36), inset 0 2px 3px rgba(255,255,255,.5); }
.btn-primary:hover { box-shadow: 0 18px 34px rgba(255,111,163,.46), inset 0 2px 3px rgba(255,255,255,.5); }
.btn-purple { background: var(--grad-purple); color: #fff; box-shadow: 0 12px 26px rgba(139,108,240,.34), inset 0 2px 3px rgba(255,255,255,.5); }
.btn-ghost { background: var(--surface); color: var(--candy-purple-deep); box-shadow: var(--shadow-soft); }
.btn-ghost:hover { box-shadow: var(--shadow-raise); }
.btn-outline { background: transparent; color: var(--candy-pink-deep); border: 2px solid var(--candy-pink-soft); }
.btn-outline:hover { background: #fff; border-color: var(--candy-pink); }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-lg { padding: 17px 38px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; padding: 70px 0 40px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: var(--radius-pill);
  background: var(--surface); box-shadow: var(--shadow-soft); color: var(--candy-purple-deep);
  font-weight: 800; font-size: .86rem; margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--candy-pink); box-shadow: 0 0 0 4px rgba(255,122,168,.16); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 4px rgba(255,122,168,.16);} 50%{box-shadow:0 0 0 9px rgba(255,122,168,0);} }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); line-height: 1.14; margin: 0 0 18px; font-weight: 900; letter-spacing: -1px; }
.hero h1 .cute { display: inline-block; animation: bob 3.6s ease-in-out infinite; }
.hero p.lead { max-width: 660px; margin: 0 auto 30px; font-size: 1.12rem; color: var(--ink-soft); }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.hero-tags span { padding: 8px 16px; background: rgba(255,255,255,.7); border-radius: var(--radius-pill); font-size: .85rem; font-weight: 700; color: var(--ink-soft); box-shadow: var(--shadow-card); }

.hero-visual { position: relative; margin: 36px auto 0; max-width: 960px; }
.hero-phone {
  width: 250px; height: 500px; margin: 0 auto; position: relative; border-radius: 42px; padding: 10px;
  background: linear-gradient(160deg, #ffb3d1, #b79cff); box-shadow: var(--shadow-raise);
}
.hero-phone-inner {
  width: 100%; height: 100%; border-radius: 34px; background: linear-gradient(180deg, #fff 0%, #fdf3fa 100%);
  overflow: hidden; position: relative; padding: 26px 16px; text-align: left;
}
.hero-phone .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 76px; height: 16px; background: #3c2f4d; border-radius: 12px; z-index: 2; }
.feed-line { height: 58px; border-radius: 14px; margin-bottom: 12px; background: linear-gradient(100deg, #fbe3ee, #f1e9ff); position: relative; overflow: hidden; }
.feed-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: translateX(-100%); animation: shimmer 2.6s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.feed-line:nth-child(2) { background: linear-gradient(100deg, #e6f0ff, #f4e9ff); }
.feed-line:nth-child(3) { background: linear-gradient(100deg, #e2fbf1, #eaf3ff); }
.float-chip {
  position: absolute; background: var(--surface); border-radius: var(--radius-md); padding: 12px 16px;
  box-shadow: var(--shadow-raise); font-weight: 800; font-size: .9rem; display: flex; align-items: center; gap: 8px;
  animation: bob 5s ease-in-out infinite;
}
.float-chip.c1 { top: 16%; left: 4%; }
.float-chip.c2 { top: 52%; right: 2%; animation-delay: -2s; }
.float-chip.c3 { bottom: 10%; left: 8%; animation-delay: -3.5s; }

/* ---------- 8. 区块标题 ---------- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-kicker { display: inline-block; font-weight: 900; font-size: .82rem; letter-spacing: 3px; color: var(--candy-pink-deep); text-transform: uppercase; margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin: 0 0 12px; font-weight: 900; line-height: 1.2; }
.sec-head p { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }

/* ---------- 9. 数据 / 特点条 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { background: var(--surface); border-radius: var(--radius-lg); padding: 30px 18px; text-align: center; box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-raise); }
.stat-icon { font-size: 2rem; margin-bottom: 8px; }
.stat-num { font-size: 1.9rem; font-weight: 900; background: var(--grad-candy); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--ink-soft); font-size: .9rem; font-weight: 700; }

/* ---------- 10. 瀑布流卡片 ---------- */
.masonry { columns: 3; column-gap: 22px; }
.masonry > * { break-inside: avoid; margin-bottom: 22px; }
.zone-card {
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: block; position: relative;
}
.zone-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-raise); }
.zone-cover { position: relative; display: grid; place-items: center; height: 160px; font-size: 3.4rem; overflow: hidden; }
.zone-cover::after {
  content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.28); top: -60px; right: -40px;
}
.zone-cover .emoji { position: relative; z-index: 1; filter: drop-shadow(0 8px 10px rgba(0,0,0,.12)); transition: transform .3s var(--ease); }
.zone-card:hover .zone-cover .emoji { transform: scale(1.18) rotate(-8deg); }
.cover-pink { background: var(--grad-pink); }
.cover-purple { background: var(--grad-purple); }
.cover-mint { background: var(--grad-mint); }
.cover-yellow { background: var(--grad-yellow); }
.cover-blue { background: var(--grad-blue); }
.cover-candy { background: var(--grad-candy); }
.zone-body { padding: 20px 20px 22px; }
.zone-title { font-size: 1.16rem; font-weight: 900; margin: 0 0 6px; }
.zone-desc { color: var(--ink-soft); font-size: .9rem; margin: 0 0 14px; }
.zone-meta { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--ink-light); font-weight: 700; }
.zone-meta .live { display: inline-flex; align-items: center; gap: 6px; color: var(--candy-pink-deep); }
.zone-meta .live .dot { width: 7px; height: 7px; background: var(--candy-pink-deep); border-radius: 50%; }

.tag { display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill); font-size: .74rem; font-weight: 800; background: var(--candy-purple-soft); color: var(--candy-purple-deep); }
.tag.pink { background: var(--candy-pink-soft); color: var(--candy-pink-deep); }
.tag.mint { background: #d6f7e9; color: #2aa77a; }

/* 视频卡片（在线观看页） */
.video-card .zone-cover { height: 172px; }
.video-card .play-btn {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--candy-pink-deep); display: grid; place-items: center;
  font-size: 1.3rem; box-shadow: 0 8px 20px rgba(0,0,0,.14); z-index: 2; transition: transform .25s var(--ease);
}
.video-card:hover .play-btn { transform: scale(1.14); }
.video-duration { position: absolute; bottom: 10px; right: 10px; z-index: 2; background: rgba(60,47,77,.72); color: #fff; font-size: .72rem; padding: 3px 9px; border-radius: 8px; font-weight: 700; }
.anchor { display: inline; }

/* 分区筛选 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  padding: 10px 20px; border: none; border-radius: var(--radius-pill); cursor: pointer; font-weight: 800;
  background: var(--surface); color: var(--ink-soft); box-shadow: var(--shadow-card); transition: all .25s var(--ease); font-size: .9rem;
}
.filter-btn:hover { transform: translateY(-2px); color: var(--candy-purple-deep); }
.filter-btn.active { background: var(--grad-candy); color: #fff; box-shadow: 0 10px 22px rgba(168,139,250,.3); }

/* ---------- 11. 特色分栏 / CTA 卡 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--surface); border-radius: var(--radius-xl); padding: 36px 30px; box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-raise); }
.feature-icon { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 18px; box-shadow: var(--shadow-soft); }
.feature-card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

.cta-panel {
  border-radius: var(--radius-xl); padding: 56px 40px; text-align: center; color: #fff;
  background: var(--grad-candy); box-shadow: var(--shadow-raise); position: relative; overflow: hidden;
}
.cta-panel::before, .cta-panel::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); }
.cta-panel::before { width: 220px; height: 220px; top: -90px; left: -60px; }
.cta-panel::after { width: 280px; height: 280px; bottom: -140px; right: -50px; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 12px; }
.cta-panel p { margin: 0 auto 26px; max-width: 580px; color: rgba(255,255,255,.92); }
.cta-panel .btn-ghost { color: var(--candy-purple-deep); }

/* ---------- 12. 表单 / Soft UI 输入 ---------- */
.soft-card { background: var(--surface); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .9rem; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; border: none; outline: none; padding: 14px 18px; border-radius: var(--radius-md);
  background: var(--surface-soft); box-shadow: var(--shadow-press); color: var(--ink); transition: box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: var(--shadow-press), 0 0 0 2px var(--candy-pink-soft); }
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: .78rem; color: var(--ink-light); }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { text-align: center; position: relative; padding: 0 8px; }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); box-shadow: var(--shadow-soft); font-size: 1.6rem; font-weight: 900;
  color: var(--candy-purple-deep); counter-increment: step;
}
.step-num::after { content: counter(step); }
.step h4 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .88rem; }

/* ---------- 13. 手机 Mockup（下载页） ---------- */
.download-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.phone-mock {
  width: 260px; height: 520px; margin: 0 auto; padding: 12px; border-radius: 44px; position: relative;
  background: linear-gradient(160deg, #ffb3d1, #b79cff); box-shadow: var(--shadow-raise);
}
.phone-mock .screen { width: 100%; height: 100%; border-radius: 34px; background: linear-gradient(180deg,#fff,#fdf3fa); padding: 46px 18px 20px; text-align: center; }
.phone-mock .app-icon { width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 22px; background: var(--grad-candy); display: grid; place-items: center; font-size: 2.2rem; box-shadow: 0 10px 20px rgba(255,122,168,.35); }
.phone-mock .app-name { font-weight: 900; font-size: 1.1rem; }
.phone-mock .mini-bars { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.phone-mock .mini-bars div { height: 46px; border-radius: 12px; background: linear-gradient(100deg,#fbe3ee,#f1e9ff); }
.phone-mock .mini-bars div:nth-child(2){ background: linear-gradient(100deg,#e6f0ff,#f4e9ff); }
.phone-mock .mini-bars div:nth-child(3){ background: linear-gradient(100deg,#e2fbf1,#eaf3ff); }
.qr-box { margin-top: 22px; display: inline-grid; place-items: center; gap: 8px; padding: 16px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.qr-box canvas { image-rendering: pixelated; border-radius: 8px; }
.qr-box span { font-size: .78rem; color: var(--ink-soft); font-weight: 700; }

/* ---------- 14. 页脚 ---------- */
.site-footer { margin-top: 64px; background: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(10px); }
.footer-inner { padding: 48px 0 26px; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-col h5 { margin: 0 0 14px; font-size: 1rem; }
.footer-col a, .footer-col p { display: block; color: var(--ink-soft); font-size: .9rem; margin: 0 0 9px; transition: color .2s; }
.footer-col a:hover { color: var(--candy-pink-deep); }
.footer-bottom { border-top: 1px solid rgba(168,139,250,.14); padding: 18px 0; text-align: center; color: var(--ink-light); font-size: .82rem; }
.footer-bottom a { color: var(--candy-purple-deep); font-weight: 700; }

/* ---------- 15. 模态框 ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(74,59,92,.42); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(100%, 440px); background: var(--surface); border-radius: var(--radius-xl); padding: 36px;
  box-shadow: var(--shadow-raise); position: relative; transform: translateY(20px) scale(.96); transition: transform .3s var(--ease);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: none; border-radius: 50%; cursor: pointer; background: var(--surface-soft); color: var(--ink-soft); box-shadow: var(--shadow-press); font-size: 1.1rem; }
.modal h3 { margin: 0 0 6px; font-size: 1.5rem; }
.modal .modal-sub { color: var(--ink-soft); margin: 0 0 22px; font-size: .92rem; }
.modal-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.modal-tabs button { flex: 1; padding: 10px; border: none; border-radius: var(--radius-sm); cursor: pointer; font-weight: 800; background: var(--surface-soft); color: var(--ink-soft); }
.modal-tabs button.active { background: var(--grad-pink); color: #fff; box-shadow: var(--shadow-soft); }
.modal .field { margin-bottom: 14px; }
.modal-note { font-size: .8rem; color: var(--ink-light); text-align: center; margin-top: 14px; }

/* 播放模态框 */
.player-modal { width: min(100%, 720px); padding: 0; overflow: hidden; }
.player-stage { aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 40%, #ffe3ef, #e9dcff); display: grid; place-items: center; position: relative; }
.player-stage .big-play { width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--candy-pink-deep); display: grid; place-items: center; font-size: 2rem; box-shadow: var(--shadow-raise); cursor: pointer; }
.player-info { padding: 24px 28px; }
.player-info h3 { margin: 0 0 4px; }
.player-info p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

/* ---------- 16. Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); z-index: 200;
  background: rgba(74,59,92,.94); color: #fff; padding: 13px 24px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-raise); opacity: 0; pointer-events: none; transition: all .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 17. 返回顶部 ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 28px; z-index: 40; width: 50px; height: 50px; border: none; border-radius: 50%;
  cursor: pointer; background: var(--grad-candy); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow-raise);
  opacity: 0; pointer-events: none; transform: translateY(12px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- 18. 进入动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1024px) {
  .masonry { columns: 2; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .float-chip.c2 { right: -10px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0 16px; }
  .nav-inner { height: 66px; }
  .menu-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,250,252,.98); backdrop-filter: blur(18px);
    padding: 0 5%; box-shadow: var(--shadow-raise);
    border-bottom: 1px solid rgba(255,255,255,.8);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s var(--ease);
  }
  .nav-menu.open { max-height: 420px; padding: 14px 5% 20px; }
  .nav-menu a { text-align: center; padding: 12px; }
  .nav-actions .btn-login { display: none; }
  .hero { padding-top: 46px; }
  .hero-phone { width: 220px; height: 420px; }
  .float-chip { font-size: .78rem; padding: 9px 12px; }
  .float-chip.c1 { left: 0; }
  .float-chip.c2 { right: 0; }
  .download-wrap { grid-template-columns: 1fr; gap: 36px; }
  .phone-mock { order: -1; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .cta-panel { padding: 44px 24px; }
  .soft-card { padding: 28px 22px; }
  .site-footer .footer-inner { padding-top: 36px; }

  /* 筛选标签：窄屏自动换行居中，确保每个标签完整可见可点 */
  .filter-bar {
    flex-wrap: wrap; justify-content: center; overflow-x: visible;
    margin-inline: 0; padding: 4px 0 12px; gap: 8px;
  }
  .filter-btn { flex: 0 0 auto; padding: 9px 15px; font-size: .84rem; }
}

@media (max-width: 520px) {
  .container { width: 91%; }
  .masonry { columns: 1; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .brand-text .big { font-size: 1.05rem; }
  .hero h1 { font-size: 2.4rem; }
  .btn { padding: 13px 22px; }
  .btn-lg { padding: 15px 28px; font-size: 1rem; }
  .hero-phone { width: 200px; height: 380px; }
  .float-chip.c3 { display: none; }
  .modal { padding: 28px 22px; }
  .footer-bottom { line-height: 1.9; }

  /* Hero 双按钮在窄屏等宽排列，避免贴边/溢出 */
  .hero .btn-group { width: 100%; gap: 10px; }
  .hero .btn-group .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; font-size: .94rem; }
  .hero-tags { gap: 8px; }
  .hero-tags span { padding: 7px 13px; font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
