/* ===== BWHHost Design System v4 — BandwagonHost Official Style ===== */
/* 基于搬瓦工官网色彩体系：深棕 + 琥珀金 + 灰色背景 */
/* 传统实用风格，非现代极简 */

:root {
  /* === 品牌棕色系 === */
  --bg-primary: #e4e0dc;
  --bg-secondary: #f2f0ed;
  --bg-card: #ffffff;
  --bg-card-hover: #fffef8;
  --bg-header: #3f2814;
  --bg-header-light: #482d19;
  --bg-footer: #482d19;
  --bg-copyright: #25160a;
  --bg-banner: #25160a;

  /* === 强调色 === */
  --accent: #dc9700;
  --accent-hover: #f0a800;
  --accent-dark: #dd9800;
  --accent-light: rgba(220,151,0,.1);
  --accent-gradient: linear-gradient(to bottom, #fed107, #dd9800);
  --accent-gradient-hover: linear-gradient(to bottom, #dd9800, #fed107);
  --accent-green: #5cb85c;
  --accent-green-hover: #4cae4c;
  --accent-red: #d9534f;
  --accent-blue: #dc9700;

  /* === 文字色 === */
  --text-primary: #111827;
  --text-secondary: #1f2937;
  --text-muted: #4b5563;
  --text-light: #999999;
  --text-white: #ffffff;
  --text-price: #8b5e2f;

  /* === 边框与阴影 === */
  --border: #d0ccc7;
  --border-light: #e0ddd8;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 2px 6px rgba(0,0,0,.04);
  --shadow-hover: 0 2px 8px rgba(0,0,0,.1), 0 8px 24px rgba(0,0,0,.08);

  /* === 布局 === */
  --radius: 8px;
  --radius-sm: 4px;
  --nav-height: 64px;
  --max-width: 1100px;
  --transition: .25s ease;

  /* === 字体 === */
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", "Fira Code", Consolas,
               "Liberation Mono", monospace;

  /* === Spacing / Line-height === */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-section: 64px;
  --line-height-body: 1.75;
  --line-height-tight: 1.4;
  --line-height-loose: 1.85;

  /* === Table head background (slightly lighter than nav) === */
  --bg-table-head: #4a3220;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-base);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); text-decoration: underline; }
ul { list-style: none; }
img { max-width: 100%; border: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bg-header);
  border-bottom: 1px solid #6b4525;
  height: var(--nav-height);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-logo {
  font-size: 1.5rem; font-weight: 700; color: var(--accent);
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; color: var(--accent-hover); }
.nav-logo span { color: var(--text-white); }
.nav-links { display: flex; gap: 0; list-style: none; height: 100%; }
.nav-links li { display: flex; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.9); font-size: .92rem; font-weight: bold;
  padding: 0 16px; height: 100%; display: flex; align-items: center;
  transition: all var(--transition); text-decoration: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  text-shadow: 1px 1px 1px #3d2815;
}
.nav-links a:hover, .nav-links a.active {
  color: #fed107;
  background: rgba(255,255,255,.06);
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
  border-bottom-color: var(--accent);
  text-decoration: none;
}
.nav-cta {
  background: var(--accent-gradient); color: #3f2814;
  padding: 8px 22px; border-radius: .5em; font-weight: 700;
  font-size: .9rem; border: solid 1px #ffe46a; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
  text-shadow: 0 1px 1px rgba(0,0,0,.15);
  box-shadow: 0 3px 2px rgba(0,0,0,.15);
}
.nav-cta:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-1px); box-shadow: 0 5px 10px rgba(220,151,0,.4);
  color: #3f2814; text-decoration: none;
}
.nav-toggle {
  display: none; background: none; border: none;
  color: var(--text-white); font-size: 1.5rem; cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  padding: 110px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, #25160a 0%, #3f2814 50%, #5a3a1e 100%);
  color: #fff;
  position: relative;
}
.hero > .container { position: relative; z-index: 1; }
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(to right, #dd9800, #fed107, #dd9800);
}
.hero-sm { padding: 90px 0 40px; }
.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.hero h1 .highlight { color: #fed107; }
.hero p {
  font-size: 1.12rem;
  color: #ffffff;
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.9;
  font-weight: 600;
  letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.hero-badge {
  display: inline-block; background: rgba(254,209,7,.15);
  border: 1px solid rgba(254,209,7,.4); color: #fed107;
  padding: 6px 18px; border-radius: 20px; font-size: .88rem;
  margin-bottom: 20px; font-weight: 600;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.stats-row {
  display: flex; justify-content: center; gap: 50px;
  margin-top: 40px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number { font-size: 1.8rem; font-weight: 800; color: #fed107; }
.stat-label { font-size: .9rem; color: #d4ccc0; margin-top: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 26px; border-radius: .5em; font-weight: 600;
  font-size: .95rem; border: none; cursor: pointer;
  transition: all var(--transition); text-decoration: none; line-height: 1.4;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  box-shadow: 0 3px 2px rgba(0,0,0,.15);
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent-gradient); color: #3f2814;
  border: solid 1px #ffe46a;
  text-shadow: 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-1px); box-shadow: 0 5px 8px rgba(220,151,0,.35);
  color: #3f2814;
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,.65);
  text-shadow: 0 1px 2px rgba(0,0,0,.28);
  box-shadow: none;
}
.btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-green {
  background: linear-gradient(to bottom, #6ec06e, #4a9e4a); color: #fff;
  border: solid 1px #5cb85c;
}
.btn-green:hover {
  background: linear-gradient(to bottom, #4a9e4a, #6ec06e); color: #fff;
}
.btn-sm { padding: 7px 16px; font-size: .85rem; }
.btn-large { padding: 13px 36px; font-size: 1.05rem; }

/* ===== Sections ===== */
section { padding: 60px 0; }
section.section:nth-child(odd) { background: var(--bg-secondary); }
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -.01em;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: .98rem;
  max-width: 620px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.75;
}
.last-updated {
  text-align: center; color: var(--text-light); font-size: .88rem;
  padding: 12px 0;
}

/* ===== Plan Cards (首页推荐) ===== */
.plan-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 20px 0;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-lg) 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: .5;
  transition: opacity var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.plan-card:hover::before { opacity: 1; }
.plan-card.hot { border-color: var(--accent); }
.plan-card.hot::before { background: var(--accent-gradient); height: 4px; }
.plan-card .card-badge { position: relative; z-index: 1; }
.plan-card .plan-name {
  font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin: 8px 0 4px;
}
.plan-card .plan-specs {
  color: var(--text-secondary);
  font-size: .88rem;
  line-height: 1.7;
  margin: var(--spacing-md) 0;
}
.plan-card .plan-specs li {
  padding: 4px 0;
  border-bottom: 1px solid var(--border-light);
}
.plan-card .plan-specs li:last-child { border-bottom: none; }
.plan-card .plan-price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-price);
  margin: var(--spacing-md) 0 var(--spacing-xs);
  letter-spacing: -.03em;
}
.plan-card .plan-price span {
  font-size: .85rem; font-weight: 500; color: var(--text-muted);
}
.plan-card .plan-btn { width: 100%; margin-top: auto; padding-top: 10px; justify-content: center; }

