/* ==========================================================================
   一起树 · YiQiShu — 视频社区 / 短视频话题
   assets/css/style.css
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌色（树绿三档） */
  --g1: #12805a;
  --g2: #1da97a;
  --g3: #2fc48d;
  /* 点缀色 */
  --o1: #ff7a45;
  --o2: #ffa25c;
  --y1: #ffc24b;
  --b1: #4c8df6;
  --p1: #f4799b;
  /* 中性色 */
  --ink: #0f241c;
  --ink-2: #143427;
  --tx: #17281f;
  --tx-2: #4c5f55;
  --tx-3: #7c8d83;
  --bg: #fbf7f0;
  --bg-2: #fffdf9;
  --line: #e9e2d5;
  --white: #ffffff;
  /* 渐变 */
  --grad-brand: linear-gradient(135deg, #12805a 0%, #2fc48d 100%);
  --grad-warm: linear-gradient(135deg, #ff7a45 0%, #ffc24b 100%);
  --grad-dusk: linear-gradient(165deg, #0b2018 0%, #123b2c 52%, #1a5c43 100%);
  --grad-soft: linear-gradient(180deg, #ffffff 0%, #fbf7f0 100%);
  /* 圆角 */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-full: 999px;
  /* 阴影 */
  --sh-1: 0 1px 2px rgba(15, 36, 28, .06);
  --sh-2: 0 6px 18px -6px rgba(15, 36, 28, .12);
  --sh-3: 0 16px 40px -14px rgba(15, 36, 28, .18);
  --sh-4: 0 26px 60px -20px rgba(15, 36, 28, .28);
  --sh-warm: 0 14px 34px -12px rgba(255, 122, 69, .45);
  --sh-green: 0 14px 34px -12px rgba(18, 128, 90, .45);
  /* 流式字号 */
  --fs-xs: clamp(.75rem, .72rem + .15vw, .8125rem);
  --fs-sm: clamp(.875rem, .84rem + .2vw, .9375rem);
  --fs-md: clamp(1rem, .95rem + .3vw, 1.0625rem);
  --fs-lg: clamp(1.125rem, 1.02rem + .55vw, 1.3125rem);
  --fs-xl: clamp(1.375rem, 1.15rem + 1vw, 1.875rem);
  --fs-2xl: clamp(1.75rem, 1.35rem + 1.8vw, 2.625rem);
  --fs-hero: clamp(2.125rem, 1.3rem + 3.6vw, 3.75rem);
  /* 布局 */
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 32px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Outfit", "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--tx);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--ink);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.01em;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }
h6 { font-size: var(--fs-sm); }

p { margin: 0 0 1em; }
a { color: var(--g1); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--g2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
:focus-visible { outline: 3px solid rgba(47, 196, 141, .55); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(47, 196, 141, .28); }

/* ---------- 3. 布局工具 ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-flush { padding-block: 0; }
.section-alt { background: var(--bg-2); }

.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.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.55fr .95fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.grid-center { display: grid; place-items: center; }

.flex { display: flex; gap: 14px; }
.flex-wrap { flex-wrap: wrap; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }

.muted { color: var(--tx-2); }
.small { font-size: var(--fs-sm); }
.tiny { font-size: var(--fs-xs); }
.strong { color: var(--ink); font-weight: 700; }
.center { text-align: center; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: var(--r-full);
  background: rgba(29, 169, 122, .1); color: var(--g1);
  font-size: var(--fs-xs); font-weight: 700;
}

/* ---------- 4. 文字标题组件 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--g1); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 4px; border-radius: 99px;
  background: var(--grad-brand);
}
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { margin-inline: auto; }
.sec-title { font-size: var(--fs-2xl); margin-bottom: 12px; }
.sec-sub { color: var(--tx-2); font-size: var(--fs-md); margin: 0; }

.hl {
  position: relative; z-index: 0; color: var(--g1); white-space: nowrap;
}
.hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em;
  height: .34em; border-radius: 99px; background: rgba(255, 194, 75, .45); z-index: -1;
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r-full);
  font-weight: 700; font-size: var(--fs-md); line-height: 1.2;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-green); }
.btn-primary:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 20px 40px -14px rgba(18, 128, 90, .6); }

.btn-warm { background: var(--grad-warm); color: #5a2606; box-shadow: var(--sh-warm); }
.btn-warm:hover { color: #5a2606; filter: brightness(1.05); }

.btn-ghost { background: transparent; color: var(--g1); border-color: rgba(18, 128, 90, .35); }
.btn-ghost:hover { background: rgba(29, 169, 122, .09); color: var(--g1); border-color: var(--g1); }

.btn-light { background: #fff; color: var(--ink-2); box-shadow: var(--sh-2); }
.btn-light:hover { color: var(--g1); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

.btn-lg { padding: 16px 34px; font-size: var(--fs-lg); }
.btn-sm { padding: 8px 18px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 6. 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 247, 240, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(15, 36, 28, .4);
  background: rgba(255, 253, 249, .92);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); font-size: 1.2rem; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  background: var(--grad-brand); box-shadow: var(--sh-2);
  display: grid; place-items: center;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand small {
  display: block; font-size: .6rem; font-weight: 600; letter-spacing: .22em;
  color: var(--tx-3); text-transform: uppercase; line-height: 1;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px; border-radius: var(--r-full);
  color: var(--tx-2); font-weight: 600; font-size: var(--fs-sm);
  position: relative; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--g1); background: rgba(29, 169, 122, .08); }
.nav-links a.is-active { color: var(--g1); background: rgba(29, 169, 122, .13); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px;
  background: #fff; box-shadow: var(--sh-1); border: 1px solid var(--line);
  position: relative; z-index: 75;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink); margin: 4px auto; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(15, 36, 28, .5); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* ---------- 7. 卡片 ---------- */
.card {
  background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(233, 226, 213, .8);
  box-shadow: var(--sh-2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.card-icon {
  width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center;
  margin-bottom: 16px; flex: none;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.card p { color: var(--tx-2); margin: 0; font-size: var(--fs-sm); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: var(--fs-sm); margin-top: 14px; }
.card-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.card-link:hover svg { transform: translateX(4px); }

.ic-green { background: rgba(29, 169, 122, .13); color: var(--g2); }
.ic-warm { background: rgba(255, 122, 69, .14); color: var(--o1); }
.ic-sun { background: rgba(255, 194, 75, .18); color: #c98a12; }
.ic-blue { background: rgba(76, 141, 246, .13); color: var(--b1); }
.ic-pink { background: rgba(244, 121, 155, .14); color: var(--p1); }

/* ---------- 8. Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(46px, 7vw, 92px) clamp(56px, 8vw, 104px); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: var(--grad-soft);
}
.hero-bg::before,
.hero-bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(4px);
}
.hero-bg::before {
  width: 460px; height: 460px; top: -180px; right: -120px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 194, 75, .38), rgba(255, 194, 75, 0) 66%);
}
.hero-bg::after {
  width: 520px; height: 520px; bottom: -240px; left: -160px;
  background: radial-gradient(circle at 50% 50%, rgba(47, 196, 141, .3), rgba(47, 196, 141, 0) 66%);
}

.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 8px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1);
  font-size: var(--fs-xs); font-weight: 700; color: var(--tx-2); margin-bottom: 22px;
}
.hero-badge b { color: var(--ink); }
.hero-badge i {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--grad-warm); display: grid; place-items: center; font-style: normal; font-size: .7rem;
}
.hero-title { font-size: var(--fs-hero); margin-bottom: 18px; }
.hero-desc { font-size: var(--fs-lg); color: var(--tx-2); max-width: 34em; }
.hero-actions { margin-top: 30px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--tx-3); font-size: var(--fs-sm); }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 16px; height: 16px; color: var(--g2); }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 40px); margin-top: 40px; }
.hero-stat b { display: block; font-size: var(--fs-xl); color: var(--ink); line-height: 1.2; }
.hero-stat span { font-size: var(--fs-xs); color: var(--tx-3); font-weight: 600; }

/* Hero 右侧：客厅拼贴 */
.hero-media { position: relative; }
.hero-shot {
  border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--sh-4);
  border: 6px solid #fff; aspect-ratio: 4 / 3;
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute; display: flex; align-items: center; gap: 11px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px);
  border-radius: var(--r-lg); padding: 12px 16px; box-shadow: var(--sh-3);
  border: 1px solid rgba(233, 226, 213, .9);
}
.hero-float-1 { top: -22px; right: -14px; }
.hero-float-2 { bottom: -26px; left: -20px; }
.hero-float i {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-style: normal;
}
.hero-float b { display: block; font-size: var(--fs-sm); color: var(--ink); line-height: 1.3; }
.hero-float span { font-size: var(--fs-xs); color: var(--tx-3); }
.hero-float svg { width: 19px; height: 19px; }

/* ---------- 9. 跑马灯 ---------- */
.marquee {
  overflow: hidden; background: var(--ink); padding-block: 15px;
  border-block: 1px solid rgba(255, 255, 255, .08);
}
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-track span {
  color: rgba(255, 255, 255, .78); font-weight: 700; font-size: var(--fs-sm);
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
}
.marquee-track span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g3); flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- 10. 视频卡 ---------- */
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.vcard {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(233, 226, 213, .8); box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column; text-align: left;
}
.vcard:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.vcard:hover .thumb img { transform: scale(1.07); }

.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe8e2; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 36, 28, 0) 45%, rgba(15, 36, 28, .55) 100%);
}
.badge-time {
  position: absolute; bottom: 9px; right: 9px; z-index: 3;
  background: rgba(11, 20, 16, .78); color: #fff;
  font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 8px;
  letter-spacing: .04em;
}
.badge-cat {
  position: absolute; top: 9px; left: 9px; z-index: 3;
  background: rgba(255, 255, 255, .93); color: var(--g1);
  font-size: .68rem; font-weight: 800; padding: 4px 11px; border-radius: 99px;
}
.thumb-play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  opacity: 0; transition: opacity .3s var(--ease);
}
.vcard:hover .thumb-play,
.vcard:focus-visible .thumb-play { opacity: 1; }
.thumb-play i {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--g1);
  display: grid; place-items: center; font-style: normal;
  box-shadow: var(--sh-3);
}
.thumb-play svg { width: 20px; height: 20px; margin-left: 2px; }

