/* ============================================================
   内页通用样式（子页面专属，首页不引用）
   ============================================================ */

/* ---------- 内页 Hero ---------- */
.page-hero {
  position: relative;
  padding: 168px 0 92px;
  text-align: center;
  background:
    radial-gradient(ellipse at 12% 15%, rgba(156, 163, 175, 0.25) 0%, transparent 45%),
    radial-gradient(ellipse at 88% 85%, rgba(31, 41, 55, 0.15) 0%, transparent 45%),
    linear-gradient(180deg, #f2f4f7 0%, #f7f8fa 100%);
  overflow: hidden;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 30px;
  background: rgba(31, 41, 55, 0.10);
  border: 1px solid rgba(31, 41, 55, 0.20);
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 22px;
}

.page-hero .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.page-hero h1 .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero .desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

.page-hero .actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- 导航当前页高亮 ---------- */
.nav .nav-main .nav-right li a.active {
  color: var(--primary);
  font-weight: 700;
}

/* ---------- 内页按钮 ---------- */
.pbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  border-radius: 30px;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(31, 41, 55, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pbtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(31, 41, 55, 0.45);
}

.pbtn.ghost {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid rgba(31, 41, 55, 0.35);
  box-shadow: none;
}

.pbtn.ghost:hover {
  background: var(--surface-soft);
  border-color: var(--primary);
}

/* ---------- 内容区块 ---------- */
.page-section {
  position: relative;
  padding: 90px 0;
}

.page-section.gray {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

/* 区块头 */
.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.section-head .section-title {
  margin-bottom: 14px;
}

.section-head .section-desc {
  margin-bottom: 0;
}

/* ---------- 图文交错（split） ---------- */
.split {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.split + .split {
  margin-top: 72px;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split-media {
  flex: 1 1 46%;
}

.split-body {
  flex: 1 1 54%;
}

.split-media .media-box {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.06) 0%, rgba(156, 163, 175, 0.12) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.split-media .media-box svg {
  color: var(--primary);
}

.split-body .step-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(31, 41, 55, 0.08);
  border: 1px solid rgba(31, 41, 55, 0.14);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.split-body h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.3;
}

.split-body p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ---------- 流程步骤（steps） ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

.step {
  position: relative;
  padding: 38px 26px 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 8px 28px rgba(31, 41, 55, 0.05);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.step:hover {
  transform: translateY(-8px);
  border-color: rgba(31, 41, 55, 0.3);
  box-shadow: var(--shadow-glow);
}

.step .num {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.35);
}

.step h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ---------- 特性卡片网格（feat） ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.feat-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
}

.feat-card {
  position: relative;
  padding: 36px 28px 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 8px 28px rgba(31, 41, 55, 0.05);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.feat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(31, 41, 55, 0.28);
  box-shadow: var(--shadow-glow);
}

.feat-card:hover::before {
  opacity: 1;
}

.feat-card .icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.08) 0%, rgba(156, 163, 175, 0.16) 100%);
  border: 1px solid rgba(31, 41, 55, 0.12);
  color: var(--primary);
}

.feat-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.feat-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ---------- 商店矩阵（store） ---------- */
.store-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.store-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 12px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.store-cell:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 41, 55, 0.3);
  box-shadow: var(--shadow-glow);
}

.store-cell .logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-cell .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-cell .logo .badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

.store-cell .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- 影响排名因素（fact） ---------- */
.fact-board {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fact-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(31, 41, 55, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.fact-row:hover {
  transform: translateX(6px);
  border-color: rgba(31, 41, 55, 0.3);
}

.fact-row .badge {
  flex: none;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.fact-row .fact-body {
  flex: 1;
}

.fact-row .fact-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}

.fact-row .fact-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ---------- CTA 区块 ---------- */
.page-cta {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(156, 163, 175, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #f2f4f7 0%, #f7f8fa 100%);
}

.page-cta h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
}

.page-cta p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 30px;
}

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

@media (max-width: 768px) {
  .page-hero {
    padding: 128px 0 70px;
  }
  .page-hero h1 {
    font-size: 34px;
  }
  .page-hero .desc {
    font-size: 16px;
  }
  .split,
  .split.reverse {
    flex-direction: column;
    gap: 30px;
  }
  .split + .split {
    margin-top: 50px;
  }
  .split-media .media-box {
    min-height: 220px;
    width: 100%;
  }
  .split-body h2 {
    font-size: 24px;
  }
  .steps {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .feat-grid,
  .feat-grid.cols-2 {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .page-cta h2 {
    font-size: 25px;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 28px;
  }
  .page-hero .actions {
    flex-direction: column;
    width: 100%;
  }
  .page-hero .actions .pbtn {
    width: 100%;
  }
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .store-cell .logo {
    width: 52px;
    height: 52px;
  }
  .store-cell .logo .badge {
    width: 52px;
    height: 52px;
    font-size: 19px;
  }
}
