.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.video-modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 800px;
  height: 70%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-close {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1;
}

.video-close:hover {
  opacity: 0.8;
}

.video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-container iframe {
  border-radius: 12px;
}

/* Play button overlay */
.play-video {
  position: relative;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-video:hover {
  transform: scale(1.05);
}



.play-video:hover::before {
  background: rgba(255, 255, 255, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-video:hover::after {
  color: #2a3ad8;
  transform: translate(-50%, -50%) scale(1.1);
}

/* #region Implement Section */
.implement-title {
  font-size: 36px;
  margin-bottom: 60px;
  color: #161c50;
}

.implement-content {
  display: grid;
  grid-template-columns: 519px 1fr;
  gap: 24px;
}

/* Steps Section */
.implement-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  background: white;
  width: 519px;
  border-radius: 24px;
  border: 1px solid var(--Alpha-White-600-Default, rgba(255, 255, 255, 0.6));
  background: var(--Alpha-White-400-Default, rgba(255, 255, 255, 0.4));
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2.957651138305664px);
}

.step-item.active .step-icon {
  transform: rotate(90deg);
}

.step-item.active .step-header {
  border-radius: 14px 14px 0 0;
}

.step-item.active .step-description {
  display: flex;
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 16px 24px;
  border-radius: 14px;
  background: var(--BG-Neutral-White-Default, #fff);
  cursor: pointer;
}

.step-header-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-description {
  display: none;
  height: 140px;
  padding: 24px;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 0 0 14px 14px;
  border-top: 1px solid var(--Border-Neutral-Primary-300-Disabled, #eeeef0);
  background: var(--BG-Neutral-White-Default, #fff);
}

.step-number {
  background: #ddebff;
  color: #4155f5;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  padding: 2px 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 500;
}

.step-title {
  font-size: 20px;
  color: #161c50;
  margin: 0;
}

.step-icon {
  width: 24px;
  height: 24px;
  transform: rotate(0);
  display: inline-block;
  background: url("/sites/image/home/icon-arrow-right.svg") 0px 0px no-repeat;
}

.step-icon svg {
  transition: transform 0.3s ease;
}

.implement-right {
  height: 528px;
  width: 100%;
  position: relative;
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
  border-radius: 24px;
  border: 1px solid var(--Alpha-White-600-Default, rgba(255, 255, 255, 0.6));
  background: var(--Alpha-White-400-Default, rgba(255, 255, 255, 0.4));
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2.957651138305664px);
}

.implement-video {
  border-radius: 8px;
  height: 100%;
  width: 100%;
  background: url("/sites/image/home/bg-implement.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: luminosity, normal;
  backdrop-filter: blur(10px);
}

.icon-play-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-image: url("/sites/image/home/icon-play-video.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  z-index: 10;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #ffff;
  border-radius: 50%;
  box-shadow: 0px 5.308px 31.851px 0px rgba(14, 21, 81, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.icon-play-video .play-video {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  border-radius: 50%;
}

@keyframes play-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(65, 85, 245, 0.18);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(65, 85, 245, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(65, 85, 245, 0);
  }
}

.icon-play-video:hover {
  animation: play-pulse 1s;
  animation-iteration-count: infinite;
  transform: translate(-50%, -50%) scale(1.12);
  filter: brightness(1.15);
  box-shadow: 0 0 24px 0 rgba(65, 85, 245, 0.25),
    0 0 0 8px rgba(65, 85, 245, 0.08);
}

/* #endregion */