/* 网站建设开发服务详情页（/zh/services/website-development/）专用样式，
   在 service-pages.css 之后加载，只补充套餐卡、信息表与分组标题。 */

.hero-points {
  margin: 0.5rem 0 1.5rem;
  color: #b9bce0;
  font-size: 0.98rem;
}

.plan-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: 2rem;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.plan-featured {
  border-color: rgba(140, 128, 255, 0.6);
  background: linear-gradient(160deg, rgba(59, 68, 246, 0.18), rgba(255, 255, 255, 0.04) 60%);
}

.plan-badge {
  position: absolute;
  top: -0.7rem;
  right: 1.2rem;
  margin: 0;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: #8c80ff;
  color: #0f1118;
  font-size: 0.75rem;
  font-weight: 700;
}

.plan h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.plan-tag {
  margin: 0.25rem 0 0;
  color: #8f93b8;
  font-size: 0.82rem;
}

.plan-price {
  margin: 1rem 0 0.5rem;
  font-size: 0.9rem;
  color: #cfd2f0;
}

.plan-price span {
  margin-right: 0.25rem;
  font-size: 2rem;
  font-weight: 750;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.plan-lead {
  margin: 0 0 1rem;
  color: #c2c5d6;
  font-size: 0.9rem;
}

.plan ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #c9cce6;
  font-size: 0.9rem;
  line-height: 1.9;
}

.plan ul li::marker { color: #8c80ff; }

.info-table {
  width: 100%;
  margin-top: 1.5rem;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.info-table th,
.info-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  color: #9ea3c8;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }

.scope-group { margin-top: 2.25rem; }

.scope-group h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: #e7e9ff;
}

.detail-card h4 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: #ffffff;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.75rem;
}

.staffing-table { min-width: 34rem; }

.staffing-table th:not(:first-child),
.staffing-table td:not(:first-child) { text-align: center; white-space: nowrap; }

.staffing-table td:first-child { white-space: nowrap; }

.staffing-table tbody tr:last-child td {
  border-top: 1px solid rgba(140, 128, 255, 0.35);
  font-weight: 650;
  color: #ffffff;
}

.table-hint {
  margin: 0.75rem 0 0;
  color: #9ea3c8;
  font-size: 0.85rem;
}

/* ===== 套餐选择条 + 规格文字清单（仿猪八戒服务详情页）===== */
.plan-select {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 2rem;
}

.plan-select input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.plan-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.8rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.plan-tab .tab-name {
  font-size: 0.9rem;
  color: #dfe1f5;
}

.plan-tab .tab-price {
  font-size: 0.82rem;
  color: #8c80ff;
  font-weight: 650;
}

.plan-tab:hover { border-color: rgba(140, 128, 255, 0.55); }

.plan-select #plan-tab-0:checked ~ label[for="plan-tab-0"],
.plan-select #plan-tab-1:checked ~ label[for="plan-tab-1"],
.plan-select #plan-tab-2:checked ~ label[for="plan-tab-2"],
.plan-select #plan-tab-3:checked ~ label[for="plan-tab-3"] {
  border-color: #8c80ff;
  background: linear-gradient(160deg, rgba(59, 68, 246, 0.28), rgba(140, 128, 255, 0.12));
}

