/* ============================================================
   style-advantage.css — 建站优势（独立布局：优势光环 + 三环深潜）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

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

/* ---------- 三环深潜 ---------- */
.ad-pillars { background: var(--gray-50); overflow: hidden; position: relative; }
.ad-pillars::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; }
.ad-pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; z-index: 2; }
.ad-pillar { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 36px 30px; text-align: center; transition: all var(--transition); }
.ad-pillar:nth-child(2) { transform: translateY(28px); }
.ad-pillar:hover { border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.ad-pillar:nth-child(2):hover { transform: translateY(-6px); }
.ad-pillar-ico { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--gray-50); border: 1px solid var(--gray-300); display: flex; align-items: center; justify-content: center; color: var(--ink); position: relative; transition: all var(--transition); }
.ad-pillar-ico::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed var(--gray-300); animation: adSpin 40s linear infinite; }
.ad-pillar:hover .ad-pillar-ico { background: var(--ink); color: #fff; }
.ad-pillar h3 { font-size: 19px; color: var(--ink); font-weight: 800; margin-bottom: 12px; }
.ad-pillar p { font-size: 14px; color: var(--ink-mute); line-height: 1.9; margin-bottom: 20px; }
.ad-pillar a { font-size: 14px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--gray-400); }

/* ---------- 对比 ---------- */
.ad-cmp { background: var(--white); position: relative; overflow: hidden; }
.ad-cmp::after { content: ""; position: absolute; right: -140px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 1px dashed var(--gray-300); pointer-events: none; }
.ad-cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; position: relative; z-index: 2; }
.ad-cmp-col { border-radius: var(--radius-lg); padding: 38px 34px; }
.ad-cmp-col.tpl { background: #fff; border: 1px solid var(--gray-200); }
.ad-cmp-col.cus { background: var(--ink); }
.ad-cmp-col.cus::before { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.ad-cmp-col h3 { font-size: 19px; font-weight: 800; margin-bottom: 16px; position: relative; }
.ad-cmp-col.tpl h3 { color: var(--ink); }
.ad-cmp-col.cus h3 { color: #fff; }
.ad-cmp-col ul { position: relative; }
.ad-cmp-col li { display: flex; gap: 10px; font-size: 14px; line-height: 1.75; padding: 7px 0; }
.ad-cmp-col.tpl li { color: var(--ink-mute); }
.ad-cmp-col.cus li { color: #E4E4DF; }
.ad-cmp-col li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; margin-top: 9px; }
.ad-cmp-col.tpl li::before { background: var(--gray-400); }
.ad-cmp-col.cus li::before { background: #fff; }

/* ---------- 数据条 ---------- */
.ad-stats { background: var(--gray-50); overflow: hidden; position: relative; }
.ad-stats::before { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(27,27,27,.05), transparent 64%); pointer-events: none; }
.ad-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; }
.ad-stat { text-align: center; padding: 30px 20px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); transition: all var(--transition); }
.ad-stat:nth-child(2), .ad-stat:nth-child(4) { transform: translateY(20px); }
.ad-stat:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.ad-stat:nth-child(2):hover, .ad-stat:nth-child(4):hover { transform: translateY(-4px); }
.ad-stat b { display: block; font-size: 32px; font-weight: 800; color: var(--ink); }
.ad-stat span { display: block; font-size: 13px; color: var(--gray-600); margin-top: 6px; letter-spacing: .06em; }

/* ---------- CTA ---------- */
.ad-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.ad-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; }
.ad-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.ad-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.ad-sec-cta .cta-contact a { color: #fff; }
.ad-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) {
  .ad-hero { padding-top: 148px; }
  .ad-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .ad-halo { width: min(340px, 72vw); height: min(340px, 72vw); }
  .ad-pillars-grid { grid-template-columns: 1fr; }
  .ad-pillar:nth-child(2) { transform: none; }
  .ad-cmp-grid { grid-template-columns: 1fr; }
  .ad-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ad-stat:nth-child(2), .ad-stat:nth-child(4) { transform: none; }
}
@media (max-width: 640px) {
  .ad-hero { padding: 132px 0 56px; }
  .ad-stats-grid { grid-template-columns: 1fr; }
}
