/* ==========================================================================
   智飞云培官网 - 价格套餐专属样式 (浅色商务风格)
   ========================================================================== */

.page-hero {
  padding: 130px 0 64px;
  background: var(--navy);
  color: #ffffff;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.page-hero p {
  font-size: 17px;
  color: #c7d2fe;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* 价格卡片矩阵 */
.pricing-section {
  padding: 72px 0 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: #c7d2fe;
  box-shadow: var(--shadow-hover);
}

.price-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 14px 36px rgba(79, 70, 229, 0.12);
}

.popular-badge {
  position: absolute;
  top: -13px;
  right: 20px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.price-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.plan-desc {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 18px;
  min-height: 38px;
}

.price-amount {
  font-size: 32px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.price-amount small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 12px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #475569;
}

.price-features li.disabled {
  color: #94a3b8;
  text-decoration: line-through;
}

.check {
  color: var(--success);
  font-weight: 900;
}

.cross {
  color: #cbd5e1;
}

.price-card .btn {
  width: 100%;
}

/* 全功能比对矩阵表格 */
.comparison-section {
  padding: 40px 0 88px;
}

.table-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.compare-table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--ink);
}

.compare-table tr:hover td {
  background: #fafbff;
}

.compare-table .col-feature {
  width: 32%;
  font-weight: 600;
  color: #334155;
}

.compare-table .col-plan {
  width: 17%;
  text-align: center;
  color: #475569;
}

.compare-table th.col-plan {
  text-align: center;
}

.compare-table .category-header td {
  background: var(--soft);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.table-check {
  color: var(--success);
  font-weight: 900;
  font-size: 16px;
}

.table-cross {
  color: #cbd5e1;
  font-size: 15px;
}

@media (max-width: 1020px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .page-hero {
    padding: 110px 0 50px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
    font-size: 13px;
  }
}
