/* seo-yh.css — 网站优化(SEO)专题页样式（独立文件，避免污染通用 style.css） */
.seo-hero {
  background: radial-gradient(900px 500px at 80% -20%, #2e4a7a 0%, transparent 60%), linear-gradient(135deg, #16213e, #243a66);
  color: #fff; padding: 72px 0 0;
}
.seo-hero .container { display: flex;align-items: center; text-align: center; }
.seo-hero .eyebrow { color: rgba(255,255,255,0.7); letter-spacing: 2px; font-size: 14px; margin-bottom: 14px; }
.seo-hero h1,
.seo-hero h2 { color: #fff; margin-bottom: 18px; font-size: 40px; }
.seo-hero .sr-only + h2 { margin-top: 0; }
.seo-hero p.lead { color: rgba(255,255,255,0.82); font-size: 18px; max-width: 820px; line-height: 1.9; }
.seo-hero .hero-cta { margin: 30px 0 48px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.seo-breadcrumb { background: rgba(0,0,0,0.18); width: 100%; padding: 14px 0; margin-top: 40px; font-size: 14px; color: rgba(255,255,255,0.7); }
.seo-breadcrumb a { color: rgba(255,255,255,0.85); }
.seo-breadcrumb span { color: #fff; }

/* 好处 8卡 */
.seo-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.seo-benefit { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); transition: var(--transition); }
.seo-benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.seo-benefit .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--color-primary-soft); color: var(--color-primary); display: grid; place-items: center; margin-bottom: 16px; }
.seo-benefit .ic svg { width: 26px; height: 26px; }
.seo-benefit h4 { margin-bottom: 8px; font-size: 17px; }
.seo-benefit p { color: var(--color-text-light); font-size: 14px; line-height: 1.7; }

/* 问题 左右 */
.seo-problems { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.seo-problem-col { display: flex; flex-direction: column; gap: 18px; }
.seo-problem { background: #fff; border: 1px solid var(--color-border); border-left: 4px solid var(--color-primary); border-radius: var(--radius); padding: 20px 22px; text-align: left; box-shadow: var(--shadow); }
.seo-problem h4 { color: var(--color-primary); margin-bottom: 6px; font-size: 17px; }
.seo-problem p { color: var(--color-text-light); font-size: 14px; line-height: 1.6; }
.seo-problems .mid-img { width: 200px; }

/* 对比 */
.seo-compare { display: grid; grid-template-columns: 1fr 70px 1fr; gap: 20px; align-items: stretch; }
.compare-col { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.compare-col.tradition { border-top: 4px solid #b0b8c4; }
.compare-col.advance { border-top: 4px solid var(--color-primary); background: linear-gradient(180deg, #f5f9ff, #fff); }
.compare-col h3 { margin-bottom: 18px; font-size: 20px; }
.compare-col.advance h3 { color: var(--color-primary); }
.compare-item { padding: 14px 0; border-bottom: 1px dashed var(--color-border); }
.compare-item:last-child { border-bottom: 0; }
.compare-item h5 { margin-bottom: 6px; font-size: 15px; color: var(--color-dark); }
.compare-item p { color: var(--color-text-light); font-size: 13.5px; line-height: 1.7; }
.compare-vs { display: grid; place-items: center; font-size: 26px; font-weight: 800; color: var(--color-primary); }

/* 步骤 4 */
.seo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.seo-step { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); transition: var(--transition); }
.seo-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.seo-step .num { font-size: 30px; font-weight: 800; color: var(--color-primary); opacity: 0.25; margin-bottom: 8px; }
.seo-step h4 { margin-bottom: 8px; font-size: 17px; }
.seo-step p { color: var(--color-text-light); font-size: 14px; line-height: 1.7; }

/* 四大优势 */
.seo-adv { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.seo-adv-stats { display: flex; gap: 16px; flex-wrap: wrap; margin: 22px 0; }
.seo-adv-stat { flex: 1; min-width: 110px; background: var(--color-primary-soft); border-radius: var(--radius); padding: 18px 14px; text-align: center; }
.seo-adv-stat .n { font-size: 28px; font-weight: 800; color: var(--color-primary); }
.seo-adv-stat .l { font-size: 13px; color: var(--color-text-light); margin-top: 4px; }
.seo-adv .adv-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seo-adv-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.seo-adv-item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--color-primary-soft); color: var(--color-primary); display: grid; place-items: center; margin-bottom: 14px; }
.seo-adv-item .ic svg { width: 24px; height: 24px; }
.seo-adv-item h4 { color: var(--color-primary); margin-bottom: 8px; }
.seo-adv-item p { color: var(--color-text-light); font-size: 13.5px; line-height: 1.7; }

@media (max-width: 1024px) {
  .seo-benefits { grid-template-columns: repeat(2, 1fr); }
  .seo-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .seo-hero h1,
  .seo-hero h2 { font-size: 30px; }
  .seo-problems { grid-template-columns: 1fr; }
  .seo-problems .mid-img { display: none; }
  .seo-compare { grid-template-columns: 1fr; }
  .compare-vs { display: none; }
  .seo-steps { grid-template-columns: 1fr; }
  .seo-adv { grid-template-columns: 1fr; }
  .seo-adv .adv-list { grid-template-columns: 1fr; }
}

/* ---------- 首屏 Banner 布局：与 /kaifa/（xcx-hero）保持一致 ----------
   背景：原 .seo-hero .container 被设成 display:flex，导致 eyebrow/h2/lead/cta
   横向排成一行错位；现改为 block 流式布局 + 面包屑置顶 + hero-inner 包内容。 */
.seo-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.seo-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -45%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(56, 182, 244, 0.30) 0%, transparent 70%);
  filter: blur(10px);
}

.seo-hero .container {
  display: block;
  position: relative;
  z-index: 2;
  text-align: left;
}

.seo-hero .breadcrumb {
  margin-bottom: 0;
  padding-top: 22px;
}

.seo-hero-inner { padding: 56px 0 0; }

.seo-hero .eyebrow {
  margin-bottom: 14px;
  font-weight: 500;
}

.seo-hero h1,
.seo-hero h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 16px;
  text-shadow: 0 2px 18px rgba(22, 33, 62, 0.35);
}

.seo-hero p.lead {
  max-width: 780px;
  margin: 0 0 30px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.9;
}

.seo-hero .hero-cta {
  margin: 0;
  padding-bottom: 46px;
  gap: 16px;
  justify-content: flex-start;
}

/* 按钮视觉对齐 kaifa：主按钮白底、次按钮描边 */
.seo-hero .hero-cta .btn {
  font-size: 16px;
  padding: 14px 30px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

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

.seo-hero .hero-cta .btn-primary:hover {
  transform: translateY(-3px);
  background: #f1f6ff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.seo-hero .hero-cta .btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

.seo-hero .hero-cta .btn-ghost-light:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

@media (max-width: 768px) {
  .seo-hero-inner { padding: 36px 0 0; }

  .seo-hero h1,
  .seo-hero h2 { font-size: 26px; }

  .seo-hero p.lead { margin-bottom: 24px; }

  .seo-hero .hero-cta { padding-bottom: 34px; gap: 12px; }

  .seo-hero .hero-cta .btn { padding: 12px 24px; font-size: 15px; }
}
