/* ==========================================================================
   PDFW.COM - 价格页面专属设计系统 (Executive Light Aurora Studio)
   ========================================================================== */

/* 页面根作用域与浅色主题基础 */
.pricing-page {
  background-color: #f8fafc;
  color: var(--text-main);
  overflow-x: hidden;
}

/* ==========================================================================
   1. 高端轻奢浅色星云首屏 (Executive Light Aurora Hero)
   ========================================================================== */
.pricing-hero {
  position: relative;
  background: radial-gradient(circle at 50% -10%, #ffffff 0%, #f0f6ff 48%, #eaf2fc 100%);
  padding: 78px 0 88px;
  overflow: hidden;
  text-align: center;
  color: var(--text-main);
  border-bottom: 1px solid #e2e8f0;
}

/* 细腻网格与柔和浅色极光背景层 */
.pricing-hero-bg-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-mesh-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(22, 119, 255, 0.09) 1px, transparent 1px),
    linear-gradient(to right, rgba(22, 119, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 119, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px, 96px 96px, 96px 96px;
  background-position: center top;
  opacity: 0.75;
}

.hero-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-aurora-1 {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.24) 0%, rgba(99, 102, 241, 0.12) 50%, transparent 70%);
}

.hero-aurora-2 {
  top: 10%;
  left: 8%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 65%);
}

.hero-aurora-3 {
  top: 15%;
  right: 8%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 65%);
}

/* 居中核心容器 */
.pricing-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 顶部流光胶囊徽章 (浅色微光质感) */
.pricing-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.08), inset 0 1px 0 #ffffff;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.pricing-pill:hover {
  border-color: #93c5fd;
  background: #f0f7ff;
  box-shadow: 0 6px 18px rgba(22, 119, 255, 0.14);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1677ff;
  box-shadow: 0 0 10px rgba(22, 119, 255, 0.6);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.pill-text {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--primary)
}

/* 首屏核心主标题 */
.pricing-hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 850;
  line-height: 1.28;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin-bottom: 16px;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #1677ff 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 850;
}

.pricing-hero-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  color: #475569;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 30px;
}

/* 场景智能选型交互开关 (Persona Selector - 浅色悬浮质感) */
.pricing-persona-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  margin-bottom: 30px;
}

.persona-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.persona-btn i {
  font-size: 0.95rem;
  transition: transform 0.25s ease;
}

.persona-btn:hover {
  color: #0f172a;
  background: #f8fafc;
}

.persona-btn.active {
  background: linear-gradient(135deg, #1677ff 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.35);
}

.persona-btn.active i {
  transform: scale(1.1);
}

.persona-tag-hot {
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 9999px;
  background: #ef4444;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
}

/* 首屏服务承诺清单 (浅色胶囊徽章) */
.pricing-hero-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.pricing-hero-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.pricing-hero-guarantees span:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.pricing-hero-guarantees i {
  color: #1677ff;
  font-size: 0.92rem;
}

/* 场景联动时卡片的高亮动效 */
.pricing-card.persona-focused {
  transform: translateY(-10px) scale(1.02) !important;
  border-color: #1677ff !important;
  box-shadow: 0 24px 50px -10px rgba(22, 119, 255, 0.28), 0 0 0 2px #1677ff !important;
}


.pricing-section-muted {
  background: #fff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pricing-heading {
  text-align: center;
  margin-bottom: 38px;
}

.pricing-heading h2 {
  font-size: 2rem;
  line-height: 1.3;
  letter-spacing: -.03em;
  margin-top: 20px;
}

.pricing-heading p {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--text-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 510px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(22, 119, 255, .45);
}

.pricing-card.recommended {
  border: 2px solid var(--primary);
  box-shadow: 0 18px 38px rgba(22, 119, 255, .16);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--primary-gradient);
  color: #fff;
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(22, 119, 255, .25);
}

.pricing-plan-name {
  font-size: 1.35rem;
  font-weight: 800;
}

.pricing-plan-desc {
  min-height: 48px;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: .88rem;
  line-height: 1.7;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  margin: 24px 0 5px;
  color: var(--text-main);
}

.pricing-price .currency {
  font-size: 1.25rem;
  font-weight: 700;
}

.pricing-price strong {
  margin-left: 3px;
  font-size: 3.15rem;
  line-height: 1;
  letter-spacing: -.06em;
}

