/* ============================================
   49统计 - 内页样式（页面头 / 产品功能 / 价格 / 常见问题 / 联系我们）
   ============================================ */

/* === 内页头部 === */
.page-head {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 0 56px;
  background: linear-gradient(180deg, var(--brand-50), #fff);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}

.page-head::after {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 168, 141, .22), transparent 70%);
  pointer-events: none;
}

.page-head .container { position: relative; z-index: 1; }

.page-head h1 { margin-bottom: 14px; font-size: 2.4rem; }

.page-head p { max-width: 680px; margin: 0 auto; color: var(--ink-3); font-size: 1.02rem; }

/* === 价格页：补充说明 === */
.price-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  max-width: 860px;
  margin: 32px auto 0;
  padding: 20px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--ink-3);
  font-size: .9rem;
}

.price-note span { display: inline-flex; align-items: center; gap: 8px; }
.price-note span::before { content: "•"; color: var(--brand-700); font-weight: 700; }

/* === 联系我们页 === */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.contact-card { text-align: center; }

.contact-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: var(--radius-sm);
  background: var(--brand-100);
  color: var(--brand-700);
}

.contact-card h3 { margin-bottom: 8px; font-size: 1.1rem; }

.contact-value {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  word-break: break-all;
}

.contact-value.is-todo { color: var(--ink-4); font-weight: 500; }

.contact-hint { margin: 0; color: var(--ink-3); font-size: .88rem; }

.contact-value a { color: var(--brand-700); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }
.contact-card--action { cursor: pointer; }
a.contact-card { color: var(--ink); }
a.contact-card:hover { color: var(--ink); }

/* 微信二维码弹窗 */
.wx-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(28, 43, 42, .45);
}

.wx-qr-modal[hidden] { display: none; }

.wx-qr-modal-box {
  position: relative;
  padding: 28px 28px 22px;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.wx-qr-modal-box img { display: block; width: 220px; height: 220px; margin: 0 auto; }
.wx-qr-modal-box p { margin: 14px 0 0; color: var(--ink-3); font-size: .9rem; }

.wx-qr-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-900);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.contact-tip {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--brand-50);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .95rem;
}

.contact-tip h3 { font-size: 1rem; }
.contact-tip p:last-child { margin-bottom: 0; }

/* === 响应式 === */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .page-head { padding-top: calc(var(--nav-h) + 40px); }
  .page-head h1 { font-size: 1.9rem; }
}
