/* ============================================================
   直快呼官网 - 内页样式（产品/解决方案/案例/价格/关于/新闻/联系）
   ============================================================ */

/* ---------------- 产品页：侧边锚点导航 ---------------- */
.anchor-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.anchor-nav {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 10px;
}
.anchor-nav a {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; border-radius: 9px; font-size: 14px; color: var(--text-2); font-weight: 500;
}
.anchor-nav a .ico { font-size: 16px; color: var(--text-3); }
.anchor-nav a:hover, .anchor-nav a.active { background: var(--primary-light); color: var(--primary); }
.anchor-nav a.active .ico, .anchor-nav a:hover .ico { color: var(--primary); }
.anchor-nav .anchor-title { font-size: 13px; color: var(--text-3); padding: 10px 14px 6px; letter-spacing: 2px; }

/* ---------------- 详情区块 ---------------- */
.detail-block { padding: 56px 0; }
.detail-block + .detail-block { border-top: 1px dashed var(--border); }
.detail-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.detail-flex.reverse .detail-figure { order: 2; }
.detail-figure {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); background: linear-gradient(160deg, #f3f1ff, #ebe9ff);
}
.detail-figure svg { display: block; width: 100%; height: auto; }
.detail-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.detail-kicker .ico { font-size: 17px; }
.detail-flex h2 { font-size: 27px; font-weight: 800; margin-bottom: 12px; }
.detail-flex .detail-desc { color: var(--text-2); margin-bottom: 22px; font-size: 15px; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-3); border: 1px solid var(--border); border-radius: 12px; padding: 15px 16px;
}
.feat-item .ico {
  flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 10px; font-size: 18px;
  background: var(--primary-light); color: var(--primary);
}
.feat-item b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.feat-item span { font-size: 12.5px; color: var(--text-3); line-height: 1.6; display: block; }

