/* ==========================================================================
   小蓝视频官网 · 共享设计系统 style.css
   概念：糖果感科技（Cream × Electric Blue）
   令牌：奶油底 / 深墨蓝文字 / 蓝青渐变主色 / 蜜桃·樱粉点缀 / 大圆角软阴影
   ========================================================================== */

:root {
  /* 颜色 */
  --cream: #fdf6ec;
  --cream-2: #faeeda;
  --paper: #ffffff;
  --ink: #12275a;
  --ink-soft: #3d5178;
  --ink-faint: #7286a8;
  --blue: #3b7cff;
  --blue-deep: #2b5fe0;
  --cyan: #35e0f5;
  --mint: #7cf29b;
  --peach: #ffb67b;
  --pink: #ff9ebb;
  --pink-deep: #ff7aa2;
  --line: #e6ddc9;
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-warm: linear-gradient(135deg, var(--peach) 0%, var(--pink-deep) 100%);

  /* 圆角 */
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;

  /* 阴影 */
  --shadow-card: 0 6px 0 rgba(18, 39, 90, 0.06), 0 18px 40px rgba(59, 124, 255, 0.14);
  --shadow-hover: 0 10px 0 rgba(18, 39, 90, 0.06), 0 28px 56px rgba(59, 124, 255, 0.22);
  --shadow-header: 0 6px 24px rgba(18, 39, 90, 0.10);

  /* 字体 */
  --font-display: "ZCOOL KuaiLe", "Yuanti SC", "YouYuan", "Microsoft YaHei UI", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  /* 布局 */
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background:
    radial-gradient(rgba(18, 39, 90, 0.055) 1.2px, transparent 1.2px) 0 0 / 26px 26px,
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { 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: var(--cyan); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: 96px 0; }
.section--tint { background: linear-gradient(180deg, rgba(232, 241, 255, 0.9), rgba(253, 246, 236, 0.4)); }

/* ---------- 排版工具 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: 2px;
  color: var(--blue-deep);
  background: rgba(59, 124, 255, 0.10);
  border: 1.5px dashed rgba(59, 124, 255, 0.45);
  padding: 6px 16px; border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.sec-head { max-width: 720px; margin-bottom: 54px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.3; letter-spacing: 1px;
}
.sec-sub { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-text--warm { background: var(--grad-warm); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 16px;
  padding: 14px 30px; border-radius: var(--r-pill);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn--grad {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 22px rgba(59, 124, 255, 0.38), inset 0 -3px 0 rgba(18, 39, 90, 0.18);
}
.btn--grad:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 30px rgba(59, 124, 255, 0.48), inset 0 -3px 0 rgba(18, 39, 90, 0.18); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(18, 39, 90, 0.30); }
.btn--ink:hover { transform: translateY(-3px); }
.btn--ghost {
  background: var(--paper); color: var(--ink);
  border: 2px solid rgba(18, 39, 90, 0.14);
  box-shadow: 0 6px 0 rgba(18, 39, 90, 0.06);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--blue-deep); }
.btn--sm { padding: 9px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- 页头 / 导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(253, 246, 236, 0.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1.5px solid rgba(18, 39, 90, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-header); background: rgba(253, 246, 236, 0.94); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 4px 12px rgba(59, 124, 255, 0.35); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 9px 16px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15.5px; color: var(--ink-soft);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--blue-deep); background: rgba(59, 124, 255, 0.10); }
.nav-links a.is-active { color: var(--blue-deep); background: rgba(59, 124, 255, 0.14); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 4px; border-radius: 4px; background: var(--grad);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--paper); border: 2px solid rgba(18, 39, 90, 0.12);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 20px; height: 2.6px; border-radius: 3px; background: var(--ink); transition: transform 0.25s ease, opacity 0.2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

.mobile-drawer { display: none; }

/* ---------- 装饰气泡 ---------- */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bubble {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 55%), var(--grad);
  opacity: 0.28; animation: float-b 9s ease-in-out infinite;
}
.bubble--pink { background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 55%), var(--grad-warm); }
.bubble--mint { background-color: var(--mint); background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 55%), linear-gradient(135deg, var(--mint), var(--cyan)); }
@keyframes float-b {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-26px) rotate(7deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 72px) 0 110px;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.22; letter-spacing: 2px;
}
.hero-sub { margin-top: 20px; font-size: 18px; color: var(--ink-soft); max-width: 520px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 26px; display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: 14px; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars i {
  width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--cream);
  margin-left: -10px; background: var(--grad);
}
.hero-trust .avatars i:nth-child(2) { background: var(--grad-warm); }
.hero-trust .avatars i:nth-child(3) { background: linear-gradient(135deg, var(--mint), var(--cyan)); }
.hero-trust .avatars i:nth-child(4) { background: linear-gradient(135deg, var(--peach), var(--cyan)); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .mascot { width: min(360px, 72vw); filter: drop-shadow(0 30px 40px rgba(59, 124, 255, 0.30)); animation: bob 5.5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.hero-card {
  position: absolute; background: var(--paper); border-radius: var(--r-md);
  box-shadow: var(--shadow-card); padding: 12px 18px; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; gap: 9px; animation: bob 6s ease-in-out infinite;
}
.hero-card small { display: block; font-weight: 500; color: var(--ink-faint); font-size: 12px; }
.hero-card--1 { top: 6%; left: -4%; animation-delay: 0.6s; }
.hero-card--2 { bottom: 18%; right: -2%; animation-delay: 1.4s; }
.hero-card--3 { top: 40%; right: -8%; animation-delay: 2.2s; }
.hero-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink-deep); }
.hero-card .dot--blue { background: var(--blue); }
.hero-card .dot--mint { background: #1ec96b; }

/* ---------- 数据大字报 ---------- */
.stats-bar {
  background: var(--ink);
  color: #dce7ff; border-radius: 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding: 46px 0; }
.stat-num { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 52px); color: #fff; letter-spacing: 1px; }
.stat-num em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 14.5px; color: #93a7d4; margin-top: 2px; }

/* ---------- 卡片 ---------- */
.grid { 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); }
.card {
  position: relative; background: var(--paper); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: var(--shadow-card);
  border: 1.5px solid rgba(18, 39, 90, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); }
.card h3 { font-size: 19.5px; margin: 16px 0 8px; font-weight: 800; }
.card p { color: var(--ink-soft); font-size: 15px; }
.icon-chip {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: grid; place-items: center; font-size: 26px;
  background: rgba(59, 124, 255, 0.12);
}
.icon-chip--pink { background: rgba(255, 122, 162, 0.14); }
.icon-chip--mint { background: rgba(124, 242, 155, 0.22); }
.icon-chip--peach { background: rgba(255, 182, 123, 0.22); }
.card--tint { background: linear-gradient(150deg, #eaf3ff, #f6fbff); }
.card--ink { background: var(--ink); color: #e8efff; border-color: transparent; }
.card--ink p { color: #9db1de; }

/* 贴纸徽章 */
.sticker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--blue-deep);
  background: rgba(59, 124, 255, 0.09);
  border: 1.5px dashed rgba(59, 124, 255, 0.5);
  padding: 4px 12px; border-radius: var(--r-pill);
}
.sticker--pink { color: #d1436f; background: rgba(255, 122, 162, 0.1); border-color: rgba(255, 122, 162, 0.55); }
.badge-live {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800;
  color: #fff; background: #ff3b5c; padding: 3px 10px; border-radius: var(--r-pill);
}
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }

/* ---------- 筛选 Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  padding: 9px 20px; border-radius: var(--r-pill);
  background: var(--paper); border: 2px solid rgba(18, 39, 90, 0.12);
  font-weight: 700; font-size: 14.5px; color: var(--ink-soft);
  transition: all 0.18s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-2px); }
.chip.is-active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(59, 124, 255, 0.35); }

/* ---------- 视频卡片 ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card {
  background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-card); border: 1.5px solid rgba(18, 39, 90, 0.06);
  cursor: pointer; transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.3s ease;
  text-align: left; width: 100%; font: inherit; color: inherit;
}
.video-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); }
.video-card.is-hidden { display: none; }
.poster { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.poster::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(rgba(255,255,255,0.16) 1.5px, transparent 1.5px) 0 0 / 22px 22px;
}
.poster .play-orb {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.22); border: 2px solid rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform 0.25s ease; z-index: 2;
}
.video-card:hover .play-orb { transform: scale(1.14); }
.p-1 { background: linear-gradient(135deg, #3b7cff, #35e0f5); }
.p-2 { background: linear-gradient(135deg, #ff9ebb, #ffb67b); }
.p-3 { background: linear-gradient(135deg, #7cf29b, #35e0f5); }
.p-4 { background: linear-gradient(135deg, #a5b8ff, #ff9ebb); }
.p-5 { background: linear-gradient(135deg, #ffd48a, #ff7aa2); }
.p-6 { background: linear-gradient(135deg, #35e0f5, #2b5fe0); }
.p-7 { background: linear-gradient(135deg, #ff8a5c, #ffd48a); }
.p-8 { background: linear-gradient(135deg, #2b5fe0, #7cf29b); }
.poster .emoji { position: absolute; right: 14px; bottom: 10px; font-size: 34px; opacity: 0.9; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25)); z-index: 1; }
.poster .dur {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: rgba(10, 20, 45, 0.65); color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: var(--r-pill);
}
.poster .tag-hot {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--grad-warm); color: #fff; font-size: 12px; font-weight: 800;
  padding: 3px 11px; border-radius: var(--r-pill);
}
.video-meta { padding: 16px 18px 20px; display: block; }
.video-meta h3, .video-meta .v-title { display: block; font-size: 16.5px; font-weight: 800; line-height: 1.45; }
.video-meta .byline { margin-top: 8px; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-faint); }
.video-meta .byline b { color: var(--blue-deep); font-weight: 700; }

/* ---------- 排行榜列表 ---------- */
.rank-list { display: grid; gap: 14px; }
.rank-item {
  display: flex; align-items: center; gap: 18px;
  background: var(--paper); border-radius: var(--r-md); padding: 16px 20px;
  border: 1.5px solid rgba(18, 39, 90, 0.06);
  box-shadow: 0 4px 0 rgba(18, 39, 90, 0.04);
  cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left; width: 100%; font: inherit; color: inherit;
}
.rank-item:hover { transform: translateX(6px); box-shadow: 0 4px 0 rgba(59,124,255,.18), 0 14px 30px rgba(59,124,255,.16); }
.rank-no { font-family: var(--font-display); font-size: 30px; width: 44px; text-align: center; color: var(--ink-faint); }
.rank-item:nth-child(1) .rank-no { color: var(--pink-deep); }
.rank-item:nth-child(2) .rank-no { color: var(--peach); }
.rank-item:nth-child(3) .rank-no { color: var(--blue); }
.rank-thumb { width: 84px; height: 56px; border-radius: 10px; flex: none; display: block; }
.rank-body { flex: 1; min-width: 0; }
.rank-body strong { display: block; font-size: 15.5px; }
.rank-body span { font-size: 13px; color: var(--ink-faint); }

/* ---------- 弹窗播放器 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 22px;
}
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 14, 34, 0.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-panel {
  position: relative; z-index: 1; width: min(880px, 100%);
  background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  animation: pop-in 0.3s cubic-bezier(0.2, 1.4, 0.5, 1);
}
@keyframes pop-in { from { transform: scale(0.92) translateY(18px); opacity: 0; } }
.player-screen { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; color: #fff; }
.player-screen .big-emoji { font-size: 72px; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.3)); }
.player-screen .watermark { position: absolute; top: 16px; left: 18px; font-size: 13px; font-weight: 800; letter-spacing: 2px; opacity: 0.75; }
.player-state { position: absolute; top: 16px; right: 18px; }
.player-bar {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(6, 14, 34, 0.85));
  display: flex; align-items: center; gap: 14px;
}
.player-track { flex: 1; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.player-fill { height: 100%; width: 0%; border-radius: 4px; background: var(--grad); }
.player-time { font-size: 13px; font-weight: 700; min-width: 96px; text-align: right; }
.player-ctrl {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); font-size: 16px; flex: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(6, 14, 34, 0.55); color: #fff; font-size: 18px;
  display: grid; place-items: center; transition: background 0.2s ease;
}
.modal-close:hover { background: var(--pink-deep); }
.modal-info { padding: 18px 22px 22px; }
.modal-info h3 { font-size: 18px; }
.modal-info p { font-size: 13.5px; color: var(--ink-faint); margin-top: 6px; }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step {
  position: relative; background: var(--paper); border-radius: var(--r-lg);
  padding: 34px 26px 28px; border: 1.5px solid rgba(18, 39, 90, 0.07);
  box-shadow: var(--shadow-card);
}
.step-num {
  counter-increment: s; font-family: var(--font-display);
  position: absolute; top: -20px; left: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 21px;
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(59, 124, 255, 0.4);
}
.step-num::before { content: counter(s); }
.step h3 { margin: 12px 0 8px; font-size: 18.5px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 下载页 ---------- */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.dl-card { display: flex; flex-direction: column; gap: 18px; }
.dl-head { display: flex; align-items: center; gap: 16px; }
.dl-os { width: 54px; height: 54px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 26px; background: var(--ink); color: #fff; }
.dl-os--ios { background: #1c1c1e; }
.dl-card .qr-box {
  margin-inline: auto; background: #fff; border: 2px dashed rgba(59, 124, 255, 0.45);
  border-radius: var(--r-md); padding: 14px; width: max-content;
}
.dl-card canvas { width: 168px; height: 168px; display: block; image-rendering: pixelated; }
.dl-card .qr-note { text-align: center; font-size: 12.5px; color: var(--ink-faint); }
.dl-list { display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-soft); }
.dl-list li { display: flex; gap: 9px; align-items: baseline; }
.dl-list li::before { content: "✓"; color: var(--blue); font-weight: 900; }
.version-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.version-table th { background: var(--ink); color: #dce7ff; text-align: left; padding: 14px 20px; font-weight: 700; }
.version-table td { padding: 13px 20px; border-top: 1px solid rgba(18, 39, 90, 0.07); color: var(--ink-soft); }
.version-table tr:hover td { background: rgba(59, 124, 255, 0.05); }

/* ---------- 对比表 ---------- */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.cmp-table { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--paper); font-size: 15px; }
.cmp-table th, .cmp-table td { padding: 14px 22px; border-bottom: 1px solid rgba(18, 39, 90, 0.07); text-align: left; }
.cmp-table thead th { background: var(--ink); color: #fff; font-weight: 800; }
.cmp-table thead th:nth-child(2) { background: var(--blue-deep); }
.cmp-table td:nth-child(2) { color: var(--blue-deep); font-weight: 700; background: rgba(59, 124, 255, 0.05); }
.cmp-table .yes::before { content: "✓ "; color: #14b866; font-weight: 900; }
.cmp-table .no::before { content: "✕ "; color: #e35d79; font-weight: 900; }
.cmp-table .mid::before { content: "◐ "; color: var(--peach); font-weight: 900; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq details {
  background: var(--paper); border-radius: var(--r-md);
  border: 1.5px solid rgba(18, 39, 90, 0.07);
  box-shadow: 0 4px 0 rgba(18, 39, 90, 0.04);
  padding: 6px 22px; transition: border-color 0.2s ease;
}
.faq details[open] { border-color: rgba(59, 124, 255, 0.5); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 800; font-size: 16.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--blue); font-size: 20px; transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 2px 0 18px; color: var(--ink-soft); font-size: 15px; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; max-width: 800px; margin-inline: auto; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: var(--grad); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 5px solid var(--blue);
  box-shadow: 0 0 0 5px rgba(59, 124, 255, 0.18);
}
.tl-item h3 { font-size: 18px; }
.tl-item h3 span { color: var(--blue-deep); font-family: var(--font-display); margin-right: 10px; letter-spacing: 1px; }
.tl-item p { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }

/* ---------- 评价 ---------- */
.quote-card { display: flex; flex-direction: column; gap: 14px; }
.quote-card .stars { color: #ffb43a; letter-spacing: 3px; font-size: 17px; }
.quote-card blockquote { font-size: 15.5px; color: var(--ink-soft); line-height: 1.8; }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.quote-who i { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); flex: none; }
.quote-who .t2 i { background: var(--grad-warm); }
.quote-who .t3 i { background: linear-gradient(135deg, var(--mint), var(--cyan)); }
.quote-who b { display: block; font-size: 14.5px; }
.quote-who span { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(135deg, #16295c 0%, #2b5fe0 60%, #35e0f5 130%);
  color: #fff; padding: 64px 56px; text-align: center;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); letter-spacing: 2px; }
.cta-band p { margin: 14px auto 30px; max-width: 560px; color: #cfe3ff; font-size: 16.5px; }
.cta-band .btn--grad { background: #fff; color: var(--blue-deep); }
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px) 0 0 / 30px 30px;
  opacity: 0.5;
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #aebfdb; margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 44px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 14px; margin-top: 14px; color: #8ea3cf; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; padding: 5px 0; color: #aebfdb; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(174, 191, 219, 0.18); padding: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color: #7e93c0; }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: calc(var(--header-h) + 34px) 0 0; font-size: 14px; color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--blue-deep); }
.breadcrumb .sep { margin: 0 8px; }

/* ---------- 显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ---------- 回到顶部 / Toast ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 150;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 20px;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(59, 124, 255, 0.45);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.to-top.is-show { opacity: 1; pointer-events: auto; transform: none; }
.toast {
  position: fixed; left: 50%; bottom: 34px; z-index: 300;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600;
  padding: 13px 26px; border-radius: var(--r-pill);
  box-shadow: 0 14px 30px rgba(6, 14, 34, 0.45);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 68px 0; }
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .burger { display: flex; }
  .mobile-drawer {
    display: block;
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
    background: rgba(253, 246, 236, 0.98);
    border-bottom: 1.5px solid rgba(18, 39, 90, 0.1);
    box-shadow: var(--shadow-header);
    padding: 12px 22px 24px;
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  }
  .mobile-drawer.is-open { max-height: 420px; }
  .mobile-drawer a { display: block; padding: 12px 6px; font-weight: 700; border-bottom: 1px dashed rgba(18,39,90,.12); }
  .mobile-drawer .btn { margin-top: 16px; width: 100%; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 26px; }
  .hero-card--1 { left: 2%; } .hero-card--3 { right: 2%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .cta-band { padding: 46px 24px; }
}
@media (max-width: 620px) {
  .brand { font-size: 19px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .video-grid { grid-template-columns: 1fr; }
  .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-card { display: none; }
  .nav-cta .btn { padding: 10px 18px; font-size: 14px; }
  .site-footer { margin-top: 64px; }
}

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