/* =========================================================
   司机社 · 司机社官网 — 设计系统 style.css
   1 设计变量 2 基础重置 3 布局工具 4 文字标题 5 按钮
   6 头部导航 7 卡片 8 Hero 9 跑马灯 10 视频卡 11 榜单
   12 话题/文章列表 13 数据/特性 14 评价 15 CTA/下载
   16 FAQ 17 提示条/弹层 18 页脚 19 内页页头 20 分页
   21 滚动动画 22 响应式 23 附加组件
   ========================================================= */

/* ---------- 1 设计变量 ---------- */
:root {
  /* 品牌绿（瓜皮绿） */
  --brand-900: #06412F;
  --brand-700: #0A7A56;
  --brand-600: #0E9F6E;
  --brand-500: #17C393;
  --brand-100: #DCF6EC;
  --brand-50:  #F1FBF7;

  /* 点缀色 */
  --melon:      #FF4D6D;   /* 瓜瓤红 */
  --melon-100:  #FFE7EC;
  --peach:      #FF9F5A;
  --peach-100:  #FFF0E4;
  --purple:     #7C5CFF;
  --purple-100: #EDE8FF;
  --sun:        #FFC53D;
  --sun-100:    #FFF6DC;

  /* 中性色 */
  --ink:     #0B1F1A;
  --ink-2:   #25382F;
  --muted:   #5E736D;
  --line:    #E3EEE9;
  --line-2:  #D2E5DD;
  --bg:      #F7FBF9;
  --card:    #FFFFFF;
  --white:   #FFFFFF;

  /* 渐变 */
  --grad-brand: linear-gradient(135deg, #17C393 0%, #0E9F6E 55%, #0A7A56 100%);
  --grad-melon: linear-gradient(135deg, #FF4D6D 0%, #FF9F5A 100%);
  --grad-night: linear-gradient(150deg, #0B2A22 0%, #0F3B2E 55%, #103F4A 100%);

  /* 圆角 */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  /* 阴影 */
  --sh-1: 0 2px 6px rgba(11, 63, 47, .06);
  --sh-2: 0 8px 24px rgba(11, 63, 47, .08);
  --sh-3: 0 16px 40px rgba(11, 63, 47, .12);
  --sh-4: 0 24px 60px rgba(9, 46, 35, .18);
  --sh-brand: 0 12px 28px rgba(23, 195, 147, .28);
  --sh-melon: 0 12px 28px rgba(255, 77, 109, .26);

  /* 字号 */
  --fs-1: clamp(2.1rem, 4.4vw, 3.4rem);
  --fs-2: clamp(1.6rem, 2.8vw, 2.2rem);
  --fs-3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-4: 1.125rem;
  --fs-5: 1rem;
  --fs-6: .875rem;

  --container: 1180px;
  --gutter: 20px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 72px;
}

/* ---------- 2 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Outfit", "Noto Sans SC", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: var(--fs-5);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-700); }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--brand-100); color: var(--brand-900); }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 3 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }

.grid-2, .grid-3, .grid-4, .grid-side {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-side { grid-template-columns: 1.6fr .9fr; align-items: start; }

.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.muted { color: var(--muted); font-size: var(--fs-6); }
.center { text-align: center; }

.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 56px; }

/* ---------- 4 文字标题组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.h1, .h2 { line-height: 1.2; }

.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-2); }
.section-head .lead { color: var(--muted); font-size: var(--fs-4); margin: 0; }

.text-grad {
  background: var(--grad-melon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-brand { color: var(--brand-600); }

/* ---------- 5 按钮 ---------- */
.btn {
  --btn-bg: var(--grad-brand);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 0;
  border-radius: var(--r-full);
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
  background: var(--btn-bg);
  box-shadow: var(--sh-brand);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); color: var(--white); box-shadow: 0 16px 34px rgba(23, 195, 147, .36); }
.btn:active { transform: translateY(0); }

.btn-melon { --btn-bg: var(--grad-melon); box-shadow: var(--sh-melon); }
.btn-melon:hover { box-shadow: 0 16px 34px rgba(255, 77, 109, .34); }

.btn-ghost {
  --btn-bg: transparent;
  color: var(--brand-700);
  background: var(--white);
  border: 1.5px solid var(--line-2);
  box-shadow: var(--sh-1);
}
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-700); }

.btn-dark { --btn-bg: var(--ink); box-shadow: var(--sh-2); }

