/* ============================================
   ronlin 智能宠物项圈 — 全站样式 v3「克制版」
   对标 Fi 官网的真实设计语言：浅色为主、中性灰阶、
   电光黄点缀（少量）、黑色按钮、大字号 + 紧字距、
   极少装饰。品牌色改 :root 变量即可全站生效。
   ============================================ */

:root {
  --brand: #ffef00;             /* 品牌色：电光黄（点缀用，不做大面积文字色） */
  --brand-press: #f0e000;
  --ink: #101010;               /* 主黑 */
  --ink-2: #1a1a1a;             /* 深色卡片底 */
  --gray-700: #374151;
  --gray-600: #4b5563;          /* 正文灰 */
  --gray-500: #6b7280;          /* 次级文字 */
  --gray-400: #9ca3af;          /* 弱化文字（深色底上用） */
  --line: #e5e7eb;              /* 浅色分隔线 */
  --line-dark: rgba(255, 255, 255, 0.1);
  --paper: #ffffff;
  --paper-soft: #f3f3f2;        /* 暖白版块底 */
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  /* Segoe UI 提供高质量的拉丁字与数字，中文回落到雅黑/苹方（真实字重 ≤700） */
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* 哑光细颗粒（内联 SVG 噪点，无外部请求） */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* 固定导航高 68px，预留偏移避免锚点被遮挡 */
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: #f4f2ea;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 整页光斑底：固定不随滚动，内容像从静止的光场上滑过 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 52% at 85% -6%, rgba(255, 239, 0, 0.22), transparent 62%),
    radial-gradient(48% 42% at -8% 14%, rgba(255, 190, 80, 0.2), transparent 62%),
    radial-gradient(64% 56% at 108% 48%, rgba(160, 175, 200, 0.26), transparent 66%),
    radial-gradient(56% 50% at -6% 82%, rgba(255, 228, 100, 0.16), transparent 64%),
    radial-gradient(52% 48% at 92% 104%, rgba(150, 170, 195, 0.22), transparent 66%),
    linear-gradient(175deg, #fbf9f3 0%, #f1efe6 55%, #f5f3eb 100%);
}

/* 整页哑光颗粒：覆在最上层的「磨砂」质感膜 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 140px 140px;
  opacity: 0.05;
  mix-blend-mode: overlay;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--brand); color: var(--ink); }

/* 双层焦点环：内圈深色 + 外圈品牌黄，浅色/深色底上都清晰可见 */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
  box-shadow: 0 0 0 2px var(--ink);
}

.btn-primary:focus-visible, .nav-cta:focus-visible {
  outline-color: var(--ink);
  box-shadow: 0 0 0 2px #fff;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用排版 ---------- */

/* 小标签：不再用药丸边框，纯文字 + 黄点，更克制 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.section-dark .eyebrow { color: var(--gray-400); }

h1, h2, h3 {
  font-weight: 700;
  text-wrap: balance;
}

/* 中文负字距过紧会让字形粘连，收敛到 -0.015em；halt 优化全角标点间距 */
h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: 1.12; letter-spacing: -0.015em; font-feature-settings: "halt" 1; }
h2 { font-size: clamp(28px, 4.2vw, 52px); line-height: 1.15; letter-spacing: -0.015em; font-feature-settings: "halt" 1; }
h3 { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.3; letter-spacing: -0.01em; }

/* 强调词：黄色荧光块 + 黑字（Fi 式用法——黄色做底色块，不做文字色） */
h1 .accent {
  background: var(--brand);
  color: var(--ink);
  padding: 0.01em 0.12em;
  border-radius: 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--gray-600);
  max-width: 620px;
  line-height: 1.8;
}

.section-dark .lead { color: var(--gray-400); }

section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }

.section-dark {
  background:
    radial-gradient(760px 460px at 85% -5%, rgba(255, 239, 0, 0.11), transparent 62%),
    radial-gradient(640px 420px at 2% 105%, rgba(255, 170, 60, 0.09), transparent 62%),
    var(--ink);
  color: #fff;
}
/* 浅色版块：半透明磨砂带，透出整页光斑底 */
.section-soft { background: rgba(253, 252, 249, 0.55); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5.5vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 16px auto 0; }
.section-head .lead { margin-top: 16px; }

