/* 价格页面优化样式 */

/* Hero区域 */
.pricing-hero-new {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-hero-new h1 {
  font-size: 48px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.pricing-hero-new > .container > p {
  font-size: 20px;
  color: #64748b;
  margin-bottom: 40px;
}

/* 计费切换 */
.billing-toggle-new {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  background: #f1f5f9;
  border-radius: 12px;
  margin-bottom: 32px;
}

.billing-btn-new {
  padding: 10px 24px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.billing-btn-new.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.save-badge {
  padding: 2px 8px;
  background: #10b981;
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
}

/* 信任标签 */
.trust-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: #64748b;
}

/* 产品导航 */
.product-nav-section {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 48px;
  z-index: 50;
}

.product-nav {
  display: flex;
  gap: 0;
  justify-content: center;
}

.nav-item {
  padding: 16px 24px;
  color: #64748b;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-item:hover {
  color: #0071e3;
}

.nav-item.active {
  color: #0071e3;
  border-bottom-color: #0071e3;
}

/* 价格区域 */
.pricing-section-new {
  padding: 80px 0;
  background: #ffffff;
}

.pricing-section-new.alt-bg {
  background: #f8fafc;
}

.section-header-new {
  text-align: center;
  margin-bottom: 48px;
}

.section-header-new h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-header-new p {
  font-size: 18px;
  color: #64748b;
}

/* 地区选择 */
.region-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.region-tab {
  padding: 10px 20px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.region-tab:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.region-tab.active {
  background: #0071e3;
  border-color: #0071e3;
  color: #ffffff;
}

/* 价格卡片 */
.pricing-cards-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.price-card-new {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.price-card-new:hover {
  border-color: #0071e3;
  box-shadow: 0 8px 24px rgba(0,113,227,0.12);
  transform: translateY(-4px);
}

.price-card-new.featured-new {
  border-color: #0071e3;
  border-width: 2px;
  position: relative;
}

.featured-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0071e3;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
}

.card-header-new {
  margin-bottom: 24px;
}

.card-header-new h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.card-desc-new {
  font-size: 14px;
  color: #64748b;
}

.card-price-new {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
}

.currency {
  font-size: 24px;
  font-weight: 600;
  color: #0f172a;
}

.amount {
  font-size: 48px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 4px;
}

.period {
  font-size: 18px;
  color: #64748b;
}

.price-custom-new {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
}

.card-features-new {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  flex: 1;
}

.card-features-new li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

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

.card-features-new li span {
  color: #64748b;
}

.card-features-new li strong {
  color: #0f172a;
  font-weight: 600;
}

.card-btn-new {
  display: block;
  width: 100%;
  padding: 12px 24px;
  background: #0f172a;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.card-btn-new:hover {
  background: #0071e3;
  transform: translateY(-1px);
}

.price-card-new.featured-new .card-btn-new {
  background: #0071e3;
}

.price-card-new.featured-new .card-btn-new:hover {
  background: #0077ed;
}

/* FAQ */
.faq-section-new {
  padding: 80px 0;
  background: #ffffff;
}

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

.faq-item-new {
  border-bottom: 1px solid #e2e8f0;
}

.faq-q-new {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.faq-q-new:hover {
  color: #0071e3;
}

.faq-q-new svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #64748b;
}

.faq-item-new.active .faq-q-new svg {
  transform: rotate(180deg);
}

.faq-a-new {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item-new.active .faq-a-new {
  max-height: 300px;
}

.faq-a-new p {
  padding-bottom: 24px;
  color: #64748b;
  line-height: 1.7;
}

/* CTA */
.cta-section-new {
  padding: 80px 0;
  background: #f8fafc;
  text-align: center;
}

.cta-section-new h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.cta-section-new p {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 32px;
}

.cta-buttons-new {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.cta-btn-primary {
  padding: 14px 32px;
  background: #0071e3;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cta-btn-primary:hover {
  background: #0077ed;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,113,227,0.3);
}

.cta-btn-secondary {
  padding: 14px 32px;
  background: transparent;
  color: #0f172a;
  text-decoration: none;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cta-btn-secondary:hover {
  border-color: #0f172a;
  transform: translateY(-2px);
}

/* 动画 */
.price-card-new.hiding {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

.price-card-new.hidden {
  display: none;
}

.price-card-new.showing {
  animation: cardFadeIn 0.5s ease forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式 */
@media (max-width: 1024px) {
  .pricing-cards-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-hero-new h1 {
    font-size: 36px;
  }

  .section-header-new h2 {
    font-size: 28px;
  }

  .pricing-cards-new {
    grid-template-columns: 1fr;
  }

  .product-nav {
    overflow-x: auto;
  }

  .cta-buttons-new {
    flex-direction: column;
  }
}
