/* 产品卡片整体样式 */
/*
 * pricing.css - 产品报价页面样式
 * 包含仅用于产品报价页面的样式定义
 */

/* 产品卡片基础样式 */
.product-card {
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px auto;
  text-align: center;
  font-family: Arial, sans-serif;
  background: white;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* 产品卡片悬停效果 */
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 版本名称样式 */
.version {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

/* 版本说明样式 */
.description {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 价格样式 */
.price {
  font-size: 20px;
  font-weight: bold;
  color: #e74c3c;
  margin-bottom: 20px;
}

/* 整体表格样式 */
.comparison-table {
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  width: 100%;
  margin-top: 30px;
}

/* 表格头部样式 */
.table-header {
  display: flex;
  background-color: #f0f0f0;
  font-weight: bold;
}

/* 头部单元格样式 */
.header-cell {
  flex: 1;
  padding: 12px 5px;
  text-align: center;
  border-right: 1px solid #ccc;
}

/* 移除最后一个头部单元格的右边框 */
.header-cell:last-child {
  border-right: none;
}

/* 表格行样式 */
.table-row {
  display: flex;
  border-top: 1px solid #ccc;
  background-color: #fff;
  transition: background-color 0.2s;
}

/* 表格行悬停效果 */
.table-row:hover {
  background-color: #f9f9f9;
}

/* 单元格样式 */
.cell {
  flex: 1;
  padding: 12px 5px;
  text-align: center;
  border-right: 1px solid #ccc;
  line-height: 100%;
}

/* 第一个单元格特殊样式 */
.cell:first-child {
  line-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* 移除最后一个单元格的右边框 */
.cell:last-child {
  border-right: none;
}

/* 单元格内多行内容样式 */
.cell > .row {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin: 4px 0;
}

/* 单元格内第一行样式 */
.cell .row:first-child {
  font-weight: bold;
  font-size: 22px;
  color: red;
}

/* 单元格内最后一行样式 */
.cell .row:last-child {
  font-weight: bold;
}

/* 支持状态样式 */
.cell .support {
  color: green !important;
}

/* 不支持状态样式 */
.noSupport {
  color: red !important;
}

/* 有限支持状态样式 */
.limited {
  color: orange !important;
}

/* 无限支持状态样式 */
.unlimited {
  color: green !important;
}

/* 响应式调整 - 中等屏幕 */
@media (max-width: 992px) {
  .product-card {
    width: 250px;
  }
}

/* 响应式调整 - 平板屏幕 */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .product-card {
    width: 100%;
    max-width: 300px;
  }

  /* 表格响应式调整 */
  .comparison-table {
    font-size: 14px;
  }

  .header-cell, .cell {
    padding: 8px 3px;
  }

  .cell .row:first-child {
    font-size: 18px;
  }
}

/* 响应式调整 - 手机屏幕 */
@media (max-width: 576px) {
  .header-cell, .cell {
    padding: 6px 2px;
    font-size: 12px;
  }

  .description {
    height: auto;
    min-height: 80px;
  }
}