/* ============================================================
   style-domain.css — 域名注册（独立布局：网址圆环 + 后缀卡阵）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：网址圆环 ---------- */
.dm-hero {
  position: relative;
  background: var(--white);
  padding: 178px 0 84px;
  overflow: hidden;
}
.dm-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;
}
.dm-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.dm-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .34em;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.dm-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.dm-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.28; }
.dm-hero-desc { margin: 24px 0 34px; font-size: 16px; line-height: 2; color: var(--ink-mute); max-width: 540px; }
.dm-url { position: relative; justify-self: center; width: min(400px, 40vw); height: min(400px, 40vw); }
.dm-url-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  animation: dmSpin 44s linear infinite;
}
.dm-url-ring::before {
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink);
}
.dm-url-ring.outer { inset: -8%; border-style: dashed; animation-direction: reverse; }
@keyframes dmSpin { to { transform: rotate(360deg); } }
.dm-url-disc {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: #fff;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.dm-url-disc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.dm-url-disc b { position: relative; font-size: 25px; font-weight: 800; color: var(--ink); }
.dm-url-disc span { position: relative; font-size: 12px; color: var(--gray-600); margin-top: 4px; letter-spacing: .12em; }
.dm-url-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);
}
.dm-url-tag.t1 { left: -14px; top: 16%; }
.dm-url-tag.t2 { right: -12px; top: 42%; }
.dm-url-tag.t3 { left: 4%; bottom: 12%; }

/* ---------- 后缀卡阵 ---------- */
.dm-sfx { background: var(--gray-50); overflow: hidden; position: relative; }
.dm-sfx::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;
}
.dm-sfx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 2; }
.dm-sfx-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px 22px; text-align: center; transition: all var(--transition); }
.dm-sfx-card:nth-child(2), .dm-sfx-card:nth-child(4) { transform: translateY(22px); }
.dm-sfx-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.dm-sfx-card:nth-child(2):hover, .dm-sfx-card:nth-child(4):hover { transform: translateY(-4px); }
.dm-sfx-suffix {
  width: 76px; height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  transition: all var(--transition);
}
.dm-sfx-card:hover .dm-sfx-suffix { background: var(--ink); color: #fff; }
.dm-sfx-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.dm-sfx-card p { font-size: 13px; color: var(--ink-mute); line-height: 1.8; }

/* ---------- 服务要点 ---------- */
.dm-pt { background: var(--white); position: relative; overflow: hidden; }
.dm-pt::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  pointer-events: none;
}
.dm-pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; position: relative; z-index: 2; }
.dm-pt-card { display: flex; gap: 20px; align-items: flex-start; border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 26px 24px; background: var(--gray-50); transition: all var(--transition); }
.dm-pt-card:hover { border-color: var(--ink); transform: translateX(6px); }
.dm-pt-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.dm-pt-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.dm-pt-card p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.85; }

/* ---------- CTA（本页专属） ---------- */
.dm-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.dm-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;
}
.dm-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;
}
.dm-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.dm-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.dm-sec-cta .cta-contact a { color: #fff; }
.dm-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) {
  .dm-hero { padding-top: 148px; }
  .dm-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .dm-url { width: min(340px, 72vw); height: min(340px, 72vw); }
  .dm-sfx-grid { grid-template-columns: repeat(2, 1fr); }
  .dm-sfx-card:nth-child(2), .dm-sfx-card:nth-child(4) { transform: none; }
  .dm-pt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dm-hero { padding: 132px 0 56px; }
  .dm-sfx-grid { grid-template-columns: 1fr; }
}
