/* ============================================================
   爱宠管家官网 · aau.cn/skills 风格
   浅灰紫底 + 靛蓝紫强调 + 大圆角白卡 + 深色演示面板
   ============================================================ */

:root {
  /* 色板 */
  --bg: #F7F8FC;            /* 页面底色（浅灰紫） */
  --bg-tint: #F3F4FB;       /* 区块底色 */
  --surface: #FFFFFF;       /* 卡片 */
  --ink: #111827;           /* 主文字 */
  --ink-2: #4B5563;         /* 次级文字 */
  --ink-3: #9CA3AF;         /* 弱文字 */
  --brand: #6366F1;         /* 靛蓝（主强调） */
  --brand-deep: #4F46E5;
  --violet: #8B5CF6;        /* 紫（渐变搭档） */
  --blue: #3B82F6;          /* 辅助蓝 */
  --green: #10B981;         /* 成功 ✓ */
  --red: #EF4444;           /* 痛点 × */
  --line: #E7E9F2;          /* 细边框 */
  --dark: #0F172A;          /* 深色面板（代码块风） */

  /* 品牌 渐变 */
  --grad: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  --grad-soft: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.08));

  /* 字体 */
  --font-sans: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* 形状 */
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --r-pill: 999px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05);
  --shadow-md: 0 4px 16px rgba(17, 24, 39, .06);
  --shadow-lg: 0 12px 32px rgba(99, 102, 241, .12);
  --shadow-brand: 0 8px 20px rgba(99, 102, 241, .28);

  --nav-h: 64px;
}

/* ===== 基础 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

::selection { background: rgba(99, 102, 241, .2); }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
.section { padding: 88px 0; }

.skip-link {
  position: fixed; top: -48px; left: 16px; z-index: 200;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--brand); color: #fff; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 26px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; line-height: 1.4;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); transition-duration: .08s; }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(99, 102, 241, .36); }

.btn-ghost {
  background: var(--surface); color: var(--brand-deep);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.btn-outline {
  background: var(--surface); color: var(--brand-deep);
  border: 1.5px solid rgba(99, 102, 241, .35);
}
.btn-outline:hover { border-color: var(--brand); background: rgba(99, 102, 241, .05); transform: translateY(-2px); }

.btn-cream {
  background: #fff; color: var(--brand-deep);
  box-shadow: 0 6px 18px rgba(15, 23, 42, .18);
}
.btn-cream:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 23, 42, .24); }

.btn-sm { padding: 7px 18px; font-size: 14px; }
.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== 顶部导航 ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 1px 12px rgba(17, 24, 39, .05);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { height: 36px; width: 36px; display: block; border-radius: 8px; object-fit: cover; }
.logo-text { font-size: 18px; font-weight: 700; color: var(--ink); display: flex; flex-direction: column; line-height: 1.15; }
.logo-text small { font-size: 10px; font-weight: 400; color: var(--ink-3); letter-spacing: .08em; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 14.5px; color: var(--ink-2);
  transition: color .18s, background .18s;
}
.nav-links a:not(.btn) {
  position: relative;
  overflow: hidden;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:not(.btn):hover { color: var(--brand-deep); background: rgba(99, 102, 241, .08); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links a:not(.btn).nav-active { color: var(--brand-deep); }
.nav-links a:not(.btn).nav-active::after { transform: scaleX(1); }
.nav-links .btn { margin-left: 8px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.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 ===== */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 72px) 0 96px;
  background:
    radial-gradient(720px 420px at 88% 8%, rgba(139, 92, 246, .12), transparent 65%),
    radial-gradient(680px 400px at 6% 92%, rgba(99, 102, 241, .10), transparent 65%),
    linear-gradient(180deg, #F5F6FF 0%, var(--bg) 100%);
}
.hero-decor { position: absolute; inset: 0; pointer-events: none; }
.hero-decor-blob {
  background:
    radial-gradient(closest-side, rgba(99, 102, 241, .14), transparent) 18% 22% / 420px 420px no-repeat,
    radial-gradient(closest-side, rgba(139, 92, 246, .12), transparent) 86% 78% / 380px 380px no-repeat;
}
.hero-decor-paws { opacity: .5; }

.hero-inner { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; position: relative; }

