/* ============================================================
   seo-optimization.html 专属样式
   布局：左文右折线图+关键词卡 → 优化六卡 → 左图右文 →
        效果周期三卡 → 误区三卡+图 → CTA
   ============================================================ */

.se-hero {
  padding: calc(var(--header-h) + 46px) 0 70px;
  overflow: hidden;
  background:
    radial-gradient(820px 420px at 94% 10%, rgba(239,220,166,.6), transparent 60%),
    radial-gradient(700px 400px at 4% 90%, rgba(220,232,210,.65), transparent 60%),
    var(--cream);
}
.se-hero-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.se-eyebrow {
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  background: var(--green-1);
  color: var(--green-deeper);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  animation: seFade .7s ease .1s both;
}
.se-title {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.25;
  margin-bottom: 18px;
  animation: seFade .8s ease .25s both;
}
.se-amber { color: var(--amber); }
.se-sub { color: var(--ink-2); margin-bottom: 26px; animation: seFade .8s ease .4s both; }
.se-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; animation: seFade .8s ease .55s both; }
.se-note { font-size: 13px; color: var(--ink-3); }
.se-note b { color: var(--amber-deep); }

/* 折线图 */
.se-chart {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.se-chart-title { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.se-line {
  position: relative;
  height: 120px;
  background:
    linear-gradient(to top, var(--line) 1px, transparent 1px) 0 0/100% 24px;
  border-bottom: 2px solid var(--line);
}
.se-dot {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green-deep);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--green-2);
}
.se-d1 { left: 4%; bottom: 12px; }
.se-d2 { left: 27%; bottom: 40px; }
.se-d3 { left: 50%; bottom: 62px; }
.se-d4 { left: 73%; bottom: 86px; }
.se-d5 { left: 92%; bottom: 104px; }
.se-chart-x {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-3);
}
.se-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.se-keywords span {
  padding: 8px 16px;
  background: #fff;
  border: 2px dashed var(--yellow-3);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
}

@keyframes seFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* 优化六卡 */
.se-method { background: var(--cream-2); }
.se-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.se-method-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 26px 24px;
  border: 2px solid var(--line);
  transition: all .3s ease;
}
.se-method-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--green-2); }
.se-method-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--green-deep); }
.se-method-card p { font-size: 14px; color: var(--ink-2); }

/* 图文 */
.se-what-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.se-what-img img { border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
.se-what-copy h2 { font-size: clamp(24px,3vw,34px); margin: 10px 0 16px; line-height: 1.3; }
.se-what-copy p { color: var(--ink-2); margin-bottom: 14px; }

/* 效果周期 */
.se-cycle { background: var(--cream-2); }
.se-cycle-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.se-cycle-s {
  background: #fff;
  border-radius: var(--r-md);
  padding: 28px 24px;
  text-align: center;
  border-top: 4px solid var(--green-3);
  transition: all .3s ease;
}
.se-cycle-s:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.se-cycle-time {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
  background: var(--yellow-1);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.se-cycle-s h3 { font-size: 18px; margin-bottom: 8px; }
.se-cycle-s p { font-size: 14px; color: var(--ink-2); }
.se-cycle-note { text-align: center; margin-top: 26px; font-size: 14px; color: var(--ink-2); }

/* 误区 */
.se-myth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.se-myth-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 26px 24px;
  border-left: 4px solid #c07b6e;
}
.se-myth-card h3 { font-size: 17px; margin-bottom: 8px; color: #b0655a; }
.se-myth-card p { font-size: 14px; color: var(--ink-2); }
.se-myth-note { margin-bottom: 22px; font-size: 14px; color: var(--ink-2); }
.se-myth-img img { border-radius: var(--r-lg); width: 100%; height: auto; }

/* 响应式 */
@media (max-width: 1080px) {
  .se-method-grid, .se-myth-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .se-hero-in, .se-what-in { grid-template-columns: 1fr; gap: 36px; }
  .se-cycle-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .se-method-grid, .se-myth-grid { grid-template-columns: 1fr; }
  .se-actions .btn { width: 100%; }
}
