/* ===== Bestshopping / 造梦所 — 2026 雾梦风 =====
   设计系统：大白底 + 黑线 + 雾感（造梦所视觉规矩 2026-11-17）
   目标：一打开先入雾，黑白、极简、大面积留白
*/

/* ============ 设计变量 ============ */
:root {
  /* 品牌色 */
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --text: #141414;
  --text-light: #454545;
  --text-muted: #8A8A86;
  --primary: #141414;
  --primary-hover: #000000;
  --accent: #141414;
  --accent-hover: #000000;
  --accent-soft: #F0F0ED;
  --border: #E4E4E0;
  --border-light: #EFEFEc;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans SC",
    "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Consolas", monospace;
}

/* ============ 基础重置 ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 暗色模式：保持浅色为主，用户没要求暗色模式 */
/* 如果需要暗色：body.dark { --bg: #0F0F0F; --surface: #1A1A1A; --text: #F0F0F0; } */

/* 去除所有链接下划线（除非 hover） */
a { color: inherit; text-decoration: none; }

/* 图标统一 */
i, .icon { font-style: normal; }

/* 图片统一 */
img { display: block; max-width: 100%; }

/* 按钮统一 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-gold {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-gold:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(26,26,26,0.03);
  transform: translateY(-2px);
}

/* ============ 容器 ============ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ 头部导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-icon {
  font-size: 28px;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-links li a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links li a:hover {
  color: var(--primary);
  background: rgba(26,26,26,0.04);
}

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

.nav-actions .btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* 滚动后头部背景变深 */
.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* ============ Hero 横幅 ============ */
.hero {
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

/* 背景装饰：层层雾气——大团柔白与浅灰缓缓漂移，不用纹理不用彩色 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 82% 8%, rgba(255,255,255,0.95) 0%, transparent 62%),
    radial-gradient(560px 380px at 12% 88%, rgba(210,210,205,0.35) 0%, transparent 65%),
    radial-gradient(480px 300px at 55% 45%, rgba(235,235,232,0.55) 0%, transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FAFAF8 55%, #F3F3F0 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  animation: fadeUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero p {
  font-size: 19px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============ 功能分区 ============ */
.features {
  padding: 64px 0 56px;
  background: var(--surface);
}

.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============ 产品展示 ============ */
.products {
  padding: 64px 0 56px;
  background: var(--surface);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.product-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.product-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-card .price {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

/* 阶梯型价格 */
.price-tier {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.price-tier.featured {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============ 文章卡片 ============ */
.articles {
  padding: 64px 0 56px;
  background: var(--bg);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.article-thumb {
  height: 180px;
  background: linear-gradient(135deg, #F5F0E6, #E8E0D8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--text-muted);
}

.article-body {
  padding: 22px 24px 24px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
  color: var(--text);
}

.article-body h3 a {
  color: var(--text);
  text-decoration: none;
}

.article-body h3 a:hover {
  color: var(--primary);
}

.article-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============ 知识星球 CTA ============ */
.planet-cta {
  padding: 64px 0 56px;
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.planet-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 300px at 85% 20%, rgba(184,134,11,0.15) 0%, transparent 60%),
    radial-gradient(300px 250px at 10% 80%, rgba(212,175,55,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.planet-cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.planet-cta h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.planet-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.7;
}

.planet-cta .btn {
  background: #fff;
  color: var(--primary);
}

.planet-cta .btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* ============ 页脚 ============ */
.site-footer {
  padding: 48px 0 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  font-size: 18px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links li a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links li a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
  text-align: center;
}

/* ============ 滚动条 ============ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ============ 动画 ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 滚动动画：元素进入时淡入 */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 响应式 ============ */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 56px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero p {
    font-size: 17px;
    margin-bottom: 24px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .section-title {
    font-size: 26px;
  }
  .site-footer .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============ Bestshopping v2 ============ */
.signup { padding: 64px 0; }
.signup-form { max-width: 640px; margin: 32px auto 0; text-align: left; background: #fff; border: 1px solid #e5e0d8; border-radius: 16px; padding: 28px; box-shadow: 0 8px 32px rgba(0,0,0,.06); }
.signup-form label { display: block; font-weight: 600; margin-bottom: 16px; color: #1a1a1a; }
.signup-form input, .signup-form select, .signup-form textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; font-size: 16px; border: 1px solid #cfc8bd; border-radius: 10px; background: #fff; color: #1a1a1a; box-sizing: border-box; }
.signup-form input:focus, .signup-form select:focus, .signup-form textarea:focus { outline: 2px solid #c9a227; border-color: #c9a227; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 13px; color: #6b6b6b; margin-top: 14px; line-height: 1.6; }
.form-status { margin-top: 12px; font-weight: 600; min-height: 1.4em; }
.form-status.success { color: #1a7f37; }
.form-status.error { color: #b3261e; }
.price-note { font-size: 14px; color: #6b6b6b; line-height: 1.6; margin: 10px 0 0; }
.planet-includes { text-align: left; margin: 20px 0; }
.planet-includes h4 { margin: 0 0 10px; }
.planet-includes ul { margin: 0 0 10px 20px; line-height: 1.8; }
.faq { padding: 64px 0; }
.faq-list { max-width: 760px; margin: 32px auto 0; text-align: left; }
.faq-list details { border: 1px solid #e5e0d8; border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; background: #fff; }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { margin: 10px 0 0; line-height: 1.8; color: #333; }
.contact { padding: 64px 0; }
.contact-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.article-page { max-width: 760px; margin: 0 auto; padding: 48px 20px 64px; }
.article-page h1 { font-size: 32px; line-height: 1.4; margin: 16px 0; }
.article-page .article-meta { color: #6b6b6b; font-size: 14px; }
.article-page h2 { font-size: 22px; margin: 32px 0 12px; }
.article-page p, .article-page li { line-height: 1.9; color: #222; }
.article-page ul, .article-page ol { margin: 0 0 16px 22px; }
.article-page .article-note { background: #f7f3ea; border-left: 4px solid #c9a227; padding: 14px 18px; border-radius: 8px; margin: 24px 0; }
.article-page .article-cta { margin-top: 40px; padding: 24px; border: 1px solid #e5e0d8; border-radius: 16px; text-align: center; background: #fff; }
.article-page .article-cta .btn { margin: 6px; }
.back-link { display: inline-block; margin-bottom: 8px; }

/* ============ Bestshopping v3 ============ */
.product-img { margin: 0 0 12px; }
.product-img img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; display: block; background: #f0ede6; }
.product-img figcaption, .article-img figcaption { font-size: 13px; color: #6b6b6b; margin-top: 8px; line-height: 1.6; }
.article-img { margin: 24px 0; }
.article-img img { width: 100%; border-radius: 12px; display: block; background: #f0ede6; }
.article-card { cursor: pointer; }
.toc { background: #f7f3ea; border: 1px solid #e5e0d8; border-radius: 12px; padding: 16px 24px; margin: 24px 0; }
.toc h2 { margin: 0 0 8px; font-size: 18px; }
.toc ol { margin: 0 0 0 20px; line-height: 2; }
.template-box { background: #f7f3ea; border: 1px solid #e5e0d8; padding: 16px; border-radius: 10px; overflow-x: auto; white-space: pre-wrap; font-size: 15px; line-height: 1.8; margin: 16px 0; }
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.data-table th, .data-table td { border: 1px solid #e5e0d8; padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.6; }
.data-table th { background: #f7f3ea; }
.checklist { list-style: none; margin: 0 0 16px; padding: 0; }
.checklist li { margin: 8px 0; line-height: 1.7; }
.prev-next { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 32px 0; }
.next-steps li { margin: 8px 0; line-height: 1.8; }
.how { padding: 64px 0; }
.how-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 32px 0 0; }
.how-steps li { border: 1px solid #e5e0d8; border-radius: 16px; padding: 20px; background: #fff; display: flex; flex-direction: column; }
.how-steps h3 { margin: 12px 0 8px; font-size: 18px; }
.how-steps p { line-height: 1.7; margin: 0 0 14px; }
.step-num { display: inline-block; width: 32px; height: 32px; line-height: 32px; text-align: center; border-radius: 50%; background: #c9a227; color: #fff; font-weight: 700; }
.how-note { text-align: center; color: #6b6b6b; margin-top: 24px; line-height: 1.7; }
.planet-cta .planet-note { background: #fff8e1; border: 1px solid #f0d48a; border-radius: 10px; padding: 12px 14px; line-height: 1.7; color: #1a1a1a; }
.planet-entry { text-align: center; margin: 24px 0 0; font-size: 17px; }
@media (max-width: 900px) { .how-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .how-steps { grid-template-columns: repeat(2, 1fr); } .data-table { font-size: 14px; } }
/* ============ 手机端汉堡菜单（≤767px）：logo + 菜单按钮，导航默认收起 ============ */
.nav-toggle { display: none; }
.site-nav { display: flex; align-items: center; flex: 1; min-width: 0; }
.site-nav .nav-links { margin: 0 auto; }
.site-nav .nav-actions { margin-left: auto; flex-shrink: 0; }
.nav-links a { white-space: nowrap; }
@media (max-width: 767px) {
  .site-header { padding: 0 16px; }
  .header-inner { height: auto; min-height: 64px; gap: 12px; }
  .logo { flex-shrink: 0; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 9px 14px; font-size: 15px; font-weight: 700; color: #1a1a1a; background: #fff; border: 1px solid #d8d2c6; border-radius: 10px; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
  .site-nav { display: none; }
  .site-header.nav-open .site-nav { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e5e0d8; box-shadow: 0 16px 32px rgba(0,0,0,.14); padding: 8px 20px 16px; z-index: 101; }
  .site-header.nav-open .site-nav .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .site-header.nav-open .nav-links li { border-bottom: 1px solid #f0ede6; }
  .site-header.nav-open .nav-links a { display: block; padding: 13px 4px; font-size: 16px; white-space: nowrap; }
  .site-header.nav-open .nav-actions { display: block; margin: 14px 0 0; }
  .site-header.nav-open .nav-actions .btn { width: 100%; justify-content: center; }
  .hero { padding-top: 48px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
.article-thumb img { width: 100%; height: 180px; object-fit: cover; display: block; border-radius: 12px 12px 0 0; background: #f0ede6; }
.article-thumb { overflow: hidden; }

/* ============ 交付清单 ============ */
.delivers { margin: 14px 0 4px; text-align: left; }
.delivers h4 { margin: 0 0 6px; font-size: 15px; }
.delivers ul { margin: 0 0 0 18px; line-height: 1.8; font-size: 14px; color: #333; }

/* 工具墙 + 第一周交付 + 实操文章样式（2026-11-12 内容版） */
.tools{padding:48px 0}
.tools h2{font-size:28px;line-height:1.3;margin:0 0 8px}
.tool-groups{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:20px}
.tool-group{background:#fff;border:1px solid #eadfca;border-radius:12px;padding:18px 20px}
.tool-group h3{margin:0 0 10px;font-size:18px}
.tool-group ul{margin:0;padding-left:18px}
.tool-group li{margin:6px 0;line-height:1.6}
.tools-note{color:#6b6252;font-size:14px;margin-top:14px}
.first-week{background:#fbf7ec;border-left:3px solid #c9a227;padding:10px 12px;border-radius:0 8px 8px 0;margin:12px 0 0;line-height:1.6}
pre.template{background:#f7f5ef;border:1px solid #e5ddc8;border-radius:8px;padding:14px;white-space:pre-wrap;font-size:15px;line-height:1.7;overflow-x:auto}
.checklist{list-style:none;padding-left:0}
.checklist li{margin:6px 0}
.post-nav{display:flex;justify-content:space-between;gap:12px;margin:28px 0 0;flex-wrap:wrap}
@media (max-width:767px){.tool-groups{grid-template-columns:1fr}}

/* v6：四项网格桌面一行四个、手机两行两个；文章表格边框与表头底色 */
@media (max-width: 767px) {
  .features-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.article-page table,
.data-table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
}
.article-page th,
.article-page td,
.data-table th,
.data-table td {
  border: 1px solid #d8cfbc;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.article-page th,
.data-table th {
  background: #f0e8d5;
  color: #1a1a1a;
}

/* ============ 手机 375px 修复（v6c）：两列网格不撑出视口 ============
   原因：.btn 是 inline-flex + white-space: nowrap，卡片里的长按钮
   （如“免费试用，¥99/年订阅”）把卡片最小宽度撑到约 230px，
   repeat(2, 1fr) 的轨道不能缩到内容以下，两列合计超出 375px，
   右列被裁。改用 minmax(0, 1fr) 让轨道可缩，卡片内按钮允许换行。 */
@media (max-width: 767px) {
  .how-steps, .features-grid, .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-steps .btn, .features-grid .btn, .articles-grid .btn { display: flex; width: 100%; justify-content: center; white-space: normal; text-align: center; line-height: 1.5; }
}

/* ============ 工具墙精简（v7）：8 张卡片，加大留白 ============ */
.tools { padding: 72px 0; }
.tool-groups { gap: 32px; margin-top: 28px; }
.tool-group { background: transparent; border: 0; padding: 0; }
.tool-group h3 { margin: 0 0 16px; }
.tool-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tool-card { background: #fff; border: 1px solid #eadfca; border-radius: 12px; padding: 26px 28px; }
.tool-card h4 { margin: 0 0 10px; font-size: 18px; }
.tool-card p { margin: 0; }
.tool-card .tool-use { margin-bottom: 14px; color: #444; line-height: 1.7; }
.tool-card .tool-price { font-size: 14px; line-height: 1.7; color: #6b6252; }
.tool-card .tool-price .tag { display: inline-block; margin-right: 8px; padding: 1px 9px; border: 1px solid #c9a94f; border-radius: 999px; font-size: 12px; color: #8a6d1b; white-space: nowrap; vertical-align: 1px; }
.tools-note { margin-top: 22px; }
.footer-cta { margin: 0 0 16px; }
@media (max-width: 767px) {
  .tools { padding: 56px 0; }
  .tool-cards { grid-template-columns: 1fr; gap: 16px; }
  .tool-card { padding: 22px; }
}

/* ============ v8：工具墙统一风格 + 等高卡片 ============ */
.tool-groups { gap: 48px; margin-top: 32px; }
.tool-group h3 { margin: 0 0 20px; }
.tool-cards { gap: 32px; }
.tool-card { background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px; transition: all 0.3s ease; display: flex; flex-direction: column; min-height: 290px; }
.tool-card:hover { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow); transform: translateY(-4px); }
.tool-card h4 { font-size: 18px; font-weight: 700; line-height: 1.4; min-height: 1.4em; margin: 0 0 10px; color: var(--text); }
.tool-card .tool-use { margin-bottom: 14px; color: var(--text-light); line-height: 1.7; min-height: calc(1.7em * 4); }
.tool-card .tool-price { margin-top: auto; font-size: 14px; line-height: 1.7; color: var(--text-muted); min-height: calc(1.7em * 3); }
.tools-note { margin-top: 28px; }

/* ============ v8：星球黑区宽版布局（左文案、右按钮） ============ */
.planet-cta .container { max-width: 1120px; text-align: left; }
.planet-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: stretch; }
.planet-includes { margin: 24px 0 0; }
.planet-side { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.planet-side .planet-price { font-size: 34px; font-weight: 800; line-height: 1.2; margin: 0; color: #fff; }
.planet-side .planet-refund { font-size: 16px; font-weight: 700; line-height: 1.6; color: #fff; margin: 0; }
.planet-side .price-note { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.85); }
.planet-side .btn { width: 100%; }
.planet-cta .planet-note { margin: 36px 0 0; }

/* ============ v8：页脚导航横排换行 ============ */
.footer-links { flex-wrap: wrap; gap: 8px 20px; }
.footer-links li a { white-space: nowrap; }

/* ============ v8：回到顶部按钮 ============ */
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 1000; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-hover); }

@media (max-width: 900px) {
  .tool-groups { grid-template-columns: 1fr; gap: 40px; }
  .tool-card { min-height: 240px; }
  .tool-card .tool-use { min-height: calc(1.7em * 3); }
  .tool-card .tool-price { min-height: calc(1.7em * 2); }
}
@media (max-width: 767px) {
  .tool-cards { gap: 24px; }
  .tool-card { padding: 24px; }
  .planet-grid { grid-template-columns: 1fr; gap: 28px; }
  .planet-side { padding: 24px; }
  .planet-side .planet-price { font-size: 30px; }
  .planet-cta .planet-note { margin: 28px 0 0; }
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ============ v9: 首屏价格行、产品卡“不满意怎么办”、产品按钮钉底 ============ */
.hero p.hero-value { font-size: 15px; line-height: 1.9; margin-top: -12px; margin-bottom: 26px; }
.hero p.hero-value strong { color: var(--text); }
.reassure { font-size: 14px; color: #6b6252; line-height: 1.7; margin: 12px 0 16px; }
.product-card .btn { margin-top: auto; }

/* ============ Bestshopping v10 ============ */
.how-steps .btn { margin-top: auto; }
.how-steps p.step-meta { font-size: 13px; color: #6b6252; }

.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.who-note { text-align: center; color: #6b6252; font-size: 15px; line-height: 1.7; margin: 28px auto 0; max-width: 720px; }
@media (max-width: 767px) { .who-grid { grid-template-columns: 1fr; } }

.pay-price { text-align: center; font-size: 16px; line-height: 1.7; margin: 24px auto 0; max-width: 720px; }
.pay-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.pay-option { background: #fff; border: 1px solid #e5e0d8; border-radius: 16px; padding: 24px; text-align: center; }
.pay-option h3 { font-size: 18px; margin: 0 0 16px; }
.pay-qr { margin: 0; }
.pay-qr img { width: 100%; max-width: 280px; height: auto; border-radius: 12px; display: block; margin: 0 auto; }
.pay-qr figcaption { font-size: 14px; color: #6b6252; line-height: 1.7; margin-top: 12px; }
.pay-note { font-size: 14px; color: #6b6252; line-height: 1.7; margin: 16px 0 0; }
.pay-confirm { margin-top: 40px; }
.pay-confirm h3 { text-align: center; font-size: 22px; margin: 0 0 12px; }
.pay-confirm-sub { text-align: center; color: #6b6252; font-size: 15px; line-height: 1.7; margin: 0 auto 8px; max-width: 640px; }
.pay-alt { text-align: center; font-size: 14px; margin: 12px 0 0; }
.pay-alt a { color: var(--accent); text-decoration: underline; }
@media (max-width: 767px) { .pay-options { grid-template-columns: 1fr; } }

.host-quote { max-width: 720px; margin: 32px auto 0; padding: 0; border: none; text-align: center; }
.host-quote p { font-size: 22px; line-height: 1.7; font-weight: 600; margin: 0; }
.host-quote footer { margin-top: 16px; font-size: 15px; color: #6b6252; }
.host-note { text-align: center; color: #6b6252; font-size: 15px; line-height: 1.7; margin: 20px auto 0; max-width: 720px; }

.first-step { background: #fff8e1; border: 1px solid #e5d9a8; border-radius: 12px; padding: 20px 24px; margin: 28px 0; }
.first-step h3 { font-size: 18px; margin: 0 0 8px; }
.first-step p { margin: 0; line-height: 1.7; }
.first-step .step-meta { font-size: 14px; color: #6b6252; margin-top: 10px; }

/* v11: hero hook + 7 天第一步 + 5 分钟看懂 + 启动包直达行 */
.hero-hook {
  margin: 14px auto 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
  color: #8a6d1b;
  text-align: center;
  text-wrap: balance;
}
.week7-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.week7-list li {
  background: #fff;
  border: 1px solid #e8e0cc;
  border-radius: 12px;
  padding: 16px 18px;
  line-height: 1.7;
}
.week7-list li strong { display: block; font-size: 16px; }
.week7-list li span { display: block; color: #6b6252; font-size: 14px; margin-top: 4px; }
.week7-note {
  text-align: center;
  color: #6b6252;
  font-size: 15px;
  line-height: 1.7;
  margin: 24px auto 0;
  max-width: 720px;
  text-wrap: balance;
}
.form-pack-link {
  text-align: center;
  color: #6b6252;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
  text-wrap: balance;
}
.quick5 {
  background: #fff;
  border: 1px solid #e8e0cc;
  border-left: 4px solid #c9a94f;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
}
.quick5 h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.6; }
.quick5 p { margin: 6px 0; font-size: 15px; line-height: 1.8; }
.fast7-note {
  background: #fff8e1;
  border: 1px solid #e5d9a8;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 16px 0 24px;
  font-size: 15px;
  line-height: 1.8;
}
/* v11 排版修复：长句换行不再留孤行、不拆关键短语 */
.host-quote p, .hero p, .who-note, .host-note, .how-note, .planet-refund, .step-meta, .section-subtitle { text-wrap: balance; }
@media (max-width: 767px) {
  .host-quote p { font-size: 20px; }
}

/* v11 排版修复：锚点跳转不再被固定页眉遮住栏目顶部 */
html { scroll-padding-top: 76px; }

/* ============ v12：手机首屏（微信大字体） ============
   老人用微信大字体打开：首屏要一屏看到标题 + 样品卡 + 主按钮，
   整页要短，大字体不能溢出、不能裁切。 */

/* --- 首屏紧迫感 + 实物卡 --- */
.hero .hero-urgency {
  font-size: 14px;
  line-height: 1.7;
  color: #8a6d1b;
  margin: 0 0 16px;
  max-width: 600px;
}
.hero .hero-urgency a { color: #8a6d1b; text-decoration: underline; font-weight: 700; }
.hero .hero-sample {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #e5e0d8;
  border-radius: 12px;
  padding: 14px 16px;
  max-width: 520px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.hero .hero-sample-title { font-size: 15px; font-weight: 700; margin: 0 0 8px; color: #1a1a1a; }
.hero .hero-sample-tag { display: inline-block; font-size: 12px; font-weight: 600; color: #8a6d1b; border: 1px solid #c9a94f; border-radius: 999px; padding: 0 8px; margin-left: 4px; vertical-align: 1px; }
.hero .hero-sample-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.5; }
.hero .hero-sample-table th, .hero .hero-sample-table td { border: 1px solid #e5e0d8; padding: 5px 6px; text-align: left; }
.hero .hero-sample-table th { background: #f7f3ea; font-size: 12px; }
.hero .hero-sample-foot { margin: 10px 0 0; font-size: 14px; }
.hero .hero-sample-price { font-size: 18px; font-weight: 800; color: #b8860b; margin-right: 8px; }
.hero .hero-sample-foot a { color: var(--accent); text-decoration: underline; font-weight: 600; }

/* --- 手机端吸底 CTA：默认隐藏，只在 ≤767px 显示 --- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    height: 56px;
    background: #1a1a1a;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  }
  /* 横条出现时给 body 留底边距，别盖住页脚和付款按钮；回到顶部按钮往上让位 */
  body.has-sticky-cta { padding-bottom: 56px; }
  .back-to-top { bottom: 72px; }
}

/* --- 手机首屏瘦身（≤767px） --- */
@media (max-width: 767px) {
  .hero { padding: 24px 0 28px; }
  .hero h1 { font-size: 30px; }
  .hero p.hero-lead { font-size: 16px; line-height: 1.65; margin-bottom: 18px; }
  .hero-cta { margin-top: 4px; }
  .hero .hero-sample { margin-top: 16px; padding: 12px 14px; }
  .hero .hero-sample-table { font-size: 12px; }
  .hero .hero-sample-table th, .hero .hero-sample-table td { padding: 4px 5px; }
  /* “怎么做”4 张卡手机端一行一张 */
  .features-grid { grid-template-columns: 1fr; }
  /* 7 天表格手机端横向滚动，不撑出屏幕 */
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-scroll .data-table { min-width: 560px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
}


/* type-fix-2026-11-22 | 文字排版铁律：分行均衡、两端对齐、不出孤行 */
h1,h2,h3{text-wrap:balance;}
p,li{text-wrap:balance;}
.article-page p{text-align:justify;}
.article-page .article-cta p{text-align:center;}
.article-body p{text-align:justify;}
