/* ========================================
   Vip CSS - SheetNext 会员页样式
   适配首页晨间简约风格
======================================== */

.vip {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(238, 240, 242, 0.3) 35%, rgba(238, 240, 242, 0.8) 100%);
}

.vip-hero {
  padding: 36px 0 30px;
  position: relative;
  overflow: hidden;
}

.vip-hero .hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(55, 53, 47, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 53, 47, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 75%);
  pointer-events: none;
}

.vip-hero-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.vip-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 4px 14px;
  background: rgba(35, 131, 226, 0.08);
  border-radius: 999px;
}

.vip-hero-badge i {
  font-size: 14px;
}

.vip-hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -0.025em;
  color: var(--color-text);
}

.vip-hero-subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  max-width: 680px;
  margin-bottom: 4px;
  line-height: 1.6;
}

.vip-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.vip-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.vip-hero-cta .btn i {
  font-size: 16px;
}

.vip-plans {
  position: relative;
  background: var(--color-bg-white);
  border-top: 1px solid rgba(35, 131, 226, 0.12);
  border-bottom: 1px solid rgba(35, 131, 226, 0.12);
}

.vip-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.vip-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 24px 22px 22px;
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(35, 131, 226, 0.14);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.vip-plan-grid .vip-plan-card.scroll-reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: opacity, transform;
}

.vip-plan-grid .vip-plan-card.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.vip-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12), 0 0 18px rgba(35, 131, 226, 0.08);
}

.vip-plan-card[data-tier="month"],
.vip-plan-card[data-tier="year"] {
  border-color: rgba(35, 131, 226, 0.2);
}

.vip-plan-card[data-tier="year"] {
  box-shadow: 0 14px 32px rgba(35, 131, 226, 0.12);
}

.vip-plan-card[data-tier="year"]:hover {
  border-color: rgba(35, 131, 226, 0.34);
}

.vip-plan-card[data-tier="enterprise"] {
  border-color: rgba(16, 185, 129, 0.22);
}

.vip-plan-card[data-tier="enterprise"]:hover {
  border-color: rgba(16, 185, 129, 0.36);
}

.vip-plan-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: linear-gradient(135deg, #2383e2 0%, #1f6fbe 100%);
}

.vip-plan-card[data-tier="year"] .vip-plan-tag {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.vip-plan-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vip-plan-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.vip-plan-card[data-tier="free"] .vip-plan-icon {
  background: rgba(107, 114, 128, 0.12);
  color: #4b5563;
}

.vip-plan-card[data-tier="month"] .vip-plan-icon {
  background: rgba(35, 131, 226, 0.12);
  color: #2383e2;
}

.vip-plan-card[data-tier="year"] .vip-plan-icon {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}

.vip-plan-card[data-tier="enterprise"] .vip-plan-icon {
  background: rgba(16, 185, 129, 0.13);
  color: #0f9b6d;
}

.vip-plan-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.vip-plan-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-top: 2px;
}

.vip-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 46px;
}

.vip-price-main {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.vip-price-sub {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.vip-price-sub s {
  margin-right: 4px;
}

.vip-price-contact .vip-price-main {
  font-size: 30px;
}

.vip-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  flex: 1;
}

.vip-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.55;
}

.vip-benefits li i {
  color: #10b981;
  font-size: 16px;
  line-height: 1.4;
  flex-shrink: 0;
}

.vip-btn {
  width: 100%;
  margin-top: auto;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 16px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  transition: all 0.25s ease;
}

.vip-btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.vip-btn-primary:hover {
  background: var(--color-primary-hover);
  color: #ffffff;
}

.vip-plan-card[data-tier="month"] .vip-btn-primary {
  background: linear-gradient(135deg, #2383e2 0%, #1d6fc0 100%);
}

.vip-plan-card[data-tier="month"] .vip-btn-primary:hover {
  background: linear-gradient(135deg, #1f77d1 0%, #165ea4 100%);
}

.vip-plan-card[data-tier="year"] .vip-btn-primary {
  background: linear-gradient(135deg, #5b8dff 0%, #3b6ee6 100%);
}

.vip-plan-card[data-tier="year"] .vip-btn-primary:hover {
  background: linear-gradient(135deg, #4d7dea 0%, #2f60d8 100%);
}

.vip-btn-enterprise {
  background: linear-gradient(135deg, #10b981 0%, #0f9b6d 100%);
  color: #ffffff;
}

.vip-btn-enterprise:hover {
  background: linear-gradient(135deg, #0ea674 0%, #0b845b 100%);
  color: #ffffff;
}

.vip-btn-disabled,
.vip-btn-disabled:hover {
  background: rgba(55, 53, 47, 0.08);
  border-color: transparent;
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.vip-notice-section {
  padding: 42px 0;
}

.vip-notice-card {
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(35, 131, 226, 0.16);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  padding: 26px;
}

.vip-notice-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.vip-notice-title i {
  font-size: 22px;
  color: var(--color-primary);
}

.vip-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.vip-faq-item {
  background: #ffffff;
  border: 1px solid rgba(35, 131, 226, 0.16);
  border-radius: 12px;
  padding: 16px 16px 15px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.vip-faq-q {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.vip-faq-q span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(35, 131, 226, 0.12);
}

.vip-faq-a {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.62;
}

.vip-pay-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vip-pay-modal.active {
  display: flex;
}

.vip-pay-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
}

.vip-pay-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100% - 32px));
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(55, 53, 47, 0.12);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
  padding: 28px 24px 24px;
  text-align: center;
}

.vip-pay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(55, 53, 47, 0.08);
  color: var(--color-text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.vip-pay-close:hover {
  background: rgba(55, 53, 47, 0.16);
  color: var(--color-text);
}

.vip-pay-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.vip-pay-tip {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.55;
}

.vip-pay-code {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(55, 53, 47, 0.14);
  background: #ffffff;
  margin: 16px auto;
  display: block;
}

.vip-pay-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: #0f9b6d;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 999px;
  padding: 7px 12px;
}

.vip-pay-channel i {
  font-size: 18px;
}

@media (max-width: 1200px) {
  .vip-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .vip-hero {
    padding-top: 40px;
  }

  .vip-hero-cta {
    gap: 10px;
  }

  .vip-hero-cta .btn {
    width: 100%;
  }

  .vip-plan-grid {
    grid-template-columns: 1fr;
  }

  .vip-notice-card {
    padding: 20px;
  }

  .vip-faq-list {
    grid-template-columns: 1fr;
  }
}
