/* 定价页面布局 */
.pricing {
  padding-top: 100px;
  padding-bottom: 80px;
}

.pricing_header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing_header h1 {
  font-size: 2.5em;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.pricing_header p {
  font-size: 1.2em;
  color: #636e72;
  max-width: 600px;
  margin: 0 auto;
}

.pricing_banner {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 40px;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.pricing_banner h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.pricing_banner p {
  font-size: 1.1em;
  opacity: 0.9;
  margin-bottom: 15px;
}

.pricing_features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 15px 0;
}

.pricing_feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
}

.pricing_feature i {
  color: var(--success-color);
}

.pricing_button {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  margin-top: 15px;
}

.pricing_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background: #f8f9fa;
}

.pricing_button i {
  margin-right: 8px;
}

/* FAQ 部分 */
.pricing_faq {
  margin-top: 80px;
  padding: 60px 0;
  background: white;
}

.faq_header {
  text-align: center;
  margin-bottom: 40px;
}

.faq_header h2 {
  font-size: 2em;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.faq_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.faq_item {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 20px;
}

.faq_item-question {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.faq_item-answer {
  color: #636e72;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .faq_grid {
    grid-template-columns: 1fr;
  }
}

/* 自定义按钮样式 */
.custom-btn {
  padding: 2px 8px; /* 调整内边距 */
  margin: 5px;
  font-size: 15px;
  color: #2897f0;
  background-color: #e6f3fd;
  border: 1px solid #dbe9f6;
}
.custom-btn:hover {
  color: #ffffff;
  background-color: #2897f0;
  border-color: #2897f0;
}

/* 套餐与价格 */
.pricing-section {
  padding: 6rem 0;
  background: #fff;
}

/* 网格布局 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* 卡片 */
.pricing-card {
  padding: 2rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.35s ease;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border-color: #007bff;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #333;
  font-weight: 600;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: #007bff;
  margin: 1rem 0 1.5rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.pricing-card ul li {
  margin: 0.6rem 0;
  color: #555;
  font-size: 0.95rem;
}

/* 按钮组 */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 5px;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 50px;
  border: 1px solid #dbe9f6;
  background: #e6f3fd;
  color: #2897f0;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background: #2897f0;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.btn-download {
  background: #2897f0;
  color: #ffffff;
  padding: 5px 15px;
}

/* 特别推荐 */
.pricing-card.featured {
  border: 2px solid #007bff;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.pricing-card.free .price {
  color: #28a745;
}

/* 响应式 */
@media (max-width: 1199px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  /* 按钮 */
  .btn {
    padding: 0 8px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
