/* iOS 订阅说明页 - 粉红暧昧风格，卡片式方案，渐变色背景 */
.subscription-page {
  min-height: 100vh;
  background: linear-gradient(145deg, #fdf2f8 0%, #fce7f3 25%, #fbcfe8 50%, #f9a8d4 75%, #f472b6 100%);
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.subscription-page .agreement-header h1 {
  font-size: 1.75rem;
  color: #831843;
  margin-bottom: 0.5rem;
}

.subscription-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 2rem;
}

.subscription-intro {
  text-align: center;
  color: #831843;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.subscription-section-title {
  font-size: 1.125rem;
  color: #9d174d;
  margin-bottom: 1rem;
  font-weight: 600;
}

.subscription-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.plan-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(236, 72, 153, 0.25);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(219, 39, 119, 0.1);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(219, 39, 119, 0.2);
}

.plan-card-hot {
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: 0 6px 20px rgba(219, 39, 119, 0.18);
}

.plan-card-hot:hover {
  box-shadow: 0 14px 32px rgba(219, 39, 119, 0.25);
}

.plan-badge {
  position: absolute;
  top: -0.5rem;
  right: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #db2777);
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.4);
}

.plan-card .plan-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #9d174d;
  margin-bottom: 0.5rem;
}

.plan-card .plan-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.plan-card .plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #be185d;
  margin-bottom: 1rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.plan-features li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.85rem;
  line-height: 1.4;
  border-bottom: 1px solid rgba(236, 72, 153, 0.1);
}

.plan-features .feature-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  width: 1.25rem;
  text-align: center;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features .feature-label {
  color: #6b7280;
  flex: 1;
  min-width: 0;
}

.plan-features .feature-value {
  color: #be185d;
  font-weight: 600;
  text-align: right;
}

.subscription-cancel {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(236, 72, 153, 0.15);
  margin-top: 1rem;
  box-shadow: 0 4px 16px rgba(219, 39, 119, 0.06);
}

.subscription-cancel h2 {
  font-size: 1.125rem;
  color: #9d174d;
  margin-bottom: 0.75rem;
}

.subscription-cancel .cancel-intro {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cancel-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.cancel-steps li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1f2937;
  counter-increment: step;
}

.cancel-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  line-height: 1.4rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #db2777);
  border-radius: 50%;
}

.subscription-page .agreement-footer {
  margin-top: 1.5rem;
}

@media (max-width: 480px) {
  .subscription-plans {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .plan-card {
    padding: 1rem;
  }
  .plan-features .feature-label {
    font-size: 0.8rem;
  }
  .plan-features .feature-value {
    font-size: 0.8rem;
  }
}
