/* vip-page.css - VIP页面专属样式 */
/* 基础变量定义 */
.custom-vip-page {
  --primary: #7c3aed;
  --primary-light: #9f67ff;
  --primary-dark: #6d28d9;
  --secondary: #f59e0b;
  --secondary-light: #fbbf24;
  --secondary-dark: #d97706;
  --success: #10b981;
  --danger: #ef4444;
  --background: #f9fafb;
  --card-bg: #ffffff;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  margin-top: 30px;
  padding: 20px 0;
  font-size: 18px;
  width: 100%;
  box-sizing: border-box;
}

/* 头部横幅样式 */
.custom-vip-page .vip-header {
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 4rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.custom-vip-page .vip-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.custom-vip-page .header-images {
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 100%;
  top: 1.5rem;
  padding: 0 5rem;
  pointer-events: none;
  opacity: 0.7;
}

.custom-vip-page .header-image {
  max-width: 180px;
  height: auto;
}

.custom-vip-page .vip-header h1 {
  font-size: 3.8rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.custom-vip-page .vip-header p {
  font-size: 1.6rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* 套餐容器样式 */
.custom-vip-page .plans-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

.custom-vip-page .plan-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.custom-vip-page .plan-card:hover {
  transform: translateY(-0.375rem);
  box-shadow: var(--shadow-md);
}

.custom-vip-page .recommended-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 0 var(--radius) 0 var(--radius-md);
  font-weight: 600;
  z-index: 1;
}

.custom-vip-page .plan-icon {
  text-align: center;
  margin-bottom: 2.5rem;
}

.custom-vip-page .plan-icon svg {
  width: 6rem;
  height: 6rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.custom-vip-page .plan-price {
  text-align: center;
  margin-bottom: 2.5rem;
}

.custom-vip-page .price-currency {
  font-size: 1.8rem;
  vertical-align: top;
  margin-right: 0.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.custom-vip-page .price-amount {
  font-size: 4.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.custom-vip-page .price-period {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-left: 0.3rem;
}

.custom-vip-page .plan-label {
  text-align: center;
  background: linear-gradient(to right, #f0f4ff, #f9fafb);
  padding: 1rem 1.8rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.custom-vip-page .plan-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
  color: var(--text-primary);
}

.custom-vip-page .plan-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.custom-vip-page .plan-feature {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  color: var(--text-secondary);
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--border-color);
  line-height: 1.8;
}

.custom-vip-page .plan-feature:last-child {
  border-bottom: none;
}

.custom-vip-page .feature-value {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.3rem;
}

.custom-vip-page .feature-check {
  color: var(--success);
  font-size: 1.5rem;
}

/* 子比按钮样式 */
.custom-vip-page .vip-button-wrap {
  width: 100%;
  margin-top: 1rem;
}

.custom-vip-page .float-btn.pay-vip {
  display: block;
  width: 100%;
  padding: 1.5rem 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: white !important;
  border: none;
  border-radius: var(--radius);
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  line-height: 1.5;
}

.custom-vip-page .float-btn.pay-vip:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
  transform: translateY(-2px);
  color: #fff !important;
  text-decoration: none;
}

/* 会员特权样式 */
.custom-vip-page .benefits-section {
  margin-top: 6rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

.custom-vip-page .section-title {
  font-size: 3rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

.custom-vip-page .section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 0.3rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 1rem;
}

.custom-vip-page .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  width: 100%;
  box-sizing: border-box;
}

.custom-vip-page .benefit-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  width: 100%;
  box-sizing: border-box;
}

.custom-vip-page .benefit-card:hover {
  transform: translateY(-0.375rem);
  box-shadow: var(--shadow-md);
}

.custom-vip-page .benefit-icon {
  font-size: 3.8rem;
  margin-bottom: 1.8rem;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.custom-vip-page .benefit-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.custom-vip-page .benefit-description {
  font-size: 1.3rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* FAQ样式 */
.custom-vip-page .faq-section {
  margin-top: 6rem;
  text-align: center;  /* 新增这行，让FAQ标题居中 */
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

.custom-vip-page .faq-container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.custom-vip-page .faq-item {
  margin-bottom: 1.8rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.custom-vip-page .faq-item:hover {
  box-shadow: var(--shadow);
}

.custom-vip-page .faq-question {
  background: var(--card-bg);
  padding: 1.8rem 2.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-size: 1.3rem;
}

.custom-vip-page .faq-question:hover {
  color: var(--primary);
}

.custom-vip-page .faq-question i {
  transition: transform 0.3s ease;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.custom-vip-page .faq-item.active .faq-question {
  color: var(--primary);
}

.custom-vip-page .faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

.custom-vip-page .faq-answer {
  background: linear-gradient(to right, #f9fafb, #ffffff);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.custom-vip-page .faq-answer-content {
  padding: 0 2.5rem;
  color: var(--text-secondary);
  font-size: 1.3rem;
  line-height: 1.8;
}

.custom-vip-page .faq-item.active .faq-answer {
  padding: 1.8rem 2.5rem;
  max-height: 400px;
  border-top: 1px solid var(--border-color);
}

/* 登录提示和底部样式 */
.custom-vip-page .login-prompt {
  text-align: center;
  margin-top: 3rem;
  padding: 1.8rem;
  background: linear-gradient(to right, #f0f9ff, #e0f2fe);
  border-radius: var(--radius);
  font-size: 1.3rem;
  border: 1px solid #bae6fd;
  color: var(--text-secondary);
  line-height: 1.8;
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

.custom-vip-page .login-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 1.3rem;
}

.custom-vip-page .login-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.custom-vip-page .vip-footer {
  margin-top: 6rem;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 1.2rem;
  border-top: 1px solid var(--border-color);
  line-height: 1.8;
  width: 100%;
  box-sizing: border-box;
}

.custom-vip-page .vip-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 1.2rem;
}

.custom-vip-page .vip-footer a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* 响应式设计 - 手机端 (768px及以下) */
@media (max-width: 768px) {
  .custom-vip-page {
    margin-top: 20px;
    padding: 15px 0;
    font-size: 16px;
    padding: 0 15px;
  }
  
  .custom-vip-page .vip-header {
    padding: 3.5rem 1rem;
    margin-bottom: 3rem;
  }
  
  .custom-vip-page .vip-header h1 {
    font-size: 2.8rem;
  }
  
  .custom-vip-page .vip-header p {
    font-size: 1.3rem;
    padding: 0 10px;
  }
  
  .custom-vip-page .header-images {
    display: none;
  }
  
  .custom-vip-page .plans-container {
    grid-template-columns: 1fr !important;
    gap: 1.8rem;
    margin-top: 2rem;
    padding: 0;
  }
  
  .custom-vip-page .plan-card {
    padding: 2.5rem 1.8rem;
  }
  
  .custom-vip-page .benefits-section {
    margin-top: 4rem;
    padding: 0;
  }
  
  .custom-vip-page .section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  
  .custom-vip-page .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: 2rem;
  }
  
  .custom-vip-page .benefit-card {
    padding: 2.5rem 1.8rem;
  }
  
  .custom-vip-page .faq-section {
    margin-top: 4rem;
    padding: 0;
  }
  
  .custom-vip-page .faq-question {
    padding: 1.5rem 1.2rem;
    font-size: 1.1rem;
  }
  
  .custom-vip-page .faq-answer-content {
    padding: 0 1.2rem;
    font-size: 1.1rem;
  }
  
  .custom-vip-page .faq-item.active .faq-answer {
    padding: 1.5rem 1.2rem;
  }
  
  .custom-vip-page .login-prompt {
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
    margin-top: 2.5rem;
  }
  
  .custom-vip-page .vip-footer {
    margin-top: 4rem;
    padding: 2.5rem 1rem;
    font-size: 1.1rem;
  }
}

/* 小屏手机额外适配 (480px及以下) */
@media (max-width: 480px) {
  .custom-vip-page .vip-header h1 {
    font-size: 2.2rem;
  }
  
  .custom-vip-page .vip-header p {
    font-size: 1.1rem;
  }
  
  .custom-vip-page .plan-card {
    padding: 2rem 1.5rem;
  }
  
  .custom-vip-page .benefit-card {
    padding: 2rem 1.5rem;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(10px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.custom-vip-page .plan-card, 
.custom-vip-page .benefit-card, 
.custom-vip-page .faq-item {
  animation: fadeIn 0.5s ease-out forwards;
}

.custom-vip-page .plan-card:nth-child(1) { 
  animation-delay: 0.1s; 
}

.custom-vip-page .plan-card:nth-child(2) { 
  animation-delay: 0.2s; 
}

.custom-vip-page .plan-card:nth-child(3) { 
  animation-delay: 0.3s; 
}

.custom-vip-page .plan-card:nth-child(4) { 
  animation-delay: 0.4s; 
}

.custom-vip-page .benefit-card:nth-child(1) { 
  animation-delay: 0.5s; 
}

.custom-vip-page .benefit-card:nth-child(2) { 
  animation-delay: 0.6s; 
}

.custom-vip-page .benefit-card:nth-child(3) { 
  animation-delay: 0.7s; 
}

.custom-vip-page .benefit-card:nth-child(4) { 
  animation-delay: 0.8s; 
}