/* ============================================================
   yt-dlp 中国官方网站 · 全局样式
   配色源自 yt-dlp 官方 Logo：#FF0000 / #666666 / #FFFFFF / #282828
   扁平 · 现代 · 专业
   ============================================================ */

:root {
  --red: #ff0000;
  --red-dark: #d60000;
  --red-soft: #fff1f1;
  --dark: #282828;
  --dark-2: #1f1f1f;
  --gray: #666666;
  --text: #282828;
  --text-2: #555555;
  --muted: #8a8a8a;
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --border: #e8e8e8;
  --shadow-sm: 0 1px 3px rgba(40, 40, 40, 0.06), 0 1px 2px rgba(40, 40, 40, 0.04);
  --shadow-md: 0 8px 24px rgba(40, 40, 40, 0.08);
  --shadow-lg: 0 20px 50px rgba(40, 40, 40, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

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

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

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

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 文字 ---------- */
.h1, h1, .h2, h2, .h3, h3, .h4, h4 { line-height: 1.35; font-weight: 700; letter-spacing: 0.01em; }
.muted { color: var(--muted); }
.lead { font-size: 1.125rem; color: var(--text-2); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.98rem;
  padding: 12px 26px; border-radius: 999px;
  transition: all 0.22s ease; white-space: nowrap;
  border: 2px solid transparent;
}
.btn svg { flex: none; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(255, 0, 0, 0.28); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 0, 0, 0.32); }
.btn-outline { background: transparent; color: var(--dark); border-color: #d6d6d6; }
.btn-outline:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: #f1f1f1; transform: translateY(-2px); }
.btn-ghost-dark { background: transparent; color: #e8e8e8; border-color: rgba(255,255,255,0.35); }
.btn-ghost-dark:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.btn-lg { padding: 16px 36px; font-size: 1.06rem; }
.btn-sm { padding: 8px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(40, 40, 40, 0.07); }
.nav-wrap { display: flex; align-items: center; gap: 32px; height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { display: block; width: 36px; height: 36px; }
.logo-word { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-word .yt { color: var(--red); }
.logo-word .dlp { color: var(--dark); }
.logo-badge {
  font-size: 0.68rem; font-weight: 600; color: var(--red);
  border: 1px solid #ffc9c9; background: var(--red-soft);
  padding: 1px 8px; border-radius: 999px; margin-left: 2px;
}

.nav-menu { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-menu a {
  padding: 8px 14px; border-radius: 8px; font-size: 0.95rem;
  color: var(--text-2); font-weight: 500; transition: all 0.2s ease;
}
.nav-menu a:hover { color: var(--red); background: var(--red-soft); }
.nav-menu a.active { color: var(--red); background: var(--red-soft); font-weight: 600; }

.nav-cta { flex: none; display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 8px; align-items: center; justify-content: center; border: 1px solid var(--border); }

/* ---------- 英雄区（深色，取 Logo 深色） ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 0, 0, 0.16), transparent 60%),
    radial-gradient(700px 380px at 8% 110%, rgba(255, 0, 0, 0.10), transparent 55%),
    var(--dark);
  color: #fff;
  padding: 96px 0 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: #ffb3b3;
  background: rgba(255, 0, 0, 0.14); border: 1px solid rgba(255, 0, 0, 0.35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: 0.01em; }
.hero h1 .red { color: var(--red); }
.hero .lead { color: #c9c9c9; margin: 22px 0 34px; max-width: 560px; font-size: 1.1rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.terminal {
  background: #171717; border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.terminal-bar .t-red { background: #ff5f57; }
.terminal-bar .t-yellow { background: #febc2e; }
.terminal-bar .t-green { background: #28c840; }
.terminal-bar span { margin-left: 8px; font-size: 0.78rem; color: #777; font-family: var(--mono); }
.terminal-body { padding: 20px; font-family: var(--mono); font-size: 0.84rem; line-height: 2; }
.terminal-body .cmd { color: #ff6b6b; }
.terminal-body .arg { color: #c9c9c9; }
.terminal-body .ok { color: #6fdc8c; }
.terminal-body .dim { color: #777; }
.terminal-cursor { display: inline-block; width: 9px; height: 16px; background: var(--red); vertical-align: middle; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-stats {
  margin-top: 84px; border-top: 1px solid rgba(255,255,255,0.10);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-stats .stat { padding: 30px 20px 34px; text-align: center; position: relative; }
.hero-stats .stat + .stat::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: rgba(255,255,255,0.10); }
.hero-stats .num { font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-stats .num em { font-style: normal; color: var(--red); }
.hero-stats .label { font-size: 0.86rem; color: #9a9a9a; margin-top: 4px; }

/* ---------- 区块通用 ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--red); text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-head p { color: var(--text-2); margin-top: 14px; }

/* ---------- 卡片 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #f2c4c4; }
.icon-box {
  width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 20px;
}
.icon-box svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 0.95rem; }
.card .more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 0.9rem; font-weight: 600; }
.card .more svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card:hover .more svg { transform: translateX(4px); }

/* 场景卡片 */
.scene-card { display: flex; gap: 20px; align-items: flex-start; }
.scene-num {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--dark); color: #fff; font-weight: 800; font-size: 1.05rem;
}

/* 评价卡片 */
.quote-card { position: relative; }
.quote-card::before {
  content: "\201C"; position: absolute; top: 10px; right: 24px;
  font-size: 4.5rem; font-weight: 800; color: #ffe1e1; line-height: 1;
}
.quote-card .stars { color: var(--red); display: flex; gap: 3px; margin-bottom: 14px; }
.quote-card .stars svg { width: 16px; height: 16px; flex: none; }
.quote-card blockquote { font-size: 0.98rem; color: var(--text-2); font-style: normal; }
.quote-card .who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.quote-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--dark); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex: none;
}
.quote-card .who b { font-size: 0.95rem; display: block; }
.quote-card .who span { font-size: 0.8rem; color: var(--muted); }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px 30px;
}
.step .step-index {
  width: 38px; height: 38px; border-radius: 10px; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 18px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 0.93rem; }
.step code {
  display: block; margin-top: 16px; background: var(--dark); color: #ff9d9d;
  padding: 12px 14px; border-radius: 9px; font-family: var(--mono); font-size: 0.82rem;
  white-space: nowrap; overflow-x: auto; position: relative;
}
.step code .dim { color: #8f8f8f; }

/* ---------- 代码块 ---------- */
.code-block {
  background: var(--dark); color: #e8e8e8; border-radius: var(--radius-sm);
  padding: 20px 22px; font-family: var(--mono); font-size: 0.88rem; line-height: 1.9;
  overflow-x: auto; position: relative; margin: 14px 0;
}
.code-block .cm { color: #6e6e6e; }
.code-block .rd { color: #ff6b6b; }
.code-block .gn { color: #6fdc8c; }
.code-block .yw { color: #ffd479; }
.copy-btn {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: #bdbdbd; background: rgba(255,255,255,0.08);
  padding: 5px 12px; border-radius: 7px; transition: all 0.2s ease;
}
.copy-btn:hover { color: #fff; background: rgba(255,0,0,0.5); }
.copy-btn.done { color: #6fdc8c; }

/* ---------- 表格 ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
.tbl th, .tbl td { padding: 15px 20px; text-align: left; font-size: 0.93rem; border-bottom: 1px solid var(--border); }
.tbl th { background: var(--bg-alt); font-weight: 600; color: var(--dark); }
.tbl tr:last-child td { border-bottom: none; }
.tbl td .yes { color: #0a9d5c; font-weight: 600; }
.tbl td .no { color: #b4b4b4; }
.tbl tbody tr { transition: background 0.15s ease; }
.tbl tbody tr:hover { background: #fffafa; }

/* ---------- FAQ 手风琴 ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 1rem; font-weight: 600; color: var(--dark); text-align: left;
}
.faq-q .chev { flex: none; transition: transform 0.25s ease; color: var(--red); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--text-2); font-size: 0.95rem; }
.faq-a-inner code { font-family: var(--mono); font-size: 0.85em; background: var(--red-soft); color: var(--red-dark); padding: 1px 7px; border-radius: 5px; }

/* ---------- 下载中心 ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.platform-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; text-align: center; transition: all 0.25s ease;
  display: flex; flex-direction: column; align-items: center;
}
.platform-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #f2c4c4; }
.platform-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.platform-icon svg { width: 32px; height: 32px; }
.platform-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.platform-card .p-desc { font-size: 0.86rem; color: var(--muted); margin-bottom: 18px; }
.platform-card .p-file { font-family: var(--mono); font-size: 0.8rem; color: var(--red); background: var(--red-soft); padding: 4px 12px; border-radius: 7px; margin-bottom: 20px; }

.channel-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.channel-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 26px; }
.channel-card .ch-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.ch-badge.stable { background: #e5f6ee; color: #0a9d5c; }
.ch-badge.nightly { background: #fff4d6; color: #a06c00; }
.ch-badge.master { background: #ffe4e4; color: var(--red-dark); }
.channel-card h4 { font-size: 1rem; margin-bottom: 6px; }
.channel-card p { font-size: 0.88rem; color: var(--text-2); }

/* ---------- 更新日志时间线 ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--red), #ffd1d1); border-radius: 2px; }
.tl-item { position: relative; margin-bottom: 34px; }
.tl-item::before {
  content: ""; position: absolute; left: -31px; top: 10px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--red);
}
.tl-item.latest::before { background: var(--red); box-shadow: 0 0 0 5px rgba(255, 0, 0, 0.15); }
.tl-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px; transition: box-shadow 0.25s ease; }
.tl-card:hover { box-shadow: var(--shadow-md); }
.tl-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.tl-ver { font-size: 1.15rem; font-weight: 800; color: var(--red); font-family: var(--mono); }
.tl-date { font-size: 0.85rem; color: var(--muted); }
.tl-tag { font-size: 0.72rem; font-weight: 700; background: var(--dark); color: #fff; padding: 2px 10px; border-radius: 999px; }
.tl-card ul { margin-top: 8px; }
.tl-card ul li { position: relative; padding-left: 18px; color: var(--text-2); font-size: 0.93rem; margin: 6px 0; }
.tl-card ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 2px; background: var(--red); }

/* ---------- 站点支持 ---------- */
.site-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.site-chip {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border); background: #fff; border-radius: 999px;
  padding: 9px 18px; font-size: 0.9rem; font-weight: 500; transition: all 0.2s ease;
}
.site-chip:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.site-chip svg { width: 18px; height: 18px; color: var(--red); }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--dark) 0%, #3a1414 100%);
  border-radius: 22px; color: #fff; text-align: center;
  padding: 64px 40px; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,0,0.30), transparent 70%); top: -140px; right: -80px;
}
.cta-banner::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,0,0.18), transparent 70%); bottom: -160px; left: -60px;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); position: relative; z-index: 1; }
.cta-banner p { color: #c9c9c9; margin: 14px auto 30px; max-width: 560px; position: relative; z-index: 1; }
.cta-banner .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark-2); color: #b5b5b5; padding: 64px 0 0; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo-word .dlp { color: #fff; }
.footer-brand p { margin: 16px 0 22px; color: #8f8f8f; font-size: 0.88rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; }
.footer-col a { display: block; color: #9d9d9d; padding: 5px 0; transition: color 0.2s ease; font-size: 0.9rem; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #7d7d7d; font-size: 0.82rem; }
.footer-bottom a { color: #9d9d9d; }
.footer-bottom a:hover { color: var(--red); }

/* ---------- 下载弹窗 ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(20, 20, 20, 0.62); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity 0.28s ease, visibility 0.28s ease; padding: 20px;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: 20px; width: min(680px, 100%); max-height: 92vh; overflow-y: auto;
  transform: translateY(24px) scale(0.97); transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--shadow-lg); position: relative;
}
.modal-overlay.show .modal { transform: none; }
.modal-head { padding: 26px 30px 0; display: flex; align-items: flex-start; justify-content: space-between; }
.modal-head h3 { font-size: 1.3rem; }
.modal-head .sub { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
.modal-close {
  width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all 0.2s ease; flex: none; margin-left: 16px;
}
.modal-close:hover { background: var(--red-soft); color: var(--red); }
.modal-body { padding: 22px 30px 30px; }

.platform-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.platform-tab {
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 6px; text-align: center;
  font-size: 0.88rem; font-weight: 600; color: var(--text-2); transition: all 0.2s ease;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.platform-tab svg { width: 22px; height: 22px; }
.platform-tab:hover { border-color: var(--red); color: var(--red); }
.platform-tab.active { background: var(--red-soft); border-color: var(--red); color: var(--red); }

.modal-dl-row { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.modal-dl-row .file { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); }

.qr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.qr-cell { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; text-align: center; }
.qr-cell img { width: 148px; height: 148px; margin: 0 auto 12px; border-radius: 8px; border: 1px solid var(--border); }
.qr-cell b { font-size: 0.92rem; display: block; }
.qr-cell span { font-size: 0.8rem; color: var(--muted); }
.qr-note { margin-top: 16px; text-align: center; font-size: 0.82rem; color: var(--muted); background: var(--bg-alt); border-radius: 9px; padding: 12px 16px; }
.qr-note code { font-family: var(--mono); color: var(--red); }

/* ---------- 页内锚点 ---------- */
.anchor-offset { scroll-margin-top: 90px; }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 面包屑 ---------- */
.breadcrumb { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 16px 0; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { margin: 0 8px; color: #c5c5c5; }
.breadcrumb .cur { color: var(--red); font-weight: 600; }

/* ---------- 页头横幅 ---------- */
.page-hero { background: var(--dark); color: #fff; padding: 64px 0; }
.page-hero .tag { color: #ff8f8f; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; }
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 10px 0 14px; }
.page-hero p { color: #c6c6c6; max-width: 680px; }

/* ---------- 通知条 ---------- */
.notice { background: var(--red-soft); border: 1px solid #ffd2d2; color: #a00000; border-radius: var(--radius-sm); padding: 16px 22px; font-size: 0.92rem; display: flex; gap: 12px; align-items: flex-start; }
.notice svg { flex: none; margin-top: 2px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-stats { margin-top: 60px; grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat + .stat::before { display: none; }
  .grid-3, .platform-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 14px 4vw 20px; gap: 2px;
    display: none; box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 13px 14px; }
  .nav-cta .btn-sm { display: none; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .platform-grid, .steps, .channel-row, .qr-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding-top: 64px; }
  .hero-actions .btn { width: 100%; }
  .platform-tabs { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .modal-body { padding: 18px 20px 24px; }
  .modal-head { padding: 22px 20px 0; }
}
