/* 
 * 文件名: membership.css
 * 功能说明: GROK 4.1 会员体系页面专用样式 - Dark Tech Design
 * 更新日期: 2024-12-31
 */

/* 会员页面标题区域 */
.membership-hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 背景光效 */
.membership-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.membership-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.membership-hero .hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.feature-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.highlight-icon {
  font-size: 1.25rem;
}

/* 会员套餐区域 */
.membership-plans {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.plans-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

/* 套餐卡片 */
.plan-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.plan-card:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* 推荐标记 */
.plan-card.popular {
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.plan-card.popular:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--gradient-secondary);
  color: white;
  padding: 6px 40px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 套餐头部 */
.plan-header {
  text-align: center;
  padding: 3rem 2rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
}

.plan-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.plan-header h3 {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.plan-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* 价格显示 */
.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-right: 0.2rem;
}

.amount {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.period {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-left: 0.2rem;
}

.plan-price-cny {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.currency-cny {
  font-size: 1rem;
  color: var(--accent-primary);
  margin-right: 0.2rem;
}

.amount-cny {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.period-cny {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-left: 0.4rem;
}

/* 套餐功能列表 */
.plan-features {
  padding: 2.5rem 2rem;
}

.plan-features h4 {
  color: var(--text-primary);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-weight: 600;
  opacity: 0.8;
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.check {
  color: var(--accent-secondary);
  font-weight: bold;
  margin-right: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
}

.limitations {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.limitations li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.limitations li:last-child {
  margin-bottom: 0;
}

/* 按钮样式 */
.plan-action {
  padding: 0 2rem 3rem;
  text-align: center;
}

.plan-button {
  width: 100%;
  padding: 1.2rem;
  border: none;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.grok4-btn {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.grok4-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.grok4-heavy-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.grok4-heavy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.plan-note {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.7;
}

/* 会员权益区域 */
.membership-benefits {
  padding: 8rem 0;
  position: relative;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.benefit-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: left;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.benefit-card:hover {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.benefit-card h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.benefit-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-item {
  color: var(--text-primary);
  padding: 0.5rem 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  margin-right: 10px;
}

/* 对比表格 */
.upgrade-comparison {
  padding: 5rem 0;
}

.comparison-table {
  background: rgba(30, 41, 59, 0.4);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  backdrop-filter: blur(10px);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-primary);
  padding: 2rem 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table td {
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
  padding-left: 2rem;
}

.available {
  color: var(--accent-secondary);
  font-weight: bold;
  font-size: 1.2rem;
}

.unavailable {
  color: #ef4444;
  font-weight: bold;
  font-size: 1.2rem;
  opacity: 0.5;
}

/* FAQ区域 */
.membership-faq {
  padding: 8rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
}

.faq-question h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin: 0;
  flex: 1;
  font-weight: 500;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
  padding: 1.5rem 2rem;
  max-height: 1000px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.faq-answer ul {
  color: var(--text-secondary);
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

/* 立即加入区域 */
.join-membership {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(30, 41, 59, 0.5) 100%);
}

.join-content {
  max-width: 800px;
  margin: 0 auto;
}

.join-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.join-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 4rem;
}

.join-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
}

.join-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.primary-button {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.join-guarantee {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: var(--text-secondary);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .membership-hero {
    padding: 120px 0 60px;
  }
  
  .membership-hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .join-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  
  .join-actions {
    flex-direction: column;
  }
  
  .comparison-table {
    overflow-x: auto;
  }
  
  .comparison-table table {
    min-width: 800px;
  }
}
