/* 套餐价格页专用样式 */
.pkg-page { background: var(--surface); padding-bottom: 64px; }

.pkg-hero {
  padding: 56px 0 48px;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--line-light);
}

.pkg-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.pkg-hero p { color: var(--text-secondary); margin-bottom: 24px; }

.pkg-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pkg-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.pkg-tags i { color: var(--primary); }

.type-switch {
  display: inline-flex;
  list-style: none;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 32px auto 40px;
  box-shadow: var(--shadow-xs);
}

.type-switch li {
  padding: 10px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.type-switch li.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.version-section { padding: 0 0 48px; }

.version-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.version-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.version-card:hover {
  border-color: var(--primary-muted);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.version-card .card-header {
  padding: 20px 22px 0;
  margin-bottom: 0;
}

.version-card .card-header h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.version-card .card-body {
  padding: 16px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.price-text {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.price-text::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
  margin-bottom: 12px;
}

.version-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.version-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.version-btn:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-blue);
}

.version-compare {
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-xs);
}

.version-compare-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.compare-table thead th {
  padding: 14px 12px;
  background: var(--surface);
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--line);
  text-align: center;
}

.compare-table thead th:first-child { text-align: left; }

.compare-table tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-light);
  text-align: center;
  color: var(--text-secondary);
}

.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
}

.compare-table tbody tr:hover td { background: var(--primary-soft); }
.compare-table tbody tr:hover td:first-child { background: var(--primary-muted); }

/* 弹窗 */
.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.modal-header {
  padding: 18px 24px;
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

.modal-body { padding: 24px; }

.service-info {
  padding: 16px 18px;
  background: var(--primary-soft);
  border-radius: var(--radius);
  margin-bottom: 20px;
  border-left: 3px solid var(--primary);
}

.service-title { font-size: 0.875rem; font-weight: 700; margin-bottom: 6px; }
.service-desc { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.6; }

.form-item { margin-bottom: 16px; }
.form-item label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.pay-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

.pay-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s;
}

.pay-item.active, .pay-item:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 12px 0;
}

.agreement a { color: var(--primary); }

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

.submit-btn:hover { background: var(--primary-hover); }
.submit-btn:disabled { background: var(--text-muted) !important; cursor: not-allowed; }

.form-tab { display: none; }
.form-tab.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
  .version-compare { padding: 20px 12px; overflow-x: auto; }
  .compare-table { min-width: 640px; }
}
