/* ==========================================================================
   gandehao.cn 域名注册页专属样式 · yuming-zhuce.css
   依赖：global.css
   独有签名：居中大标题 Hero + 胶带浮贴证书小图 + 四步错位选购卡 + 横向流程线
   ========================================================================== */

/* ---------- ① 居中 Hero + 浮贴小图 ---------- */
.ymz-hero {
  position: relative;
  padding: clamp(96px, 12vw, 150px) 0 clamp(70px, 9vw, 110px);
  background:
    radial-gradient(circle at 12% 18%, rgba(95,185,140,.12), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(111,168,220,.14), transparent 46%),
    linear-gradient(180deg, var(--c-white), var(--c-mint));
  overflow: hidden;
}
.ymz-hero-inner { position: relative; text-align: center; }
.ymz-crumb { justify-content: center; margin-bottom: 18px; }
.ymz-hero-inner h1 {
  font-size: clamp(30px, 4.6vw, 50px); line-height: 1.32; margin: 16px auto 18px;
  max-width: 860px; letter-spacing: .5px;
}
.ymz-hl { position: relative; white-space: nowrap; color: var(--c-green-deep); }
.ymz-hl::after {
  content: ""; position: absolute; left: 0; bottom: 6px; width: 100%; height: 14px;
  background: rgba(95,185,140,.35); z-index: -1; border-radius: 4px;
}
.ymz-hero-inner > p {
  max-width: 660px; margin: 0 auto; color: var(--c-muted);
  font-size: 16.5px; line-height: 1.95;
}
.ymz-hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.ymz-hero-media {
  position: relative; width: min(560px, 88%); margin: 56px auto 0;
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  transform: rotate(-1.6deg);
}
.ymz-hero-media img { width: 100%; height: auto; display: block; }

/* ---------- ② 痛点列表 ---------- */
.ymz-pain-list { display: grid; gap: 14px; margin-top: 22px; }
.ymz-pain-list li {
  background: var(--c-white); border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-green); border-radius: var(--r-md);
  padding: 16px 20px; box-shadow: var(--sh-sm);
}
.ymz-pain-list li:nth-child(even) { border-left-color: var(--c-blue); }
.ymz-pain-list strong { display: block; font-size: 15.5px; margin-bottom: 4px; }
.ymz-pain-list span { font-size: 14.5px; color: var(--c-muted); line-height: 1.8; }

/* ---------- ③ 后缀对比表 ---------- */
.ymz-table-wrap { max-width: 900px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }
.ymz-table-wrap .w16 { width: 16%; } .ymz-table-wrap .w26 { width: 26%; }
.ymz-table-wrap .w30 { width: 30%; } .ymz-table-wrap .w28 { width: 28%; }
.ymz-table-note { max-width: 900px; margin: 20px auto 0; font-size: 14.5px; color: var(--c-muted); }
.ymz-table-note::before {
  content: "提示"; display: inline-block; margin-right: 8px; padding: 2px 10px;
  border-radius: var(--r-pill); background: var(--c-blue-soft); color: var(--c-blue-deep);
  font-size: 12.5px; font-weight: 700;
}

/* ---------- ④ 选购四步错位卡 ---------- */
.ymz-step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ymz-step {
  position: relative; background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 26px 22px; box-shadow: var(--sh-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ymz-step:nth-child(even) { transform: translateY(16px); }
.ymz-step:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.ymz-step:nth-child(even):hover { transform: translateY(10px); box-shadow: var(--sh-md); }
.ymz-step-num {
  font-size: 30px; font-weight: 800; color: transparent;
  -webkit-text-stroke: 1.5px var(--c-green-deep);
}
.ymz-step:nth-child(even) .ymz-step-num { -webkit-text-stroke-color: var(--c-blue-deep); }
.ymz-step h3 { font-size: 17px; margin: 12px 0 8px; }
.ymz-step p { font-size: 14px; color: var(--c-muted); line-height: 1.8; }

/* ---------- ⑤ 横向流程线 ---------- */
.ymz-flow-line {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  margin-top: 10px;
}
.ymz-flow-line::before {
  content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--c-green), var(--c-blue)); border-radius: 2px;
}
.ymz-flow-item { position: relative; text-align: center; padding: 0 6px; }
.ymz-flow-dot {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--c-white); border: 3px solid var(--c-green);
  color: var(--c-green-deep); font-size: 19px; font-weight: 800;
  box-shadow: var(--sh-sm);
}
.ymz-flow-item:nth-child(even) .ymz-flow-dot { border-color: var(--c-blue); color: var(--c-blue-deep); }
.ymz-flow-item h3 { font-size: 15.5px; margin: 14px 0 6px; }
.ymz-flow-item p { font-size: 13.5px; color: var(--c-muted); line-height: 1.7; }
.ymz-flow-item a { color: var(--c-blue-deep); text-decoration: underline; }

/* ---------- ⑥ FAQ ---------- */
.ymz-faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .ymz-step-grid { grid-template-columns: 1fr 1fr; }
  .ymz-step:nth-child(even), .ymz-step:nth-child(even):hover { transform: none; }
  .ymz-flow-line { grid-template-columns: 1fr; gap: 26px; }
  .ymz-flow-line::before { display: none; }
}
@media (max-width: 560px) {
  .ymz-step-grid { grid-template-columns: 1fr; }
  .ymz-hero-inner h1 { white-space: normal; }
  .ymz-hl { white-space: normal; }
}