/* ---------- 按钮（Fi 式：黑色药丸为主，无发光、无箭头） ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover { background: #2a2a2a; }

.btn-ghost {
  border-color: #d1d5db;
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--ink); }

.section-dark .btn-primary,
.hero-stage .btn-primary { background: #fff; color: var(--ink); }

.section-dark .btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.section-dark .btn-ghost:hover { border-color: #fff; }

.btn-block { width: 100%; }

.btn-disabled,
.btn-disabled:hover,
.btn-disabled:active {
  opacity: 0.58;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

/* ---------- 导航栏（浅色玻璃，Fi 式白色导航） ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-logo .logo-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brand);
  border: 1.5px solid var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a {
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.nav-cta:hover { background: #2a2a2a; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero（浅色、居中、文字主导） ---------- */

/* 首屏＝一个完整构图：文字 + 完整产品展示台，正好填满一屏。
   必须用固定 height（而非 min-height），flex 才会把展示台压缩进剩余空间 */
.hero {
  height: 100vh;
  height: 100svh;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  padding: 112px 0 26px;
  position: relative;
}

/* 展示台外层吃掉首屏剩余高度，产品图始终完整可见 */
.hero-stage-wrap {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  /* 间距放在 padding 上，避免 height:100% + margin 撑破首屏 */
  padding-top: clamp(24px, 3vh, 40px);
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero .lead {
  margin: 22px auto 34px;
  max-width: 560px;
  text-wrap: balance; /* 避免「一天。」这类孤字行 */
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--gray-500);
}

/* 产品展示台：暖色光斑底 + 磨砂玻璃悬浮卡，承载产品渲染图 */
.hero-stage {
  height: 100%;
  min-height: 250px;
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 0;
  position: relative;
}

.hero-stage > svg {
  width: 100%;
  height: 100%;
}

.hero-product-image {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: center 50%;
}

/* ---------- 光斑背景与磨砂玻璃 ---------- */

/* 玻璃要「磨砂」得起来，背后必须有颜色：柔和大光斑做底 */
.aurora {
  background:
    radial-gradient(56% 72% at 14% 10%, rgba(255, 239, 0, 0.5), transparent 65%),
    radial-gradient(52% 66% at 86% 16%, rgba(255, 176, 66, 0.34), transparent 65%),
    radial-gradient(70% 90% at 50% 110%, rgba(151, 168, 192, 0.4), transparent 68%),
    linear-gradient(160deg, #faf8f1 0%, #edeadf 100%);
}

.aurora-b {
  background:
    radial-gradient(58% 76% at 84% 8%, rgba(255, 239, 0, 0.42), transparent 64%),
    radial-gradient(54% 70% at 10% 90%, rgba(120, 200, 150, 0.3), transparent 66%),
    radial-gradient(60% 76% at 8% 12%, rgba(158, 173, 196, 0.35), transparent 66%),
    linear-gradient(200deg, #faf8f1 0%, #ecebe2 100%);
}

.aurora-c {
  background:
    radial-gradient(60% 74% at 82% 88%, rgba(255, 239, 0, 0.4), transparent 66%),
    radial-gradient(56% 70% at 12% 10%, rgba(150, 168, 194, 0.42), transparent 64%),
    linear-gradient(150deg, #f8f6ef 0%, #eae8de 100%);
}

/* 磨砂玻璃悬浮卡 */
.glass-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px) saturate(1.7);
  -webkit-backdrop-filter: blur(18px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 22px 50px -20px rgba(48, 42, 12, 0.38);
  animation: float 7s ease-in-out infinite;
}

.glass-chip .chip-icon {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
}

.glass-chip .chip-icon svg { width: 18px; height: 18px; }

.glass-chip .chip-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
}

.glass-chip .chip-sub {
  display: block;
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.4;
}

.chip-loc { top: 9%; right: 6%; }
.chip-health { bottom: 10%; left: 6%; animation-delay: -3.5s; }
.chip-alert { bottom: 12%; right: 5%; animation-delay: -2s; }

/* 磨砂 App 窗口：光斑底上的悬浮应用窗 */
.app-window {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 34px 80px -28px rgba(48, 42, 12, 0.45),
    0 3px 10px rgba(30, 26, 8, 0.08);
}

.app-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.app-window-bar .w-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(16, 16, 16, 0.16);
}

.app-window-bar .w-title {
  margin-left: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.02em;
}

