﻿.power-desc {
  min-width: var(--min-width);
  padding-top: 227px;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  /* background-color: #F7F8FA; */
  background-image: url('../image/power-desc-bj.png');
  background-size: cover;
  height: 1000px;
  padding-bottom: 100px;
}

.power-desc-top {
  width: var(--width);
  display: flex;
  position: relative;
  gap: 16px;
  /* height: 500px; */
}

.power-desc-top-left {
  display: flex;
  flex-direction: column;
  width: 700px;
}

.power-desc-top-left-title {
  font-size: 60px;
  font-weight: bold;


}

.power-desc-top-left-desc {
  font-size: 16px;

  color: #292F45;
  margin-top: 23px;
}

.power-desc-top-left-btn {
  font-size: 14px;
  color: #FFFFFF;
  background-color: #315AFF;
  border-radius: 4px;
  margin-top: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 46px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.power-desc-top-left-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: skewX(-25deg);
  /* 初始化自动执行一次扫光 */
  animation: init-shine 0.8s ease 0.4s 1;
  transition: left 0.6s ease;
}

/* hover依然可以再次扫光 */
.power-desc-top-left-btn:hover::after {

  left: 140%;
}

.power-desc-top-left-btn:active {
  transform: scale(0.97);
}

/* 初始化扫光动画 */
@keyframes init-shine {
  0% {
    left: -120%;
  }

  100% {
    left: 140%;
  }
}

.power-desc-top-right {
  width: 500px;
  position: absolute;
  top: 0;
  right: 0;
}

.power-desc-bottom {
  display: flex;
  width: 1200px;
  justify-content: space-between;
  margin-top: 100px;
}

.power-desc-bottom-item {
  width: 384px;
  height: 250px;

  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 34px;
  background-color: rgba(255, 255, 255, 0.5);
  /* background-color: white; */
  border-radius: 18px;
  backdrop-filter: blur(7px);
  transition: all 0.35s ease;
  cursor: pointer;

}

.power-desc-bottom-item:hover {
  transform: scale(1.05);
}

.power-desc-bottom-item-icon {
  width: 67px;
  height: 67px;
  /* margin-top: 34px; */
}

.power-desc-bottom-item-title {
  font-weight: 500;
  font-size: 18px;
  color: #292F45;
  margin-top: 23px;
}

.power-desc-bottom-item-desc {
  font-size: 14px;
  color: #292F45;
  margin-top: 12px;
}

.power-shop {
  /* height: 1000px; */
  padding-bottom: 100px;
  min-width: var(--min-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 120px;
}

.power-shop-content {
  width: var(--width);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 360px;
  gap: 15px;
  background-color: #fafbfd;
  border-radius: 18px;
  margin-top: 100px;
}

.power-shop-content-item {
  width: 380px;

  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding-left: 40px;
  padding-right: 30px;
  height: 200px;
}

.power-shop-content-item-title {
  font-weight: 500;
  font-size: 24px;
  color: #292F45;
  /* margin-top: 0px;/ */
}

.power-shop-content-item-num {
  font-weight: 700;
  font-size: 80px;
  color: #315AFF;
  margin-top: 34px;
  display: flex;


}

.power-shop-content-item-num span {
  font-size: 40px;
  vertical-align: top;
  line-height: 80px;
  /* margin-left: 18px; */
}

.power-shop-content-item-desc {
  font-weight: 400;
  font-size: 14px;
  color: #292F45;
  /* margin-top: 20px; */
}

.power-shop-content-item-line {
  width: 1px;
  height: 100px;
  border: 1px solid rgba(216, 216, 216, 0.5);
}

.power-shop-op {
  min-width: var(--min-width);
  /* height: 1300px; */
  background-image: url('../image/power-shop-op-bj.png');
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding-top: 100px;
}

.power-shop-op-price {


  font-weight: 700;
  font-size: 300px;

  text-align: left;
  font-style: normal;
  text-transform: none;
  background: linear-gradient(180deg, #c4e0ff 0%, #ffffff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  /* webkit内核（Chrome、Edge、Safari）兼容 */
  color: transparent;
  opacity: 0;
  scale: 0.8;
  transform: translateY(80px);
  transition: all 0.3s ease-out;
  transition-delay: 500ms;
}

.power-shop-op-box {
  width: 1200px;
  height: 800px;
  margin-top: -250px;


  background-image: url('../image/power-shop-op-box.png');
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease-out;
}

.power-shop-op.active .power-shop-op-box {
  opacity: 1;
  transform: translateY(0);
}

.power-shop-op.active .power-shop-op-price {
  opacity: 1;
  scale: 1;
  transform: translateY(0);
}

.power-shop-op-box-title {
  font-weight: 700;
  font-size: 50px;
  color: #FFFFFF;

  width: 500px;
  margin-top: 300px;
  margin-left: 50px;
}

.power-shop-op-box-desc {
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);

  width: 500px;

  margin-left: 50px;
  margin-top: 27px;
}

.power-shop-konw {
  min-width: var(--min-width);
  height: 800px;
  background-color: #F7F8FA;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url('../image/power-shop-know-bj.png');
  background-size: cover;
  background-position: center;
}

.power-shop-sever {
  min-width: var(--min-width);
  height: 800px;
  background-color: #FaFbFd;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.power-shop-sever-box {
  width: var(--width);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 100px;
}

.power-shop-sever-box-item {
  flex: 1;
  height: 300px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 30px;
  transition: all 0.35s ease;
  cursor: pointer;
}

.power-shop-sever-box-item:hover {
  transform: scale(1.05);
}

.power-shop-sever-box-item img {
  width: 80px;
  height: 80px;
}

.power-shop-sever-box-item-title {

  margin-top: 33px;
  font-weight: 500;
  font-size: 20px;
  color: #292F45;
}

.power-shop-sever-box-item-desc {
  font-weight: 400;
  font-size: 12px;
  width: 240px;
  color: #292F45;
  text-align: center;
  margin-top: 10px;
}

.power-desc-top-left-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  /* 保持原有样式，增加 flex 布局 */
}