.vcard-body { padding: 14px 16px 17px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.vcard-title {
  font-size: var(--fs-sm); font-weight: 700; color: var(--ink);
  line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vcard-meta { display: flex; align-items: center; gap: 8px; color: var(--tx-3); font-size: var(--fs-xs); margin-top: auto; }
.vcard-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; flex: none; }
.vcard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.vcard-tags i {
  font-style: normal; font-size: .66rem; font-weight: 700; color: var(--tx-2);
  background: var(--bg); padding: 2px 9px; border-radius: 99px; border: 1px solid var(--line);
}

/* ---------- 11. 榜单 ---------- */
.rank { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--sh-2); overflow: hidden; }
.rank-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.rank-head h3 { margin: 0; font-size: var(--fs-md); display: flex; align-items: center; gap: 9px; }
.rank-head h3 svg { width: 20px; height: 20px; color: var(--o1); }
.rank-item {
  display: flex; align-items: center; gap: 14px; padding: 13px 22px;
  border-bottom: 1px dashed var(--line); transition: background .2s;
}
.rank-item:last-child { border-bottom: 0; }
.rank-item:hover { background: rgba(251, 247, 240, .8); }
.rank-num {
  width: 30px; height: 30px; border-radius: 10px; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: var(--fs-sm);
  background: var(--bg); color: var(--tx-3);
}
.rank-item:nth-child(2) .rank-num { background: var(--grad-warm); color: #5a2606; }
.rank-item:nth-child(3) .rank-num { background: rgba(255, 194, 75, .3); color: #a06a06; }
.rank-item:nth-child(4) .rank-num { background: rgba(255, 194, 75, .18); color: #a06a06; }
.rank-item-body { min-width: 0; flex: 1; }
.rank-item-body b { display: block; font-size: var(--fs-sm); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-item-body span { font-size: var(--fs-xs); color: var(--tx-3); }
.rank-delta { font-size: var(--fs-xs); font-weight: 800; flex: none; }
.up { color: #d1442c; }
.down { color: #1d8a5f; }

/* ---------- 12. 话题 / 文章列表 ---------- */
.topic-item {
  display: grid; grid-template-columns: 118px 1fr; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.topic-item:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.topic-thumb { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.topic-thumb img { width: 100%; height: 100%; object-fit: cover; }
.topic-item h3 { font-size: var(--fs-md); margin: 0 0 5px; line-height: 1.45; }
.topic-item h3 a { color: var(--ink); }
.topic-item h3 a:hover { color: var(--g1); }
.topic-item p { font-size: var(--fs-sm); color: var(--tx-2); margin: 0 0 9px; }
.topic-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; font-size: var(--fs-xs); color: var(--tx-3); }
.topic-meta b { color: var(--g1); font-weight: 800; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(22px, 3vw, 34px); }
.filter-bar button {
  padding: 9px 19px; border-radius: var(--r-full); font-weight: 700; font-size: var(--fs-sm);
  background: #fff; color: var(--tx-2); border: 1px solid var(--line);
  transition: all .22s var(--ease);
}
.filter-bar button:hover { border-color: var(--g2); color: var(--g1); }
.filter-bar button.is-on { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--sh-green); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a {
  padding: 7px 15px; border-radius: var(--r-full); font-size: var(--fs-xs); font-weight: 700;
  background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .14);
}
.tag-cloud a:hover { background: rgba(47, 196, 141, .22); color: #fff; border-color: rgba(47, 196, 141, .5); }

/* ---------- 13. 数据 / 特性 ---------- */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--r-2xl); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-2);
}
.stat { background: #fff; padding: clamp(22px, 3vw, 34px); text-align: center; }
.stat b { display: block; font-size: var(--fs-2xl); color: var(--g1); line-height: 1.15; letter-spacing: -.02em; }
.stat span { font-size: var(--fs-sm); color: var(--tx-2); font-weight: 600; }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.feature-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.feature-card .card-icon { margin: 0; }

/* ---------- 14. 评价 ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.tcard {
  background: #fff; border-radius: var(--r-xl); padding: 26px;
  border: 1px solid var(--line); box-shadow: var(--sh-2); position: relative;
}
.tcard::before {
  content: "\201C"; position: absolute; top: 6px; right: 22px;
  font-size: 4.6rem; line-height: 1; color: rgba(29, 169, 122, .14); font-family: Georgia, serif;
}
.tcard p { color: var(--tx-2); font-size: var(--fs-sm); margin-bottom: 18px; }
.tcard-who { display: flex; align-items: center; gap: 12px; }
.tcard-who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--sh-1); }
.tcard-who b { display: block; font-size: var(--fs-sm); color: var(--ink); }
.tcard-who span { font-size: var(--fs-xs); color: var(--tx-3); }
.tstars { color: var(--y1); letter-spacing: 2px; font-size: .8rem; margin-bottom: 10px; }

/* ---------- 15. CTA / 下载 ---------- */
.cta-band {
  background: var(--grad-dusk); color: #fff; border-radius: var(--r-2xl);
  padding: clamp(34px, 5vw, 62px); position: relative; overflow: hidden;
  box-shadow: var(--sh-4);
}
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  top: -200px; right: -110px;
  background: radial-gradient(circle, rgba(47, 196, 141, .3), transparent 66%);
}
.cta-band::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  bottom: -190px; left: -90px;
  background: radial-gradient(circle, rgba(255, 194, 75, .2), transparent 66%);
}
.cta-band h1, .cta-band h2, .cta-band h3, .cta-band h4, .cta-band h5 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .78); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 52px); align-items: center; }

