/* ============================================
   快连加速器 - 内容页通用样式
   ============================================ */

/* ---------- Page Hero ---------- */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-page) 100%);
  text-align: center;
}
.page-hero h1 {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.page-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ---------- 文章正文 ---------- */
.content-narrow { max-width: 760px; margin: 0 auto; }
.content h2 {
  font-size: 22px; font-weight: 700; color: var(--text-primary);
  margin: 36px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-light);
}
.content h3 {
  font-size: 18px; font-weight: 700; color: var(--text-primary);
  margin: 24px 0 10px;
}
.content p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 14px;
}
.content ul { margin: 0 0 16px; padding-left: 0; }
.content ul li {
  position: relative; padding-left: 22px; margin-bottom: 10px;
  font-size: 15px; color: var(--text-secondary); line-height: 1.8;
}
.content ul li::before {
  content: ''; position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}
.content a {
  color: var(--primary); text-decoration: none;
  border-bottom: 1px solid var(--primary-bg); transition: border-color var(--transition);
}
.content a:hover { border-color: var(--primary); }

/* ---------- 复用卡片 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 32px 28px; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon.blue { background: var(--primary-bg); color: var(--primary); }
.feature-icon.green { background: var(--accent-bg); color: var(--accent); }
.feature-icon.orange { background: #FFF0E8; color: #FF6B35; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card { padding: 32px; display: flex; gap: 20px; align-items: flex-start; }
.why-card-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.why-card-icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.why-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 860px; margin: 0 auto; }
.step-card { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary-bg); color: var(--primary);
  font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.step-card h3 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: 15px; font-weight: 600; color: var(--text-primary);
  text-align: left; transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question svg { width: 20px; height: 20px; color: var(--text-muted); transition: transform var(--transition); flex-shrink: 0; margin-left: 12px; }
.faq-item.active .faq-question svg { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.active .faq-answer { max-height: 320px; padding-bottom: 20px; }
.faq-answer p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* ---------- 联系卡片 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-card { padding: 32px; display: flex; gap: 18px; align-items: flex-start; }
.contact-card-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.contact-card-icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.contact-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.contact-card a { color: var(--primary); font-weight: 600; }

/* ---------- CTA (内容页复用) ---------- */
.cta {
  background: linear-gradient(135deg, var(--primary), #6C5CE7);
  text-align: center; position: relative; overflow: hidden;
}
.cta::before { content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: rgba(255,255,255,0.08); border-radius: 50%; }
.cta::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 250px; height: 250px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.cta .section-badge { background: rgba(255,255,255,0.15); color: white; }
.cta .section-title { color: white; }
.cta .section-desc { color: rgba(255,255,255,0.8); }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 16px 40px;
  background: white; color: var(--primary); font-size: 16px; font-weight: 700;
  border-radius: var(--radius-full); transition: all var(--transition); position: relative; z-index: 1;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.cta-btn svg { width: 18px; height: 18px; }

/* ---------- 响应式 ---------- */
@media (max-width: 968px) {
  .features-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 30px; }
}

@media (max-width: 768px) {
  .page-hero { padding: 96px 0 44px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 15px; }
  .content h2 { font-size: 20px; margin: 28px 0 12px; }
  .content h3 { font-size: 17px; }
  .download-steps { padding: 56px 0; }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: 23px; }
  .page-hero p { font-size: 14px; }
  .content h2 { font-size: 19px; }
  .cta-btn { padding: 14px 28px; font-size: 15px; }
  .section { padding: 48px 0; }
}

/* ---------- 区块背景节奏 & 步骤区内边距 ---------- */
.features { background: transparent; }
.why { background: transparent; }
.download-steps { padding: 80px 0; }

/* ---------- 平台页下载框居中 ---------- */
.platform-dl{display:flex;justify-content:center;margin-top:8px}
.platform-dl .download-card{width:100%;max-width:360px}

/* ---------- 工具类（内联 style 收归） ---------- */
.cta-link { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.4); transition: border-color var(--transition); }
.cta-link:hover { border-bottom-color: #fff; }
.content-note { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }
.section-flush { padding-top: 0; }
