/* ==========================================================================
   套餐选择弹窗（commercial-ui.js 的计费中心套餐选择器）
   原先寄存在 public-home.css 里，宣传页重做后单独拆出，外观保持不变。
   ========================================================================== */

.ph-btn {
  border: 0;
  border-radius: var(--radius-btn);
  min-height: 38px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ph-btn:hover {
  transform: translateY(-1px);
}

.ph-btn--ghost {
  background: #fff;
  border: 1px solid #e4e4e7;
  color: #3f3f46;
}

.ph-btn--ghost:hover {
  border-color: rgba(37, 99, 235, 0.3);
  color: #1d4ed8;
}

.ph-btn--solid {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.ph-btn--solid:hover {
  background: #1d4ed8;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.36);
}

.phx-pricing-seg {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 4px;
  gap: 2px;
  border-radius: var(--radius-btn);
  background: #ececef;
  border: 1px solid #e4e4e7;
}

.phx-pricing-seg__btn {
  border: 0;
  background: transparent;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  color: #52525b;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.phx-pricing-seg__btn:hover {
  color: #18181b;
}

.phx-pricing-seg__btn[aria-selected="true"] {
  background: #fff;
  color: #0a0a0a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.phx-pricing-panels {
  width: 100%;
}

.phx-pricing-panel[hidden] {
  display: none !important;
}

.phx-eplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  width: 100%;
  text-align: left;
}

.phx-eplan-grid--solo {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin: 0 auto;
}

.phx-eplan {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 26px 22px 24px;
  border-radius: 18px;
  border: 1px solid #e4e4e7;
  background: #fff;
  min-height: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.phx-eplan:hover {
  border-color: #c4c4cc;
}

.phx-eplan--ghost {
  background: #fafafa;
  border-style: dashed;
  border-color: #d4d4d8;
}

.phx-eplan--ghost .phx-eplan__mark {
  color: #a1a1aa;
}

.phx-eplan__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  margin-bottom: 8px;
  color: #0a0a0a;
}

.phx-eplan__svg {
  width: 56px;
  height: auto;
  display: block;
}

.phx-eplan__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #71717a;
}

.phx-eplan__title {
  margin: 0 0 10px;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #0a0a0a;
}

.phx-eplan__lede {
  margin: 0 0 14px;
  flex: 1;
  font-size: 13.5px;
  line-height: 1.65;
  color: #52525b;
}

.phx-eplan__price {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  margin-bottom: 6px;
}

.phx-eplan__price-note {
  font-size: 15px;
  font-weight: 600;
  color: #71717a;
}

.phx-eplan__meta {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.55;
  color: #a1a1aa;
}

.phx-eplan__cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 4px;
}

.phx-eplan__rule {
  height: 1px;
  background: #f4f4f5;
  margin: 18px 0 14px;
  border: 0;
  padding: 0;
}

.phx-eplan__checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.phx-eplan__checks li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.55;
  color: #3f3f46;
}

.phx-eplan__checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  background: no-repeat center / 12px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23a1a1aa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3 3 7-8'/%3E%3C/svg%3E");
}

.phx-eplan__checks--muted li {
  color: #71717a;
}

@media (max-width: 980px) {
  .phx-eplan-grid {
    grid-template-columns: 1fr;
  }
}

.phx-eplan--featured {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px #2563eb, 0 16px 40px rgba(37, 99, 235, 0.1);
}

.phx-eplan--featured:hover {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 1px #1d4ed8, 0 20px 48px rgba(37, 99, 235, 0.14);
}