.store-btn {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--r-lg); padding: 15px 22px; color: #fff;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.store-btn:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-2px); }
.store-btn svg { width: 30px; height: 30px; flex: none; }
.store-btn b { display: block; font-size: var(--fs-md); line-height: 1.3; }
.store-btn span { font-size: var(--fs-xs); color: rgba(255, 255, 255, .66); }
.store-qr {
  background: #fff; border-radius: var(--r-lg); padding: 14px; width: 132px; flex: none;
  box-shadow: var(--sh-3);
}

/* ---------- 16. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s var(--ease); }
.faq-item.is-open { box-shadow: var(--sh-2); border-color: rgba(29, 169, 122, .4); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; text-align: left; font-weight: 700; color: var(--ink); font-size: var(--fs-md);
}
.faq-q i {
  width: 28px; height: 28px; border-radius: 9px; flex: none; position: relative;
  background: rgba(29, 169, 122, .12);
}
.faq-q i::before, .faq-q i::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 11px; height: 2px; border-radius: 2px; background: var(--g1);
  transform: translate(-50%, -50%); transition: transform .3s var(--ease);
}
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-q i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-in { padding: 0 22px 20px; color: var(--tx-2); font-size: var(--fs-sm); }
.faq-a-in p:last-child { margin-bottom: 0; }

/* ---------- 17. 提示条 / 弹层 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 90;
  transform: translate(-50%, 20px); opacity: 0; visibility: hidden;
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--sh-4);
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
  display: flex; align-items: center; gap: 9px; max-width: min(90vw, 420px);
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast svg { width: 17px; height: 17px; color: var(--g3); flex: none; }

.vmodal {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: var(--gutter);
  background: rgba(9, 20, 16, .72); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.vmodal.is-open { opacity: 1; visibility: visible; }
.vmodal-box {
  width: min(880px, 100%); background: #fff; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-4);
  transform: translateY(22px) scale(.97); transition: transform .35s var(--ease);
  position: relative;
}
.vmodal.is-open .vmodal-box { transform: none; }
.vmodal-close {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(15, 36, 28, .55); color: #fff; display: grid; place-items: center;
  transition: background .2s;
}
.vmodal-close:hover { background: rgba(15, 36, 28, .85); }
.vmodal-close svg { width: 17px; height: 17px; }
.vmodal-stage { position: relative; aspect-ratio: 16 / 9; background: #0b1410; }
.vmodal-stage img { width: 100%; height: 100%; object-fit: cover; opacity: .86; }
.vmodal-stage::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 20, 16, .25), transparent 34%, rgba(11, 20, 16, .78));
}
.vmodal-big {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 100%;
}
.vmodal-big i {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  background: rgba(255, 255, 255, .95); color: var(--g1); box-shadow: var(--sh-4);
  transition: transform .25s var(--ease);
}
.vmodal-big:hover i { transform: scale(1.08); }
.vmodal-big svg { width: 30px; height: 30px; margin-left: 3px; }
.vmodal-progress {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 5px;
  background: rgba(255, 255, 255, .22);
}
.vmodal-progress i {
  display: block; height: 100%; width: 0;
  background: var(--grad-warm); border-radius: 99px;
  transition: width .2s linear;
}
.vmodal-info { padding: 20px 24px 24px; }
.vmodal-info h3 { font-size: var(--fs-lg); margin-bottom: 6px; padding-right: 40px; }
.vmodal-info p { color: var(--tx-2); font-size: var(--fs-sm); margin-bottom: 14px; }
.vmodal-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-xs); color: var(--tx-3); }
.vmodal-note { margin-top: 12px; font-size: var(--fs-xs); color: var(--tx-3); }

/* ---------- 18. 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); margin-top: clamp(46px, 7vw, 84px); }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(26px, 4vw, 44px); padding-block: clamp(42px, 6vw, 66px) 34px;
}
.site-footer h3, .site-footer h4 { color: #fff; font-size: var(--fs-sm); margin-bottom: 16px; letter-spacing: .04em; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(255, 255, 255, .5); }
.footer-desc { font-size: var(--fs-sm); color: rgba(255, 255, 255, .62); max-width: 30em; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, .68); font-size: var(--fs-sm); }
.footer-links a:hover { color: var(--g3); }
.footer-contact li { display: flex; gap: 10px; font-size: var(--fs-sm); margin-bottom: 10px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--g3); flex: none; margin-top: 4px; }
.footer-keywords { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; }
.footer-keywords p { font-size: var(--fs-xs); color: rgba(255, 255, 255, .45); margin: 0 0 10px; font-weight: 700; letter-spacing: .06em; }
.footer-keywords ul { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-keywords a {
  font-size: var(--fs-xs); color: rgba(255, 255, 255, .58);
  padding: 4px 12px; border-radius: 99px; background: rgba(255, 255, 255, .06);
  transition: all .2s;
}
.footer-keywords a:hover { background: rgba(47, 196, 141, .2); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px 26px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); color: rgba(255, 255, 255, .48);
}
.footer-disclaimer { font-size: var(--fs-xs); color: rgba(255, 255, 255, .38); max-width: 60em; margin: 0; }

/* ---------- 19. 内页页头 ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(44px, 6.5vw, 80px);
  background: var(--grad-dusk); color: #fff;
}
.page-hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  top: -260px; right: -140px;
  background: radial-gradient(circle, rgba(47, 196, 141, .28), transparent 66%);
}
.page-hero h1 { color: #fff; font-size: var(--fs-2xl); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, .76); max-width: 44em; margin-bottom: 0; font-size: var(--fs-md); }
.page-hero .inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-xs); color: rgba(255, 255, 255, .6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255, 255, 255, .78); }
.breadcrumb a:hover { color: var(--g3); }
.breadcrumb .sep { opacity: .5; }
.page-hero-img {
  position: absolute; inset: 0; z-index: 0; opacity: .22;
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(11, 32, 24, .92), rgba(11, 32, 24, .6));
}

/* 文章正文 */
.prose { max-width: 76ch; }
.prose h2 { font-size: var(--fs-xl); margin-top: 1.8em; }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.5em; }
.prose p { color: var(--tx-2); }
.prose blockquote {
  margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--g2);
  background: rgba(29, 169, 122, .07); border-radius: 0 var(--r) var(--r) 0;
  color: var(--ink-2); font-size: var(--fs-md);
}
.prose ul { list-style: disc; padding-left: 1.4em; color: var(--tx-2); margin-bottom: 1em; }
.prose li { margin-bottom: .5em; }
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: var(--r-lg); width: 100%; }
.prose figcaption { font-size: var(--fs-xs); color: var(--tx-3); margin-top: 10px; text-align: center; }
.article-cover { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); margin-bottom: 28px; }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--fs-sm); color: var(--tx-3); margin-bottom: 24px; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta svg { width: 16px; height: 16px; color: var(--g2); }

