/* ============ PetBox 下载页样式 ============ */
:root {
  --primary: #078BAD;
  --primary-deep: #056884;
  --primary-soft: #E0F1F7;
  --ink: #16303E;
  --body: #536171;
  --muted: #8A97A6;
  --line: #E3EDF2;
  --card: #FFFFFF;
  --bg: #F4F9FB;
  --gold: #E8B33C;
  --good: #1FA97C;
  --warn: #E8833C;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(7, 139, 173, .12);
  --shadow-sm: 0 6px 20px rgba(22, 48, 62, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
.container { width: min(1160px, 92%); margin: 0 auto; }
.container-narrow { width: min(820px, 92%); }

/* ---------- 滚动入场 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); box-shadow: 0 2px 18px rgba(22, 48, 62, .08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 12px; background: var(--primary);
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(7, 139, 173, .35);
}
.brand-logo img { width: 22px; filter: brightness(0) invert(1); }
.brand-name { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink); transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary); color: #fff !important; padding: 10px 22px;
  border-radius: 999px; box-shadow: 0 6px 16px rgba(7, 139, 173, .3);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.nav-cta:hover { background: var(--primary-deep); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 158px 0 96px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(720px 420px at 82% 8%, rgba(7, 139, 173, .16), transparent 65%),
    radial-gradient(560px 380px at 8% 82%, rgba(7, 139, 173, .10), transparent 60%),
    linear-gradient(180deg, #EAF5FA 0%, var(--bg) 78%);
}
.hero-paw { position: absolute; opacity: .12; pointer-events: none; }
.paw-a { width: 130px; top: 96px; left: 4%; transform: rotate(-18deg); }
.paw-b { width: 90px; bottom: 60px; right: 6%; transform: rotate(22deg); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; font-weight: 600; color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.hero-badge img { width: 16px; }
.hero-copy h1 {
  margin: 22px 0 18px; font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.18; color: var(--ink); font-weight: 800; letter-spacing: 1px;
}
.hero-copy h1 em {
  font-style: normal; color: var(--primary);
  background: linear-gradient(transparent 62%, rgba(7, 139, 173, .18) 0);
}
.hero-sub { font-size: 17px; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 34px 0 30px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; border-radius: 999px; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-primary {
  background: linear-gradient(135deg, #0AA0C6, var(--primary) 55%, var(--primary-deep));
  color: #fff; box-shadow: 0 12px 28px rgba(7, 139, 173, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(7, 139, 173, .42); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-ghost svg { width: 16px; height: 16px; }

.hero-meta { display: flex; align-items: center; gap: 22px; }
.hero-meta li { display: flex; flex-direction: column; }
.hero-meta strong { color: var(--ink); font-size: 16px; font-weight: 800; }
.hero-meta span { font-size: 13px; color: var(--muted); }
.hero-meta .divider { width: 1px; height: 30px; background: var(--line); }

/* ---------- 手机样机 ---------- */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 700px; }
.phone {
  width: 292px; border-radius: 42px; background: #fff;
  border: 10px solid #10222C; box-shadow: 0 30px 70px rgba(16, 34, 44, .28);
  position: relative; overflow: hidden;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 20px; background: #10222C; border-radius: 999px; z-index: 5;
}
.phone-screen {
  background: linear-gradient(180deg, #EAF5FA, #F7FBFD 46%);
  padding: 44px 14px 0; display: flex; flex-direction: column; gap: 10px; min-height: 648px;
}
.app-status { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; color: var(--ink); padding: 0 4px; }
.app-status-icons { display: flex; gap: 5px; align-items: center; }
.app-status-icons i { display: block; }
.app-status-icons .sig { width: 12px; height: 9px; background: linear-gradient(to top, var(--ink) 60%, transparent 60%) left/3px 100% no-repeat, linear-gradient(to top, var(--ink) 78%, transparent 78%) 4px/3px 100% no-repeat, linear-gradient(to top, var(--ink) 95%, transparent 95%) 8px/3px 100% no-repeat; }
.app-status-icons .wifi { width: 11px; height: 9px; border: 2.5px solid var(--ink); border-bottom: 0; border-left-color: transparent; border-right-color: transparent; border-radius: 50% 50% 0 0; }
.app-status-icons .bat { width: 16px; height: 8px; border: 1.5px solid var(--ink); border-radius: 2px; position: relative; }
.app-status-icons .bat::after { content: ""; position: absolute; inset: 1px 4px 1px 1px; background: var(--ink); border-radius: 1px; }
.app-head { display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; }
.app-page-title { font-size: 15px; color: var(--ink); }
.app-add { position: absolute; right: 0; width: 24px; height: 24px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; }
.app-add img { width: 12px; }
.head-side { position: absolute; right: 0; font-size: 11px; color: var(--muted); font-weight: 600; }
.app-avatar { position: relative; width: 52px; height: 52px; flex: none; }
.app-avatar img:first-child { width: 52px; }
.app-avatar .face { position: absolute; inset: 6px; object-fit: cover; border-radius: 50%; }
.home-pet { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 2px; }
.home-pet .app-avatar { width: 78px; height: 78px; }
.home-pet .app-avatar img:first-child { width: 78px; }
.home-pet strong { color: var(--ink); font-size: 15px; margin-top: 4px; }
.home-pet span { font-size: 11px; color: var(--muted); }
.app-online {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--good);
  background: rgba(31, 169, 124, .12); padding: 4px 10px; border-radius: 999px;
}
.app-online i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(31,169,124,.4);} 50% { box-shadow: 0 0 0 5px rgba(31,169,124,0);} }
.app-env { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.env-item {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 14px; padding: 9px 12px; box-shadow: var(--shadow-sm);
}
.env-item img { width: 20px; }
.env-item span { display: block; font-size: 10.5px; color: var(--muted); }
.env-item strong { color: var(--ink); font-size: 14px; }
.app-feed {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 14px; padding: 10px; cursor: pointer;
  background: linear-gradient(135deg, #0AA0C6, var(--primary-deep));
  color: #fff; font-family: inherit;
  box-shadow: 0 10px 22px rgba(7, 139, 173, .35);
}
.app-feed img { width: 26px; }
.app-feed span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; font-size: 15px; font-weight: 800; }
.app-feed small { font-size: 10px; font-weight: 500; opacity: .85; }
.app-card { background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.card-head { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 800; color: var(--ink); }
.card-head img { width: 12px; opacity: .5; }
.card-head span { font-size: 10px; color: var(--muted); font-weight: 500; }
.plan-row { display: flex; align-items: center; gap: 10px; padding: 6px 0 0; font-size: 11.5px; }
.plan-row b { color: var(--ink); font-weight: 700; }
.plan-row span { color: var(--body); }
.plan-row em { margin-left: auto; font-style: normal; color: var(--muted); display: inline-flex; align-items: center; gap: 3px; }
.plan-row em.done { color: var(--good); }
.plan-row em img { width: 11px; }
.stat-row { display: flex; align-items: center; gap: 7px; padding: 7px 0 0; font-size: 11px; }
.stat-row img { width: 15px; }
.stat-row span { color: var(--body); white-space: nowrap; }
.bar { flex: 1; height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar u { display: block; height: 100%; border-radius: 99px; background: var(--primary); text-decoration: none; }
.stat-row b { color: var(--ink); font-size: 10.5px; white-space: nowrap; }
.app-nav {
  margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; padding: 10px 4px 16px; border-radius: 20px 20px 0 0;
  box-shadow: 0 -6px 18px rgba(22, 48, 62, .06);
}
.app-nav span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; color: var(--muted); }
.app-nav img { width: 20px; }
.app-nav .on { color: var(--primary); font-weight: 700; }

.float-feeder {
  position: absolute; width: 250px; right: -34px; bottom: -6px; z-index: 6;
  filter: drop-shadow(0 24px 40px rgba(16, 34, 44, .25));
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }
.float-chip {
  position: absolute; z-index: 7; display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 9px 16px;
  font-size: 12.5px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.float-chip img { width: 16px; }
.chip-wifi { top: 88px; right: 2px; animation-delay: .8s; }
.chip-feed { bottom: 120px; left: -14px; animation-delay: 1.6s; }

/* ---------- 通用 Section ---------- */
.section { padding: 92px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; background: var(--primary-soft); color: var(--primary);
  font-size: 13px; font-weight: 800; letter-spacing: 2px;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); color: var(--ink); line-height: 1.3; font-weight: 800; }
.section-head p { margin-top: 14px; font-size: 16px; }
.only-m { display: none; }

/* ---------- 功能卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--card); border-radius: var(--radius); padding: 30px 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(7, 139, 173, .35); }
.f-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--primary-soft);
  display: grid; place-items: center; margin-bottom: 18px;
}
.f-icon img { width: 28px; }
.feature-card h3 { color: var(--ink); font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; }

/* ---------- 应用预览 ---------- */
.section-screens { background: linear-gradient(180deg, #fff, var(--bg)); }
.screens-row { display: flex; justify-content: center; align-items: center; gap: 34px; }
.phone-sm { width: 258px; border-width: 8px; border-radius: 36px; }
.phone-sm .phone-screen { min-height: 600px; padding-top: 40px; gap: 8px; }
.phone-sm .phone-notch { width: 82px; height: 17px; top: 8px; }
.phone-mid { transform: scale(1.08); z-index: 2; }
.phone-mid.reveal.in { transform: scale(1.08); }
.app-tabs { display: flex; gap: 18px; justify-content: center; padding: 2px 0 0; }
.app-tabs b { font-size: 11.5px; color: var(--muted); font-weight: 600; padding-bottom: 4px; }
.app-tabs b.on { color: var(--primary); border-bottom: 2.5px solid var(--primary); }
.chart-card { padding-bottom: 8px; }
.chart-body { display: flex; align-items: stretch; gap: 10px; padding-top: 6px; }
.chart-num { flex: none; display: flex; flex-direction: column; }
.chart-num b { font-size: 22px; color: var(--ink); line-height: 1; }
.chart-num span { font-size: 10px; color: var(--ink); }
.chart-num small { font-size: 9px; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.chart-bars { flex: 1; display: flex; align-items: flex-end; gap: 7px; height: 62px; padding: 0 2px; }
.chart-bars i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, #35B5D6, var(--primary)); }
.chart-axis { display: flex; justify-content: space-between; font-size: 8.5px; color: var(--muted); padding: 3px 2px 0; }
.rec-date { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--ink); font-weight: 600; padding: 0 2px; }
.rec-date span { display: inline-flex; align-items: center; gap: 5px; }
.rec-date img { width: 13px; }
.rec-date b { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); font-weight: 600; }
.rec-date b img { width: 11px; }
.rec-row {
  display: flex; align-items: center; gap: 9px;
  background: #fff; border-radius: 14px; padding: 8px 10px; box-shadow: var(--shadow-sm);
}
.rec-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); display: grid; place-items: center; flex: none; }
.rec-ic img { width: 17px; }
.rec-row div { flex: 1; }
.rec-row strong { display: block; font-size: 11.5px; color: var(--ink); }
.rec-row span { font-size: 9.5px; color: var(--muted); }
.rec-row em { font-style: normal; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; gap: 2px; }
.rec-row em.ok { color: var(--good); }
.rec-row em.warn { color: #3E86E0; }
.rec-row em img { width: 10px; opacity: .6; }
.rec-row.warn .rec-ic { background: rgba(232, 131, 60, .14); }
.list-card { display: flex; flex-direction: column; }
.dev-hero { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--shadow-sm); }
.dev-hero img { width: 74px; flex: none; }
.dev-info { flex: 1; min-width: 0; }
.dev-info strong { display: block; color: var(--ink); font-size: 13px; }
.dev-info .app-online { padding: 2px 8px; font-size: 9.5px; margin: 3px 0; }
.dev-info small { display: block; font-size: 9px; color: var(--muted); }
.dev-food { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 9.5px; }
.dev-food span { color: var(--muted); white-space: nowrap; }
.dev-food b { color: var(--ink); white-space: nowrap; }
.dev-row {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 2px; font-size: 11.5px; color: var(--ink); font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.list-card .dev-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.dev-row img { width: 17px; }
.dev-row b { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 10px; text-align: right; }
.dev-row b.good { color: var(--good); }
.dev-row b.upd u { color: #E05252; text-decoration: none; font-size: 8px; }
.dev-row b.dim { color: var(--muted); }
.me-head {
  display: flex; align-items: center; gap: 12px; border-radius: 16px; padding: 16px 14px;
  background: linear-gradient(135deg, #CFE9F4, #E4F3F9); position: relative; overflow: hidden;
}
.me-head::after { content: ""; position: absolute; right: -14px; top: -18px; width: 74px; height: 74px; background: url("../assets/img/paw.png") no-repeat center/contain; opacity: .25; }
.me-info strong { display: block; color: var(--ink); font-size: 14.5px; }
.me-info .tel { display: block; font-size: 11px; color: var(--body); margin: 1px 0 4px; }
.me-info em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 9.5px; color: #B98A1E; font-weight: 700; background: rgba(232, 179, 60, .18); padding: 2px 8px; border-radius: 999px; }
.me-info em img { width: 11px; }
.me-row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 2px; font-size: 11.5px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line); position: relative;
}
.list-card .me-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.me-row img { width: 17px; }
.me-row span { flex: none; }
.me-row b { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 10px; }
.me-row b::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 5px; vertical-align: -1px; background: url("../assets/icons/ic_shared_chevron_right.png") no-repeat center/contain; opacity: .5; }
.me-row b.badge { color: #fff; background: #E05252; border-radius: 999px; padding: 0 7px; font-size: 9.5px; line-height: 15px; }
.me-row b.badge::after { display: none; }
.me-cat { width: 140px; margin: auto auto 2px; }

/* ---------- 下载区 ---------- */
.section-download { padding-top: 40px; }
.dl-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  background: linear-gradient(135deg, #0AA0C6, var(--primary) 45%, var(--primary-deep));
  border-radius: 30px; padding: 60px 64px; color: #fff;
  box-shadow: 0 26px 60px rgba(7, 139, 173, .35); position: relative; overflow: hidden;
}
.dl-card::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); top: -180px; right: -120px;
}
.dl-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255, 255, 255, .07); bottom: -120px; left: -80px;
}
.dl-copy .eyebrow { background: rgba(255, 255, 255, .16); color: #fff; }
.dl-copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.3; }
.dl-copy p { margin: 14px 0 28px; color: rgba(255, 255, 255, .88); }
.dl-card .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 12px 28px rgba(0, 0, 0, .22); }
.dl-card .btn-primary:hover { background: #F2FBFE; }
.dl-copy .dl-legal-tip { margin: 16px 0 0; font-size: 13px; color: rgba(255, 255, 255, .75); }
.dl-copy .dl-legal-tip a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dl-facts { display: grid; grid-template-columns: repeat(4, auto); gap: 26px; margin-top: 30px; }
.dl-facts strong { display: block; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .65); }
.dl-facts span { font-size: 14px; font-weight: 700; }
.dl-steps { display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 1; }
.dl-steps li { display: flex; gap: 16px; align-items: flex-start; }
.dl-steps b {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); border: 1.5px solid rgba(255, 255, 255, .5);
  display: grid; place-items: center; font-size: 17px; font-weight: 800;
}
.dl-steps strong { display: block; font-size: 16px; }
.dl-steps span { font-size: 13.5px; color: rgba(255, 255, 255, .82); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(7, 139, 173, .4); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; cursor: pointer; font-weight: 700; color: var(--ink); font-size: 15.5px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary img { width: 18px; transition: transform .25s; opacity: .6; }
.faq-item[open] summary img { transform: rotate(180deg); }
.faq-item p { padding: 0 22px 20px; font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.footer { position: relative; background: #10222C; color: #9FB4C0; padding: 88px 0 40px; margin-top: 40px; }
.footer-cat { position: absolute; bottom: 64px; right: 6%; width: 190px; opacity: .95; }
.footer-inner { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer .brand-name { color: #fff; }
.footer .brand-logo { box-shadow: none; }
.footer p { font-size: 14px; }
.footer-slogan { color: #C6D6DF; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 13px; color: #7E93A0; }
.footer-legal p { font-size: 13px; color: #7E93A0; }
.footer-legal a { color: #9FB4C0; text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: #fff; }

/* ---------- 隐私政策弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(16, 34, 44, .5); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 20px;
  opacity: 0; transition: opacity .25s ease;
}
.modal-mask[hidden] { display: none; }
.modal-mask.show { opacity: 1; }
.modal-box {
  width: min(460px, 100%); background: #fff; border-radius: 22px;
  padding: 30px 28px 26px; box-shadow: 0 30px 80px rgba(16, 34, 44, .35);
  transform: translateY(14px) scale(.97); transition: transform .25s ease;
}
.modal-mask.show .modal-box { transform: none; }
.modal-box h3 { font-size: 20px; color: var(--ink); font-weight: 800; }
.modal-sub { margin: 10px 0 12px; font-size: 14px; }
.modal-list { padding-left: 20px; margin-bottom: 14px; }
.modal-list li { font-size: 13.5px; margin-bottom: 8px; }
.modal-full { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 12px; }
.modal-actions .btn { flex: 1; justify-content: center; padding: 12px 0; font-size: 15px; }

/* ---------- 法律文档（隐私政策） ---------- */
.legal-main { padding: 130px 0 90px; }
.legal-doc {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-sm); padding: 56px 64px;
}
.legal-doc h1 { font-size: 30px; color: var(--ink); font-weight: 800; }
.legal-date { margin: 10px 0 22px; color: var(--muted); font-size: 14px; }
.legal-doc h3 {
  margin: 30px 0 12px; font-size: 17px; color: var(--ink);
  padding-left: 12px; border-left: 4px solid var(--primary);
}
.legal-doc p { font-size: 15px; margin-bottom: 10px; }
.legal-doc ol { padding-left: 22px; margin-bottom: 10px; }
.legal-doc li { font-size: 15px; margin-bottom: 6px; }
.legal-doc a { color: var(--primary); font-weight: 600; }
.legal-doc strong { color: var(--ink); }
@media (max-width: 720px) {
  .legal-main { padding: 100px 0 60px; }
  .legal-doc { padding: 32px 22px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  padding: 12px 24px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  opacity: 0; pointer-events: none; transition: .35s ease; z-index: 99;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 减弱视觉效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-feeder, .float-chip, .app-online i { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-card { grid-template-columns: 1fr; gap: 40px; padding: 48px 40px; }
  .screens-row { flex-wrap: wrap; }
  .phone-mid { transform: none; }
  .phone-mid.reveal.in { transform: none; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; box-shadow: 0 18px 30px rgba(22, 48, 62, .12);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-links a { padding: 16px 0; width: 88%; text-align: center; }
  .nav-links.open { max-height: 320px; }
  .nav-cta { margin-bottom: 14px; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 120px; }
  .feature-grid { grid-template-columns: 1fr; }
  .float-feeder { width: 180px; right: -20px; }
  .chip-feed { left: 0; }
  .dl-facts { grid-template-columns: repeat(2, auto); gap: 18px; }
  .dl-card { padding: 40px 26px; }
  .only-m { display: block; }
  .footer-cat { width: 130px; right: 4%; }
}
