/* index 首屏 top-banner（ui-design 复用） */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.design-use-ai-page.wsc-main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.design-use-ai-page .top-banner .top-banner-container {
  height: fit-content !important;
  max-width: 100% !important;
  padding-top: 50px;
}

#first-screen-float-0 {
  width: 82.51px;
  left: 2%;
  top: 20%;
  z-index: 7;
}

#first-screen-float-1 {
  width: 84.01px;
  right: 2%;
  top: 20%;
  z-index: 7;
}

.top-banner {
  width: 100%;
  max-width: 100%;
  background: linear-gradient(90deg, #F6F5FB 0%, #F6F5FB 100%);
  overflow: hidden;
  isolation: isolate;
}

.top-banner .top-banner-container {
  width: 100%;
  height: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: none;
  overflow: hidden;
}

.top-banner__visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.banner-top-bg {
  position: absolute;
  top: 0;
  z-index: 5;
  width: 63%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.banner-bg {
  width: 120%;
  max-width: none;
  position: absolute;
  z-index: 4;
  top: -112%;
  left: -5%;
  background-color: unset;
  pointer-events: none;
}

.top-banner-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  transform: translateY(-47%);
  margin-bottom: -35%;
  pointer-events: none;
}

.banner-top-bg {
  pointer-events: none;
}

.top-top-title {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-banner-container-title {
  letter-spacing: 1.1rem;
  color: rgba(85, 85, 87, 1);
  margin: 0 24px;
}

.linestyle {
  width: 90px;
  height: 1px;
}

.top-banner .top-banner-title {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pulse-arrows-container {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 15;
}

.pulse-arrow {
  width: 15px;
  height: 15px;
  border-right: 3px solid rgba(101, 76, 255, 0.8);
  border-bottom: 3px solid rgba(101, 76, 255, 0.8);
  transform: rotate(45deg);
  animation: arrowPulse 2s infinite;
  opacity: 0;
}

.pulse-arrow:nth-child(2) {
  animation-delay: 0.3s;
}

.pulse-arrow:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes arrowPulse {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-10px, -10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px, 10px);
  }
}

.light-dots-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.light-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.8),
    0 0 20px 10px rgba(101, 76, 255, 0.5);
  filter: blur(1px);
  opacity: 0;
}

.dot-1 {
  animation: moveLeft 4s infinite alternate ease-in-out;
}

.dot-2 {
  animation: moveCenter 3.5s infinite alternate ease-in-out 0.5s;
}

.dot-3 {
  animation: moveRight 4.5s infinite alternate ease-in-out 1s;
}

.dot-4 {
  animation: moveTop 5s infinite alternate ease-in-out 1.5s;
}

@keyframes moveLeft {
  0% { left: 31%; top: 78%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 20%; top: 40%; opacity: 0; }
}

@keyframes moveCenter {
  0% { left: 33%; top: 76%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 48%; top: 58%; opacity: 0; }
}

@keyframes moveRight {
  0% { left: 65%; top: 45%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 85%; top: 65%; opacity: 0; }
}

@keyframes moveTop {
  0% { left: 52%; top: 52%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 48%; top: 28%; opacity: 0; }
}

@media (min-width: 1400px) {
  .top-banner .top-banner-title {
    line-height: 5rem;
  }
}

@media (max-width: 991px) {
  .linestyle {
    width: 65px;
  }
}

@media (max-width: 768px) {
  .linestyle {
    width: 40px;
  }
}

@media (max-width: 390px) {
  .top-banner-container-title {
    letter-spacing: 0.5rem;
    margin: 0 18px;
  }
}

/* modao 首屏 quickJump + CTA 模块 */
.top-banner-btn-container {
  gap: 26px;
}

.top-banner .btn.btn-proto-colorful {
  width: 200px;
  height: 60px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  padding: 0;
}

.top-banner .btn.btn-download {
  margin-right: 0;
  width: 200px;
  height: 60px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  padding: 0;
}

.quickJump {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.875rem;
  margin-bottom: 3.25rem;
  justify-content: center;
  padding: 0 16px;
  box-sizing: border-box;
}

.quickJump .item {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: 48px;
  padding-right: 16px;
  background-color: rgba(255, 255, 255, 1);
  border: 1px solid rgba(237, 240, 250, 1);
  border-radius: 14px;
}

.quickJump .item img {
  width: 24px;
  height: 24px;
  margin-left: 14px;
  margin-right: 6px;
  flex-shrink: 0;
}

.quickJump .item span {
  width: auto;
  font-weight: 700;
  font-size: 18px;
  line-height: 21px;
  color: rgba(85, 85, 87, 1);
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .top-banner-btn-container {
    gap: 15px;
  }

  .top-banner .btn.btn.btn-proto-colorful,
  .top-banner .btn.btn-download {
    width: 180px;
    height: 50px;
  }
}

@media (max-width: 992px) {
  .top-banner .btn.btn.btn-proto-colorful,
  .top-banner .btn.btn-download {
    width: 160px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .top-banner-btn-container {
    gap: 10px;
  }

  .top-banner .btn.btn.btn-proto-colorful,
  .top-banner .btn.btn-download {
    width: 150px;
    height: 36px;
  }

  .quickJump {
    display: none;
  }
}

@media (max-width: 390px) {
  .top-banner-btn-container {
    gap: 5px;
  }

  .top-banner .btn.btn.btn-proto-colorful,
  .top-banner .btn.btn-download {
    width: 120px;
    height: 36px;
  }
}