/* ---------- 20. 分页 ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: clamp(28px, 4vw, 44px); }
.pager a, .pager span {
  min-width: 42px; height: 42px; padding-inline: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 13px; font-weight: 700; font-size: var(--fs-sm);
  background: #fff; color: var(--tx-2); border: 1px solid var(--line);
  transition: all .22s var(--ease);
}
.pager a:hover { border-color: var(--g2); color: var(--g1); transform: translateY(-2px); }
.pager .is-current { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--sh-green); }
.pager .gap { background: none; border: 0; color: var(--tx-3); }

/* ---------- 21. 滚动动画 ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }

.back-top {
  position: fixed; right: 22px; bottom: 24px; z-index: 55;
  width: 48px; height: 48px; border-radius: 16px;
  background: var(--grad-brand); color: #fff; box-shadow: var(--sh-green);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.back-top.is-show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { filter: brightness(1.07); }
.back-top svg { width: 20px; height: 20px; }

/* ---------- 22. 响应式 ---------- */
@media (max-width: 1080px) {
  .vgrid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-float-1 { right: 4px; }
  .hero-float-2 { left: 4px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .nav-links {
    position: fixed; top: 0; right: 0; z-index: 72;
    width: min(320px, 84vw); height: 100dvh;
    background: var(--bg-2); box-shadow: var(--sh-4);
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 96px 22px 30px;
    transform: translateX(105%); transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  .nav-links.is-open { transform: none; }
  .nav-links a { padding: 13px 16px; border-radius: var(--r); font-size: var(--fs-md); background: #fff; border: 1px solid var(--line); }
  .nav-links a.is-active { border-color: rgba(29, 169, 122, .45); }
  .grid-side { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .cta-inner { grid-template-columns: 1fr; }
  .tgrid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .vgrid, .tgrid, .feature-row, .stats-band { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .btn-group .btn { flex: 1 1 100%; }
  .hero-float { transform: scale(.86); }
  .hero-float-1 { transform-origin: top right; top: -14px; }
  .hero-float-2 { transform-origin: bottom left; bottom: -16px; }
  .hero-stats { gap: 20px; }
  .hero-stats > * { flex: 1 1 40%; }
  .footer-top { grid-template-columns: 1fr; }
  .topic-item { grid-template-columns: 92px 1fr; gap: 13px; }
  .rank-head, .rank-item { padding-inline: 16px; }
  .vcard-tags { display: none; }
  .store-qr { display: none; }
}

@media (max-width: 420px) {
  .vgrid { grid-template-columns: 1fr; }
  .nav { min-height: 66px; }
  .brand-mark { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 23. 附加组件（内页专用） ---------- */
/* 首页「客厅」故事区 */
.story-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4.5vw, 60px); align-items: center; }
.story-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-pics figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); border: 5px solid #fff; }
.story-pics img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.story-pics figure:first-child { transform: translateY(-14px); }
.story-pics figure:last-child { transform: translateY(14px); }
.story-list { display: grid; gap: 14px; margin-top: 22px; }
.story-list li { display: flex; gap: 13px; align-items: flex-start; }
.story-list i {
  width: 30px; height: 30px; border-radius: 10px; flex: none; margin-top: 2px;
  background: rgba(29, 169, 122, .13); color: var(--g1);
  display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .82rem;
}
.story-list b { display: block; color: var(--ink); font-size: var(--fs-sm); }
.story-list span { font-size: var(--fs-sm); color: var(--tx-2); }

/* 话题胶囊（首页导览） */
.pill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.pill-card {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3 / 3.6;
  box-shadow: var(--sh-2); display: flex; align-items: flex-end;
}
.pill-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pill-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 32, 24, 0) 38%, rgba(11, 32, 24, .82) 100%);
}
.pill-card:hover img { transform: scale(1.08); }
.pill-card:hover { box-shadow: var(--sh-4); }
.pill-card-body { position: relative; z-index: 2; padding: 20px; color: #fff; }
.pill-card-body b { display: block; font-size: var(--fs-lg); color: #fff; }
.pill-card-body span { font-size: var(--fs-xs); color: rgba(255, 255, 255, .76); }
.pill-card-body i {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .2); backdrop-filter: blur(4px); font-style: normal;
  display: grid; place-items: center; opacity: 0; transition: opacity .3s;
}
.pill-card:hover .pill-card-body i { opacity: 1; }
.pill-card-body svg { width: 16px; height: 16px; }

/* 步骤 */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); counter-reset: step; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--sh-2); position: relative; }
.step-num {
  width: 46px; height: 46px; border-radius: 15px; background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: var(--fs-lg);
  box-shadow: var(--sh-green); margin-bottom: 16px;
}
.step-card h3 { font-size: var(--fs-md); margin-bottom: 7px; }
.step-card p { font-size: var(--fs-sm); color: var(--tx-2); margin: 0; }