.hero-content { max-width: 560px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 24px;
  border-radius: var(--r-pill);
  background: rgba(99, 102, 241, .1); color: var(--brand-deep);
  font-size: 13.5px; font-weight: 500;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, .4); }
  55% { box-shadow: 0 0 0 7px rgba(99, 102, 241, 0); }
}

.hero-title {
  font-size: clamp(32px, 4.6vw, 46px);
  font-weight: 700; line-height: 1.28; letter-spacing: -.01em;
  color: var(--ink); margin-bottom: 20px;
}
/* Hero accent: 实色 + 下划线强调（替代渐变文字，遵循 design-rules） */
.hero-accent {
  position: relative;
  color: var(--brand-deep);
  white-space: nowrap;
}
.hero-accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
  opacity: .85;
  transform: scaleX(0);
  transform-origin: left;
  animation: accent-underline 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
@keyframes accent-underline {
  to { transform: scaleX(1); }
}

.hero-desc { font-size: 17px; color: var(--ink-2); margin-bottom: 32px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 8px 36px;
  padding: 20px 26px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  width: fit-content;
}
.stat dt { font-size: 12.5px; color: var(--ink-3); margin-bottom: 2px; }
.stat dd { font-size: 20px; font-weight: 700; color: var(--brand-deep); font-variant-numeric: tabular-nums; }

/* ===== Hero 视觉：深色演示面板（代码块风） ===== */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone-mock {
  position: relative; z-index: 2;
  width: 316px; border-radius: 36px; padding: 12px;
  background: linear-gradient(160deg, #1E293B, #0F172A);
  box-shadow: 0 24px 56px rgba(15, 23, 42, .32), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.phone-mock:hover {
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
}
.phone-notch {
  width: 96px; height: 6px; border-radius: 6px;
  background: rgba(255, 255, 255, .16); margin: 2px auto 10px;
}
.phone-screen {
  background: #0B1220; border-radius: 26px; padding: 16px 16px 18px;
  color: #E5E9F2; font-size: 13px;
}

.app-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-title { font-size: 14px; font-weight: 700; color: #fff; }
.app-badge {
  padding: 3px 10px; border-radius: var(--r-pill);
  background: rgba(99, 102, 241, .24); color: #A5B4FC;
  font-size: 11px; font-weight: 500;
}

.app-card {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; margin-bottom: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
}
.app-avatar {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 15px; font-weight: 700;
}
.app-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.45; }
.app-info b { font-size: 13.5px; color: #fff; }
.app-info small { font-size: 11px; color: #94A3B8; }
.app-tag {
  flex: none; padding: 3px 8px; border-radius: var(--r-pill);
  background: rgba(59, 130, 246, .18); color: #93C5FD;
  font-size: 10.5px;
}

.app-lines { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.app-lines li {
  display: flex; justify-content: space-between;
  padding: 9px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  font-size: 12.5px; color: #CBD5E1;
}
.app-lines i { font-style: normal; color: #E2E8F0; font-weight: 500; font-variant-numeric: tabular-nums; }

.app-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 2px; margin-bottom: 10px;
  border-top: 1px dashed rgba(148, 163, 184, .3);
  font-size: 12.5px; color: #94A3B8;
}
.app-total b { font-size: 19px; color: #fff; font-variant-numeric: tabular-nums; }

.app-pay {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; margin-bottom: 10px;
  background: rgba(99, 102, 241, .16); border-radius: 12px;
  font-size: 12px;
}
.app-pay-method { color: #C7D2FE; }
.app-pay-bal { color: #A5B4FC; font-variant-numeric: tabular-nums; }

.app-done {
  text-align: center; padding: 10px;
  border-radius: 12px;
  background: rgba(16, 185, 129, .14); color: #6EE7B7;
  font-size: 12.5px; font-weight: 500;
}

/* 悬浮通知卡 */
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(17, 24, 39, .10);
  animation: floaty 5s ease-in-out infinite;
}
.float-card b { display: block; font-size: 13px; color: var(--ink); line-height: 1.4; }
.float-card small { font-size: 11.5px; color: var(--ink-3); }
.float-icon {
  width: 34px; height: 34px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: rgba(99, 102, 241, .12);
  color: var(--brand-deep);
}
.float-card-a { top: 8%; left: -4%; }
.float-card-b { bottom: 10%; right: -6%; animation-delay: 2.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero-glow {
  position: absolute; z-index: 1; inset: auto;
  width: 430px; height: 430px; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(99, 102, 241, .14), transparent);
  filter: blur(8px);
  animation: glow-breathe 6s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.08); }
}

/* ===== 区块通用 ===== */
.section-kicker {
  display: inline-block;
  padding: 5px 14px; margin-bottom: 14px;
  border-radius: var(--r-pill);
  background: rgba(99, 102, 241, .1); color: var(--brand-deep);
  font-size: 13px; font-weight: 500;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 34px); font-weight: 700;
  line-height: 1.3; letter-spacing: -.01em; color: var(--ink);
  margin-bottom: 14px;
}
.section-desc { font-size: 16px; color: var(--ink-2); margin-bottom: 48px; max-width: 640px; }

/* ===== 对比区 ===== */
.compare-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch;
}
.compare-col {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 30px 26px;
  box-shadow: var(--shadow-sm);
}
.compare-col.after {
  border-color: rgba(99, 102, 241, .3);
  box-shadow: 0 8px 28px rgba(99, 102, 241, .10);
  background: linear-gradient(180deg, rgba(99, 102, 241, .035), var(--surface) 55%);
}
.compare-head { font-size: 17px; font-weight: 700; margin-bottom: 18px; color: var(--ink); }
.compare-col li { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; font-size: 14.5px; color: var(--ink-2); }
.compare-col li span {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  display: inline-grid; place-items: center; font-size: 12px; font-weight: 700;
  transform: translateY(3px);
}
.compare-col.before li span { background: rgba(239, 68, 68, .12); color: var(--red); }
.compare-col.after li span { background: rgba(16, 185, 129, .14); color: var(--green); }

.compare-badge {
  align-self: center;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 18px; font-weight: 700;
  box-shadow: var(--shadow-brand);
  animation: badge-pulse 2.5s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: var(--shadow-brand); }
  50% { box-shadow: 0 8px 28px rgba(99, 102, 241, .4); }
}

/* ===== 功能全景 ===== */
.feature-group { margin-bottom: 44px; }
.feature-group-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 20px;
}
.fg-chip {
  padding: 3px 12px; border-radius: var(--r-pill);
  background: rgba(99, 102, 241, .1); color: var(--brand-deep);
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
}
.feature-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 18px;
}
.feature-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(99, 102, 241, .35); }