/* Card Badges */
.card-badge {
  display: inline-block; padding: 3px 10px; border-radius: var(--radius);
  font-size: .78rem; font-weight: 700;
}
.badge-hot { background: var(--accent-red); color: #fff; }
.badge-recommend { background: var(--accent); color: #fff; }
.badge-cheap { background: var(--accent-green); color: #fff; }
.badge-limited { background: #2980b9; color: #fff; }

/* ===== Series Grid ===== */
.series-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
}
.series-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px; text-align: center;
  transition: all var(--transition); text-decoration: none;
  display: block; color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.series-card:hover {
  box-shadow: var(--shadow-hover); transform: translateY(-3px);
  border-color: var(--accent); text-decoration: none; color: var(--text-primary);
}
.series-icon { font-size: 2rem; margin-bottom: 10px; }
.series-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.series-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ===== Advantages ===== */
.advantages-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px;
}
.advantage-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.advantage-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.advantage-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.advantage-item h3 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.advantage-item p { font-size: .92rem; color: var(--text-secondary); line-height: 1.65; }

/* ===== Coupon ===== */
.coupon-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px;
}
.coupon-card {
  background: var(--bg-card); border: 2px dashed var(--accent);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.coupon-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.coupon-code {
  display: inline-flex; align-items: center; gap: var(--spacing-sm);
  background: rgba(220,151,0,.06);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 10px 22px;
  margin: 10px 0;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-price);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: .05em;
}
.coupon-code:hover { background: rgba(220,151,0,.15); transform: scale(1.02); }
.coupon-code .copy-icon { font-size: .88rem; }
.coupon-discount { color: var(--accent-red); font-weight: 800; font-size: 1.3rem; }
.copy-toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  background: var(--bg-header); color: #fff; padding: 10px 24px;
  border-radius: var(--radius); font-size: .9rem; z-index: 9999;
  opacity: 0; transition: opacity .3s; pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.copy-toast.show { opacity: 1; }

/* ===== Tables ===== */
.table-wrapper { overflow-x: auto; margin: 16px 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.plan-table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-card);
}
.plan-table thead { background: var(--bg-table-head); color: #fff; }
.plan-table th {
  padding: 12px var(--spacing-md);
  font-size: .85rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  letter-spacing: .02em;
}
.plan-table td {
  padding: 11px var(--spacing-md);
  font-size: .9rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}
.plan-table tbody tr { transition: background var(--transition); }
.plan-table tbody tr:hover { background: var(--bg-card-hover); }
.plan-table tbody tr:last-child td { border-bottom: none; }
.plan-table .price-cell {
  font-weight: 700;
  color: var(--text-price);
  white-space: nowrap;
  font-size: .92rem;
  letter-spacing: -.01em;
}
.plan-table .btn { white-space: nowrap; }

/* Series nav (pricing) */
.series-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 0;
  position: sticky; top: var(--nav-height); z-index: 50;
  background: var(--bg-secondary); padding: 14px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.series-nav a {
  padding: 7px 16px; border-radius: var(--radius); font-size: .88rem;
  font-weight: 600; color: var(--text-muted);
  border: 1px solid var(--border); transition: all var(--transition);
  text-decoration: none; background: var(--bg-card);
}
.series-nav a:hover, .series-nav a.active {
  background: var(--accent-gradient); color: #3f2814; border-color: #ffe46a;
  text-decoration: none; box-shadow: 0 2px 6px rgba(220,151,0,.3);
}
.series-section { scroll-margin-top: 140px; }
.series-intro {
  background: var(--bg-secondary); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px; margin-bottom: 16px;
  font-size: .92rem; color: var(--text-secondary); line-height: 1.75;
  box-shadow: var(--shadow-sm);
}
.series-intro strong { color: var(--accent); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 10px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  padding: 16px 20px; font-weight: 700; font-size: .95rem;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; transition: background var(--transition);
  color: var(--text-primary);
}
.faq-q:hover { background: var(--accent-light); }
.faq-q::after { content: '+'; font-size: 1.3rem; font-weight: 700; color: var(--accent); transition: transform .3s; }
.faq-item.open .faq-q { background: var(--accent-light); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
  padding: 0 20px; color: var(--text-secondary); font-size: .92rem; line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 20px 16px; }

/* ===== TOC Sidebar ===== */
.content-with-toc { display: flex; gap: 30px; align-items: flex-start; }
.toc-sidebar {
  position: sticky; top: 86px; width: 200px; flex-shrink: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow-sm);
}
.toc-sidebar h4 {
  font-size: .88rem; color: var(--text-primary); margin-bottom: 10px;
  font-weight: 700;
}
.toc-sidebar ul { list-style: none; }
.toc-sidebar li { margin-bottom: 4px; }
.toc-sidebar a {
  font-size: .88rem; color: var(--text-muted); text-decoration: none;
  display: block; padding: 4px 10px; border-left: 2px solid transparent;
  transition: all var(--transition);
}
.toc-sidebar a:hover, .toc-sidebar a.active {
  color: var(--accent); border-left-color: var(--accent);
  background: var(--accent-light); text-decoration: none;
}
.content-main { flex: 1; min-width: 0; }
.content-main h2 {
  font-size: 1.3rem; font-weight: 700; color: var(--text-primary);
  margin: 40px 0 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--accent); scroll-margin-top: 86px;
}
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { font-size: 1.05rem; font-weight: 700; margin: 24px 0 10px; color: var(--text-primary); }
.content-main p { margin-bottom: 16px; color: var(--text-secondary); line-height: 1.85; font-size: 1rem; }
.content-main ul, .content-main ol {
  margin: 10px 0 16px 22px; color: var(--text-secondary); line-height: 1.9; font-size: .95rem;
}
.content-main li { margin-bottom: 4px; }
.content-main strong { color: var(--text-primary); }