.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- 6 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 251, 249, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .94);
  border-color: var(--line);
  box-shadow: var(--sh-1);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  color: var(--white);
  box-shadow: var(--sh-brand);
  flex: none;
}
.logo-mark svg { width: 22px; height: 22px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; }
.nav-links a {
  display: inline-block;
  padding: 9px 15px;
  border-radius: var(--r-full);
  color: var(--ink-2);
  font-weight: 600;
  font-size: .95rem;
}
.nav-links a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav-links a.is-active { background: var(--brand-100); color: var(--brand-900); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1.5px solid var(--line-2);
  background: var(--white);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  align-items: center; justify-content: center;
  margin-left: auto;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; content: ""; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 58;
  background: rgba(6, 41, 31, .45);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* ---------- 7 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.card-pad { padding: 24px; }
.card-hover { transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--line-2); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--r-full);
  background: var(--white);
  border: 1.5px solid var(--line-2);
  color: var(--ink-2);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s var(--ease);
}
.chip:hover { border-color: var(--brand-500); color: var(--brand-700); }
.chip.is-active { background: var(--brand-100); border-color: var(--brand-500); color: var(--brand-900); }
.chip-melon.is-active { background: var(--melon-100); border-color: var(--melon); color: #C2185B; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--r-full);
  font-size: .75rem; font-weight: 700;
  background: var(--brand-50); color: var(--brand-700);
}
.badge-melon { background: var(--melon-100); color: #D6295C; }
.badge-purple { background: var(--purple-100); color: #5B3DE0; }
.badge-peach { background: var(--peach-100); color: #C86819; }
.badge-sun { background: var(--sun-100); color: #A97A08; }

/* ---------- 8 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 7vw, 88px);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(23, 195, 147, .16) 1.6px, transparent 1.7px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 65% 35%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 65% 35%, #000 0%, transparent 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  right: -160px; top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 77, 109, .12), rgba(23, 195, 147, .12) 60%, transparent 72%);
  pointer-events: none;
}

.grid-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  z-index: 1;
}

.hero-copy h1 { font-size: var(--fs-1); margin-bottom: 18px; }
.hero-copy .lead { font-size: var(--fs-4); color: var(--muted); max-width: 34em; }

.hero-visual { position: relative; }
.hero-visual > img { border-radius: var(--r-xl); box-shadow: var(--sh-4); width: 100%; }

.hero-stack { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-stack .hero-main { grid-column: 1 / -1; }
.hero-main img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--sh-4); }
.hero-mini img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-3); }

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700;
  color: var(--ink);
  z-index: 3;
}
.float-card strong { display: block; font-size: 1.05rem; color: var(--brand-700); line-height: 1.3; }
.float-card .dot-live {
  width: 9px; height: 9px; border-radius: 50%; background: var(--melon);
  box-shadow: 0 0 0 4px rgba(255, 77, 109, .18);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(255, 77, 109, .18); } 50% { box-shadow: 0 0 0 8px rgba(255, 77, 109, .06); } }

.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; list-style: none; }
.hero-stats li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 18px;
  box-shadow: var(--sh-1);
  min-width: 118px;
}
.hero-stats strong { display: block; font-size: 1.35rem; color: var(--brand-700); line-height: 1.35; }
.hero-stats span { font-size: .78rem; color: var(--muted); font-weight: 600; }

/* ---------- 9 跑马灯 ---------- */
.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: 12px 0;
  border-block: 1px solid var(--line-2);
}
.ticker-track {
  display: flex; gap: 44px; width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.ticker-item .heat { color: var(--melon); font-weight: 800; }
.ticker-item .idx { color: var(--sun); font-weight: 800; font-variant-numeric: tabular-nums; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 10 视频卡 ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.vcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.vcard.is-hidden { display: none; }

.thumb { position: relative; display: block; overflow: hidden; background: var(--ink); }
.thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s var(--ease); }
.vcard:hover .thumb img { transform: scale(1.05); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 30, 23, .55), transparent 55%); }

.vplay {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: grid; place-items: center;
  z-index: 3; border: 0; cursor: pointer;
  box-shadow: var(--sh-3);
  transition: transform .2s var(--ease);
}
.vplay:hover { transform: translate(-50%, -50%) scale(1.1); }
.vplay svg { width: 20px; height: 20px; fill: var(--brand-700); margin-left: 3px; }

.vdur {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  background: rgba(6, 30, 23, .78); color: var(--white);
  font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: var(--r-full);
}
.vtag {
  position: absolute; left: 10px; top: 10px; z-index: 3;
  background: rgba(255, 255, 255, .94); color: var(--brand-700);
  font-size: .72rem; font-weight: 800; padding: 4px 11px; border-radius: var(--r-full);
}
.vtag-melon { color: #D6295C; }

.vcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vcard-body h3 { font-size: 1.02rem; margin: 0; line-height: 1.45; }
.vcard-meta { display: flex; gap: 14px; color: var(--muted); font-size: .78rem; font-weight: 600; margin-top: auto; }
.vcard-meta .hot { color: var(--melon); }

/* ---------- 11 榜单 ---------- */
.rank-list { list-style: none; display: flex; flex-direction: column; }
.rank-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px dashed var(--line);
  transition: background .18s var(--ease);
}
.rank-item:last-child { border-bottom: 0; }
.rank-item:hover { background: var(--brand-50); }

.rank-no {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 900; font-size: 1rem;
  background: var(--bg); color: var(--muted);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.rank-no.top { background: var(--grad-melon); color: var(--white); border: 0; box-shadow: var(--sh-melon); }
.rank-no.silver { background: linear-gradient(135deg, #B8C7C1, #8FA69D); color: var(--white); border: 0; }
.rank-no.bronze { background: linear-gradient(135deg, #E4A977, #C8834A); color: var(--white); border: 0; }

.rank-body { flex: 1; min-width: 0; }
.rank-body h3 { font-size: .98rem; margin: 0 0 4px; line-height: 1.45; }
.rank-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: .78rem; font-weight: 600; }

.rank-heat { flex: none; text-align: right; min-width: 96px; }
.rank-heat strong { display: block; color: var(--melon); font-size: 1rem; font-variant-numeric: tabular-nums; }
.rank-heat small { color: var(--muted); font-size: .72rem; font-weight: 600; }

.heat-bar { height: 5px; border-radius: 99px; background: var(--melon-100); margin-top: 5px; overflow: hidden; }
.heat-bar i { display: block; height: 100%; border-radius: 99px; background: var(--grad-melon); }

.arrow-up { color: #16A34A; font-weight: 800; }
.arrow-down { color: #DC2626; font-weight: 800; }
.arrow-flat { color: var(--muted); font-weight: 800; }

/* ---------- 12 话题/文章列表 ---------- */
.post-list { display: flex; flex-direction: column; gap: 16px; }
.post-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px;
  box-shadow: var(--sh-1);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.post-item:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.post-thumb { flex: none; width: 132px; }
.post-thumb img { border-radius: var(--r-md); aspect-ratio: 1 / 1; object-fit: cover; }
.post-body h3 { font-size: 1.08rem; margin: 0 0 6px; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--brand-700); }
.post-body p { color: var(--muted); font-size: .9rem; margin: 0 0 10px; }
.post-foot { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .78rem; font-weight: 600; align-items: center; }

.tag-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.tag-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 6px; border-bottom: 1px dashed var(--line);
  font-size: .9rem;
}
.tag-row:last-child { border-bottom: 0; }
.tag-rank { flex: none; width: 26px; color: var(--muted); font-weight: 800; font-size: .82rem; font-variant-numeric: tabular-nums; }
.tag-rank.top { color: var(--melon); }
.tag-row a { color: var(--ink); font-weight: 600; flex: 1; }
.tag-row a:hover { color: var(--brand-700); }
.tag-row .cnt { color: var(--muted); font-size: .76rem; font-weight: 700; white-space: nowrap; }

.article { font-size: 1.04rem; line-height: 1.9; color: var(--ink-2); }
.article h2 { font-size: var(--fs-3); margin-top: 2em; }
.article h3 { font-size: 1.1rem; margin-top: 1.6em; }
.article blockquote {
  margin: 1.5em 0; padding: 16px 20px;
  border-left: 4px solid var(--brand-500);
  background: var(--brand-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--brand-900);
}
.article ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .4em; }

.article-hero img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--sh-3); aspect-ratio: 21 / 9; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .85rem; font-weight: 600; }

/* ---------- 13 数据/特性 ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; text-align: center; box-shadow: var(--sh-1); }
.stat strong { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--brand-700); line-height: 1.3; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .84rem; font-weight: 600; }

.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--sh-1); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.feature-ico {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 16px;
  background: var(--brand-50);
}
.feature-ico.melon { background: var(--melon-100); }
.feature-ico.purple { background: var(--purple-100); }
.feature-ico.peach { background: var(--peach-100); }
.feature-ico.sun { background: var(--sun-100); }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- 14 评价 ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); }
.review-stars { color: var(--sun); letter-spacing: 2px; font-size: .9rem; margin-bottom: 10px; }
.review p { font-size: .94rem; color: var(--ink-2); margin-bottom: 16px; }
.review-who { display: flex; align-items: center; gap: 12px; }
.review-who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-who strong { display: block; font-size: .9rem; line-height: 1.4; }
.review-who span { font-size: .76rem; color: var(--muted); }

/* ---------- 15 CTA / 下载 ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--grad-night);
  color: var(--white);
  padding: clamp(36px, 6vw, 64px);
  box-shadow: var(--sh-4);
}
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px;
  border-radius: 50%; right: -120px; top: -140px;
  background: radial-gradient(circle, rgba(23, 195, 147, .35), transparent 70%);
}
.cta-band::after {
  content: ""; position: absolute; width: 340px; height: 340px;
  border-radius: 50%; left: -110px; bottom: -160px;
  background: radial-gradient(circle, rgba(255, 77, 109, .28), transparent 70%);
}
.cta-band h2, .cta-band h3, .cta-band h4 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, .78); }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .32); color: var(--white); }
.cta-band .btn-ghost:hover { border-color: var(--white); color: var(--white); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }

.store-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .26);
  border-radius: var(--r-md);
  color: var(--white); font-weight: 700;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.store-btn:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); color: var(--white); transform: translateY(-2px); }
.store-btn svg { width: 26px; height: 26px; fill: var(--white); flex: none; }
.store-btn small { display: block; font-size: .72rem; font-weight: 500; color: rgba(255, 255, 255, .7); }

.step-list { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 18px; }
.step-item { display: flex; gap: 16px; align-items: flex-start; }
.step-no {
  counter-increment: step; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-100); color: var(--brand-900);
  display: grid; place-items: center; font-weight: 900;
  position: relative;
}
.step-no::before { content: counter(step); }

/* ---------- 16 FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); }
.faq-q {
  width: 100%; border: 0; background: transparent;
  font: inherit; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; text-align: left;
}
.faq-q:hover { color: var(--brand-700); }
.faq-q .ic {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; font-size: 1rem; font-weight: 800;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--brand-100); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a-in { padding: 0 20px 18px; color: var(--muted); font-size: .93rem; }

/* ---------- 17 提示条/弹层 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink); color: var(--white);
  padding: 12px 22px; border-radius: var(--r-full);
  font-size: .88rem; font-weight: 600;
  box-shadow: var(--sh-4);
  opacity: 0; visibility: hidden; z-index: 90;
  transition: all .3s var(--ease);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(4, 22, 17, .78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-backdrop.is-open { display: flex; }
.modal { position: relative; width: min(920px, 100%); background: var(--ink-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-4); }
.modal-close {
  position: absolute; right: 12px; top: 12px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .16); color: var(--white);
  font-size: 1.2rem; line-height: 1;
}
.modal-close:hover { background: rgba(255, 255, 255, .3); }
.modal-frame { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 45%, #143B30, #07211A 70%); display: grid; place-items: center; }
.modal-frame .mock { text-align: center; color: rgba(255, 255, 255, .85); padding: 24px; }
.modal-frame .mock .big { font-size: 2.6rem; margin-bottom: 8px; }
.modal-frame .mock h4 { color: var(--white); margin-bottom: 4px; }
.modal-frame .mock p { color: rgba(255, 255, 255, .6); font-size: .85rem; margin: 0; }
.modal-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; color: rgba(255, 255, 255, .85); font-size: .85rem; font-weight: 600; background: rgba(255, 255, 255, .06); }
.modal-bar .bar-line { flex: 1; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .18); position: relative; }
.modal-bar .bar-line i { position: absolute; inset: 0 40% 0 0; border-radius: 99px; background: var(--brand-500); }

/* ---------- 18 页脚 ---------- */
.site-footer { background: var(--grad-night); color: rgba(255, 255, 255, .72); margin-top: clamp(48px, 7vw, 80px); }
.site-footer h2, .site-footer h3, .site-footer h4 { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; padding: clamp(40px, 6vw, 64px) 0 36px; }
.foot-brand p { font-size: .9rem; }
.foot-col h4 { font-size: .95rem; margin-bottom: 14px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot-col a { color: rgba(255, 255, 255, .68); font-size: .9rem; }
.foot-col a:hover { color: var(--white); }

.foot-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-tags a {
  font-size: .76rem; padding: 5px 12px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .12);
}
.foot-tags a:hover { background: rgba(255, 255, 255, .18); color: var(--white); }

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0 26px;
  font-size: .8rem; color: rgba(255, 255, 255, .5);
}
.foot-disclaim { font-size: .78rem; line-height: 1.8; color: rgba(255, 255, 255, .48); margin-bottom: 14px; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--white); color: var(--brand-700);
  box-shadow: var(--sh-3); border: 1px solid var(--line);
  font-size: 1.1rem;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-50); }

