/* 会员弹窗样式 - 独立模块 */
.jp-modal-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.jp-modal-content {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 20px 50px rgba(106, 90, 205, 0.3);
  animation: jp-modal-appear 0.4s ease-out forwards;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

@keyframes jp-modal-appear {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jp-modal-header {
  background: linear-gradient(135deg, rgba(106, 90, 205, 0.8), rgba(123, 104, 238, 0.8));
  color: white;
  padding: 25px 30px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.jp-modal-title {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.jp-modal-subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin-top: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.jp-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.jp-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.jp-close-btn i {
  color: white;
  font-size: 18px;
}

.jp-modal-body {
  padding: 30px;
}

.jp-plans-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.jp-plan-card {
  border-radius: 15px;
  padding: 25px 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(106, 90, 205, 0.2);
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.jp-plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(106, 90, 205, 0.15);
  border-color: rgba(106, 90, 205, 0.4);
  background: rgba(255, 255, 255, 0.85);
}

.jp-plan-card.recommended {
  border: 2px solid #7b68ee;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(230, 230, 250, 0.4));
}

.jp-plan-name {
  font-size: 20px;
  font-weight: 600;
  color: #6a5acd;
  margin-bottom: 15px;
}

.jp-plan-price {
  font-size: 32px;
  font-weight: 700;
  color: #6a5acd;
  margin-bottom: 5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.jp-plan-period {
  font-size: 14px;
  color: #7b68ee;
  margin-bottom: 15px;
  font-weight: 500;
}

.jp-plan-savings {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
  position: absolute;
  top: -10px;
  right: 10px;
  box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

.jp-plan-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  font-size: 14px;
}

.jp-plan-features li {
  padding: 8px 0;
  position: relative;
  padding-left: 28px;
  color: #555;
}

.jp-plan-features li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #7b68ee;
  font-size: 16px;
}

.jp-plan-btn {
  display: block;
  width: 100%;
  padding: 14px 15px;
  background: linear-gradient(135deg, #6a5acd, #7b68ee);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 15px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(106, 90, 205, 0.3);
}

.jp-plan-btn:hover {
  background: linear-gradient(135deg, #7b68ee, #9370db);
  box-shadow: 0 6px 15px rgba(123, 104, 238, 0.4);
  transform: translateY(-3px);
}

.jp-plan-btn.trial {
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
}

.jp-plan-btn.trial:hover {
  background: linear-gradient(135deg, #66BB6A, #81C784);
}

.jp-footer-note {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #666;
  padding-top: 20px;
  border-top: 1px solid rgba(106, 90, 205, 0.2);
}

.jp-footer-note a {
  color: #6a5acd;
  text-decoration: none;
  font-weight: 500;
}

.jp-footer-note a:hover {
  text-decoration: underline;
}

.jp-recommended-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7b68ee, #9370db);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(123, 104, 238, 0.3);
}

.jp-price-compare {
  font-size: 13px;
  color: #7b68ee;
  margin-top: 8px;
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .jp-plans-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .jp-modal-body {
    padding: 20px;
  }
  
  .jp-plan-card {
    padding: 20px 10px;
  }
  
  .jp-plan-name {
    font-size: 18px;
  }
  
  .jp-plan-price {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .jp-plans-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .jp-modal-content {
    width: 95%;
  }
  
  .jp-modal-body {
    padding: 15px;
  }
  
  .jp-plan-card {
    padding: 15px 8px;
  }
} 