/* ============================================================
   style-security.css — 网站安全（独立布局：盾牌圆环 + 防护层）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

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

/* ---------- 防护层 ---------- */
.sy-layer { background: var(--gray-50); overflow: hidden; position: relative; }
.sy-layer::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;
}
.sy-layer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 2; }
.sy-layer-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; transition: all var(--transition); }
.sy-layer-card:nth-child(2), .sy-layer-card:nth-child(4) { transform: translateY(22px); }
.sy-layer-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.sy-layer-card:nth-child(2):hover, .sy-layer-card:nth-child(4):hover { transform: translateY(-4px); }
.sy-layer-ico {
  width: 60px; height: 60px;
  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);
  transition: all var(--transition);
}
.sy-layer-card:hover .sy-layer-ico { background: var(--ink); color: #fff; }
.sy-layer-card h3 { font-size: 15.5px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.sy-layer-card p { font-size: 13px; color: var(--ink-mute); line-height: 1.8; }

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

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