/* === 首页加厚区块排版（PC + 移动） === */
.home-block__head {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.home-block__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-primary, #165dff);
  background: rgba(22, 93, 255, 0.08);
}

/* 三大业务 */
.home-pillars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.home-pillar {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(115, 118, 136, 0.12);
  box-shadow: 0 1px 2px rgba(25, 27, 36, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}
.home-pillar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(22, 93, 255, 0.15), rgba(22, 93, 255, 0.55), rgba(22, 93, 255, 0.15));
  opacity: 0.7;
}
.home-pillar--accent {
  border-color: rgba(22, 93, 255, 0.28);
  background: linear-gradient(180deg, rgba(22, 93, 255, 0.04) 0%, #fff 42%);
}
.home-pillar--accent::before {
  opacity: 1;
  height: 3.5px;
}
.home-pillar:hover {
  border-color: rgba(22, 93, 255, 0.35);
  box-shadow: 0 12px 32px rgba(22, 93, 255, 0.08);
  transform: translateY(-2px);
}
.home-pillar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.home-pillar__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary, #165dff);
  background: rgba(22, 93, 255, 0.1);
}
.home-pillar__icon .material-symbols-outlined {
  font-size: 1.65rem;
}
.home-pillar__num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(22, 93, 255, 0.55);
}
.home-pillar__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-primary, #165dff);
  margin-bottom: 0.4rem;
}
.home-pillar__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-on-background, #191b24);
  margin: 0 0 0.65rem;
}
.home-pillar__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-on-surface-variant, #454655);
  margin: 0 0 1.1rem;
}
.home-pillar__links {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.home-pillar__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-on-background, #191b24);
  text-decoration: none;
  background: rgba(248, 249, 252, 0.95);
  border: 1px solid rgba(115, 118, 136, 0.08);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.home-pillar__links a::after {
  content: "chevron_right";
  font-family: "Material Symbols Outlined";
  font-size: 1rem;
  color: rgba(22, 93, 255, 0.45);
  flex-shrink: 0;
}
.home-pillar__links a:hover {
  color: var(--color-primary, #165dff);
  border-color: rgba(22, 93, 255, 0.22);
  background: rgba(22, 93, 255, 0.05);
}
.home-pillar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary, #165dff);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.home-pillar__cta .material-symbols-outlined {
  font-size: 1.1rem;
}
.home-pillar__cta:hover {
  gap: 0.55rem;
}

/* 价值飞轮 */
.home-flywheel__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  position: relative;
}
.home-flywheel__step {
  position: relative;
  padding: 1rem 0.9rem 1.05rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(115, 118, 136, 0.12);
  min-height: 100%;
}
.home-flywheel__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary, #165dff);
}
.home-flywheel__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-on-background, #191b24);
}
.home-flywheel__desc {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--color-on-surface-variant, #454655);
}
.home-flywheel__note {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--color-on-surface-variant, #454655);
}

/* 产品矩阵 */
.home-matrix__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.home-matrix__all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  font-weight: 700;
  color: var(--color-primary, #165dff);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.home-matrix__all:hover {
  gap: 0.55rem;
}
.home-matrix__group {
  margin-bottom: 1.5rem;
  padding: 1.15rem 1rem 1.2rem;
  border-radius: 1.15rem;
  background: rgba(248, 249, 252, 0.85);
  border: 1px solid rgba(115, 118, 136, 0.08);
}
.home-matrix__group--last {
  margin-bottom: 0;
}
.home-matrix__group-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.home-matrix__group-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-on-background, #191b24);
}
.home-matrix__dot {
  width: 0.4rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--color-primary, #165dff);
  flex-shrink: 0;
}
.home-matrix__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
.home-matrix__tile {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid rgba(115, 118, 136, 0.1);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.home-matrix__tile:hover {
  border-color: rgba(22, 93, 255, 0.35);
  box-shadow: 0 8px 20px rgba(22, 93, 255, 0.07);
  transform: translateY(-1px);
}
.home-matrix__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary, #165dff);
}
.home-matrix__meta {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-on-surface-variant, #454655);
}

/* 为什么选择 */
.home-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.home-why__card {
  padding: 1.25rem 1.15rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid rgba(115, 118, 136, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.home-why__card:hover {
  border-color: rgba(22, 93, 255, 0.28);
  box-shadow: 0 10px 28px rgba(22, 93, 255, 0.07);
  transform: translateY(-2px);
}
.home-why__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.9rem;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary, #165dff);
  background: rgba(22, 93, 255, 0.1);
}
.home-why__icon .material-symbols-outlined {
  font-size: 1.5rem;
}
.home-why__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-on-background, #191b24);
}
.home-why__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-on-surface-variant, #454655);
}
.home-why__foot {
  margin-top: 1.75rem;
  text-align: center;
}
.home-why__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--color-primary, #165dff);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.home-why__cta:hover {
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .home-matrix__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .home-flywheel__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
  }
  .home-matrix__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .home-matrix__all {
    align-self: auto;
    margin-bottom: 0.35rem;
  }
  .home-matrix__group {
    padding: 1.35rem 1.25rem 1.4rem;
  }
}

@media (min-width: 1024px) {
  .home-pillars__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
  }
  .home-pillar {
    padding: 1.6rem 1.4rem 1.4rem;
  }
  .home-pillar--accent {
    transform: translateY(-4px);
  }
  .home-pillar--accent:hover {
    transform: translateY(-6px);
  }
  .home-flywheel__track {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    padding: 0.35rem 0 0.15rem;
  }
  .home-flywheel__step {
    margin: 0 0.35rem;
    text-align: center;
    padding: 1.15rem 0.65rem 1.2rem;
  }
  .home-flywheel__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.85rem;
    right: -0.35rem;
    width: 0.7rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(22, 93, 255, 0.35), rgba(22, 93, 255, 0.12));
    z-index: 1;
  }
  .home-flywheel__idx {
    margin-left: auto;
    margin-right: auto;
  }
  .home-matrix__grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .home-matrix__grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .home-why__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
  }
  .home-why__card {
    padding: 1.45rem 1.25rem;
  }
}

@media (max-width: 639px) {
  .home-pillar {
    padding: 1.2rem 1.05rem 1.1rem;
  }
  .home-pillar__title {
    font-size: 1.1rem;
  }
  .home-flywheel__track {
    gap: 0.65rem;
  }
  .home-flywheel__step {
    padding: 0.9rem 0.8rem;
  }
  .home-matrix__group {
    padding: 1rem 0.85rem 1.05rem;
    margin-bottom: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-pillar,
  .home-matrix__tile,
  .home-why__card {
    transition: none;
  }
  .home-pillar:hover,
  .home-matrix__tile:hover,
  .home-why__card:hover,
  .home-pillar--accent,
  .home-pillar--accent:hover {
    transform: none;
  }
}
