/* ========================================
   通用页面样式
   ======================================== */

/* 页面标题区 */
.page-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 48px 0;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 1.0625rem;
  opacity: 0.85;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb-separator {
  opacity: 0.5;
}

/* 定价表格 */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.pricing-card-featured {
  border: 2px solid #003DA5;
  background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: #003DA5;
  color: #fff;
  padding: 4px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
}

.pricing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
}

.pricing-tag {
  font-size: 0.75rem;
  color: #6b7280;
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 4px;
}

.pricing-price {
  text-align: center;
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: #003DA5;
}

.pricing-card .price-unit {
  font-size: 1rem;
  font-weight: 400;
  color: #6b7280;
}

.pricing-features {
  flex: 1;
  margin-bottom: 24px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.9375rem;
  color: #4b5563;
  border-bottom: 1px dashed #f3f4f6;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .check {
  color: #22c55e;
  font-weight: 700;
  font-size: 1.125rem;
}

.pricing-action {
  margin-top: auto;
}

.pricing-action .btn {
  width: 100%;
}

/* 注意事项 */
.notice-box {
  margin-top: 48px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  padding: 24px;
}

.notice-box h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-box ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.notice-box li {
  font-size: 0.9375rem;
  color: #78350f;
  padding-left: 20px;
  position: relative;
}

.notice-box li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #f59e0b;
}

/* 相关套餐 */
.related-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.related-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.related-info {
  flex: 1;
}

.related-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.related-info p {
  font-size: 0.875rem;
  color: #6b7280;
}

.related-arrow {
  font-size: 1.25rem;
  color: #d1d5db;
  transition: transform 0.2s ease, color 0.2s ease;
}

.related-card:hover .related-arrow {
  transform: translateX(4px);
  color: #003DA5;
}

/* FAQ手风琴 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: #1f2937;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.faq-item summary:hover {
  background-color: #f9fafb;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #9ca3af;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* 区域标签 */
.areas-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tag {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  border-radius: 9999px;
  font-size: 0.9375rem;
  color: #4b5563;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.tag:hover {
  background: #003DA5;
  color: #fff;
  transform: translateY(-2px);
}

/* 对比表格 */
.compare-table {
  overflow-x: auto;
}

.compare-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.compare-table th,
.compare-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.compare-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
  font-size: 0.9375rem;
}

.compare-table td {
  color: #6b7280;
  font-size: 0.9375rem;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table td.highlight {
  color: #003DA5;
  font-weight: 600;
}