/* Products & services — inner page banner */

body.hp-page > .all.hp-product {
  background: #fff;
  color: #1a1a1a;
  font-family: "Maven Pro", "PingFang SC", "Microsoft YaHei", sans-serif;
  padding: 0;
  box-sizing: border-box;
}

.hp-product-banner.inner-banner-b {
  color: #fff;
  padding-top: clamp(96px, 12vw, 140px);
  border-bottom: none;
}

.hp-product-banner-img.inner-banner-img {
  background-image: url('../images/hp-inner-banner-about.jpg?v=20260824a');
  filter: blur(3px);
  transform: scale(1.04);
}

.hp-product-banner .inner-banner-mask {
  background-color: rgba(120, 185, 140, 0.48);
  pointer-events: none;
}

.hp-product-banner .container {
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hp-product-banner .inner-banner-wrap {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.hp-product-banner .inner-banner-heading-deco {
  width: 56px;
  margin-bottom: 10px;
}

.hp-product-banner .inner-banner-sec-txt {
  letter-spacing: 0.12em;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.2;
  font-weight: 500;
}

.hp-product-banner .inner-banner-heading-txt {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 12px rgba(4, 98, 23, 0.35);
}

.hp-product-banner-curve-back.inner-banner-bottom-back {
  background-image: url('../images/hp-inner-banner-curve-back.png?v=20260824a');
  transform-origin: 100% 100%;
  animation: hp-inner-banner-wave 5.5s ease-in-out infinite;
  will-change: transform;
}

.hp-product-banner-curve-front.inner-banner-bottom-front {
  background-image: url('../images/hp-inner-banner-curve-front.png?v=20260824a');
  transform-origin: 100% 100%;
  animation: hp-inner-banner-wave 5.5s ease-in-out 0.35s infinite;
  will-change: transform;
}

.hp-product-banner .inner-banner-bottom-b {
  position: relative;
  z-index: 2;
  overflow: visible;
}

@keyframes hp-inner-banner-wave {
  0%,
  100% {
    transform: scale3d(1, 1, 1);
  }
  45% {
    transform: scale3d(1.5, 1.5, 1);
  }
}

@media (max-width: 900px) {
  .hp-product-banner.inner-banner-b {
    padding-top: 88px;
  }

  .hp-product-banner .container {
    width: min(1120px, calc(100% - 32px));
  }

  .hp-product-banner .inner-banner-heading-deco {
    width: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-product-banner-curve-back,
  .hp-product-banner-curve-front {
    animation: none !important;
  }
}

/* —— APC-style category shell: left nav + right content —— */
.hp-product-shell {
  background: #fff;
}

.hp-product-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 7vw, 80px);
}

.hp-product-side-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 108px;
}

.hp-product-side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 28px;
  border-radius: 10px;
  background: #f3f7f4;
  color: #1a2e22;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.hp-product-side-link::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: #c9a227;
}

.hp-product-side-label {
  flex: 1 1 auto;
  min-width: 0;
}

.hp-product-side-link .common-btn-circle {
  flex: none;
  width: 32px;
  height: 32px;
}

.hp-product-side-link:hover {
  background: #e8f3ea;
  color: #06821f;
}

.hp-product-side-link.is-active {
  background: linear-gradient(135deg, #e8f5e9 0%, #f7f0d8 100%);
  color: #046217;
  font-weight: 600;
}

.hp-product-block + .hp-product-block {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid rgba(6, 130, 31, 0.1);
}

.hp-product-heading {
  color: var(--hp-brand, #06821f);
  margin-bottom: 20px;
}

.hp-product-heading .section-heading-wrap {
  margin-top: -12px;
}

.hp-product-heading .section-heading-txt {
  margin: 22px 0 0 10px;
  color: var(--hp-brand, #06821f);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hp-product-heading .section-heading-graphic-b .hp-heading-tube {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 92%;
  animation: hp-product-tube-float 3.8s ease-in-out infinite;
}

@keyframes hp-product-tube-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(-2.5deg);
  }
}

.hp-product-intro {
  position: relative;
  overflow: visible;
}

.hp-product-intro-deco {
  position: absolute;
  top: 8px;
  right: 0;
  width: min(220px, 34%);
  height: 200px;
  pointer-events: none;
  z-index: 0;
}

.hp-product-mol {
  position: absolute;
  overflow: visible;
  will-change: transform;
}

.hp-product-mol--a {
  top: 0;
  right: 0;
  width: 88%;
  animation: hp-product-mol-float-a 9s ease-in-out infinite;
}

.hp-product-mol--b {
  top: 42%;
  right: 8%;
  width: 62%;
  animation: hp-product-mol-float-b 7.5s ease-in-out infinite;
}

.hp-product-mol-node {
  transform-origin: center;
  animation: hp-product-mol-pulse 4.5s ease-in-out infinite;
}

.hp-product-mol-node:nth-of-type(2) { animation-delay: 0.4s; }
.hp-product-mol-node:nth-of-type(3) { animation-delay: 0.8s; }
.hp-product-mol-node:nth-of-type(4) { animation-delay: 1.2s; }
.hp-product-mol-node:nth-of-type(5) { animation-delay: 1.6s; }
.hp-product-mol-node:nth-of-type(6) { animation-delay: 2s; }

@keyframes hp-product-mol-float-a {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-6px, 8px) rotate(2deg); }
}

@keyframes hp-product-mol-float-b {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(5px, -7px) rotate(-2deg); }
}

@keyframes hp-product-mol-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.7; }
}