/* ===== Mid CTA ===== */
.mid-cta {
  background: linear-gradient(135deg, #25160a 0%, #3f2814 50%, #5a3a1e 100%);
  border-radius: var(--radius); padding: 32px; text-align: center;
  margin: 36px 0; color: #fff;
  box-shadow: var(--shadow);
  border: 1px solid #6b4525;
}
.mid-cta h2 { color: #dc9700; font-size: 1.2rem; margin-bottom: 8px; border: none; padding: 0; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.mid-cta p { color: #e8ddd0; margin-bottom: 16px; font-size: .95rem; }

/* ===== Tutorial Steps ===== */
.step-list { counter-reset: step; }
.step-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 22px 22px 68px;
  margin-bottom: 14px; position: relative;
  counter-increment: step; box-shadow: var(--shadow-sm);
}
.step-item::before {
  content: counter(step);
  position: absolute; left: 18px; top: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-gradient); color: #3f2814;
  font-weight: 800; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #ffe46a;
}
.step-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.step-item p { color: var(--text-secondary); font-size: .92rem; line-height: 1.75; margin-bottom: 8px; }

/* ===== DC Tags ===== */
.dc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.dc-tag {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 6px 12px; font-size: .88rem;
  color: var(--text-muted); box-shadow: var(--shadow-sm);
}
.dc-tag strong { color: var(--text-primary); margin-right: 4px; }

