/* ==========================================================================
   app-detail.css — app.html「服务详解」区块卡片化重排
   类名以 pxd- 前缀，仅作用于该区块，不影响其它页面 / 其它样式。
   纯 CSS，无 jQuery、无外部依赖。
   ========================================================================== */
.pxd-detail {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}
.pxd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.pxd-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6eef3;
  border-radius: 16px;
  padding: 36px 34px;
  box-shadow: 0 12px 30px rgba(30, 103, 136, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pxd-card::before {  /* 顶部品牌渐变条，hover 时展开 */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7cb4cf 0%, #1e6788 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.pxd-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(30, 103, 136, .16);
  border-color: #cfe1ea;
}
.pxd-card:hover::before { transform: scaleX(1); }

.pxd-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.pxd-ico {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #1e6788;
  background: linear-gradient(135deg, rgba(124, 180, 207, .18), rgba(30, 103, 136, .14));
}
.pxd-ico svg { width: 28px; height: 28px; }
.pxd-card h4 {
  margin: 0;
  font-family: "Rajdhani", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #0f2733;
}
.pxd-card p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #5b6b73;
}
.pxd-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pxd-chip {
  font-size: 13px;
  color: #1e6788;
  background: #eef5f9;
  border: 1px solid #dbe9f1;
  border-radius: 999px;
  padding: 6px 14px;
  line-height: 1.2;
}

@media (max-width: 820px) {
  .pxd-grid { grid-template-columns: 1fr; gap: 20px; }
  .pxd-card { padding: 28px 24px; }
}

/* ========================= 行业解决方案（CSS-only 交互标签） ========================= */
.pxd-ind-section { background: #f3f8fb; }
.pxd-ind { max-width: 1100px; margin: 0 auto; }

/* 隐藏的单选按钮：视觉隐藏但保留键盘可达 */
.pxd-ind-radio { position: absolute; left: -9999px; width: 1px; height: 1px; }

.pxd-ind-wrap {
  display: grid;
  grid-template-columns: 290px 1fr;
  background: #fff;
  border: 1px solid #e6eef3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(30, 103, 136, .10);
}

/* 左侧菜单 */
.pxd-ind-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: #f7fbfd;
  border-right: 1px solid #e6eef3;
}
.pxd-ind-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-family: "Rajdhani", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #0f2733;
  transition: background-color .2s ease, color .2s ease;
}
.pxd-ind-tab svg { width: 22px; height: 22px; color: #1e6788; flex: 0 0 auto; transition: color .2s ease; }
.pxd-ind-tab .pxd-ind-arrow { margin-left: auto; width: 18px; height: 18px; opacity: 0; transition: opacity .2s ease; }
.pxd-ind-tab:hover { background: #eaf3f8; }

/* 右侧面板 */
.pxd-ind-panels { padding: 48px 52px; }
.pxd-ind-panel { display: none; animation: pxd-fade .35s ease; }
.pxd-ind-num {
  font-family: "Rajdhani", sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #7cb4cf 0%, #1e6788 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pxd-ind-panel h3 {
  margin: 0 0 16px;
  font-family: "Rajdhani", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: #0f2733;
}
.pxd-ind-panel p {
  margin: 0 0 26px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.85;
  color: #5b6b73;
}
@keyframes pxd-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 选中：显示对应面板 */
#ind-1:checked ~ .pxd-ind-wrap .pxd-ind-panel--1,
#ind-2:checked ~ .pxd-ind-wrap .pxd-ind-panel--2,
#ind-3:checked ~ .pxd-ind-wrap .pxd-ind-panel--3,
#ind-4:checked ~ .pxd-ind-wrap .pxd-ind-panel--4,
#ind-5:checked ~ .pxd-ind-wrap .pxd-ind-panel--5,
#ind-6:checked ~ .pxd-ind-wrap .pxd-ind-panel--6,
#ind-7:checked ~ .pxd-ind-wrap .pxd-ind-panel--7 { display: block; }

/* 选中：高亮对应标签 */
#ind-1:checked ~ .pxd-ind-wrap label[for="ind-1"],
#ind-2:checked ~ .pxd-ind-wrap label[for="ind-2"],
#ind-3:checked ~ .pxd-ind-wrap label[for="ind-3"],
#ind-4:checked ~ .pxd-ind-wrap label[for="ind-4"],
#ind-5:checked ~ .pxd-ind-wrap label[for="ind-5"],
#ind-6:checked ~ .pxd-ind-wrap label[for="ind-6"],
#ind-7:checked ~ .pxd-ind-wrap label[for="ind-7"] {
  background: linear-gradient(90deg, #7cb4cf 0%, #1e6788 100%);
  color: #fff;
}
#ind-1:checked ~ .pxd-ind-wrap label[for="ind-1"] svg,
#ind-2:checked ~ .pxd-ind-wrap label[for="ind-2"] svg,
#ind-3:checked ~ .pxd-ind-wrap label[for="ind-3"] svg,
#ind-4:checked ~ .pxd-ind-wrap label[for="ind-4"] svg,
#ind-5:checked ~ .pxd-ind-wrap label[for="ind-5"] svg,
#ind-6:checked ~ .pxd-ind-wrap label[for="ind-6"] svg,
#ind-7:checked ~ .pxd-ind-wrap label[for="ind-7"] svg { color: #fff; }
#ind-1:checked ~ .pxd-ind-wrap label[for="ind-1"] .pxd-ind-arrow,
#ind-2:checked ~ .pxd-ind-wrap label[for="ind-2"] .pxd-ind-arrow,
#ind-3:checked ~ .pxd-ind-wrap label[for="ind-3"] .pxd-ind-arrow,
#ind-4:checked ~ .pxd-ind-wrap label[for="ind-4"] .pxd-ind-arrow,
#ind-5:checked ~ .pxd-ind-wrap label[for="ind-5"] .pxd-ind-arrow,
#ind-6:checked ~ .pxd-ind-wrap label[for="ind-6"] .pxd-ind-arrow,
#ind-7:checked ~ .pxd-ind-wrap label[for="ind-7"] .pxd-ind-arrow { opacity: 1; }

/* 键盘焦点可见 */
#ind-1:focus-visible ~ .pxd-ind-wrap label[for="ind-1"],
#ind-2:focus-visible ~ .pxd-ind-wrap label[for="ind-2"],
#ind-3:focus-visible ~ .pxd-ind-wrap label[for="ind-3"],
#ind-4:focus-visible ~ .pxd-ind-wrap label[for="ind-4"],
#ind-5:focus-visible ~ .pxd-ind-wrap label[for="ind-5"],
#ind-6:focus-visible ~ .pxd-ind-wrap label[for="ind-6"],
#ind-7:focus-visible ~ .pxd-ind-wrap label[for="ind-7"] {
  outline: 3px solid #1e6788;
  outline-offset: -3px;
}

@media (max-width: 820px) {
  .pxd-ind-wrap { grid-template-columns: 1fr; }
  .pxd-ind-menu {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid #e6eef3;
  }
  .pxd-ind-tab { white-space: nowrap; padding: 12px 16px; font-size: 15px; }
  .pxd-ind-tab .pxd-ind-arrow { display: none; }
  .pxd-ind-panels { padding: 32px 24px; }
  .pxd-ind-num { font-size: 48px; }
  .pxd-ind-panel h3 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .pxd-card, .pxd-card::before,
  .pxd-ind-tab, .pxd-ind-tab svg, .pxd-ind-arrow { transition: none; }
  .pxd-ind-panel { animation: none; }
}
