/* ============================================
   服务介绍区域样式 (设计稿: 1920px)
   vw = px / 1920 * 100
   ============================================ */

#services {
  position: relative;
}
#services .hero-layout {
  height: auto;
}
#services .hero-layout .hero-left {
  padding-top: 5.7292vw;
}
#services .hero-layout .hero-right {
  padding-top: 22.1354vw;
  padding-bottom: 0;
}
.services .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.services .hero-video::after {
  display: none !important;
}

.services .hero-video video {
  display: none !important;
}

.services .hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

.services .hero-bg-image::before {
  display: none;
}

.services .services-animation-container {
  position: absolute;
  top: 6vw;
  left: 50%;
  transform: translateX(-50%);
  width: 36.45833vw;
  z-index: 10;
  pointer-events: none;
  perspective: 1200px;
}

.services .services-orbit-system {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: orbitRotate 20s linear infinite;
}

@keyframes orbitRotate {
  0% {
    transform: rotateY(0deg) rotateX(10deg);
  }
  100% {
    transform: rotateY(360deg) rotateX(10deg);
  }
}

.services .services-center-person {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.6042vw;
  height: 2.6042vw;
  z-index: 20;
}

.services .services-center-person::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.0417vw;
  height: 1.0417vw;
  background: rgba(143, 179, 106, 0.9);
  border-radius: 50%;
  box-shadow:
    0 0 20px rgba(143, 179, 106, 0.8),
    0 0 40px rgba(143, 179, 106, 0.4);
}

.services .services-center-person::after {
  content: "";
  position: absolute;
  top: 0.9375vw;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5625vw;
  height: 1.8229vw;
  background: rgba(143, 179, 106, 0.7);
  border-radius: 0.4167vw 0.4167vw 0.7813vw 0.7813vw;
  box-shadow: 0 0 15px rgba(143, 179, 106, 0.6);
}

.services .services-connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 12;
  pointer-events: none;
}

.services .services-connection-lines svg {
  width: 100%;
  height: 100%;
}

.services .services-connection-line {
  stroke: rgba(143, 179, 106, 0.4);
  stroke-width: 1;
  stroke-dasharray: 5 3;
  fill: none;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.services .services-connection-line.animated {
  animation: dashMove 1s linear infinite;
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -8;
  }
}

.services.scattered .services-connection-line {
  stroke: rgba(143, 179, 106, 0.15);
  stroke-dasharray: 10 5;
}

.services .services-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(143, 179, 106, 0.3);
  border-radius: 50%;
  animation: ringPulse 3s ease-in-out infinite;
}

.services .services-orbit-ring:nth-child(1) {
  width: 7.8125vw;
  height: 7.8125vw;
  animation-delay: 0s;
}

.services .services-orbit-ring:nth-child(2) {
  width: 11.4583vw;
  height: 11.4583vw;
  animation-delay: 0.5s;
}