/* 功能矩阵 */
.matrix { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.matrix-item { display: flex; gap: 15px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.matrix-item:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.matrix-item .card-icon { margin: 0; width: 46px; height: 46px; border-radius: 14px; }
.matrix-item .card-icon svg { width: 22px; height: 22px; }
.matrix-item h3 { font-size: var(--fs-md); margin-bottom: 5px; }
.matrix-item p { font-size: var(--fs-sm); color: var(--tx-2); margin: 0; }

/* 评论区 */
.comment { display: flex; gap: 14px; padding-block: 18px; border-bottom: 1px dashed var(--line); }
.comment:last-child { border-bottom: 0; }
.comment img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: var(--sh-1); }
.comment b { font-size: var(--fs-sm); color: var(--ink); }
.comment time { font-size: var(--fs-xs); color: var(--tx-3); margin-left: 8px; }
.comment p { font-size: var(--fs-sm); color: var(--tx-2); margin: 5px 0 8px; }
.comment-actions { display: flex; gap: 16px; font-size: var(--fs-xs); color: var(--tx-3); font-weight: 700; }
.comment-actions button:hover { color: var(--g1); }

/* 内页媒体查询 */
@media (max-width: 1080px) {
  .pill-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .story-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .pill-grid { grid-template-columns: 1fr; }
  .pill-card { aspect-ratio: 16 / 10; }
  .story-pics figure:first-child,
  .story-pics figure:last-child { transform: none; }
  .matrix { grid-template-columns: 1fr; }
}
