/* AI宠务通 官网
 * 颜色取自《AI宠务通 UI 设计标准 v1.1》和 App 的封面（深青绿 + 金色）。
 * 不引用任何外部字体和 CDN：国内访问稳定，也不向第三方发送访客信息。
 */
:root {
  --night: #062E2B;
  --night-2: #0B4A44;
  --night-3: #0F6359;
  --ink-night: #04201E;
  --mint: #3ED9B4;
  --gold: #E8C77A;
  --gold-light: #F1D896;
  --gold-deep: #B8913E;
  --brand: #009488;
  --action: #00766D;
  --action-pressed: #005A54;
  --brand-soft: #EAF7F4;
  --canvas: #F6FAF9;
  --paper: #FBFAF6;
  --surface: #FFFFFF;
  --ink: #111827;
  --ink-2: #2B3A4A;
  --muted: #536579;
  --line: #DCE7E6;
  --line-night: rgba(255, 255, 255, .12);
  --warn: #A4501A;
  --danger: #B42318;

  --sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --num: "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 30px 80px -30px rgba(6, 46, 43, .35);
  --shadow-soft: 0 12px 40px -18px rgba(6, 46, 43, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: .01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.nav.solid {
  background: rgba(4, 32, 30, .82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line-night);
}
.nav-in { display: flex; align-items: center; gap: 40px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 36px; height: 36px; border-radius: 10px; background: #fff; padding: 3px; }
.brand b { font-size: 19px; letter-spacing: .04em; }
.brand small { display: block; font-size: 10px; letter-spacing: .32em; color: var(--gold); font-weight: 600; margin-top: -2px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .78); font-size: 15px; transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.on { color: #fff; }
.nav-links a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav-cta { display: flex; gap: 12px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; width: 44px; height: 44px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform .3s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 600;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--night); box-shadow: 0 10px 30px -10px rgba(232, 199, 122, .7); }
.btn-ghost { border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--night-2); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- 通用排版 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .32em; font-weight: 600; color: var(--gold-deep); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--gold); }
.display { font-family: var(--serif); font-weight: 700; letter-spacing: .02em; line-height: 1.22; }
.h2 { font-size: clamp(30px, 4vw, 48px); margin-top: 18px; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); margin-top: 20px; max-width: 640px; }
.dark .lead { color: rgba(255, 255, 255, .7); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.dark { background: var(--night); color: #fff; }
.gold-text { background: linear-gradient(120deg, var(--gold-light), var(--gold) 45%, #D9AE5B); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 封面 ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 600px at 85% 10%, rgba(62, 217, 180, .22), transparent 60%),
    radial-gradient(700px 520px at 0% 100%, rgba(232, 199, 122, .14), transparent 60%),
    linear-gradient(170deg, var(--ink-night) 0%, var(--night) 45%, var(--night-2) 100%);
  padding: 150px 0 0;
}
.hero::after { /* 细网格，增加质感 */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 80px); margin-top: 26px; }
.hero .lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 560px; color: rgba(255, 255, 255, .74); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.platforms { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 44px; color: rgba(255,255,255,.62); font-size: 14px; }
.platforms span { display: inline-flex; align-items: center; gap: 8px; }
.platforms svg { width: 18px; height: 18px; opacity: .9; }
.hero-visual { position: relative; height: 680px; }
.hero-visual .phone { position: absolute; }
.hero-visual .p1 { width: 300px; left: 4%; top: 30px; transform: rotate(-4deg); z-index: 2; }
.hero-visual .p2 { width: 280px; right: 2%; top: 110px; transform: rotate(5deg); opacity: .96; }
.float {
  position: absolute; z-index: 3; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 18px;
  box-shadow: var(--shadow); padding: 14px 18px; display: flex; gap: 12px; align-items: center; font-size: 14px;
  animation: bob 6s ease-in-out infinite;
}
.float .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #E6F6F2, #D3EFE8); color: var(--action); flex: none; }
.float b { display: block; font-size: 15px; }
.float small { color: var(--muted); font-size: 12px; }
.float.f1 { left: -10px; bottom: 150px; }
.float.f2 { right: -16px; top: 40px; animation-delay: -2s; }
.float.f3 { right: 30px; bottom: 60px; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-foot { position: relative; z-index: 1; margin-top: 60px; border-top: 1px solid var(--line-night); }
.hero-foot ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-foot li { padding: 30px 24px 34px 0; border-right: 1px solid var(--line-night); }
.hero-foot li:last-child { border-right: 0; }
.hero-foot li + li { padding-left: 28px; }
.hero-foot b { font-family: var(--serif); font-size: 22px; color: var(--gold-light); font-weight: 700; display: block; }
.hero-foot span { color: rgba(255,255,255,.62); font-size: 14px; }

/* ---------- 手机外框 ---------- */
.phone {
  border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2A2F33, #0B0D0E);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6), inset 0 0 0 1.5px rgba(255,255,255,.08);
}
.phone::before { /* 摄像头开孔 */
  content: ""; position: absolute; top: 22px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #050606; z-index: 2;
  box-shadow: inset 0 0 0 2px #1a1d20;
}
.phone { position: relative; }
.phone img { border-radius: 36px; width: 100%; aspect-ratio: 1080 / 2400; object-fit: cover; object-position: top; background: #0b3b37; }

/* ---------- 三个支点 ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.pillar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 34px 40px;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.pillar .num { font-family: var(--num); font-size: 13px; letter-spacing: .2em; color: var(--gold-deep); font-weight: 600; }
.pillar h3 { font-family: var(--serif); font-size: 26px; margin-top: 18px; }
.pillar p { color: var(--muted); margin-top: 12px; }
.pillar .ic-lg { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #E6F6F2, #D3EFE8); color: var(--action); margin-bottom: 26px; }
.pillar .ic-lg svg { width: 28px; height: 28px; }

/* ---------- 功能详解（左右交替） ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.feature + .feature { margin-top: clamp(90px, 12vw, 160px); }
.feature.flip .feature-media { order: 2; }
.feature h3 { font-size: clamp(28px, 3.2vw, 40px); margin-top: 18px; }
.feature .lead { margin-top: 18px; }
.checks { margin-top: 30px; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--ink-2); }
.checks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300766D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checks b { color: var(--ink); }
.dark .checks li { color: rgba(255,255,255,.78); }
.dark .checks b { color: #fff; }
.dark .checks li::before { background-color: rgba(62, 217, 180, .14); }
.feature-media { position: relative; display: grid; place-items: center; min-height: 560px; }
.feature-media .halo {
  position: absolute; inset: 6% 8%; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(62, 217, 180, .28), transparent), linear-gradient(160deg, #E9F5F2, #F7F1E3);
}
.feature-media .phone { width: min(300px, 70%); z-index: 1; }
.feature-media .chip {
  position: absolute; z-index: 2; background: #fff; border-radius: 16px; box-shadow: var(--shadow-soft);
  padding: 12px 16px; font-size: 13px; display: flex; gap: 10px; align-items: center; border: 1px solid var(--line);
}
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(62, 217, 180, .2); }
.chip.warn .dot { background: #F2A65A; box-shadow: 0 0 0 4px rgba(242, 166, 90, .2); }
.chip.c1 { left: 2%; top: 18%; }
.chip.c2 { right: 0; bottom: 20%; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tag { font-size: 13px; padding: 6px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--action); font-weight: 600; }
.dark .tag { background: rgba(255,255,255,.08); color: var(--gold-light); }

/* AI 回答卡片 */
.ai-card {
  position: relative; z-index: 1; width: min(460px, 92%); border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.14); background: #F3F6F5;
}
.ai-card img { width: 100%; }
.ai-glow { position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(62, 217, 180, .3), transparent 70%); }

/* ---------- AI 原则 ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 70px; background: var(--line-night); border: 1px solid var(--line-night); border-radius: var(--radius-lg); overflow: hidden; }
.principle { background: var(--night); padding: 40px 32px 44px; }
.principle .k { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--gold); }
.principle h4 { font-size: 19px; margin-top: 22px; }
.principle p { color: rgba(255,255,255,.62); margin-top: 10px; font-size: 15px; }

/* ---------- 工具宫格 ---------- */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.tool:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-soft); }
.tool .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #E6F6F2, #D3EFE8); color: var(--action); }
.tool .ic svg { width: 24px; height: 24px; }
.tool h4 { font-size: 18px; margin-top: 20px; }
.tool p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.tool .badge { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--gold-deep); background: #FBF2DC; border-radius: 999px; padding: 1px 8px; vertical-align: 2px; }

