/* ============================================================
   style-price.css — 建站价格（独立布局：阶梯圆 + 套餐对比）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：阶梯圆 ---------- */
.pr-hero {
  position: relative;
  background: var(--white);
  padding: 178px 0 84px;
  overflow: hidden;
}
.pr-hero::before {
  content: "";
  position: absolute;
  left: -220px; top: -220px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(27,27,27,.055), transparent 62%);
  pointer-events: none;
}
.pr-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pr-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .34em;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.pr-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.pr-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.28; }
.pr-hero-desc { margin: 24px 0 34px; font-size: 16px; line-height: 2; color: var(--ink-mute); max-width: 540px; }
.pr-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 10px 20px;
}
.pr-stairs { position: relative; height: 420px; }
.pr-stair {
  position: absolute;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.pr-stair:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: scale(1.04); }
.pr-stair.s1 { left: 0; top: 40px; width: 200px; height: 200px; }
.pr-stair.s2 { right: 6px; top: 0; width: 150px; height: 150px; }
.pr-stair.s3 { right: 96px; bottom: 0; width: 118px; height: 118px; }
.pr-stair b { font-size: 26px; color: var(--ink); font-weight: 800; }
.pr-stair span { font-size: 12px; color: var(--gray-600); margin-top: 4px; letter-spacing: .08em; }
.pr-stair::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  animation: prSpin 44s linear infinite;
}
@keyframes prSpin { to { transform: rotate(360deg); } }
.pr-stair.s1::after { inset: -18px; }

/* ---------- 套餐对比 ---------- */
.pr-plans { background: var(--gray-50); overflow: hidden; position: relative; }
.pr-plans::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;
}
.pr-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; position: relative; z-index: 2; }
.pr-plan {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 38px 30px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.pr-plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.pr-plan::before {
  content: "";
  position: absolute;
  right: -70px; top: -70px;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.05), transparent 64%);
}
.pr-plan.hot { background: var(--ink); border-color: var(--ink); }
.pr-plan.hot::after {
  content: "";
  position: absolute;
  left: 50%; top: -130px;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  pointer-events: none;
}
.pr-plan-tag {
  position: absolute;
  right: 18px; top: 18px;
  font-size: 12px;
  letter-spacing: .1em;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 999px;
  padding: 5px 14px;
}
.pr-plan.hot .pr-plan-tag { background: #33332F; color: #CFCFCA; }
.pr-plan h3 { font-size: 20px; color: var(--ink); font-weight: 800; margin-bottom: 6px; position: relative; z-index: 2; }
.pr-plan.hot h3 { color: #fff; }
.pr-plan .sub { font-size: 13px; color: var(--gray-500); position: relative; z-index: 2; }
.pr-plan.hot .sub { color: #B9B9B2; }
.pr-price { margin: 26px 0 8px; display: flex; align-items: baseline; gap: 6px; position: relative; z-index: 2; }
.pr-price b { font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.pr-price span { font-size: 13px; color: var(--gray-500); }
.pr-plan.hot .pr-price b { color: #fff; }
.pr-plan.hot .pr-price span { color: #B9B9B2; }
.pr-plan .desc { font-size: 13.5px; color: var(--ink-mute); line-height: 1.8; margin: 10px 0 22px; position: relative; z-index: 2; }
.pr-plan.hot .desc { color: #CFCFCA; }
.pr-plan ul { flex: 1; margin-bottom: 26px; position: relative; z-index: 2; }
.pr-plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 7px 0;
  line-height: 1.65;
}
.pr-plan.hot li { color: #E4E4DF; }
.pr-plan li::before {
  content: "";
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 8px;
}
.pr-plan.hot li::before { background: #fff; }
.pr-plan .btn { width: 100%; position: relative; z-index: 2; }
.pr-plan.hot .btn { background: #fff; color: var(--ink); }
.pr-plan.hot .btn:hover { box-shadow: 0 12px 26px rgba(255,255,255,.2); }
.pr-plan.hot .btn-line { border-color: #fff; color: #fff; background: transparent; }

/* ---------- 费用构成 ---------- */
.pr-cost { background: var(--white); overflow: hidden; position: relative; }
.pr-cost::before {
  content: "";
  position: absolute;
  left: -140px; top: -140px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  pointer-events: none;
}
.pr-cost-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.pr-cost-card { text-align: center; padding: 30px 22px; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); background: var(--gray-50); position: relative; overflow: hidden; transition: all var(--transition); }
.pr-cost-card:nth-child(2) { transform: translateY(24px); }
.pr-cost-card:nth-child(4) { transform: translateY(24px); }
.pr-cost-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pr-cost-card:nth-child(2):hover, .pr-cost-card:nth-child(4):hover { transform: translateY(-4px); }
.pr-cost-circle {
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  position: relative;
}
.pr-cost-circle::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
}
.pr-cost-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.pr-cost-card p { font-size: 13px; color: var(--ink-mute); line-height: 1.8; }

/* ---------- 影响价格的因素 ---------- */
.pr-factor { background: var(--gray-50); position: relative; overflow: hidden; }
.pr-factor::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.05), transparent 64%);
  pointer-events: none;
}
.pr-factor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.pr-factor-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: all var(--transition);
}
.pr-factor-item:hover { border-color: var(--ink); transform: translateX(6px); }
.pr-factor-item .num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.pr-factor-item h3 { font-size: 15.5px; color: var(--ink); font-weight: 700; }
.pr-factor-item p { font-size: 13px; color: var(--ink-mute); margin-top: 3px; }

/* ---------- CTA（本页专属） ---------- */
.pr-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.pr-sec-cta::before {
  content: "";
  position: absolute;
  right: -140px; bottom: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 64%);
  pointer-events: none;
}
.pr-sec-cta::after {
  content: "";
  position: absolute;
  left: -120px; top: -160px;
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.15);
  pointer-events: none;
}
.pr-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.pr-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.pr-sec-cta .cta-contact a { color: #fff; }
.pr-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) {
  .pr-hero { padding-top: 148px; }
  .pr-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .pr-stairs { height: 360px; }
  .pr-plan-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .pr-plan.hot { order: -1; }
  .pr-cost-grid { grid-template-columns: repeat(2, 1fr); }
  .pr-cost-card:nth-child(2), .pr-cost-card:nth-child(4) { transform: none; }
  .pr-factor-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pr-hero { padding: 132px 0 56px; }
  .pr-stairs { height: 300px; }
  .pr-stair.s1 { width: 150px; height: 150px; }
  .pr-stair.s2 { width: 110px; height: 110px; }
  .pr-stair.s3 { width: 86px; height: 86px; right: 40px; }
  .pr-cost-grid { grid-template-columns: 1fr; }
}
