/* ============================================================
   子页面通用样式 — pages.css v2.0
   产品页 / 关于页 / 联系页 共用
   ============================================================ */

/* ── 快速跳转导航 ──────────────────────────────────────────── */
.hero-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.jump-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-xs);
}

.jump-chip:hover {
  border-color: var(--brand-light);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ── 产品详情块 ────────────────────────────────────────────── */
.product-block {
  padding: 28px 0;
}

.product-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.product-block-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.pb-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.pb-icon.blue  { background: var(--brand-soft); }
.pb-icon.green { background: var(--green-soft); }
.pb-icon.sky   { background: var(--sky-soft); }

/* 真实图片图标变体 */
.pb-icon--img {
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  padding: 0;
  overflow: hidden;
}

/* 亮点数据条 */
.pb-highlights {
  display: flex;
  gap: 0;
  margin: 0 0 28px;
  padding-left: 88px; /* 与 icon 对齐 */
  flex-wrap: wrap;
}

.pb-highlight-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 32px 14px 0;
  margin-right: 32px;
  border-right: 1px solid var(--line);
}

.pb-highlight-item:last-child {
  border-right: none;
  margin-right: 0;
}

.pb-hl-num {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1;
  letter-spacing: -.03em;
}

.pb-hl-num span {
  font-size: .6em;
  font-weight: 700;
  color: var(--brand);
}

.pb-hl-label {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ── 产品截图展示 ──────────────────────────────────────────── */
.pb-screenshots {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.pb-screenshots h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.pb-screenshots-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 600px;
}

/* 视频播放器 */
.ps-video-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0B1628;
  border: 1.5px solid var(--line);
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.ps-video {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  background: #0B1628;
}

/* 截图画廊 */
.ps-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.ps-gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: var(--bg-subtle);
  transition: all var(--dur) var(--ease);
  aspect-ratio: 9 / 16;
}

.ps-gallery-item:hover {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.ps-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 手机截图画廊 — 大图展示模式 */
.ps-gallery--phone {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ps-gallery--phone .ps-gallery-item {
  aspect-ratio: 3 / 5;
}

.ps-gallery--phone .ps-gallery-item img {
  object-fit: contain;
  background: var(--bg-muted);
}

/* 试用入口 */
.ps-cta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.pb-meta { flex: 1; }

.pb-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.pb-meta h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}

.pb-sub {
  font-size: 15px;
  color: var(--text-muted);
}

.pb-intro {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 36px;
  padding-left: 88px; /* 与 icon 对齐 */
}

.pb-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.pb-main h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

/* 功能卡片网格 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feat-card {
  background: var(--bg-subtle);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  transition: all var(--dur) var(--ease);
}

.feat-card:hover {
  border-color: var(--brand-border);
  background: var(--brand-soft);
}

.feat-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

/* 序号图标（替代 emoji） */
.feat-icon--num {
  font-family: var(--font-en), monospace;
  font-size: 10px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: .15em;
  background: var(--green-soft);
  border: 1.5px solid var(--green-border, rgba(5,150,105,.2));
  border-radius: var(--r-sm);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feat-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 价格卡片 */
.price-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.price-card {
  flex: 1;
  min-width: 140px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
  transition: all var(--dur) var(--ease);
}

.price-card.highlight {
  border-color: var(--brand-border);
  background: var(--brand-soft);
  box-shadow: var(--shadow-sm);
}

.price-tier {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.price-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
  line-height: 1;
}

.price-num span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 侧边栏 */
.pb-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.side-panel {
  background: var(--bg-subtle);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
}

.side-panel h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-heading);
}

.side-panel ul,
.side-panel ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-panel li {
  font-size: 13.5px;
  color: var(--text-body);
  padding-left: 16px;
  position: relative;
}

.side-panel ul li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--brand);
  font-weight: 700;
}

.side-panel ol {
  counter-reset: step;
}

.side-panel ol li {
  counter-increment: step;
}

.side-panel ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.side-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 小程序码 */
.side-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
}

