/*
 * 产品介绍页样式（claude-pro / cursor-pro / perplexity）
 *
 * 旧站这三页用的是一套独立的迷你模板，配色、圆角、字号都跟站内其余页面
 * 不同（紫 #7c3aed、圆角 12-16px、正文 14px）。这份文件把那套样式原样搬过来，
 * 全部加 pl- 前缀并包在 .pl-page 里，不碰站内共用的 .btn / .product-card /
 * .faq，其他页面不受影响。
 *
 * 顶部导航和底部页脚仍然用站内统一那套，不在这里定义——
 * 旧站的 .header / .footer 有意没有搬。
 */

.pl-page {
  font-size: 14px;
  line-height: 1.7;
  color: #0a0a0a;
  background: #fafafa;
}

/* 旧站正文容器是 900px，比站内的 1200px 窄 */
.pl-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── hero ── */
.pl-hero {
  padding: 64px 0 48px;
  text-align: center;
  background: linear-gradient(180deg, #faf8ff, #fafafa);
}
.pl-hero__badge {
  display: inline-block;
  background: #f3effe;
  color: #7c3aed;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  font-weight: 600;
}
.pl-hero__title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.3;
}
.pl-hero__title span { color: #7c3aed; }
.pl-hero__desc {
  color: #71717a;
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 32px;
}
.pl-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 按钮 ── */
.pl-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.15s;
}
.pl-btn--primary {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: #fff;
}
.pl-btn--primary:hover { transform: translateY(-1px); color: #fff; }
.pl-btn--outline {
  border: 2px solid #e5e7eb;
  color: #0a0a0a;
}
.pl-btn--outline:hover { border-color: #7c3aed; color: #7c3aed; }

/* ── 版块 ── */
.pl-section { padding: 56px 0; }
.pl-section--alt { background: #fff; }
.pl-section__title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: normal;
  line-height: 1.3;
}
.pl-section__title small {
  display: block;
  font-size: 14px;
  color: #a1a1aa;
  font-weight: 400;
  margin-top: 8px;
}

/* ── 优势 ── */
.pl-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pl-feature {
  background: #fff;
  border: 1px solid #ececee;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}
.pl-feature__icon { font-size: 36px; margin-bottom: 12px; }
.pl-feature__title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.pl-feature__desc { font-size: 12px; color: #71717a; }

/* ── 套餐价格 ── */
.pl-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.pl-price-card {
  background: #fff;
  border: 2px solid #ececee;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: all 0.2s;
  position: relative;
}
.pl-price-card:hover { border-color: #c4b5fd; transform: translateY(-2px); }
.pl-price-card--hot { border-color: #7c3aed; }
.pl-price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: #fff;
  font-size: 11px;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 600;
  white-space: nowrap;
}
.pl-price-card__name { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.pl-price-card__price {
  font-size: 36px;
  font-weight: 700;
  color: #7c3aed;
  font-family: "Space Grotesk", sans-serif;
}
.pl-price-card__unit { font-size: 13px; color: #a1a1aa; }
.pl-price-card__features {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  text-align: left;
}
.pl-price-card__features li {
  font-size: 13px;
  color: #52525b;
  padding: 6px 0;
  border-bottom: 1px dashed #f4f4f5;
}
.pl-price-card__features li::before {
  content: "✓ ";
  color: #10b981;
  font-weight: 700;
}
/* 旧站价格卡里的按钮是 width:100%;padding:12px 的行内样式 */
.pl-price-card .pl-btn { width: 100%; padding: 12px; }

/* ── 充值流程 ── */
.pl-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}
.pl-step { text-align: center; }
.pl-step__num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.pl-step__title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.pl-step__desc { font-size: 12px; color: #71717a; }

/* ── 常见问题 ──
   旧站是 JS 切 .is-open 的手写折叠，这里换成原生 <details>：
   无脚本可用、可键盘操作、搜索引擎也能读到答案文本。
   视觉保持一致（+ 号旋转成 ×）。 */
.pl-faq { max-width: 700px; margin: 0 auto; }
.pl-faq__item {
  background: #fff;
  border: 1px solid #ececee;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.pl-faq__q {
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.pl-faq__q::-webkit-details-marker { display: none; }
.pl-faq__q::after {
  content: "+";
  font-size: 20px;
  color: #a1a1aa;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.pl-faq__item[open] .pl-faq__q::after { transform: rotate(45deg); }
.pl-faq__a {
  padding: 0 22px 18px;
  color: #52525b;
  font-size: 13px;
}

/* ── 底部 CTA ── */
.pl-cta {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  margin: 56px 0;
}
.pl-cta__title { color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.pl-cta__desc { color: rgba(255, 255, 255, 0.85); font-size: 15px; margin-bottom: 24px; }
.pl-cta .pl-btn { background: #fff; color: #7c3aed; }
.pl-cta .pl-btn:hover { color: #7c3aed; }

@media (max-width: 768px) {
  .pl-hero__title { font-size: 26px; }
  .pl-features { grid-template-columns: repeat(2, 1fr); }
  .pl-steps { grid-template-columns: 1fr; }
}