.pricing-price small {
  margin-left: 7px;
  color: var(--text-muted);
  font-size: .86rem;
}

.pricing-daily {
  min-height: 24px;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
}

.pricing-divider {
  height: 1px;
  margin: 23px 0 20px;
  background: var(--border-color);
}

.pricing-feature-title {
  font-size: .86rem;
  font-weight: 700;
  color: var(--text-main);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 15px 0 25px;
  list-style: none;
  color: var(--text-secondary);
  font-size: .87rem;
}

.pricing-features li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.pricing-features i {
  padding-top: 4px;
  color: var(--color-success);
  font-size: .78rem;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-card .btn-outline {
  color: var(--primary);
  border-color: var(--primary-light-border);
}

.pricing-hint {
  margin-top: 11px;
  text-align: center;
  color: var(--text-muted);
  font-size: .73rem;
}

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

.benefit-item {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}

.benefit-item i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.benefit-item h3 {
  margin-top: 15px;
  font-size: 1rem;
}

.benefit-item p {
  margin-top: 7px;
  color: var(--text-secondary);
  font-size: .84rem;
  line-height: 1.7;
}

.pricing-compare {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5edf6;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(30, 64, 100, .08);
}

.pricing-compare table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: center;
}

.pricing-compare th,
.pricing-compare td {
  padding: 13px 30px;
  border-bottom: 1px solid #f1f5f9;
  font-size: .96rem;
}

.pricing-compare th {
  padding-top: 13px;
  padding-bottom: 13px;
  background: var(--primary);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
}

.pricing-compare th+th {
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.pricing-compare td+td {
  border-left: 1px solid #eef2f6;
  color: #27364a;
  font-weight: 500;
}

.pricing-compare th:first-child,
.pricing-compare td:first-child {
  width: 25%;
  text-align: left;
  font-weight: 700;
  color: var(--text-main);
}

.pricing-compare thead th:first-child {
  border-top-left-radius: 23px;
  color: #fff;
}

.pricing-compare thead th:last-child {
  border-top-right-radius: 23px;
}

.pricing-compare thead th.emphasis {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.pricing-compare tr:last-child td {
  border-bottom: 0;
}

.pricing-compare .emphasis {
  color: inherit;
  font-weight: inherit;
  background: transparent;
}

.pricing-compare .check {
  color: var(--primary);
  font-size: 1.15rem;
  line-height: 1;
}

.pricing-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  max-width: 920px;
  margin: 34px auto 0;
  padding: 20px 22px;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  background: var(--color-info-light);
  color: #31547a;
  font-size: .85rem;
  line-height: 1.7;
}

.pricing-note>i {
  padding-top: 4px;
  color: var(--primary);
}

.pricing-faq {
  max-width: 820px;
}

.pricing-faq .faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  text-align: left;
}

@media (max-width: 1080px) {
  .pricing-hero-inner {
    max-width: 860px;
  }

  .pricing-grid {
    gap: 16px;
  }

  .pricing-card {
    padding: 25px 22px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* iPad 竖屏与平板（<= 960px）：卡片单列居中，避免内容挤压 */
@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .pricing-hero {
    padding: 56px 0 64px;
  }

  .pricing-hero-title {
    font-size: 2rem;
  }

  .pricing-hero-subtitle {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }

  .pricing-persona-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    width: 100%;
    max-width: 360px;
  }

  .persona-btn {
    width: 100%;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding: 12px 4px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .persona-btn i {
    display: none;
  }

  .persona-tag-hot {
    padding: 1px 4px;
    font-size: 0.56rem;
  }

  .pricing-hero-guarantees {
    flex-direction: column;
    gap: 10px;
  }

  .pricing-section {
    padding: 48px 0;
  }

  .pricing-heading {
    margin-bottom: 24px;
  }

  .pricing-heading h2 {
    font-size: 1.55rem;
  }

  .pricing-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .pricing-card.recommended {
    margin-top: 14px;
  }

  .pricing-price strong {
    font-size: 2.5rem;
  }

  .pricing-compare table {
    min-width: 600px;
  }

  .pricing-compare th,
  .pricing-compare td {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .pricing-note {
    margin-top: 20px;
    padding: 14px;
  }
}