/* ---------- 照片位（图片由 GPT 生成后放进 assets/img/photos） ---------- */
.photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background-size: cover; background-position: center;
  min-height: 420px;
}
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(4, 32, 30, .78)); }
.photo .cap { position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 1; color: #fff; }
.photo .cap b { font-family: var(--serif); font-size: 26px; display: block; }
.photo .cap span { opacity: .78; font-size: 15px; }
.photo-placeholder {
  background:
    radial-gradient(500px 300px at 80% 20%, rgba(62, 217, 180, .35), transparent 70%),
    radial-gradient(400px 300px at 10% 90%, rgba(232, 199, 122, .3), transparent 70%),
    linear-gradient(160deg, var(--night-2), var(--night));
}

/* ---------- 故事带（照片 + 文案） ---------- */
.story { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; margin-top: 60px; }
.story .photo { min-height: 624px; }
.story-side { display: grid; gap: 24px; }
.story-side .photo { min-height: 300px; }
/* 每张照片的取景重点：裁切时保住主体，标题压在地板或桌面上 */
.photo.focus-top { background-position: center top; }
.photo.focus-upper { background-position: center 30%; }

/* ---------- 医院版 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; counter-reset: step; }
.step { position: relative; padding: 34px 28px 36px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--line-night); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--num); font-size: 13px; letter-spacing: .2em; color: var(--gold); font-weight: 600; }
.step h4 { font-size: 20px; margin-top: 16px; }
.step p { color: rgba(255,255,255,.62); font-size: 15px; margin-top: 10px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -14px; width: 8px; height: 8px; border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); transform: translateY(-50%) rotate(45deg); opacity: .6; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 90px; }

/* 后台界面示意（纯 CSS 画，不是真实截图） */
.console {
  border-radius: 18px; background: #F4F7F6; color: var(--ink); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6);
  overflow: hidden; border: 1px solid rgba(255,255,255,.2); font-size: 12px;
}
.console-bar { display: flex; gap: 6px; padding: 12px 14px; background: #E8EEED; }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5D3; }
.console-body { display: grid; grid-template-columns: 130px 1fr; min-height: 360px; }
.console-side { background: var(--night); padding: 16px 12px; display: grid; align-content: start; gap: 6px; }
.console-side span { color: rgba(255,255,255,.6); padding: 7px 10px; border-radius: 8px; }
.console-side span.on { background: rgba(62,217,180,.16); color: #fff; }
.console-main { padding: 18px; display: grid; gap: 12px; align-content: start; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: #fff; border-radius: 10px; padding: 12px; }
.kpi small { color: var(--muted); }
.kpi b { display: block; font-family: var(--num); font-size: 22px; margin-top: 2px; }
.rows { background: #fff; border-radius: 10px; padding: 6px 12px; }
.rowx { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid #EEF2F1; align-items: center; }
.rowx:last-child { border-bottom: 0; }
.pill { justify-self: start; font-size: 11px; padding: 2px 9px; border-radius: 999px; background: #EAF7EF; color: #166534; font-weight: 600; }
.pill.w { background: #FFF5DA; color: #92400E; }
.pill.r { background: #FDECEC; color: var(--danger); }
.mock-note { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 12px; text-align: center; }

/* ---------- 价格 ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 60px; max-width: 900px; margin-inline: auto; }
.plans.four { grid-template-columns: repeat(4, 1fr); max-width: none; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px 38px; display: flex; flex-direction: column; }
.plan.hot { background: linear-gradient(165deg, var(--night), var(--night-2)); color: #fff; border-color: transparent; box-shadow: var(--shadow); position: relative; }
.plan.hot::before { content: "推荐"; position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; color: var(--night); background: var(--gold); border-radius: 999px; padding: 3px 12px; }
.plan h4 { font-size: 18px; }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font-family: var(--num); font-size: 46px; font-weight: 700; letter-spacing: -.01em; }
.plan .price span { color: var(--muted); }
.plan.hot .price span, .plan.hot .sub { color: rgba(255,255,255,.66); }
.plan .sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.plan ul { margin-top: 26px; display: grid; gap: 12px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--action); font-weight: 700; }
.plan.hot li::before { color: var(--gold); }
.plan .btn { margin-top: 30px; }
.fine { font-size: 13px; color: var(--muted); text-align: center; margin-top: 28px; }

/* 对比表 */
.compare { margin-top: 60px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: #F3F7F6; font-size: 14px; color: var(--muted); font-weight: 600; }
.compare thead th:last-child { color: var(--gold-deep); }
.compare td:nth-child(2), .compare td:nth-child(3), .compare th:nth-child(2), .compare th:nth-child(3) { text-align: center; width: 22%; }
.compare td:last-child { font-weight: 600; color: var(--ink); }
.compare tr:last-child td { border-bottom: 0; }
.compare .group td { background: #FAFBFA; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .1em; }
.yes { color: var(--action); font-weight: 700; }
.no { color: #A7B4B9; }

/* ---------- 隐私 ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.trust-item { padding: 34px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.trust-item h4 { font-size: 19px; margin-top: 18px; }
.trust-item p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.trust-item .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--night); color: var(--gold); }
.trust-item .ic svg { width: 22px; height: 22px; }

/* ---------- 下载 ---------- */
.download { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(50px, 7vw, 90px); background:
  radial-gradient(600px 400px at 90% 0%, rgba(62, 217, 180, .25), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(232, 199, 122, .18), transparent 60%),
  linear-gradient(160deg, var(--night), var(--night-2)); color: #fff; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.download .lead { color: rgba(255, 255, 255, .72); }
.download .eyebrow, .hero .eyebrow { color: var(--gold); }
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.store { border: 1px solid var(--line-night); border-radius: 18px; padding: 20px; background: rgba(255,255,255,.04); }
.store b { display: block; font-size: 16px; margin-top: 12px; }
.store small { color: rgba(255,255,255,.55); font-size: 13px; }
.store svg { width: 26px; height: 26px; color: var(--gold); }
.qr { justify-self: center; text-align: center; }
.qr-box { width: 210px; height: 210px; border-radius: 24px; background: #fff; padding: 16px; display: grid; place-items: center; box-shadow: var(--shadow); }
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-box .qr-empty { color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
.qr p { margin-top: 16px; color: rgba(255,255,255,.7); font-size: 14px; }

/* ---------- 常见问题 ---------- */
.faq { max-width: 860px; margin: 56px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--action); border-bottom: 2px solid var(--action); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding: 0 40px 26px 0; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink-night); color: rgba(255,255,255,.6); padding: 80px 0 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer h5 { color: #fff; font-size: 15px; margin: 0 0 18px; font-weight: 600; }
.footer li + li { margin-top: 10px; }
.footer a:hover { color: #fff; }
.footer .slogan { font-family: var(--serif); font-size: 22px; color: var(--gold-light); margin-top: 22px; }
.footer-bottom { margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line-night); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 13px; }
.footer-bottom .beian { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.disclaimer { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.8; }

/* ---------- 子页封面 ---------- */
.page-hero { padding: 170px 0 110px; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 70px); margin-top: 24px; }

/* ---------- 协议页 ---------- */
.doc { background: var(--paper); }
.doc-head { background: linear-gradient(170deg, var(--ink-night), var(--night)); color: #fff; padding: 150px 0 70px; }
.doc-head h1 { font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); margin-top: 18px; }
.doc-head p { color: rgba(255,255,255,.6); margin-top: 12px; font-size: 14px; }
.doc-body { max-width: 820px; margin: 0 auto; padding: 70px 0 120px; font-size: 16px; color: var(--ink-2); }
.doc-body h2 { font-size: 22px; margin: 46px 0 16px; color: var(--ink); padding-top: 10px; }
.doc-body p { margin: 14px 0; }
.doc-body ul { list-style: disc; padding-left: 1.4em; margin: 12px 0; }
.doc-body li { margin: 8px 0; }
.doc-body strong { color: var(--ink); }
.doc-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 窄屏 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 600px; max-width: 560px; margin: 20px auto 0; width: 100%; }
  .principles, .tools, .plans.four { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav.open { background: var(--ink-night); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; padding: 10px 24px 28px; gap: 4px; background: var(--ink-night); box-shadow: 0 30px 40px -20px rgba(0,0,0,.6); }
  .nav.open .nav-links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line-night); }
  .nav.open .nav-links a.on::after { display: none; }
  .nav.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .feature, .split, .download, .story { grid-template-columns: 1fr; }
  /* 单列时照片按原图比例显示，不被拉成竖条 */
  .story .photo { min-height: 0; aspect-ratio: 4 / 3; }
  .story-side .photo { min-height: 0; aspect-ratio: 3 / 2; }
  .split .photo { min-height: 0 !important; aspect-ratio: 16 / 11; }
  .feature.flip .feature-media { order: 0; }
  .feature-media { min-height: 480px; }
  .pillars, .trust { grid-template-columns: 1fr; }
  .hero-foot ul { grid-template-columns: 1fr 1fr; }
  .hero-foot li { border-right: 0; border-bottom: 1px solid var(--line-night); padding: 22px 0 !important; }
  .stores { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 14px 14px; font-size: 14px; }
}
@media (max-width: 560px) {
  /* 手机上照片更高一点、标题更小，少挡住宠物 */
  .story .photo, .story-side .photo { aspect-ratio: 4 / 3.2; }
  .photo .cap { left: 20px; right: 20px; bottom: 18px; }
  .photo .cap b { font-size: 20px; }
  .photo .cap span { font-size: 13px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 120px; }
  .hero-visual { height: 470px; }
  .hero-visual .p1 { width: 210px; left: 0; }
  .hero-visual .p2 { width: 196px; right: 0; top: 80px; }
  .float { font-size: 12px; padding: 10px 12px; }
  .float.f2 { right: 0; top: 0; }
  .float.f1 { left: 0; bottom: 70px; }
  .float.f3 { display: none; }
  .principles, .tools, .plans.four, .flow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-foot ul { grid-template-columns: 1fr; }
  .console-body { grid-template-columns: 1fr; }
  .console-side { display: none; }
  .btn { padding: 0 22px; }
}