/* 不支持 backdrop-filter 的浏览器：提高不透明度兜底 */
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .glass-chip { background: rgba(255, 255, 255, 0.92); }
  .app-window-bar { background: rgba(255, 255, 255, 0.94); }
  .section-dark .card, .spec { background: var(--ink-2); }
  .card, .price-card, .quote, .faq-list { background: rgba(255, 255, 255, 0.9); }
  .nav { background: rgba(255, 255, 255, 0.94); }
}

/* 悬浮信息卡（.glass-chip）的上下浮动 */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 定位点扩散波纹 */
.pulse-ring {
  animation: pulse 2.6s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes pulse {
  0%   { transform: scale(0.55); opacity: 0.8; }
  100% { transform: scale(1.7);  opacity: 0; }
}

/* 信任条（浅色版，位于首屏折叠线之后） */
.trustbar {
  border-top: 1px solid var(--line);
  margin-top: 0;
  /* 用 longhand，避免覆盖 .container 的左右 24px 内边距 */
  padding-top: 30px;
  padding-bottom: 34px;
}

.trustbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 130px;
}

.trust-item strong {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.trust-item span {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--gray-500);
}

/* ---------- 功能大卡片（交替图文） ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.feature-row + .feature-row { margin-top: clamp(72px, 9vw, 130px); }

.feature-row.flip .feature-media { order: 2; }

.feature-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: clamp(24px, 4vw, 46px);
  position: relative;
}

.feature-copy h2 { margin-bottom: 18px; }
.feature-copy .lead { margin-bottom: 26px; }

.feature-list { list-style: none; display: grid; gap: 14px; }

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
}

.feature-list .tick {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--brand);
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
}

.feature-list .tick svg { width: 11px; height: 11px; }

/* ---------- 三列卡片网格 ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 30px -18px rgba(48, 42, 12, 0.2);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: border-color 0.25s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 24px 50px -22px rgba(48, 42, 12, 0.28);
}

/* 深色版块的卡片：磨砂玻璃（透出背后的光斑色） */
.section-dark .card {
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.section-dark .card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

/* 品牌高亮卡（方案对比里的自家卡片）：黑卡 + 黄点睛 */
.card-brand {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.card-brand h3 { color: var(--brand); }

.card-brand p { color: var(--gray-400) !important; }

.card-brand:hover { border-color: var(--ink); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand);
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card-icon svg { width: 25px; height: 25px; }

.card h3 { margin-bottom: 10px; }

.card p { font-size: 15px; color: var(--gray-500); line-height: 1.8; }

.section-dark .card p { color: var(--gray-400); }

/* 卡片子项错落入场。
   用 animation 而非 transition：animation-delay 不影响元素自身的
   hover 过渡。backwards 保证延迟期间停留在初始帧。 */
.js .reveal .card,
.js .reveal .spec,
.js .reveal .quote,
.js .reveal .price-card {
  opacity: 0;
}

.js .reveal.visible .card,
.js .reveal.visible .spec,
.js .reveal.visible .quote,
.js .reveal.visible .price-card {
  opacity: 1;
  animation: rise 0.6s var(--ease-out) backwards;
}

.js .reveal.visible > :nth-child(2) { animation-delay: 0.08s; }
.js .reveal.visible > :nth-child(3) { animation-delay: 0.16s; }
.js .reveal.visible > :nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
}

/* ---------- 规格参数 ---------- */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.spec {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  padding: 32px 22px 28px;
  text-align: center;
  transition: border-color 0.25s ease;
}

.spec:hover { border-color: rgba(255, 255, 255, 0.22); }

.spec strong {
  display: block;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
  color: var(--brand);
}

.spec span { font-size: 13px; letter-spacing: 0.06em; color: var(--gray-400); }

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.product-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.product-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.product-photo figcaption {
  display: grid;
  gap: 3px;
  padding: 20px 22px 22px;
}

.product-photo figcaption strong {
  color: #fff;
  font-size: 17px;
}

.product-photo figcaption span {
  color: var(--gray-400);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- App 展示 ---------- */

.app-section {
  background: transparent;
  overflow: clip;
}

.app-media {
  display: grid;
  place-items: center;
  min-height: 590px;
}

.app-gallery {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 590px;
  height: 500px;
  margin: 0 auto;
}

.app-shot {
  position: absolute;
  top: 50%;
  width: min(190px, 45%);
  aspect-ratio: 638 / 1269;
  border: 7px solid #111113;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px -28px rgba(16, 16, 16, 0.55);
}

.app-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-shot-location {
  left: 0;
  z-index: 1;
  transform: translateY(-47%) rotate(-6deg);
}

.app-shot-primary {
  left: 50%;
  width: min(220px, 52%);
  z-index: 3;
  transform: translate(-50%, -50%);
}

.app-shot-ai {
  right: 0;
  z-index: 2;
  transform: translateY(-47%) rotate(6deg);
}

/* ---------- 开放计划 ---------- */

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

.price-card {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 30px -18px rgba(48, 42, 12, 0.2);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 24px 50px -22px rgba(48, 42, 12, 0.28);
}

/* 主推卡：黑卡锚点 */
.price-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.price-card.featured:hover { border-color: var(--ink); box-shadow: 0 24px 55px -22px rgba(16, 16, 16, 0.4); }

.price-card.featured .price-desc,
.price-card.featured .price-period { color: var(--gray-400); }

.price-card.featured .price-num small { color: var(--gray-400); }

.price-card.featured .btn-primary { background: var(--brand); color: var(--ink); }
.price-card.featured .btn-primary:hover { background: var(--brand-press); }

.price-badge {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.price-card h3 { margin-bottom: 6px; }

.price-desc { font-size: 14px; color: var(--gray-500); margin-bottom: 22px; }

.price-num {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 2px;
}

.price-num small { font-size: 16px; font-weight: 500; color: var(--gray-500); letter-spacing: 0; }

.availability-status {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.price-card.featured .availability-status { color: var(--brand); }

.price-period { font-size: 13px; color: var(--gray-500); margin-bottom: 26px; }

.price-list { list-style: none; display: grid; gap: 11px; margin-bottom: 30px; font-size: 14.5px; }

.price-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }

.price-list .tick {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--brand);
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
}

.price-list .tick svg { width: 9px; height: 9px; }

.price-card .btn { margin-top: auto; }

.price-card.featured .btn-ghost { border-color: rgba(255, 255, 255, 0.3); color: #fff; }

/* ---------- 用户评价（浅色卡） ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 30px -18px rgba(48, 42, 12, 0.18);
  border-radius: var(--radius-lg);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote .stars {
  color: var(--ink);
  letter-spacing: 3px;
  font-size: 13px;
}

.quote p { font-size: 15.5px; color: var(--gray-700); flex: 1; line-height: 1.85; }

.quote footer {
  font-size: 13px;
  color: var(--gray-500);
  border-top: 1px solid var(--line);
  padding-top: 13px;
}

/* ---------- FAQ ---------- */

/* FAQ 整体装进一块磨砂玻璃面板 */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 34px -20px rgba(48, 42, 12, 0.2);
  border-radius: var(--radius-lg);
  padding: 6px 26px;
}

.faq-item {
  border-bottom: 1px solid rgba(16, 16, 16, 0.07);
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 25px 8px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.faq-q:hover .chev { border-color: var(--ink); }

.faq-q .chev {
  flex: none;
  width: 30px; height: 30px;
  padding: 6px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  transition: transform 0.3s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
}

.faq-item.open .chev {
  transform: rotate(180deg);
  background: var(--brand);
  border-color: var(--ink);
}

/* 折叠只在 JS 可用（html.js）时生效：JS 失效时答案默认全部展开可读 */
.js .faq-a {
  max-height: 0;
  overflow: hidden;
  /* 折叠时同时从可访问性树中隐藏，收起动画结束后再切换 visibility */
  visibility: hidden;
  transition: max-height 0.3s ease, visibility 0s linear 0.3s;
}

.js .faq-item.open .faq-a {
  visibility: visible;
  transition: max-height 0.3s ease, visibility 0s;
}

.faq-a-inner {
  padding: 0 8px 25px;
  font-size: 15.5px;
  color: var(--gray-600);
  line-height: 1.85;
  max-width: 660px;
}

/* ---------- CTA 收尾（Fi 式：平涂电光黄大色块） ---------- */

.cta-final {
  background: var(--brand);
  color: var(--ink);
  text-align: center;
  border-radius: var(--radius-xl);
  padding: clamp(56px, 8vw, 100px) 24px;
}

.cta-final h2 { margin-bottom: 16px; }

.cta-final p { font-size: 16.5px; margin-bottom: 32px; color: rgba(16, 16, 16, 0.7); }

.cta-final .btn-primary { background: var(--ink); color: #fff; }
.cta-final .btn-primary:hover { background: #000; }

/* ---------- 页脚 ---------- */

.footer {
  background: var(--ink);
  color: var(--gray-400);
  padding: 72px 0 36px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 52px;
}

.footer h4 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer ul { list-style: none; display: grid; gap: 11px; }

.footer a { transition: color 0.2s ease; }
.footer a:hover { color: #fff; }

.footer-brand .nav-logo { margin-bottom: 14px; color: #fff; }

.footer-brand p { line-height: 1.9; color: var(--gray-500); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  /* ≥0.55 白：保证 13px 小字（含备案号）对比度过 WCAG AA */
  color: rgba(255, 255, 255, 0.58);
}

.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 法律页面 ---------- */

.legal-section { padding-top: 130px; }

.legal-container { max-width: 820px; }

.legal-container > h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  margin-bottom: 12px;
}

.legal-date {
  color: var(--gray-500);
  margin-bottom: 46px;
}

.legal-copy {
  display: grid;
  gap: 30px;
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.95;
}

.legal-copy > p:first-child {
  color: var(--gray-700);
  font-size: 17px;
}

.legal-copy h2 {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.45;
  margin-bottom: 9px;
}

.legal-copy div p + p { margin-top: 10px; }

.legal-meta {
  display: grid;
  gap: 6px;
  margin-top: 44px;
  padding: 24px 26px;
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  color: var(--gray-600);
  font-size: 14px;
}

.legal-meta a { text-decoration: underline; text-underline-offset: 3px; }

.legal-back { margin-top: 38px; width: auto; }

/* ---------- 跳到主要内容（键盘用户） ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand);
  color: var(--ink);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus { left: 0; }

/* ---------- 滚动入场动画 ---------- */

/* 仅在 JS 成功加载（html.js）时才隐藏内容，JS 失效时页面完整可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal .card, .js .reveal .spec, .js .reveal .quote, .js .reveal .price-card {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .pulse-ring, .glass-chip { animation: none; }
  .pulse-ring { opacity: 0; }
  html { scroll-behavior: auto; }
}

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

@media (max-width: 960px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip .feature-media { order: 0; }
  .card-grid, .pricing-grid, .quote-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* 窄屏：放弃强制一屏，自然流式排布 */
  .hero { height: auto; min-height: 100svh; padding-top: 108px; }
  .hero-stage { height: clamp(320px, 52vw, 460px); }
  .hero-stage > svg { height: auto; }
  .app-section .feature-copy { order: -1; }
  .app-media { width: 100%; max-width: 720px; margin: 0 auto; }
}

/* 断点 700px：水平菜单自然宽度约 660px，低于此宽度必须收进汉堡菜单 */
@media (max-width: 700px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 8px 24px 20px;
    display: none;
    border-bottom: 1px solid var(--line);
    /* 矮视口（手机横屏）下允许菜单自身滚动 */
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 0; font-size: 17px; color: var(--ink); }
  .nav-links .nav-cta { display: inline-block; margin-top: 10px; padding: 12px 24px; }
  .nav-toggle { display: block; }

  .card-grid, .pricing-grid, .quote-grid { grid-template-columns: 1fr; }
  .product-gallery { grid-template-columns: 1fr; }
  /* 移动端降低模糊半径，减轻滚动时的 GPU 负担 */
  .card, .price-card, .quote, .faq-list {
    backdrop-filter: blur(10px) saturate(1.3);
    -webkit-backdrop-filter: blur(10px) saturate(1.3);
  }
  .glass-chip { padding: 10px 14px; }
  .glass-chip .chip-icon { width: 30px; height: 30px; }
  .chip-loc { top: 4%; right: 4%; }
  .chip-health { bottom: 5%; left: 4%; }
  .chip-alert { bottom: 6%; right: 4%; }
  .trustbar-inner { justify-content: flex-start; gap: 20px 32px; }
  .trust-item { min-width: 120px; }
  .btn { width: 100%; justify-content: center; }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 420px; }
  .app-media { min-height: 460px; padding: 18px 10px; }
  .app-gallery { height: 420px; }
  .app-shot { width: min(142px, 44%); border-width: 5px; border-radius: 25px; }
  .app-shot-primary { width: min(178px, 58%); }
}

@media (max-width: 360px) {
  .app-shot-location { left: -3%; }
  .app-shot-ai { right: -3%; }
}