.services .services-orbit-ring:nth-child(3) {
  width: 15.625vw;
  height: 15.625vw;
  animation-delay: 1s;
}

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.services .services-orbit-node {
  position: absolute;
  width: 0.8333vw;
  height: 0.8333vw;
  background: radial-gradient(
    circle,
    #fff 0%,
    rgba(143, 179, 106, 0.9) 50%,
    rgba(143, 179, 106, 0) 70%
  );
  border-radius: 50%;
  box-shadow:
    0 0 15px rgba(143, 179, 106, 0.8),
    0 0 30px rgba(143, 179, 106, 0.4);
  z-index: 15;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.services .services-orbit-node:nth-child(4) {
  top: calc(50% - 3.9063vw);
  left: 50%;
  transform: translateX(-50%);
  animation: nodeGlow 2s ease-in-out infinite;
}
.services .services-orbit-node:nth-child(5) {
  top: 50%;
  right: calc(50% - 3.9063vw);
  transform: translateY(-50%);
  animation: nodeGlow 2s ease-in-out infinite 0.3s;
}
.services .services-orbit-node:nth-child(6) {
  bottom: calc(50% - 5.7292vw);
  left: calc(50% - 4.9479vw);
  animation: nodeGlow 2s ease-in-out infinite 0.6s;
}
.services .services-orbit-node:nth-child(7) {
  bottom: calc(50% - 5.7292vw);
  right: calc(50% - 4.9479vw);
  animation: nodeGlow 2s ease-in-out infinite 0.9s;
}
.services .services-orbit-node:nth-child(8) {
  top: calc(50% - 7.8125vw);
  left: calc(50% - 6.7708vw);
  animation: nodeGlow 2s ease-in-out infinite 1.2s;
}
.services .services-orbit-node:nth-child(9) {
  top: calc(50% - 6.7708vw);
  right: calc(50% - 7.8125vw);
  animation: nodeGlow 2s ease-in-out infinite 1.5s;
}

@keyframes nodeGlow {
  0%,
  100% {
    box-shadow:
      0 0 15px rgba(143, 179, 106, 0.8),
      0 0 30px rgba(143, 179, 106, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 25px rgba(143, 179, 106, 1),
      0 0 50px rgba(143, 179, 106, 0.6);
    transform: scale(1.2);
  }
}

.services.scattered .services-orbit-node {
  width: 1.3021vw;
  height: 1.3021vw;
  box-shadow:
    0 0 30px rgba(143, 179, 106, 1),
    0 0 60px rgba(143, 179, 106, 0.8),
    0 0 100px rgba(143, 179, 106, 0.4);
}

.services.scattered .services-orbit-node:nth-child(4) {
  top: 10%;
  left: 20%;
  transform: translate(0, 0) !important;
  animation: nodeFloat 3s ease-in-out infinite;
}
.services.scattered .services-orbit-node:nth-child(5) {
  top: 15%;
  right: 15%;
  left: auto;
  transform: translate(0, 0) !important;
  animation: nodeFloat 3s ease-in-out infinite 0.3s;
}
.services.scattered .services-orbit-node:nth-child(6) {
  bottom: 25%;
  left: 10%;
  top: auto;
  transform: translate(0, 0) !important;
  animation: nodeFloat 3s ease-in-out infinite 0.6s;
}
.services.scattered .services-orbit-node:nth-child(7) {
  bottom: 30%;
  right: 20%;
  left: auto;
  top: auto;
  transform: translate(0, 0) !important;
  animation: nodeFloat 3s ease-in-out infinite 0.9s;
}
.services.scattered .services-orbit-node:nth-child(8) {
  top: 40%;
  left: 5%;
  top: auto;
  transform: translate(0, 0) !important;
  animation: nodeFloat 3s ease-in-out infinite 1.2s;
}
.services.scattered .services-orbit-node:nth-child(9) {
  top: 35%;
  right: 5%;
  left: auto;
  transform: translate(0, 0) !important;
  animation: nodeFloat 3s ease-in-out infinite 1.5s;
}

@keyframes nodeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.7813vw);
  }
}

.services.scattered .services-orbit-ring {
  opacity: 0.15;
  animation: none;
}
.services.scattered .services-orbit-ring:nth-child(1) {
  width: 10.4167vw;
  height: 10.4167vw;
}
.services.scattered .services-orbit-ring:nth-child(2) {
  width: 14.5833vw;
  height: 14.5833vw;
}
.services.scattered .services-orbit-ring:nth-child(3) {
  width: 19.7917vw;
  height: 19.7917vw;
}

.services.scattered .services-center-person::before {
  width: 1.5625vw;
  height: 1.5625vw;
  box-shadow:
    0 0 40px rgba(143, 179, 106, 1),
    0 0 80px rgba(143, 179, 106, 0.6),
    0 0 120px rgba(143, 179, 106, 0.3);
}
.services.scattered .services-center-person::after {
  width: 2.0833vw;
  height: 2.3438vw;
  box-shadow: 0 0 30px rgba(143, 179, 106, 0.8);
}

.services.scattered .services-animation-container {
  transform: translateX(-50%);
}

.services .services-particle {
  position: absolute;
  width: 0.2083vw;
  height: 0.2083vw;
  background: rgba(143, 179, 106, 0.8);
  border-radius: 50%;
  animation: particleTrail 4s linear infinite;
}

.services .services-particle:nth-child(10) {
  animation-delay: 0s;
  --angle: 0deg;
}
.services .services-particle:nth-child(11) {
  animation-delay: 0.5s;
  --angle: 60deg;
}
.services .services-particle:nth-child(12) {
  animation-delay: 1s;
  --angle: 120deg;
}
.services .services-particle:nth-child(13) {
  animation-delay: 1.5s;
  --angle: 180deg;
}
.services .services-particle:nth-child(14) {
  animation-delay: 2s;
  --angle: 240deg;
}
.services .services-particle:nth-child(15) {
  animation-delay: 2.5s;
  --angle: 300deg;
}

