/* ==========================================================================
   产品页通用样式（cloud / dedicated / domain / ssl / sms / trusteeship ...）
   ========================================================================== */

/* 亮点图文行 */
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.feature-box {
  display: flex;
  gap: 18px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-box:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.feature-box .f-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 21px;
}
.feature-box h4 { font-size: 16px; color: var(--ink-900); margin-bottom: 8px; }
.feature-box p { font-size: 14px; line-height: 1.8; color: var(--ink-500); }

/* 参数表 */
.spec-table { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.spec-table table { width: 100%; font-size: 14px; }
.spec-table th,
.spec-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table thead th { background: #f8faff; color: var(--ink-900); font-weight: 600; }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--ink-500); width: 180px; }
.spec-table td { color: var(--ink-700); }

/* 场景 */
.scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.scene-card {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--brand-500);
  transition: transform .2s ease, box-shadow .2s ease;
}
.scene-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.scene-card h4 { font-size: 17px; color: var(--ink-900); margin-bottom: 10px; }
.scene-card p { font-size: 14px; line-height: 1.8; color: var(--ink-500); }

/* 套餐 */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price-card {
  position: relative;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.price-card.hot { border-color: var(--brand-500); box-shadow: 0 14px 34px rgba(37, 99, 235, .16); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}
.price-name { font-size: 17px; font-weight: 600; color: var(--ink-900); }
.price-num {
  margin: 14px 0 6px;
  font-size: 34px;
  font-weight: 700;
  color: var(--brand-600);
  line-height: 1.2;
}
.price-num small { font-size: 15px; font-weight: 400; color: var(--ink-500); }
.price-unit { font-size: 13px; color: var(--ink-300); }
.price-feature { margin: 20px 0 22px; text-align: left; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  font-size: 15px;
  color: var(--ink-900);
  cursor: pointer;
  user-select: none;
}
.faq-q i { color: var(--brand-600); transition: transform .2s ease; }
.faq-item.active .faq-q { color: var(--brand-600); }
.faq-item.active .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 20px; font-size: 14px; line-height: 1.9; color: var(--ink-500); }

/* 流程步骤 */
.step-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step-item { position: relative; text-align: center; padding: 0 12px; }
.step-item .step-dot {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}
.step-item h4 { font-size: 16px; color: var(--ink-900); margin-bottom: 8px; }
.step-item p { font-size: 13px; line-height: 1.7; color: var(--ink-500); }
.step-item::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -9px;
  width: 18px;
  border-top: 2px dashed var(--brand-200);
}
.step-item:last-child::after { display: none; }

@media (max-width: 1080px) {
  .scene-grid,
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-item:nth-child(2)::after { display: none; }
}
@media (max-width: 768px) {
  .feature-row,
  .scene-grid,
  .price-grid { grid-template-columns: minmax(0, 1fr); }
  .step-flow { grid-template-columns: minmax(0, 1fr); }
  .step-item::after { display: none; }
  .spec-table { overflow-x: auto; }
  .spec-table table { min-width: 560px; }
}