/* Spotlight border: 鼠标跟随光斑 */
.feature-card {
  --mx: 50%;
  --my: 50%;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(180px circle at var(--mx) var(--my), rgba(99, 102, 241, .08), transparent 40%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.feature-card:hover::before { opacity: 1; }

/* Shimmer: icon 框微脉冲（perpetual motion, MOTION_INTENSITY=6） */
@keyframes icon-shimmer {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
  50% { box-shadow: 0 0 0 4px rgba(99, 102, 241, .08); }
}
.feature-card:hover .fc-icon { animation: icon-shimmer 2s ease-in-out infinite; }
.fc-icon {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, .13), rgba(139, 92, 246, .13));
  color: var(--brand-deep);
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.feature-card h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; position: relative; z-index: 1; }
.feature-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; position: relative; z-index: 1; }

.feature-card.card-hero {
  border-color: rgba(99, 102, 241, .45);
  background: linear-gradient(150deg, rgba(99, 102, 241, .07), var(--surface) 60%);
}
.feature-card.card-hero:hover { box-shadow: 0 14px 36px rgba(99, 102, 241, .2); }
.card-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  padding: 3px 11px; border-radius: var(--r-pill);
  background: var(--grad); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  box-shadow: var(--shadow-brand);
}

/* ===== 多端覆盖 ===== */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.platform-card { transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .22s; }
.platform-icon { transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.platform-card:hover .platform-icon { transform: scale(1.1) rotate(-5deg); }
.platform-icon {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  color: var(--brand-deep);
}
.icon-pine { background: rgba(99, 102, 241, .12); }
.icon-coral { background: rgba(139, 92, 246, .12); }
.icon-mustard { background: rgba(59, 130, 246, .12); }

/* ===== SVG 图标尺寸 ===== */
.icon-md { width: 22px; height: 22px; display: block; fill: currentColor; }
.icon-lg { width: 28px; height: 28px; display: block; fill: currentColor; }
.icon-sm { width: 18px; height: 18px; display: block; fill: currentColor; }
.app-pay-icon { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; fill: currentColor; }
.platform-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.platform-card p { font-size: 13.5px; color: var(--ink-2); margin-bottom: 16px; }
.platform-tag {
  display: inline-block; padding: 4px 13px; border-radius: var(--r-pill);
  background: var(--bg-tint); color: var(--ink-2);
  font-size: 12px; font-family: var(--font-mono);
}

/* ===== 7 天上手（横版 · 箭头串联） ===== */
.workflow { background: var(--bg-tint); }
.timeline { display: flex; align-items: stretch; gap: 30px; }
.timeline-item {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 15px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.timeline-item:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, .35); box-shadow: var(--shadow-lg); }
.timeline-item { transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .2s, border-color .2s; }
.timeline-day { transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.timeline-item:hover .timeline-day { transform: scale(1.08); }
.timeline-item:not(:last-child)::after {
  content: '→';
  position: absolute; top: 50%; right: -27px;
  transform: translateY(-50%);
  width: 24px; text-align: center;
  color: var(--brand); font-size: 18px; font-weight: 700;
  z-index: 1;
}
.timeline-day {
  align-self: flex-start;
  padding: 5px 13px; border-radius: var(--r-pill);
  background: var(--grad); color: #fff;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
  box-shadow: var(--shadow-brand);
  margin-bottom: 12px;
}
.timeline-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.timeline-body p { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }

/* ===== 价格 ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }

.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card { --mx: 50%; --my: 50%; }
.price-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(200px circle at var(--mx) var(--my), rgba(99, 102, 241, .06), transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: 0;
}
.price-card:hover::after { opacity: 1; }
.price-card > * { position: relative; z-index: 1; }

.price-card.featured {
  border-color: rgba(99, 102, 241, .5);
  box-shadow: 0 16px 40px rgba(99, 102, 241, .16);
}
.price-card.featured:hover { box-shadow: 0 20px 48px rgba(99, 102, 241, .24); }

.price-tag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 4px 14px; border-radius: var(--r-pill);
  background: var(--grad); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .05em;
  box-shadow: var(--shadow-brand);
}

.price-band { height: 5px; }
.band-cream { background: linear-gradient(90deg, #93C5FD, #C7D2FE); }
.band-pine { background: var(--grad); }
.band-coral { background: linear-gradient(90deg, #8B5CF6, #3B82F6); }

.price-body { display: flex; flex-direction: column; flex: 1; padding: 30px 28px 26px; }
.price-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.price b {
  font-size: 40px; font-weight: 700; letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.price span { font-size: 13.5px; color: var(--ink-3); }
.price-note { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; margin: -12px 0 20px; padding: 10px 14px; border-radius: var(--r-sm); background: rgba(99, 102, 241, .06); }
.price-body ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.price-body li { font-size: 14px; color: var(--ink-2); }
.price-body .btn { margin-top: auto; }

.price-no {
  padding: 10px 28px 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  color: var(--ink-3); border-top: 1px dashed var(--line);
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.faq-item.open { border-color: rgba(99, 102, 241, .45); box-shadow: var(--shadow-lg); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 19px 24px; text-align: left;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  transition: color .18s;
}
.faq-item.open .faq-q, .faq-q:hover { color: var(--brand-deep); }
.faq-icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(99, 102, 241, .1); color: var(--brand-deep);
  font-size: 15px; font-weight: 700; line-height: 1;
  transition: transform .25s, background .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { animation: faq-fade-in .4s ease; }
@keyframes faq-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.faq-a p { padding: 0 24px 20px; font-size: 14.5px; color: var(--ink-2); }

/* ===== CTA ===== */
.cta-box {
  position: relative; overflow: hidden;
  text-align: center;
  padding: 44px 32px 40px;
  border-radius: 28px;
  background: var(--grad);
  box-shadow: 0 24px 56px rgba(99, 102, 241, .32);
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent) 12% 8% / 300px 300px no-repeat,
    radial-gradient(closest-side, rgba(255, 255, 255, .10), transparent) 88% 90% / 260px 260px no-repeat;
}
.cta-paws { position: relative; display: flex; justify-content: center; gap: 20px; margin-bottom: 10px; }
.cta-paw-icon { width: 22px; height: 22px; fill: rgba(255, 255, 255, .45); animation: paw-float 3s ease-in-out infinite; }
.cta-paw-icon:nth-child(2) { animation-delay: 1s; }
.cta-paw-icon:nth-child(3) { animation-delay: 2s; }
@keyframes paw-float {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-6px) rotate(8deg); }
}
.cta-box h2 {
  position: relative;
  font-size: clamp(22px, 3vw, 30px); font-weight: 700;
  color: #fff; line-height: 1.35; margin-bottom: 10px;
}
.cta-box p { position: relative; font-size: 14.5px; color: rgba(255, 255, 255, .85); margin-bottom: 22px; }
.cta-actions { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta-actions .btn { padding: 9px 26px; font-size: 14.5px; }
.cta-actions .btn-primary { transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .2s; }
.cta-actions .btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 32px rgba(255, 255, 255, .2); }