@keyframes particleTrail {
  0% {
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: rotate(var(--angle)) translateX(1.5625vw);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: rotate(var(--angle)) translateX(8.3333vw);
  }
}

.services.scattered .services-particle {
  animation-duration: 2s;
}

.services .hero-bg-image::after {
  display: none;
}

.services-bottom-bg {
  position: absolute;
  top: 1.0417vw;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(https://oss.coolgua.net/gw/images/why04.png) center bottom /
    cover no-repeat;
  z-index: -1;
  pointer-events: none;
}

.services .container {
  padding: 10vw 4.4271vw 3vw;
}

#services .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5625vw;
}

#services .service-item-link {
}

.service-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.services .service-item {
  background: #ffffff;
  text-align: left;
  padding: 2.8125vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  border-radius: 0.625vw;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  color: #333;
}

.service-item .service-icon {
  width: 2.6042vw;
  height: 2.6042vw;
  margin-bottom: 0.625vw;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

#services .service-item .service-side-icon,
.services .service-item .service-side-icon {
  position: relative;
  width: 1.875vw;
  height: 1.875vw;
  top: auto;
  transform: none;
  opacity: 1;
  margin-bottom: 0.4167vw;
}

#services .service-item .service-side-icon-left {
  left: auto;
  margin-bottom: 2.8646vw;
  width: 2.3438vw;
  height: 2.3438vw;
}

#services .service-item h3 {
  font-size: 1.875vw;
  font-weight: 400;
  margin-bottom: 1.5625vw;
  color: #000;
  text-shadow: none;
  line-height: 1;
  text-align: left;
}

#services .service-item p {
  font-size: 1.25vw;
  color: #000;
  text-shadow: none;
  line-height: 1;
  text-align: left;
  flex-grow: 1;
  height: 1.25vw;
  overflow: hidden;
}

#services .service-item .service-side-icon-right {
  position: absolute;
  right: 2.8646vw;
  top: 2.8646vw;
  width: 4.6875vw;
  height: 4.6875vw;
}

.service-item .service-side-icon svg,
.service-item .service-side-icon img {
  width: 100%;
}

.service-item .service-side-icon-left {
  left: 0.625vw;
}

.service-item .service-side-icon-right {
  right: 1.5625vw;
  width: 2.5vw;
  height: 2.5vw;
}

.service-item:hover .service-icon {
  transform: scale(1.1);
}

.service-item .service-icon svg {
  width: 100%;
  height: 100%;
}

.service-item .service-item-deco {
  width: 1.5625vw;
  height: 1.5625vw;
  background: #0099ff;
  position: absolute;
  top: 0.5208vw;
  left: 0.5208vw;
  border-radius: 0;
  opacity: 0.3;
}

.service-item:hover,
.service-item-link:hover .service-item {
  transform: translateY(-0.5208vw);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  background: #ffffff;
  border-top-color: #00ccff;
}

.service-item i {
  font-size: 3.3333vw;
  color: white;
  margin-bottom: 1.5625vw;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  display: none;
}

.service-item h3 {
  font-size: 0.9375vw;
  font-weight: bold;
  margin-bottom: 0.3125vw;
  color: #333;
  text-shadow: none;
  line-height: 1.4;
  text-align: left;
}

.service-item p {
  font-size: 0.7292vw;
  color: #666;
  text-shadow: none;
  line-height: 1.5;
  text-align: left;
}

.service-item .service-item-deco {
  position: absolute;
  top: 0.625vw;
  left: 0.625vw;
  width: 1.875vw;
  height: 1.875vw;
  z-index: 2;
}

.service-item .service-item-deco::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background:
    radial-gradient(
      circle at 10% 50%,
      rgba(255, 255, 255, 0.5) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 50% 10%,
      rgba(255, 255, 255, 0.4) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.3) 0%,
      transparent 50%
    );
  filter: blur(1px);
}

/* Performance: pause animations when section is not in viewport */
#services:not(.in-view) .services-animation-container,
#services:not(.in-view) .services-orbit-system,
#services:not(.in-view) .services-orbit-node,
#services:not(.in-view) .services-orbit-ring,
#services:not(.in-view) .services-connection-line,
#services:not(.in-view) .services-particle,
#services:not(.in-view) .services-node {
    animation-play-state: paused;
}
