/* =========================================
   内页通用布局 — 产品与服务 / 关于我们
   原则：Banner 与色块全宽；内容仅在 content-rail 内约束宽度
   ========================================= */

@import url("page-banner.css");

/* inner-page 内 section  eyebrow（非 Banner 区） */
.inner-section .inner-eyebrow,
.inner-split__body .inner-eyebrow {
  font-size: var(--fs-small);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--stack-sm);
}

.inner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.75em;
  border-radius: var(--radius-md);
  font-size: var(--fs-body);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.inner-btn--primary {
  background: var(--primary-color);
  color: #fff;
}

.inner-btn--primary:hover {
  background: var(--primary-hover);
}

.inner-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.inner-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- 全宽 Section ---------- */
.page-main--inner .inner-section {
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-block: var(--section-spacing-y);
  box-sizing: border-box;
  border-top: 1px solid #e4e8ef;
}

.page-main--inner .inner-section:first-child {
  border-top: none;
}

.inner-section--white {
  background: #fff;
}

.inner-section--gray {
  background: #f7f8fa;
}

.inner-section--dark {
  background: linear-gradient(135deg, #0f1528 0%, #1a2744 100%);
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.inner-section-head {
  text-align: center;
  max-width: 40em;
  margin: 0 auto var(--section-gap);
}

.inner-section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-top: var(--stack-sm);
}

.inner-section-head p {
  font-size: var(--fs-body);
  color: var(--text-gray);
  line-height: 1.75;
  margin-top: var(--stack-sm);
}

.inner-section--dark .inner-section-head h2 {
  color: #fff;
}

.inner-section--dark .inner-section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.inner-section--dark .inner-eyebrow {
  color: var(--primary-color);
}

/* ---------- 图文分栏 ---------- */
.inner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--stack-lg);
  align-items: center;
}

.inner-split--reverse .inner-split__media {
  order: 2;
}

.inner-split--reverse .inner-split__body {
  order: 1;
}

.inner-split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-body);
}

.inner-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inner-split__body h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: var(--stack-sm);
  line-height: 1.35;
}

.inner-split__body p {
  font-size: var(--fs-body);
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: var(--stack-sm);
}

.inner-split__body p:last-child {
  margin-bottom: 0;
}

.inner-list {
  list-style: none;
  padding: 0;
  margin: var(--stack-md) 0 0;
}

.inner-list li {
  position: relative;
  padding-left: 1.25em;
  margin-bottom: 0.65em;
  font-size: var(--fs-body);
  color: var(--text-gray);
  line-height: 1.65;
}

.inner-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
}

/* ---------- 特性卡片栅格 ---------- */
.inner-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--section-gap);
}

.inner-feature-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--stack-md);
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

.inner-section--white .inner-feature-card,
.inner-section--gray .inner-feature-card {
  background: #fff;
}

.inner-section--gray .inner-feature-card {
  background: #fff;
}

.inner-feature-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
  transform: translateY(-4px);
}

.inner-feature-card__icon {
  width: 3em;
  height: 3em;
  margin: 0 auto var(--stack-sm);
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-h3);
  font-weight: 800;
}

.inner-feature-card h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5em;
}

.inner-feature-card p {
  font-size: var(--fs-body);
  color: var(--text-gray);
  line-height: 1.65;
}

/* ---------- 数据条 ---------- */
.inner-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--section-gap);
  text-align: center;
}

.inner-stat__num {
  display: block;
  font-size: clamp(28px, 3vw, var(--fs-h1));
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1.1;
}

.inner-stat__label {
  display: block;
  font-size: var(--fs-small);
  color: var(--text-gray);
  margin-top: 0.5em;
}

.inner-section--dark .inner-stat__num {
  color: var(--primary-color);
}

.inner-section--dark .inner-stat__label {
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- 内容卡片（双栏联系等） ---------- */
.inner-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--section-gap);
}

.inner-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--stack-md);
  height: 100%;
  box-sizing: border-box;
}

.inner-section--gray .inner-card {
  background: #fff;
}

.inner-card h2,
.inner-card h3 {
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: var(--stack-sm);
}

.inner-card p {
  font-size: var(--fs-body);
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 0.65em;
}

.inner-card p:last-child {
  margin-bottom: 0;
}

.inner-contact-item {
  padding: var(--stack-sm) 0;
  border-bottom: 1px dashed var(--border-color);
}

.inner-contact-item:last-child {
  border-bottom: none;
}

.inner-contact-item strong {
  display: block;
  font-size: var(--fs-body);
  color: var(--text-main);
  margin-bottom: 0.25em;
}

.inner-contact-item span {
  font-size: var(--fs-body);
  color: var(--text-gray);
}

.inner-qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stack-md);
  margin-top: var(--stack-md);
}

.inner-qr-item {
  text-align: center;
}

.inner-qr-item img {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.inner-qr-item span {
  display: block;
  font-size: var(--fs-small);
  color: var(--text-gray);
  margin-top: 0.5em;
}

/* ---------- 小程序页专用 ---------- */
.inner-mp-showcase {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: var(--stack-lg);
  align-items: center;
}

.inner-mp-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner-mp-visual__img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  object-fit: contain;
}

.inner-mp-features {
  display: grid;
  gap: var(--stack-sm);
}

.inner-mp-feature {
  display: flex;
  gap: var(--stack-sm);
  align-items: flex-start;
  padding: var(--stack-sm);
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.inner-mp-feature__num {
  flex-shrink: 0;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-color);
  font-weight: 800;
  font-size: var(--fs-small);
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner-mp-feature h3 {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25em;
}

.inner-mp-feature p {
  font-size: var(--fs-small);
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

/* ---------- CTA 条 ---------- */
.inner-cta {
  text-align: center;
  padding: var(--stack-lg);
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.08) 0%, rgba(255, 85, 0, 0.02) 100%);
  border: 1px solid rgba(255, 85, 0, 0.15);
  border-radius: var(--radius-lg);
}

.inner-cta h3 {
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: var(--stack-sm);
}

.inner-cta p {
  font-size: var(--fs-body);
  color: var(--text-gray);
  margin-bottom: var(--stack-md);
}

.inner-cta .inner-btn--primary {
  width: auto;
  display: inline-flex;
}

/* ---------- 流程步骤 ---------- */
.inner-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--section-gap);
  counter-reset: step;
}

.inner-step {
  text-align: center;
  position: relative;
}

.inner-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 2.5em;
  margin: 0 auto var(--stack-sm);
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-body);
}

.inner-step h3 {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4em;
}

.inner-step p {
  font-size: var(--fs-small);
  color: var(--text-gray);
  line-height: 1.6;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .inner-split,
  .inner-mp-showcase {
    grid-template-columns: 1fr;
  }

  .inner-split--reverse .inner-split__media,
  .inner-split--reverse .inner-split__body {
    order: unset;
  }

  .inner-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .inner-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .inner-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .inner-feature-grid,
  .inner-card-grid,
  .inner-stats,
  .inner-steps {
    grid-template-columns: 1fr;
  }

  .inner-banner__title,
  .page-banner__title {
    max-width: none;
  }
}
