/* ============================================================
   changwei-guanjianci.css · 长尾关键词优化
   Hero 骨架：H5 卡片飘浮（左文 + 右侧漂浮关键词卡 + 横竖线）
   ============================================================ */

/* ---------- Hero H5 卡片飘浮 ---------- */
.cw-hero{padding:60px 0 90px;background:linear-gradient(180deg,var(--cream),var(--bg));overflow:hidden}
.cw-hero-x{top:50%;left:0;right:0;opacity:.3}
.cw-hero-v{left:50%;top:10%;bottom:10%;opacity:.15}
.cw-hero-in{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.cw-hero-text h1{font-size:clamp(30px,4vw,48px);font-weight:800;margin:14px 0 18px}
.cw-hero-text h1 em{font-style:normal;color:var(--blue-ink);border-bottom:4px solid var(--yellow)}
.cw-hero-text p{color:var(--muted);font-size:16px;margin-bottom:24px;max-width:520px}
.cw-hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.cw-hero-cards{position:relative;height:340px}
.cw-float-card{
  position:absolute;padding:12px 20px;border-radius:14px;
  background:var(--white);border:2px solid var(--line);
  font-weight:700;font-size:14px;box-shadow:var(--shadow-sm);
  white-space:nowrap;
}
.cw-f1{top:10px;left:10%;background:var(--blue)}
.cw-f2{top:80px;right:5%;background:var(--green)}
.cw-f3{top:170px;left:0;background:var(--yellow)}
.cw-f4{top:240px;right:15%;background:var(--white)}

/* ---------- 大数字横排（section 2） ---------- */
.cw-value{background:var(--white)}
.cw-value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:2px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.cw-value-item{padding:40px 30px;border-right:1px solid var(--line);text-align:center}
.cw-value-item:last-child{border-right:0}
.cw-value-item b{display:block;font-size:54px;font-weight:800;color:var(--blue-ink);line-height:1.1}
.cw-value-item p{color:var(--muted);font-size:15px;margin-top:12px}
.cw-value-item:nth-child(2){background:var(--cream)}

/* ---------- 纵向 5 步流程（section 3） ---------- */
.cw-find{background:var(--bg);overflow:hidden}
.cw-find-v{left:36px;top:50px;bottom:50px;opacity:.25}
.cw-find-list{margin-left:56px;display:flex;flex-direction:column;gap:0;max-width:820px}
.cw-find-list li{
  display:flex;gap:22px;align-items:flex-start;
  padding:18px 0;border-bottom:2px dashed var(--line);
}
.cw-find-step{
  flex:none;padding:6px 14px;border-radius:999px;
  background:var(--blue);color:var(--ink);font-weight:800;font-size:13px;white-space:nowrap;
}
.cw-find-list h3{margin-bottom:5px;font-size:18px}
.cw-find-list p{color:var(--muted);font-size:15px}

/* ---------- 6 宫格矩阵（section 4） ---------- */
.cw-matrix{background:var(--white);overflow:hidden}
.cw-matrix-x{top:50%;left:0;right:0;opacity:.25}
.cw-matrix-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;position:relative;z-index:2}
.cw-matrix-card{
  display:block;background:var(--bg);border:2px solid var(--line);
  border-radius:var(--r-lg);padding:26px 24px;transition:transform .3s,box-shadow .3s;
}
.cw-matrix-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-sm)}
.cw-matrix-num{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:10px;background:var(--yellow);
  font-weight:800;margin-bottom:12px;
}
.cw-matrix-card h3{margin-bottom:8px}
.cw-matrix-card p{color:var(--muted);font-size:14px}

/* ---------- 案例表格行（section 5） ---------- */
.cw-case{background:var(--bg)}
.cw-case-table{
  background:var(--white);border:2px solid var(--line);border-radius:var(--r-lg);
  overflow:hidden;
}
.cw-case-row{display:grid;grid-template-columns:1.2fr 1fr 1.2fr;padding:16px 22px;font-size:15px;border-bottom:1px solid var(--line)}
.cw-case-row:last-child{border-bottom:0}
.cw-case-row:not(.cw-case-head):nth-child(even){background:var(--cream)}
.cw-case-head{background:var(--green);font-weight:800}
.cw-case-note{text-align:center;margin-top:20px;color:var(--muted);font-size:15px}