/* ---------------- 解决方案：行业卡片 ---------------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ind-card { position: relative; overflow: hidden; }
.ind-card .ind-icon {
  width: 50px; height: 50px; border-radius: 13px; font-size: 24px; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
  background: linear-gradient(135deg, #5a4fe8, #8b85f2);
}
.ind-card:nth-child(3n+2) .ind-icon { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.ind-card:nth-child(3n+3) .ind-icon { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.ind-card h3 { font-size: 18px; margin-bottom: 8px; }
.ind-card p { font-size: 13.5px; color: var(--text-2); margin-bottom: 14px; }
.ind-card .ind-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* 场景方案大块 */
.scene-block { padding: 52px 0; }
.scene-block + .scene-block { border-top: 1px dashed var(--border); }
.scene-flow { display: flex; align-items: stretch; gap: 0; margin: 26px 0 30px; flex-wrap: wrap; }
.scene-step {
  flex: 1; min-width: 150px; position: relative; background: var(--bg-3);
  border: 1px solid var(--border); border-radius: 12px; padding: 18px 16px 16px; margin-right: 34px; margin-bottom: 12px;
}
.scene-step:last-child { margin-right: 0; }
.scene-step::after {
  content: "→"; position: absolute; right: -26px; top: 50%; transform: translateY(-50%);
  color: var(--primary); font-size: 18px; font-weight: 700;
}
.scene-step:last-child::after { display: none; }
.scene-step .step-num {
  display: inline-flex; width: 26px; height: 26px; border-radius: 8px; align-items: center; justify-content: center;
  background: var(--primary-gradient); color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 10px;
}
.scene-step b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.scene-step span { font-size: 12.5px; color: var(--text-3); line-height: 1.6; }
.scene-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.scene-stat { flex: 1; min-width: 180px; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.scene-stat .ico { font-size: 26px; color: var(--primary); }
.scene-stat b { display: block; font-size: 21px; color: var(--primary); }
.scene-stat span { font-size: 13px; color: var(--text-3); }

/* ---------------- 案例页 ---------------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-detail-wrap { padding: 34px 0 70px; }
.case-detail-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.case-detail-head .case-logo { width: 64px; height: 64px; border-radius: 16px; font-size: 26px; }
.case-detail-head h1 { font-size: 26px; }
.case-detail-head .tag { margin-left: 10px; }
.case-sec { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px; margin-bottom: 22px; }
.case-sec h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 16px; }
.case-sec h3 .ico { color: var(--primary); font-size: 20px; }
.case-sec p { font-size: 14.5px; color: var(--text-2); }
.case-sec .num-list { counter-reset: n; }
.case-sec .num-list li { position: relative; padding: 9px 0 9px 40px; font-size: 14.5px; color: var(--text-2); }
.case-sec .num-list li::before {
  counter-increment: n; content: counter(n);
  position: absolute; left: 0; top: 10px; width: 26px; height: 26px; border-radius: 8px;
  background: var(--primary-light); color: var(--primary); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.case-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-result .r-item { background: var(--bg-2); border-radius: 12px; padding: 22px 12px; text-align: center; }
.case-result .r-item b { display: block; font-size: 26px; color: var(--primary); font-weight: 800; margin-bottom: 4px; }
.case-result .r-item span { font-size: 13px; color: var(--text-2); }

/* ---------------- 价格页 ---------------- */
.billing-switch { display: inline-flex; background: var(--bg-2); border-radius: 999px; padding: 5px; gap: 4px; }
.billing-switch button { padding: 9px 26px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.billing-switch button.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.billing-switch .save-tag { margin-left: 6px; font-size: 11px; color: #fff; background: var(--accent); border-radius: 999px; padding: 1px 8px; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1.5px solid var(--border); border-radius: 18px;
  padding: 30px 26px; display: flex; flex-direction: column; transition: all .25s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.hot { border-color: var(--primary); box-shadow: 0 12px 36px rgba(90, 79, 232, .18); }
.price-card .hot-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent-gradient); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 19px; margin-bottom: 4px; }
.price-card .price-sub { font-size: 12.5px; color: var(--text-3); margin-bottom: 18px; }
.price-card .price-num { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-card .price-num b { font-size: 38px; font-weight: 800; color: var(--text); }
.price-card .price-num .unit { font-size: 13px; color: var(--text-3); }
.price-card .price-tip { font-size: 12px; color: var(--text-3); margin-bottom: 20px; min-height: 18px; }
.price-card .price-btn { margin-bottom: 20px; }
.price-card ul { flex: 1; }
.price-card ul li { display: flex; gap: 8px; font-size: 13.5px; color: var(--text-2); padding: 5.5px 0; }
.price-card ul li .ico { color: var(--green); font-size: 16px; margin-top: 3px; flex: none; }
.price-card ul li.no { color: var(--text-3); }
.price-card ul li.no .ico { color: #c9d2e3; }

/* 对比表 */
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: center; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--bg-2); font-size: 14.5px; font-weight: 700; }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; color: var(--text-2); }
.compare-table td:first-child { font-weight: 600; }
.compare-table .col-hot { color: var(--primary); background: #f7f6ff; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .ico { font-size: 17px; }
.compare-table .ok { color: var(--green); }
.compare-table .no { color: #c9d2e3; }

/* ---------------- 关于页 ---------------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: center; }
.about-grid h2 { font-size: 27px; font-weight: 800; margin-bottom: 16px; }
.about-grid p { color: var(--text-2); margin-bottom: 14px; font-size: 15px; }

/* ---------------- 联系页 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.contact-info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 30px; margin-bottom: 18px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; }
.contact-line + .contact-line { border-top: 1px dashed var(--border); }
.contact-line .ico { flex: none; width: 42px; height: 42px; padding: 11px; border-radius: 11px; background: var(--primary-light); color: var(--primary); font-size: 20px; }
.contact-line b { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-line span { font-size: 13.5px; color: var(--text-2); }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 34px 28px; }
.contact-form-card h3 { font-size: 20px; margin-bottom: 6px; }
.contact-form-card .form-sub { font-size: 13px; color: var(--text-3); margin-bottom: 22px; }
.map-box {
  height: 260px; border-radius: var(--radius); border: 1px solid var(--border); margin-top: 26px;
  background: linear-gradient(150deg, #f0efff 0%, #e2defc 55%, #e8f8ee 100%);
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.map-box svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.map-pin-big { position: relative; z-index: 2; text-align: center; color: var(--primary); }
.map-pin-big .ico { font-size: 40px; filter: drop-shadow(0 6px 10px rgba(90,79,232,.35)); }
.map-pin-big b { display: block; font-size: 14px; margin-top: 4px; color: var(--text); }

.branch-table { width: 100%; border-collapse: collapse; background: #fff; }
.branch-table th, .branch-table td { padding: 13px 16px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--border); }
.branch-table th { background: var(--bg-2); font-size: 13.5px; color: var(--text-2); }

/* FAQ */
.faq-wrap { max-width: 860px; margin: 0 auto; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .anchor-layout { grid-template-columns: 1fr; }
  .anchor-nav { position: static; display: flex; overflow-x: auto; padding: 8px; gap: 2px; }
  .anchor-nav .anchor-title { display: none; }
  .anchor-nav a { white-space: nowrap; }
  .detail-flex, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .detail-flex.reverse .detail-figure { order: 0; }
  .ind-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .case-result { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .detail-flex h2, .about-grid h2 { font-size: 22px; }
  .ind-grid, .case-grid, .price-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .scene-step { margin-right: 0; width: 100%; }
  .scene-step::after { display: none; }
}

/* ---------------- 代理合作：表单嵌入 ---------------- */
.embed-card {
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.embed-card iframe { display: block; width: 100%; height: 820px; border: 0; background: #fff; }
@media (max-width: 640px) {
  .embed-card iframe { height: 720px; }
}