.side-qr img {
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.side-qr span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── 关于页专属 ─────────────────────────────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.about-paragraphs p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.85;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-stat-card {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: center;
  transition: all var(--dur) var(--ease);
}

.about-stat-card:hover {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.about-stat-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 6px;
  letter-spacing: .02em;
}

.about-stat-card p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
}

/* 价值观网格 */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  transition: all var(--dur) var(--ease);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-border);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 时间线 */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 44px 140px 1fr;
  gap: 20px;
  align-items: start;
  padding: 0 0 36px;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--brand-soft);
  margin-top: 4px;
  position: relative;
  left: 15px;
  flex-shrink: 0;
}

.tl-dot.future {
  background: var(--text-faint);
  border-color: var(--bg-muted);
}

.tl-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  padding-top: 2px;
  white-space: nowrap;
}

.tl-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tl-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 联系页专属 ─────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.contact-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.channel-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px;
  margin-bottom: 14px;
  transition: all var(--dur) var(--ease);
}

.channel-card:hover {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-sm);
}

/* 企业微信 hover 高亮已在 .channel-card:hover 中统一处理 */

/* 企业微信图标 — 保持宽高比，防止被压扁 */
.wework-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.wework-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.channel-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.channel-info > p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.channel-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 6px;
  transition: color var(--dur) var(--ease);
}

.channel-value:hover { color: var(--brand-light); text-decoration: underline; }
.channel-value.secondary { color: var(--text-body); font-weight: 500; }
.channel-value.secondary:hover { color: var(--brand); }

.channel-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* 企业微信二维码 */
.wework-qr-img {
  margin-top: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform .2s;
}
.wework-qr-img:hover { transform: scale(1.04); }

/* 右侧服务信息卡片 */
.contact-info { display: flex; flex-direction: column; gap: 14px; }

.info-card {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: all var(--dur) var(--ease);
}

.info-card:hover {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-xs);
}

.info-card.accent-card {
  background: var(--brand-soft);
  border-color: var(--brand-border);
}

.info-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.info-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.info-main {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.info-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.prep-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}

.prep-list li {
  font-size: 13.5px;
  color: var(--text-body);
  padding-left: 18px;
  position: relative;
}

.prep-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-item {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: all var(--dur) var(--ease);
}

.faq-item:hover {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-sm);
}

.faq-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 页面 CTA 底部区 ────────────────────────────────────────── */
.page-cta {
  background: linear-gradient(135deg, var(--brand) 0%, #1D4ED8 50%, #0369A1 100%);
  padding: 80px 0;
  text-align: center;
}

.page-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.page-cta h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.page-cta p {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin-bottom: 28px;
  line-height: 1.75;
}

.page-cta .cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-white {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.btn-white:hover {
  background: #EFF6FF;
  border-color: #EFF6FF;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

/* ── 响应式 ───────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .pb-content { grid-template-columns: 1fr; }
  .pb-side { position: static; }
  .pb-intro { padding-left: 0; }
  .pb-highlights { padding-left: 0; }
  .about-intro { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .product-block-header { flex-direction: column; gap: 16px; }
  .pb-intro { padding-left: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 28px 80px 1fr; }
  .timeline-item .tl-content { grid-column: 3; }
  .faq-grid { grid-template-columns: 1fr; }
  .price-cards { flex-direction: column; }
  .ps-gallery:not(.ps-gallery--phone) { grid-template-columns: repeat(3, 1fr); }
  .ps-gallery:not(.ps-gallery--phone) .ps-gallery-item:nth-child(n+4) { display: none; }
  .ps-gallery--phone { grid-template-columns: repeat(2, 1fr); }
  .ps-gallery--phone .ps-gallery-item:nth-child(n+3) { display: none; }
}

@media (max-width: 480px) {
  .ps-gallery:not(.ps-gallery--phone) { grid-template-columns: repeat(2, 1fr); }
  .ps-gallery:not(.ps-gallery--phone) .ps-gallery-item:nth-child(n+3) { display: none; }
  .ps-gallery--phone { grid-template-columns: repeat(2, 1fr); }
}