/* ---------- 左图右文条形图（section 6） ---------- */
.cw-together{background:var(--white)}
.cw-together-in{display:grid;grid-template-columns:1fr 1.1fr;gap:48px;align-items:center}
.cw-together-media img{width:100%}
.cw-together-text h2{font-size:clamp(24px,3vw,32px);margin-bottom:14px}
.cw-together-text>p{color:var(--muted);margin-bottom:20px}
.cw-together-bars{display:flex;flex-direction:column;gap:14px;margin-bottom:22px}
.cw-together-bars li{display:grid;grid-template-columns:120px 1fr 110px;gap:12px;align-items:center;font-size:14px}
.cw-bar-label{color:var(--muted);font-weight:700}
.cw-bar{height:18px;border-radius:999px;background:var(--line);position:relative;overflow:hidden}
.cw-bar::after{content:"";position:absolute;left:0;top:0;bottom:0;border-radius:999px}
.cw-bar-big::after{width:30%;background:var(--blue)}
.cw-bar-mid::after{width:60%;background:var(--green)}
.cw-bar-small::after{width:95%;background:var(--yellow)}

/* ---------- FAQ（section 7） ---------- */
.cw-faq{background:var(--bg)}
.cw-faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.cw-faq-item{
  background:var(--white);border:2px solid var(--line);border-radius:var(--r-md);
  padding:16px 22px;border-top:5px solid var(--yellow);
}
.cw-faq-item summary{font-weight:800;cursor:pointer;list-style:none;position:relative;padding-right:26px}
.cw-faq-item summary::-webkit-details-marker{display:none}
.cw-faq-item summary::after{content:"+";position:absolute;right:0;top:0;font-size:20px;color:var(--yellow-deep)}
.cw-faq-item[open] summary::after{content:"−"}
.cw-faq-item p{margin-top:10px;color:var(--muted);font-size:14.5px}

/* ---------- 怎么找词（section 7.5） ---------- */
.cw-find{background:var(--bg);overflow:hidden}
.cw-find-x{top:50%;left:0;right:0;opacity:.25}
.cw-find-in{position:relative;z-index:2;max-width:820px;margin:0 auto}
.cw-find-text p{
  background:var(--white);border:2px solid var(--line);border-radius:var(--r-md);
  padding:14px 20px;margin-bottom:10px;color:var(--muted);font-size:15px;line-height:1.7;
}
.cw-find-text b{color:var(--ink)}

/* ---------- CTA（section 8） ---------- */
.cw-cta{background:var(--white);padding-bottom:80px}
.cw-cta-band{
  background:linear-gradient(120deg,var(--blue-ink) 0%,#4a8cb5 100%);
  border-radius:var(--r-lg);padding:60px 40px;text-align:center;color:#fff;
  box-shadow:var(--shadow);position:relative;overflow:hidden;
}
.cw-cta-band h2{color:#fff;font-size:clamp(24px,3vw,34px);margin-bottom:14px}
.cw-cta-band p{color:#DCEEF8;max-width:560px;margin:0 auto 26px}
.cw-cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-bottom:20px}
.cw-cta-contact{font-size:14px;color:#BEE0F2;font-weight:700;letter-spacing:.04em}

/* ---------- 响应式 ---------- */
@media (max-width:900px){
  .cw-hero-in,.cw-together-in{grid-template-columns:1fr}
  .cw-hero-cards{height:auto;display:flex;flex-direction:column;gap:12px}
  .cw-float-card{position:static}
  .cw-value-grid{grid-template-columns:1fr}
  .cw-value-item{border-right:0;border-bottom:1px solid var(--line)}
  .cw-value-item:last-child{border-bottom:0}
  .cw-matrix-grid{grid-template-columns:1fr 1fr}
  .cw-find-list{margin-left:0}
  .cw-find-v{display:none}
  .cw-together-bars li{grid-template-columns:1fr}
}