.hp-product-intro-copy {
  position: relative;
  z-index: 1;
  max-width: calc(100% - min(240px, 36%));
}

.hp-product-intro-lead {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: #1a2e22;
  line-height: 1.45;
}

.hp-product-intro-text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: #4a5a50;
  max-width: 42em;
}

.hp-product-capsules {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  max-width: 42em;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hp-product-capsules > li {
  display: block;
  position: relative;
  margin: 0;
  padding: 14px 22px 14px 28px;
  border-radius: 999px;
  background: #f3f7f4;
  box-shadow: 0 4px 14px rgba(4, 98, 23, 0.06);
  color: #4a5a50;
  font-size: 15px;
  line-height: 1.5;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.hp-product-capsules > li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: #c9a227;
}

.hp-product-capsules > li:hover {
  background: linear-gradient(135deg, #e8f5e9 0%, #f7f0d8 100%);
  box-shadow: 0 6px 18px rgba(4, 98, 23, 0.1);
  color: #1a2e22;
}

.hp-product-capsules strong {
  color: #1a2e22;
  font-weight: 600;
}

.hp-product-apps-lead {
  margin: 0 0 20px;
  font-size: 15px;
  color: #5a6b60;
}

.hp-product-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.hp-product-app-card {
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: #f3f7f4;
  border: 1px solid rgba(6, 130, 31, 0.08);
  box-shadow: 0 4px 14px rgba(4, 98, 23, 0.05);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hp-product-app-card:hover {
  background: linear-gradient(135deg, #e8f5e9 0%, #f7f0d8 100%);
  box-shadow: 0 6px 18px rgba(4, 98, 23, 0.1);
  border-color: transparent;
}

.hp-product-app-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.hp-product-app-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.14);
  color: var(--hp-accent, #c9a227);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s ease;
  transform-origin: center;
}

.hp-product-app-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.35s ease;
}

.hp-product-app-card:hover .hp-product-app-icon {
  background: rgba(6, 130, 31, 0.12);
  color: var(--hp-brand, #06821f);
  transform: scale(1.08);
  animation: hp-product-app-icon-pop 0.55s ease;
}

.hp-product-app-card:hover .hp-product-app-icon svg {
  transform: rotate(-8deg) scale(1.05);
}

@keyframes hp-product-app-icon-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.16);
  }
  70% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1.08);
  }
}

.hp-product-app-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #06821f;
  line-height: 1.3;
}

.hp-product-app-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #5a6b60;
}

.hp-product-case-card .hp-product-app-name {
  margin: 0 0 8px;
}

.hp-product-cases {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
}

.hp-product-case-capsule {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 16px;
  padding: 14px 28px 14px 32px;
  border-radius: 999px;
  background: #f3f7f4;
  box-shadow: 0 4px 14px rgba(4, 98, 23, 0.06);
  color: #1a2e22;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.hp-product-case-capsule::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: #c9a227;
}

.hp-product-case:hover .hp-product-case-capsule {
  background: linear-gradient(135deg, #e8f5e9 0%, #f7f0d8 100%);
  box-shadow: 0 6px 18px rgba(4, 98, 23, 0.1);
}

.hp-product-case-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.hp-product-case-media {
  border-radius: 14px;
  overflow: hidden;
  background: #eef4f0;
  width: 100%;
}

.hp-product-case-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hp-product-case:hover .hp-product-case-media img {
  transform: scale(1.03);
}

.hp-product-case-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #4a5a50;
  max-width: 52em;
}

.hp-product-case:nth-child(even) .hp-product-case-body {
  grid-template-columns: unset;
}

.hp-product-case:nth-child(even) .hp-product-case-media,
.hp-product-case:nth-child(even) .hp-product-case-copy {
  order: initial;
}

@media (max-width: 900px) {
  .hp-product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 28px;
  }

  .hp-product-side-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hp-product-side-link {
    padding: 12px 12px 12px 24px;
    font-size: 13px;
  }

  .hp-product-heading .section-heading-txt {
    font-size: clamp(24px, 6vw, 32px);
    margin-top: 16px;
  }

  .hp-product-intro-deco {
    width: min(160px, 42%);
    height: 140px;
    opacity: 0.7;
  }

  .hp-product-intro-copy {
    max-width: 100%;
    padding-right: min(120px, 28%);
  }

  .hp-product-capsules > li {
    border-radius: 22px;
  }

  .hp-product-apps-grid {
    grid-template-columns: 1fr;
  }

  .hp-product-case-body,
  .hp-product-case:nth-child(even) .hp-product-case-body {
    grid-template-columns: 1fr;
  }

  .hp-product-case:nth-child(even) .hp-product-case-media,
  .hp-product-case:nth-child(even) .hp-product-case-copy {
    order: initial;
  }

  .hp-product-case-capsule {
    border-radius: 22px;
  }

  .hp-product-case-media img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  .hp-product-side-nav {
    grid-template-columns: 1fr;
  }

  .hp-product-intro-deco {
    display: none;
  }

  .hp-product-intro-copy {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-product-heading .section-heading-graphic-b .hp-heading-tube,
  .hp-product-mol--a,
  .hp-product-mol--b,
  .hp-product-mol-node {
    animation: none !important;
  }

  .hp-product-app-card:hover .hp-product-app-icon {
    animation: none !important;
    transform: none;
  }

  .hp-product-app-card:hover .hp-product-app-icon svg {
    transform: none;
  }

  .hp-product-case:hover .hp-product-case-media img {
    transform: none;
  }
}