/* 打字机样式 */
.typewriter-row {
  display: inline-flex;

  align-items: center;
  position: relative;
}

.char-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
  position: relative;
}

.char-unit .letter {

  font-weight: 700;
  color: #000;
  color: #315AFF;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 0.2s;
}

.char-unit.done .letter {
  opacity: 1;
}

.char-unit .cursor-line {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #315AFF;
  border-radius: 2px;
  opacity: 0;
}

.char-unit.active .cursor-line {
  opacity: 1;
  animation: blink 0.6s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.power-shop-live {
  width: var(--width);
  display: flex;
  flex-wrap: wrap;
  margin-top: 100px;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 130px;
}

.power-shop-live-item {
  width: 589px;
  height: 388px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  align-items: center;
  border-radius: 30px;
  transition: all 0.35s ease;
  cursor: pointer;
  position: relative;

}

.power-shop-live-item-value {
  width: 349px;
  height: 80px;
  margin-top: 20px;
}

.power-shop-live-item-logo {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.power-shop-live-item:nth-child(1) {
  background-image: url('../image/live-bj1.png');
  background-size: cover;
}

.power-shop-live-item-title {
  margin-top: 38px;
  font-weight: 500;
  font-size: 30px;
}

.power-shop-live-item-desc {
  margin-top: 10px;
  font-weight: 400;
  font-size: 24px;
}

.power-shop-live-item:nth-child(1) .power-shop-live-item-title {

  color: #461510;
}

.power-shop-live-item:nth-child(1) .power-shop-live-item-desc {

  color: #A47E78;
}

.power-shop-live-item:nth-child(2) {
  background-image: url('../image/live-bj2.png');
  background-size: cover;
}
.power-shop-live-item:nth-child(2) .power-shop-live-item-title {

  color: #243163;
}
.power-shop-live-item:nth-child(2) .power-shop-live-item-desc {

  color: #848CAC;
}

.power-shop-live-item:nth-child(3) {
  background-image: url('../image/live-bj3.png');
  background-size: cover;
}
.power-shop-live-item:nth-child(3) .power-shop-live-item-title {

  color: #243163;
}
.power-shop-live-item:nth-child(3) .power-shop-live-item-desc {

  color: #848CAC;
}


.power-shop-live-item:nth-child(4) {
  background-image: url('../image/live-bj4.png');
  background-size: cover;
}
.power-shop-live-item:nth-child(4) .power-shop-live-item-title {

  color: #403063;
}
.power-shop-live-item:nth-child(4) .power-shop-live-item-desc {

  color: #848CAC;
}


.power-shop-live-item-title,
.power-shop-live-item-desc {
  opacity: 0;
  transform: translateY(30px);

  transition:
    opacity 0.6s ease,
    transform 0.8s cubic-bezier(.34,1.56,.64,1);
}


.power-shop-live-item-value {
  width: 349px;
  height: 80px;
  margin-top: 20px;

  opacity: 0;
  transform: translateY(40px) scale(0.7);

  transition:
    opacity 0.6s ease 0.15s,
    transform 0.9s cubic-bezier(.34,1.56,.64,1) 0.15s;
}


.power-shop-live-item-logo {

  opacity: 0;

  transform:
    translateY(50px)
    scale(0.75);

  transition:
    opacity 0.7s ease,
    transform 1s cubic-bezier(.34,1.56,.64,1);
}


/* active */

.power-shop-live-item.active .power-shop-live-item-logo {

  opacity: 1;

  transform:
    translateY(0)
    scale(1);

}


.power-shop-live-item.active .power-shop-live-item-value {

  opacity: 1;

  transform:
    translateY(0)
    scale(1);

}


.power-shop-live-item.active .power-shop-live-item-title {

  opacity: 1;

  transform:
    translateY(0);

  transition-delay: 0.3s;

}


.power-shop-live-item.active .power-shop-live-item-desc {

  opacity: 1;

  transform:
    translateY(0);

  transition-delay: 0.45s;

}