/* ============================================================
   style-h5.css — H5 营销页（独立布局：手机竖屏圆环 + 传播链路）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：手机竖屏圆环 ---------- */
.h5-hero {
  position: relative;
  background: var(--white);
  padding: 178px 0 84px;
  overflow: hidden;
}
.h5-hero::before {
  content: "";
  position: absolute;
  left: -240px; top: -240px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(27,27,27,.06), transparent 62%);
  pointer-events: none;
}
.h5-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.h5-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .34em;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.h5-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.h5-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.28; }
.h5-hero-desc { margin: 24px 0 34px; font-size: 16px; line-height: 2; color: var(--ink-mute); max-width: 540px; }
.h5-phone { position: relative; justify-self: center; width: min(400px, 40vw); height: min(400px, 40vw); }
.h5-phone-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  animation: h5Spin 44s linear infinite;
}
.h5-phone-ring::before {
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink);
}
.h5-phone-ring.outer { inset: -8%; border-style: dashed; animation-direction: reverse; }
@keyframes h5Spin { to { transform: rotate(360deg); } }
.h5-phone-body {
  position: absolute;
  inset: 16%;
  border-radius: 38px;
  border: 1px solid var(--gray-300);
  background: var(--gray-50);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.h5-phone-body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.h5-phone-body b { position: relative; font-size: 18px; color: var(--ink); font-weight: 800; }
.h5-phone-body span { position: relative; font-size: 12px; color: var(--ink-mute); margin-top: 4px; }
.h5-phone-tag {
  position: absolute;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12.5px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.h5-phone-tag.t1 { left: -14px; top: 18%; }
.h5-phone-tag.t2 { right: -12px; top: 44%; }
.h5-phone-tag.t3 { left: 4%; bottom: 12%; }

/* ---------- 传播链路 ---------- */
.h5-link { background: var(--gray-50); overflow: hidden; position: relative; }
.h5-link::before {
  content: "";
  position: absolute;
  right: -160px; bottom: -160px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.05), transparent 62%);
  pointer-events: none;
}
.h5-link-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.h5-link-step { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px 24px; text-align: center; position: relative; transition: all var(--transition); }
.h5-link-step:nth-child(2), .h5-link-step:nth-child(4) { transform: translateY(22px); }
.h5-link-step:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.h5-link-step:nth-child(2):hover, .h5-link-step:nth-child(4):hover { transform: translateY(-4px); }
.h5-link-num {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.h5-link-step h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.h5-link-step p { font-size: 13px; color: var(--ink-mute); line-height: 1.8; }

/* ---------- 场景 ---------- */
.h5-use { background: var(--white); position: relative; overflow: hidden; }
.h5-use::after {
  content: "";
  position: absolute;
  left: -140px; top: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  pointer-events: none;
}
.h5-use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }
.h5-use-card { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-50); transition: all var(--transition); }
.h5-use-card:nth-child(2) { transform: translateY(24px); }
.h5-use-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.h5-use-card:nth-child(2):hover { transform: translateY(-4px); }
.h5-use-media { aspect-ratio: 3/2; overflow: hidden; }
.h5-use-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.h5-use-card:hover .h5-use-media img { transform: scale(1.06); }
.h5-use-body { padding: 22px 24px 26px; }
.h5-use-body h3 { font-size: 16.5px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.h5-use-body p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.8; }

/* ---------- CTA（本页专属） ---------- */
.h5-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.h5-sec-cta::before {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 64%);
  pointer-events: none;
}
.h5-sec-cta::after {
  content: "";
  position: absolute;
  left: 8%; bottom: -160px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.15);
  pointer-events: none;
}
.h5-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.h5-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.h5-sec-cta .cta-contact a { color: #fff; }
.h5-sec-cta .cta-contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.6); background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); box-shadow: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .h5-hero { padding-top: 148px; }
  .h5-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .h5-phone { width: min(340px, 72vw); height: min(340px, 72vw); }
  .h5-link-steps { grid-template-columns: repeat(2, 1fr); }
  .h5-link-step:nth-child(2), .h5-link-step:nth-child(4) { transform: none; }
  .h5-use-grid { grid-template-columns: 1fr; }
  .h5-use-card:nth-child(2) { transform: none; }
}
@media (max-width: 640px) {
  .h5-hero { padding: 132px 0 56px; }
  .h5-link-steps { grid-template-columns: 1fr; }
}
