/* ============================================================
   style-host.css — 云主机/服务器（独立布局：机柜圆环 + 配置阶梯）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

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

/* ---------- 配置阶梯 ---------- */
.ht-tier { background: var(--gray-50); overflow: hidden; position: relative; }
.ht-tier::before {
  content: "";
  position: absolute;
  left: -160px; bottom: -160px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.05), transparent 62%);
  pointer-events: none;
}
.ht-tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; z-index: 2; }
.ht-tier-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 34px 28px; transition: all var(--transition); }
.ht-tier-card:nth-child(2) { transform: translateY(28px); border-color: var(--ink); box-shadow: var(--shadow-md); }
.ht-tier-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.ht-tier-card:nth-child(2):hover { transform: translateY(-4px); }
.ht-tier-label {
  display: inline-block;
  font-size: 12px;
  border-radius: 999px;
  padding: 5px 14px;
  background: var(--gray-100);
  color: var(--gray-600);
  margin-bottom: 16px;
  letter-spacing: .08em;
}
.ht-tier-card.hot .ht-tier-label { background: var(--ink); color: #fff; }
.ht-tier-card h3 { font-size: 18px; color: var(--ink); font-weight: 800; margin-bottom: 14px; }
.ht-tier-card ul li { font-size: 13.5px; color: var(--ink-mute); line-height: 2; padding-left: 18px; position: relative; }
.ht-tier-card ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--gray-400); }

/* ---------- 配套服务 ---------- */
.ht-svc { background: var(--white); position: relative; overflow: hidden; }
.ht-svc::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  pointer-events: none;
}
.ht-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; position: relative; z-index: 2; }
.ht-svc-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); }
.ht-svc-card:hover { border-color: var(--ink); transform: translateX(6px); }
.ht-svc-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;
}
.ht-svc-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.ht-svc-card p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.85; }

/* ---------- CTA（本页专属） ---------- */
.ht-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.ht-sec-cta::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -260px;
  transform: translateX(-50%);
  width: 640px; height: 640px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  pointer-events: none;
}
.ht-sec-cta::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -180px;
  transform: translateX(-50%);
  width: 440px; height: 440px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.16);
  pointer-events: none;
}
.ht-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.ht-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.ht-sec-cta .cta-contact a { color: #fff; }
.ht-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) {
  .ht-hero { padding-top: 148px; }
  .ht-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .ht-rack { width: min(340px, 72vw); height: min(340px, 72vw); }
  .ht-tier-grid { grid-template-columns: 1fr; }
  .ht-tier-card:nth-child(2) { transform: none; }
  .ht-svc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ht-hero { padding: 132px 0 56px; }
}