.plan-panes {
  grid-column: 1 / -1;
  margin-top: 1.25rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.plan-pane { display: none; }

.plan-select #plan-tab-0:checked ~ .plan-panes .plan-pane-0,
.plan-select #plan-tab-1:checked ~ .plan-panes .plan-pane-1,
.plan-select #plan-tab-2:checked ~ .plan-panes .plan-pane-2,
.plan-select #plan-tab-3:checked ~ .plan-panes .plan-pane-3 { display: block; }

.pane-head { border-bottom: 1px solid rgba(255, 255, 255, 0.09); padding-bottom: 1rem; }

.pane-head h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.pane-tag {
  margin: 0.2rem 0 0.6rem;
  color: #9ea3c8;
  font-size: 0.85rem;
}

.pane-price {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: #cfd2f0;
}

.pane-price span {
  margin-right: 0.2rem;
  font-size: 1.7rem;
  font-weight: 750;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.pane-lead {
  margin: 0;
  color: #c2c5d6;
  font-size: 0.9rem;
}

.spec-list { margin: 1rem 0 0; }

.spec-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.spec-row dt {
  margin: 0;
  color: #8a8fb5;
  font-size: 0.85rem;
}

.spec-row dd {
  margin: 0;
  color: #dcdef0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.pane-cta { margin: 1.25rem 0 0; }

@media (max-width: 640px) {
  .plan-select { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-panes { padding: 1.2rem 1rem; }
  .spec-row { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.6rem; }
  .spec-row dt { font-size: 0.8rem; }
  .spec-row dd { font-size: 0.86rem; }
}

.plan-note {
  margin-top: 1.75rem;
  padding: 1.4rem 1.5rem;
  border: 1px dashed rgba(140, 128, 255, 0.5);
  border-radius: 1rem;
  background: rgba(59, 68, 246, 0.08);
}

.plan-note h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: #e7e9ff;
}

.plan-note p {
  margin: 0 0 0.7rem;
  color: #c9cce6;
  font-size: 0.92rem;
  line-height: 1.8;
}

.plan-note p:last-child { margin-bottom: 0; }

.plan-note strong { color: #ffffff; font-weight: 650; }

.prose-block {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 0.5rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.prose-block p {
  margin: 0;
  color: #c9cce6;
  font-size: 0.94rem;
  line-height: 1.85;
}

/* 服务优势 / 服务前需提供的信息：仿参考页的纯文字编号清单 */
.adv-list {
  display: grid;
  gap: 0.5rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.adv-list p {
  margin: 0;
  color: #c9cce6;
  font-size: 0.93rem;
  line-height: 1.85;
}

.adv-list p strong { color: #ffffff; font-weight: 650; }

.adv-list .adv-title {
  margin: 0.5rem 0 0.1rem;
  color: #8c80ff;
  font-size: 0.92rem;
  font-weight: 650;
}

.adv-list .adv-title:first-child { margin-top: 0; }

/* 案例赏析 */
.case-sample {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 2rem;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.85rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.case-meta-item span {
  display: block;
  color: #9295b4;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.case-meta-item strong {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 650;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.chip {
  padding: 0.28rem 0.62rem;
  border: 1px solid rgba(140, 128, 255, 0.4);
  border-radius: 999px;
  background: rgba(140, 128, 255, 0.1);
  color: #cfc9ff;
  font-size: 0.78rem;
  line-height: 1.5;
  white-space: nowrap;
}

.sub-head {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 650;
}

/* 模板 / 定制 对比表 */
.compare-table th:first-child,
.compare-table td:first-child {
  color: #cfd2ea;
  font-weight: 600;
  white-space: nowrap;
  width: 6.5rem;
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-left: 1px solid rgba(140, 128, 255, 0.18);
}

.compare-table td {
  text-align: left;
  white-space: normal;
  line-height: 1.65;
  vertical-align: top;
}

/* 上线推广卡 */
.promo-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* FAQ 结构化内容（仿猪八戒：一行一个 ①②③ 要点）*/
.faq-section details summary { line-height: 1.6; }

.faq-body { margin-top: 0.6rem; }

.faq-body p {
  margin: 0 0 0.55rem;
  color: #c9cce6;
  font-size: 0.9rem;
  line-height: 1.8;
  padding-left: 0.2rem;
}

.faq-body p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .plan-price span { font-size: 1.65rem; }
  .info-table th,
  .info-table td { padding: 0.6rem 0.5rem; }
  .info-table { font-size: 0.86rem; }
}

/* 页脚服务导航（7 个中文服务页共用） */
.footer-services { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: flex-start; }
.footer-services ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-services a { color: inherit; opacity: .78; font-size: 13px; text-decoration: none; }
.footer-services a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 640px) {
  .footer-services ul { flex-direction: column; gap: 6px; }
}
/* 页头「服务」展开菜单（纯 HTML details，无脚本，兼容 CSP） */
.nav-drop { position: relative; display: inline-block; }
.nav-drop summary { list-style: none; cursor: pointer; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after { content: " ▾"; font-size: 11px; opacity: .7; }
.nav-drop ul { position: absolute; right: 0; top: calc(100% + 10px); margin: 0; padding: 8px; min-width: 210px; list-style: none; background: #101728; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.45); z-index: 60; }
.nav-drop ul li a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
.nav-drop ul li a:hover { background: rgba(255,255,255,.07); }
/* 产品 / 场景详情页：相关服务链接列表 */
.service-links {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.service-links li a {
  color: #b3a8ff;
  text-decoration: none;
  font-size: 0.95rem;
}

.service-links li a:hover {
  color: #ffffff;
  text-decoration: underline;
}