/* ===== Footer ===== */
.footer { background: #F1F2F9; border-top: 1px solid var(--line); padding: 56px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px;
  padding-bottom: 44px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.footer-col h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 14px; color: var(--ink); }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13.5px; color: var(--ink-2); transition: color .18s; position: relative; }
.footer-col a:hover { color: var(--brand-deep); }
.footer-col a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-col a:hover::after { transform: scaleX(1); }
.footer-col ul li { font-size: 13.5px; color: var(--ink-2); }
.footer-bottom {
  padding: 18px 0; border-top: 1px solid var(--line);
  text-align: center; font-size: 13px; color: var(--ink-3);
}

/* ===== 滚动渐入（增强：blur + stagger） ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(3px);
  transition: opacity .5s cubic-bezier(0.16, 1, 0.3, 1),
              transform .5s cubic-bezier(0.16, 1, 0.3, 1),
              filter .5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger, 0) * 60ms);
}
.reveal.visible { opacity: 1; transform: none; filter: blur(0); }

/* 大型容器（feature-group 等）不需要 blur，只需轻微上滑 */
.feature-group.reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: none;
}
.feature-group.reveal.visible { opacity: 1; transform: none; }

/* 兜底：如果 JS 不支持 IntersectionObserver，立即显示 */
.no-io .reveal { opacity: 1; transform: none; filter: none; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .section { padding: 64px 0; }
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { max-width: 640px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); width: 100%; }

  .compare-grid { grid-template-columns: 1fr; }
  .compare-badge { justify-self: center; transform: rotate(90deg); }

  .platform-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }

  .timeline { flex-direction: column; gap: 24px; }
  .timeline-item { padding: 18px 22px; }
  .timeline-item:not(:last-child)::after {
    content: '→';
    top: auto; right: 50%; bottom: -24px;
    transform: translateX(50%) rotate(90deg);
  }
  .timeline-day { margin-bottom: 10px; }
  .timeline-body h4 { font-size: 16px; }
  .timeline-body p { font-size: 14px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .float-card-a { left: 0; }
  .float-card-b { right: 0; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 20px;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(17, 24, 39, .08);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 12px 14px; }
  .nav-links .btn { margin: 10px 0 0; }
}