/* ---------- 19 内页页头 ---------- */
.page-head {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 68px) 0 clamp(32px, 5vw, 52px);
  background:
    radial-gradient(60% 90% at 85% 0%, rgba(255, 77, 109, .10), transparent 70%),
    radial-gradient(55% 80% at 10% 100%, rgba(23, 195, 147, .14), transparent 70%),
    var(--brand-50);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: var(--fs-2); margin-bottom: 10px; }
.page-head .lead { color: var(--muted); font-size: var(--fs-4); max-width: 46em; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-700); }
.crumbs span[aria-current] { color: var(--brand-700); }

/* ---------- 20 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); font-weight: 700; font-size: .9rem;
  background: var(--white); border: 1.5px solid var(--line-2); color: var(--ink-2);
}
.pagination a:hover { border-color: var(--brand-500); color: var(--brand-700); }
.pagination span[aria-current="page"] { background: var(--grad-brand); border-color: transparent; color: var(--white); }

/* ---------- 21 滚动动画 ---------- */
.js .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .js [data-reveal].revealed { opacity: 1; transform: none; }
.js .js [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js .js [data-reveal][data-delay="2"] { transition-delay: .16s; }
.js .js [data-reveal][data-delay="3"] { transition-delay: .24s; }

/* ---------- 22 响应式 ---------- */
@media (max-width: 1080px) {
  :root { --container: 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 59;
    width: min(320px, 82vw);
    flex-direction: column; align-items: stretch; gap: 6px;
    margin: 0; padding: calc(var(--header-h) + 16px) 18px 24px;
    background: var(--white);
    box-shadow: var(--sh-4);
    transform: translateX(105%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { display: block; padding: 13px 16px; border-radius: var(--r-md); font-size: 1rem; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { margin-left: 0; }
  .grid-hero { grid-template-columns: 1fr; }
  .grid-side { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .hero-main img { height: 240px; }
  .hero-mini img { height: 150px; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; }
  .grid-2, .grid-3, .grid-4, .grid-side { grid-template-columns: 1fr; }
  .vgrid, .review-grid, .stats-grid, .foot-grid { grid-template-columns: 1fr; }
  .hero-stack { grid-template-columns: 1fr; }
  .hero-mini { display: none; }
  .hero-main img { height: 220px; }
  .float-card { transform: scale(.9); transform-origin: top left; }
  .btn-group .btn { flex: 1 1 100%; }
  .post-item { flex-direction: column; }
  .post-thumb { width: 100%; }
  .post-thumb img { aspect-ratio: 16 / 9; }
  .rank-item { flex-wrap: wrap; gap: 10px 14px; }
  .rank-heat { text-align: left; min-width: 0; flex: 1 1 100%; }
  .rank-heat strong { display: inline; margin-right: 8px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 420px) {
  .hero-stats { gap: 8px; }
  .hero-stats li { flex: 1 1 45%; padding: 8px 12px; }
  .section { padding: 48px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 23 附加组件（内页专用） ---------- */
.tabbar { display: flex; gap: 10px; flex-wrap: wrap; }
.tab {
  padding: 11px 22px; border-radius: var(--r-full);
  background: var(--white); border: 1.5px solid var(--line-2);
  font-weight: 700; font-size: .92rem; color: var(--ink-2); cursor: pointer;
  transition: all .18s var(--ease);
}
.tab:hover { border-color: var(--brand-500); color: var(--brand-700); }
.tab.is-active { background: var(--grad-brand); border-color: transparent; color: var(--white); box-shadow: var(--sh-brand); }

.panel { display: none; }
.panel.is-active { display: block; }

.compare-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); border: 1px solid var(--line); }
.compare-table th, .compare-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
.compare-table thead th { background: var(--brand-50); color: var(--brand-900); font-weight: 800; white-space: nowrap; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: var(--brand-50); }

.callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--sun-100); border: 1px solid #F3DFA0;
  border-radius: var(--r-md); padding: 16px 18px;
  color: #7A5A06; font-size: .9rem;
}
.callout .ic { font-size: 1.2rem; flex: none; }

.feature-matrix { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.matrix-item { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; box-shadow: var(--sh-1); }
.matrix-item .ok { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-weight: 900; font-size: .85rem; }
.matrix-item h4 { font-size: .98rem; margin-bottom: 4px; }
.matrix-item p { font-size: .85rem; color: var(--muted); margin: 0; }

@media (max-width: 680px) {
  .feature-matrix { grid-template-columns: 1fr; }
  .compare-table thead { display: none; }
  .compare-table td { display: block; border-bottom: 0; padding: 8px 16px; }
  .compare-table tbody tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
}
