.subscription-section {
  padding: 60px 0;
  background: #f8f9fa;
  margin-top: 70px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.section-description {
  color: #666;
  font-size: 1.1rem;
}

.subscription-group {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.subscription-group h2 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.subscription-group p {
  color: #666;
  text-align: center;
  margin-bottom: 2rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.plan-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.plan-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.plan-header h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.plan-price {
  color: #ff2442;
}

.plan-price .amount {
  font-size: 2.5rem;
  font-weight: bold;
}

.plan-price .duration {
  color: #666;
  font-size: 1rem;
}

.plan-features {
  margin-bottom: 24px;
}

.plan-features ul {
  list-style: none;
  padding: 0;
}

.plan-features li {
  padding: 8px 0;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features i {
  color: #52c41a;
}

.plan-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subscribe-btn {
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.subscribe-btn.paypal {
  background: #0070ba;
  color: white;
}

.subscribe-btn.paypal:hover {
  background: #005ea6;
}

.subscribe-btn.wechat {
  background: #07c160;
  color: white;
}

.subscribe-btn.wechat:hover {
  background: #06ad56;
}

/* 模态框样式 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  text-align: center;
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.close {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  transition: color 0.3s;
}

.close:hover {
  color: #333;
}

.qrcode-container {
  margin-top: 20px;
  padding: 20px;
}

.qrcode-container img {
  max-width: 200px;
  margin-bottom: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.qrcode-container p {
  color: #666;
  line-height: 1.5;
  margin-top: 16px;
  padding: 0 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .subscription-section {
    padding: 40px 0;
  }

  .section-header h1 {
    font-size: 2rem;
  }

  .subscription-group h2 {
    font-size: 1.5rem;
  }

  .plan-card {
    padding: 20px;
  }

  .plan-price .amount {
    font-size: 2rem;
  }
} 