@media (max-width: 640px) {
  .container, .container-narrow { width: calc(100% - 36px); }
  .hero-title { font-size: 30px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 8px 16px; padding: 18px 20px; }
  .stat dd { font-size: 18px; }
  .feature-cards { grid-template-columns: 1fr; }
  .price b { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .float-card { padding: 10px 13px; }
  .float-card b { font-size: 12px; }
  .float-card small { font-size: 10.5px; }
  .float-icon { width: 30px; height: 30px; }
  .float-icon .icon-sm { width: 15px; height: 15px; }
  .cta-box { padding: 36px 22px 32px; }
}

/* ===== 滚动进度条 ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 200;
  transition: width .1s linear;
}

/* ===== Toast 通知 ===== */
.toast-container {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  background: rgba(15, 23, 42, .95);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 36px rgba(15, 23, 42, .25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: toast-in .4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.toast.toast-out { animation: toast-out .3s ease forwards; }
.toast-icon {
  width: 22px; height: 22px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
}
.toast-icon svg { width: 14px; height: 14px; fill: #fff; }
@keyframes toast-in {
  to { opacity: 1; transform: none; }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(20px); }
}

/* ===== 回到顶部按钮 ===== */
.back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  color: var(--brand-deep);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  transform: translateY(12px) scale(0.8);
  pointer-events: none;
  transition: opacity .3s, transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .2s;
}
.back-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.back-top:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.back-top:active { transform: scale(0.92); }
.back-top svg { width: 20px; height: 20px; fill: currentColor; }

/* ===== 动效降级 ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .scroll-progress { display: none; }
}
