/* ==========================================================
 * 新增页面类名适配层（tools.css 内）
 * ------------------------------------------------------------
 * 背景：站点既有页面使用 .navbar/.nav-inner/.nav-links、
 *       .footer/.footer-grid/.footer-col、.section-head、
 *       .grid/.grid-3/.grid-4、.card、.feature-card、
 *       .faq-list/.faq-item、.data-table 等既有类。
 *       本轮新增页面（计算器/裂变/口碑墙/博客）最初按通用命名书写，
 *       为避免改动既有页面，这里提供「别名映射」：
 *       新页面用的类名 → 复用站点既有样式，视觉与全站完全统一。
 * ========================================================== */

/* ---------- 页头：别名 → 既有结构 ---------- */
.site-header { display: block; }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
}
.header-inner .brand {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  letter-spacing: .5px;
  flex-shrink: 0;
}
.header-inner .brand:hover { color: #0284c7; }
.header-inner .nav { flex: 1; }
.header-inner .nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

/* ---------- 页脚：别名 → 既有结构 ---------- */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  margin-top: 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 20px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.9;
}
.footer-inner p { margin: 0; }
.footer-inner a { color: #7dd3fc; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }

/* ---------- 页面标题区 ---------- */
.page-head { margin-bottom: 8px; }
.eyebrow {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.page-title {
  font-size: 30px;
  color: #0f172a;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.35;
}
.page-lead {
  font-size: 16px;
  color: #64748b;
  line-height: 1.85;
  margin: 0;
  max-width: 860px;
}

/* ---------- 区块标题（别名 → .section-head）---------- */
.section-title {
  font-size: 24px;
  color: #0f172a;
  font-weight: 800;
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 5px solid #0ea5e9;
  line-height: 1.35;
}

/* ---------- 信息卡栅格（别名 → .grid-3）---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 22px 0;
}
.info-card {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform .2s, box-shadow .2s;
}
.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(14, 165, 233, .1);
}
.info-card h2,
.info-card h3 {
  font-size: 16.5px;
  color: #0f172a;
  margin: 0 0 10px;
  font-weight: 700;
  line-height: 1.5;
}
.info-card p {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.85;
  margin: 0 0 8px;
}
.info-card p:last-child { margin-bottom: 0; }
.info-card a { color: #0284c7; text-decoration: none; }
.info-card a:hover { text-decoration: underline; }

/* ---------- 提示框（别名）---------- */
.notice-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-left: 4px solid #0ea5e9;
  border-radius: 12px;
  padding: 22px 24px;
  margin: 24px 0;
}
.notice-box h2,
.notice-box h3 {
  font-size: 17px;
  color: #0f172a;
  margin: 0 0 10px;
  font-weight: 700;
}
.notice-box p {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.85;
  margin: 0 0 10px;
}
.notice-box p:last-child { margin-bottom: 0; }
.notice-box a { color: #0284c7; }
.notice-box ul, .notice-box ol {
  margin: 8px 0 0;
  padding-left: 22px;
}
.notice-box li {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.9;
  margin-bottom: 7px;
}
.notice-box code {
  background: #e0f2fe;
  color: #075985;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.notice-danger {
  background: #fef2f2;
  border-color: #fecaca;
  border-left-color: #ef4444;
}
.notice-danger h2, .notice-danger h3 { color: #7f1d1d; }
.notice-danger p { color: #7f1d1d; }

/* ---------- 特性列表（别名 → .feature-list）---------- */
.feature-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0ea5e9;
  font-weight: 800;
}

/* ---------- CTA 条（别名 → 既有 .cta-band 在 wholesale.css）---------- */
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- 表单补充 ---------- */
.form-select { cursor: pointer; }
.form-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  min-height: 88px;
}
.form-textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, .14);
}
.lead-form { margin-top: 6px; }

/* ---------- 通用内页容器 ---------- */
.page-main { display: block; }
.page-main .section { padding: 40px 0; }
.page-main .section-alt { background: #f8fafc; }

/* ---------- 响应式 ---------- */
@media (max-width: 760px) {
  .header-inner { flex-direction: column; padding: 14px 16px; gap: 10px; }
  .header-inner .nav ul { justify-content: center; }
  .page-title { font-size: 23px; }
  .section-title { font-size: 20px; }
  .page-lead { font-size: 15px; }
  .info-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA 条（独立承载，避免依赖 wholesale.css）---------- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(120deg, #0ea5e9, #0369a1);
  border-radius: 20px;
  padding: 34px;
  color: #fff;
  margin: 30px 0;
}
.cta-band h2 { color: #fff; font-size: 22px; margin: 0 0 6px; font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, .9); font-size: 14.5px; margin: 0; line-height: 1.8; }
.cta-band .btn-ghost {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .26); }
@media (max-width: 760px) {
  .cta-band { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .cta-band h2 { font-size: 19px; }
}

/* ---------- 计算器结果面板钩子 ---------- */
.calc-result { position: relative; }
@media (max-width: 900px) {
  .calc-result { order: -1; }
}