/* ===== Recommend Cards ===== */
.recommend-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }

/* ===== Compare Table ===== */
.compare-table { width: 100%; border-collapse: collapse; margin: 16px 0; box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td {
  padding: 12px 14px; border: 1px solid var(--border-light);
  font-size: .92rem; text-align: center;
}
.compare-table thead { background: var(--bg-header); color: #fff; }
.compare-table thead th { border-color: rgba(255,255,255,.1); }
.compare-table tbody td { color: var(--text-secondary); background: var(--bg-card); }
.compare-table .highlight-col { background: rgba(220,151,0,.08); font-weight: 700; color: var(--text-primary); }

/* ===== Coupon Banner ===== */
.coupon-banner {
  background: var(--bg-secondary); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 20px; text-align: center; margin: 20px 0;
  font-size: .92rem; color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.coupon-banner code {
  background: var(--accent); color: #fff; padding: 2px 8px;
  border-radius: var(--radius-sm); font-weight: 700; font-size: .9rem;
}

/* ===== About Page ===== */
.about-section { max-width: 800px; margin: 0 auto; }
.about-section h2 {
  font-size: 1.3rem; font-weight: 700; border-bottom: 2px solid var(--accent);
  padding-bottom: 10px; margin: 36px 0 16px; color: var(--text-primary);
}
.about-section h2:first-child { margin-top: 0; }
.about-section p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; font-size: .95rem; }
.about-section ul { margin: 10px 0 16px 22px; color: var(--text-secondary); line-height: 1.9; font-size: .95rem; }
.about-section li { margin-bottom: 4px; }
.about-section strong { color: var(--text-primary); }
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
.about-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.about-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.about-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; color: var(--accent); }
.about-card p { font-size: .9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 0; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-footer); color: rgba(255,255,255,.75);
  padding: 48px 0 0; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px;
  padding-bottom: 28px; border-bottom: 1px solid #2f1d0d;
}
.footer-col h4 { color: #dc9700; font-size: .95rem; margin-bottom: 14px; font-weight: 700; }
.footer-col p { font-size: .9rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 7px; }
.footer-col a {
  color: rgba(255,255,255,.8); font-size: .9rem; text-decoration: none;
  transition: color var(--transition); text-shadow: 1px 1px 1px #3c2612;
}
.footer-col a:hover { color: #dc9700; text-decoration: none; }
.footer-col code {
  background: rgba(220,151,0,.18); color: #dc9700;
  padding: 2px 7px; border-radius: 3px; font-size: .88rem;
}
.footer-bottom {
  background: var(--bg-copyright);
  text-align: center; padding: 18px 0; font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.affiliate-disclosure { margin-top: 4px; font-size: .82rem; }

/* ===== 404 Page ===== */
.error-page {
  min-height: 80vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 100px 20px;
}
.error-page h1 { font-size: 5rem; color: var(--accent); font-weight: 800; }
.error-page h2 { font-size: 1.3rem; color: var(--text-primary); margin: 10px 0; }
.error-page p { color: var(--text-muted); margin-bottom: 24px; font-size: .95rem; }

/* ===== Animations ===== */
.animate {
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s ease, transform .45s ease;
}
.animate.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .plan-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .content-with-toc { flex-direction: column; }
  .toc-sidebar {
    position: static; width: 100%;
    display: flex; flex-wrap: wrap; gap: 4px; padding: 12px;
  }
  .toc-sidebar h4 { width: 100%; }
  .toc-sidebar li { margin-bottom: 0; }
  .toc-sidebar a { padding: 5px 12px; border-left: none; border-radius: var(--radius); font-size: .85rem; }
  .toc-sidebar a:hover, .toc-sidebar a.active { border-left-color: transparent; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    background: var(--bg-header); border-top: 1px solid #6b4525;
    padding: 8px 0; gap: 0; box-shadow: 0 8px 20px rgba(0,0,0,.3);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a {
    padding: 13px 24px; height: auto; border-bottom: none;
    border-left: 3px solid transparent;
  }
  .nav-links.open a:hover, .nav-links.open a.active {
    border-left-color: var(--accent); border-bottom: none;
  }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1.02rem; color: #ffffff; font-weight: 600; letter-spacing: .01em; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
  .hero-buttons { flex-direction: column; align-items: center; }
  .stats-row { gap: 24px; }
  .stat-number { font-size: 1.4rem; }
  .plan-cards { grid-template-columns: 1fr; }
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: 1fr; }
  .coupon-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .series-nav { gap: 6px; padding: 10px 12px; }
  .series-nav a { font-size: .85rem; padding: 6px 12px; }
  .plan-table th, .plan-table td { padding: 9px 10px; font-size: .88rem; }
  .recommend-cards { grid-template-columns: 1fr; }
  .step-item { padding-left: 58px; }
  .step-item::before { left: 14px; width: 30px; height: 30px; font-size: .88rem; }
  section { padding: 40px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 86px 0 36px; }
  .hero-sm { padding: 78px 0 28px; }
  .hero h1 { font-size: 1.35rem; }
  .section-title { font-size: 1.25rem; }
  .series-grid { grid-template-columns: 1fr; }
  .mid-cta { padding: 24px 16px; }
  .mid-cta h2 { font-size: 1.05rem; }
  .plan-card .plan-price { font-size: 1.4rem; }
}

/* ===== 信任条 ===== */
.trust-bar { background: #2a1a0a; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); }
.trust-items {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  font-size: .88rem; color: #d4ccc0;
}
.trust-items span { white-space: nowrap; }


/* ===== 场景快速匹配 ===== */
.usecase-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usecase-card {
  display: block; background: var(--bg-card); border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  border: 2px solid var(--border); transition: all .2s;
  text-decoration: none; color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.usecase-card:hover {
  border-color: var(--accent); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220,151,0,.15); text-decoration: none;
}
.usecase-card.hot {
  border-color: var(--accent);
  background: linear-gradient(to bottom, #fffdf5, #fff);
}
.usecase-icon { font-size: 2rem; margin-bottom: 10px; }
.usecase-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.usecase-card p { font-size: .9rem; color: var(--text-muted); margin-bottom: 0; }
.usecase-pick { margin-top: 12px; font-weight: 700; color: var(--accent); font-size: .9rem; }
.pick-badge {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: .72rem; padding: 2px 8px; border-radius: 10px;
  margin-left: 6px; vertical-align: middle;
}

/* ===== 联盟披露短声明 ===== */
.affiliate-notice { font-size: .8rem; color: #999; padding: 6px 0; border-bottom: 1px solid #eee; margin-bottom: 10px; }

/* ===== 文章列表（教程与评测页） ===== */
.article-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px;
}
.article-card {
  display: block; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; text-decoration: none;
  color: var(--text-primary); box-shadow: var(--shadow-sm);
  transition: all var(--transition); position: relative;
}
.article-card:hover {
  box-shadow: var(--shadow-hover); transform: translateY(-3px);
  border-color: var(--accent); text-decoration: none;
}
.article-card h2 {
  font-size: 1.1rem; font-weight: 700; margin: 10px 0 8px;
  color: var(--text-primary); line-height: 1.4; border: none; padding: 0;
}
.article-card p {
  font-size: .9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px;
}
.article-tag {
  display: inline-block; font-size: .75rem; font-weight: 600;
  padding: 2px 10px; border-radius: 12px;
}
.tag-review { background: rgba(220,151,0,.12); color: var(--accent); }
.tag-guide { background: rgba(92,184,92,.12); color: #4cae4c; }
.tag-compare { background: rgba(41,128,185,.12); color: #2980b9; }
.tag-tips { background: rgba(155,89,182,.12); color: #8e44ad; }
.article-meta {
  display: flex; gap: 6px; font-size: .8rem; color: var(--text-light);
}
.article-more {
  text-align: center; padding: 32px 0 0; font-size: .92rem; color: var(--text-muted);
}

@media (max-width: 768px) {
  .trust-items { gap: 12px 20px; justify-content: flex-start; }
  .usecase-cards { grid-template-columns: 1fr; }
}


/* === world-vps 补充样式 === */
/* 截图占位 */
.step-screenshot { background: var(--bg-secondary); border: 2px dashed var(--border); padding: 40px 20px; text-align: center; color: var(--text-light); margin: 20px 0; border-radius: var(--radius); font-size: 14px; }

/* 优缺点对比 */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.pros, .cons { padding: 20px; border-radius: var(--radius); }
.pros { background: rgba(92,184,92,.1); border-left: 4px solid var(--accent-green); }
.cons { background: rgba(217,83,79,.1); border-left: 4px solid var(--accent-red); }
.pros h3, .cons h3 { margin-bottom: 12px; }
.pros li::before { content: "✅ "; }
.cons li::before { content: "❌ "; }
@media(max-width:768px) { .pros-cons { grid-template-columns: 1fr; } }

/* CTA 框 */
.cta-box { background: var(--accent-light); border: 1px solid var(--accent); border-radius: var(--radius); padding: 24px; margin: 24px 0; text-align: center; }
.cta-box .btn { margin-top: 12px; }

/* 内容区通用 */
.content-section { padding: var(--spacing-section) 0; }
.content-section:nth-child(even) { background: var(--bg-secondary); }

/* 对比表头（中文页面用） */
.compare-table th { background: var(--bg-table-head); color: var(--text-white); }


/* === world-vps 审查补充：通用缺失类 === */
.layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.main-content { min-width: 0; }
.sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding: 40px 0; }
.sidebar-card, .sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.subtitle, .hero-subtitle { font-size: 1.02rem; color: var(--text-muted); }
.btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.alert { border-radius: var(--radius); padding: 14px 18px; margin: 16px 0; }
.alert.info { background: #fdf8ee; border-left: 4px solid var(--accent); }
.alert.warning { background: #fff7ed; border-left: 4px solid #f59e0b; }
.alert.success { background: #f0fdf4; border-left: 4px solid #22c55e; }
.toc { background: #f8f5f0; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.toc h4 { margin: 0 0 12px; font-size: 1rem; }
.toc ol { margin: 0; padding-left: 20px; line-height: 2; }
.sep { color: var(--text-light); margin: 0 6px; }
.read-more { margin-top: 12px; font-weight: 700; }
.error-block { background: #fff7ed; border: 1px solid #fcd9a0; border-radius: var(--radius); padding: 16px; margin: 12px 0; }
.error-block ol { margin: 0; padding-left: 20px; line-height: 1.9; }
.win { color: #059669; font-weight: 700; }
.dc-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 16px 20px; margin: 12px 0; }
.dc-card.featured { border-left: 4px solid var(--accent); background: #fdf8ee; }
.dc-card.green { border-left: 4px solid #22c55e; background: #f0fdf4; }
.dc-card.purple { border-left: 4px solid #7c3aed; background: #f5f3ff; }
.dc-card.amber { border-left: 4px solid #f59e0b; background: #fffbeb; }
.dc-card.gray { border-left: 4px solid #94a3b8; background: #f8fafc; }
.dc-card p { margin: 0 0 8px; font-weight: 700; }
.dc-card ul { margin: 0; padding-left: 18px; line-height: 1.9; font-size: .9rem; }
.dc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 20px 0; }
.dc-badge { text-decoration: none; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 16px; display: block; color: var(--text-primary); }
.dc-badge:hover { border-color: var(--accent); text-decoration: none; }
.dc-badge .flag { font-size: 1.5rem; display: block; margin-bottom: 6px; }
.dc-badge .name { font-weight: 600; display: block; }
.dc-badge .line, .dc-badge .price { font-size: .8rem; display: block; color: var(--text-muted); }
@media (max-width: 900px) { .layout-with-sidebar { grid-template-columns: 1fr; } }


/* === 提取自页面内联 <style>（代码审查统一收口） === */

/* from guide.html */
.pros-cons { display: grid; gap: 16px; margin: 16px 0; }
    .pros, .cons { background: #fff; border-radius: 8px; padding: 20px; }
    .pros { border-left: 4px solid #22c55e; }
    .cons { border-left: 4px solid #f59e0b; }
    .cta-box { background: #3f2814; color: #fff; border-radius: 12px; padding: 32px; text-align: center; margin: 32px 0; }
    .cta-box h3 { color: #dc9700; margin: 0 0 12px; }
    .cta-box p { margin: 0 0 16px; opacity: .9; }
    .cta-box .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
    .toc { background: #f8f5f0; border: 1px solid #e4e0dc; border-radius: 8px; padding: 20px 24px; margin: 24px 0; }
    .toc h4 { margin: 0 0 12px; font-size: 1rem; }
    .toc ol { margin: 0; padding-left: 20px; line-height: 2; }
    .alert { border-radius: 8px; padding: 14px 18px; margin: 16px 0; }
    .alert.info { background: #fdf8ee; border-left: 4px solid #dc9700; }
    .alert.warning { background: #fff7ed; border-left: 4px solid #f59e0b; }
    .alert.success { background: #f0fdf4; border-left: 4px solid #22c55e; }
    .table-wrapper { overflow-x: auto; margin: 16px 0; }
    .table-wrapper table { width: 100%; border-collapse: collapse; font-size: .9rem; }
    .table-wrapper th { padding: 10px; text-align: left; border: 1px solid #e4e0dc; background: #f8f5f0; }
    .table-wrapper td { padding: 10px; border: 1px solid #e4e0dc; }

/* from buy-tutorial.html */
.step-screenshot {
      background: #f8f5f0;
      border: 2px dashed #c9b99a;
      padding: 40px;
      text-align: center;
      color: #8a7560;
      margin: 20px 0;
      border-radius: 8px;
      font-size: .95rem;
    }
    .alert { border-radius: 8px; padding: 14px 18px; margin: 16px 0; }
    .alert.info { background: #fdf8ee; border-left: 4px solid #dc9700; }
    .alert.warning { background: #fff7ed; border-left: 4px solid #f59e0b; }
    .toc { background: #f8f5f0; border: 1px solid #e4e0dc; border-radius: 8px; padding: 20px 24px; margin: 24px 0; }
    .toc h4 { margin: 0 0 12px; font-size: 1rem; }
    .toc ol { margin: 0; padding-left: 20px; line-height: 2; }
    .cta-box { background: #3f2814; color: #fff; border-radius: 12px; padding: 32px; text-align: center; margin: 32px 0; }
    .cta-box h3 { color: #dc9700; margin: 0 0 12px; }
    .cta-box p { margin: 0 0 16px; opacity: .9; }
    .error-block { background: #fff7ed; border: 1px solid #fcd9a0; border-radius: 8px; padding: 16px; margin: 12px 0; }
    .error-block ol { margin: 0; padding-left: 20px; line-height: 1.9; }
    .table-wrapper { overflow-x: auto; margin: 16px 0; }
    .table-wrapper table { width: 100%; border-collapse: collapse; font-size: .9rem; }
    .table-wrapper th { padding: 10px; text-align: left; border-bottom: 2px solid #c9b99a; background: #f8f5f0; }
    .table-wrapper td { padding: 10px; border-bottom: 1px solid #e4e0dc; }

/* from datacenter.html */
.alert { border-radius: 8px; padding: 14px 18px; margin: 16px 0; }
    .alert.info { background: #fdf8ee; border-left: 4px solid #dc9700; }
    .alert.warning { background: #fff7ed; border-left: 4px solid #f59e0b; }
    .toc { background: #f8f5f0; border: 1px solid #e4e0dc; border-radius: 8px; padding: 20px 24px; margin: 24px 0; }
    .toc h4 { margin: 0 0 12px; font-size: 1rem; }
    .toc ol { margin: 0; padding-left: 20px; line-height: 2; }
    .cta-box { background: #3f2814; color: #fff; border-radius: 12px; padding: 32px; text-align: center; margin: 32px 0; }
    .cta-box h3 { color: #dc9700; margin: 0 0 12px; }
    .cta-box p { margin: 0 0 16px; opacity: .9; }
    .cta-box .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
    .table-wrapper { overflow-x: auto; margin: 16px 0; }
    .table-wrapper table { width: 100%; border-collapse: collapse; font-size: .88rem; }
    .table-wrapper th { padding: 10px 12px; text-align: left; background: #3f2814; color: #fff; }
    .table-wrapper th:first-child { text-align: left; }
    .table-wrapper td { padding: 10px 12px; border: 1px solid #e4e0dc; }
    .table-wrapper tr:nth-child(even) td { background: #f8f5f0; }
    .dc-card { background: #fff; border: 1px solid #e4e0dc; border-radius: 8px; padding: 16px 20px; margin: 12px 0; }
    .dc-card.featured { border-left: 4px solid #dc9700; background: #fdf8ee; }
    .dc-card.green { border-left: 4px solid #22c55e; background: #f0fdf4; }
    .dc-card.purple { border-left: 4px solid #7c3aed; background: #f5f3ff; }
    .dc-card.amber { border-left: 4px solid #f59e0b; background: #fffbeb; }
    .dc-card.gray { border-left: 4px solid #94a3b8; background: #f8fafc; }
    .dc-card p { margin: 0 0 8px; font-weight: 700; }
    .dc-card ul { margin: 0; padding-left: 18px; line-height: 1.9; font-size: .9rem; }
    .dc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 20px 0; }
    .dc-badge { text-decoration: none; background: #fff; border: 1px solid #e4e0dc; border-radius: 8px; padding: 16px; display: block; }
    .dc-badge:hover { border-color: #dc9700; }
    .dc-badge .flag { font-size: 1.5rem; display: block; margin-bottom: 6px; }
    .dc-badge .name { font-weight: 600; display: block; }
    .dc-badge .line { font-size: .8rem; display: block; }
    .dc-badge .price { font-size: .8rem; color: #6b5c45; }

/* from website-hosting.html */
.step-screenshot {
      background: #f8f5f0;
      border: 2px dashed #c9b99a;
      padding: 40px;
      text-align: center;
      color: #8a7560;
      margin: 20px 0;
      border-radius: 8px;
      font-size: .95rem;
    }
    .pros-cons { display: grid; gap: 16px; margin: 16px 0; }
    @media (min-width: 600px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
    .pros, .cons { background: #fff; border-radius: 8px; padding: 20px; }
    .pros { border-left: 4px solid #22c55e; }
    .cons { border-left: 4px solid #f59e0b; }
    .alert { border-radius: 8px; padding: 14px 18px; margin: 16px 0; }
    .alert.info { background: #fdf8ee; border-left: 4px solid #dc9700; }
    .cta-box { background: #3f2814; color: #fff; border-radius: 12px; padding: 28px; text-align: center; margin: 24px 0; }
    .cta-box h3 { color: #dc9700; margin: 0 0 10px; }
    .cta-box p { margin: 0 0 14px; opacity: .9; }
    .cta-box .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
    .table-wrapper { overflow-x: auto; margin: 16px 0; }
    .compare-table table { width: 100%; border-collapse: collapse; font-size: .9rem; }
    .compare-table th { padding: 12px; background: #3f2814; color: #fff; text-align: left; }
    .compare-table td { padding: 12px; border: 1px solid #e4e0dc; }
    .compare-table tr:nth-child(even) td { background: #f8f5f0; }
