@charset "UTF-8";

*,
*::after,
*::before {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* 基础元素重置 */
html,
body {
  padding: 0;
  margin: 0;
  text-size-adjust: 100%;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  appearance: none;
  width: 3px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
}
::-webkit-scrollbar-thumb:active {
  background: #666;
}

/* 图片重置 */
img {
  border: 0;
}

/* 标题重置 */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

/* 段落/强调元素 */
p {
  margin: 0;
  padding: 0;
}
b,
strong {
  font-weight: bolder;
}

/* 链接样式 */
a {
  background-color: transparent;
  text-decoration: none;
  outline: none;
  color: #221815;
}
a:hover,
a:focus,
a:active {
  color: #221815;
  transition: 0.3s;
}

/* 列表重置 */
ul,
ol,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 表单元素统一设置 */
input,
button,
textarea {
  outline: none;
  -webkit-appearance: none;
  font-family: inherit;
}
input {
  border: none;
}
textarea {
  font-family:
    Arial, "Open Sans", "PingFang SC", "Microsoft YaHei", "Helvetica Neue",
    "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  overflow: auto;
  resize: none;
}
button {
  cursor: pointer;
}

/* 表格重置 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 工具类 */
.flex {
  display: flex;
  flex-wrap: wrap;
}
.position {
  position: relative;
}
.overflow {
  overflow: hidden;
}
.background {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

:root {
  --color-primary: #1260f9;
}
body {
  margin: 0 auto;
  line-height: 1.4;
  font-size: 16px;
  font-family:
    Arial, "PingFang SC", "Microsoft YaHei", "Helvetica Neue",
    "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* swiper */
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 50px;
}

.swiper-pagination-bullet {
  background: #b3b2b2;
  border-radius: 10px;
  transition: all 0.3s;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  width: 30px;
  background: linear-gradient(to left, #1260f9, #2fdaff);
}

.swiper-button-next,
.swiper-button-prev {
  top: 50%;
  margin-top: -25px;
  width: 50px;
  height: 50px;
  border: 1px solid var(--color-primary);
  transition: 0.3s;
  border-radius: 40px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 12px;
  color: #fff;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--color-primary);
}
.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: #fff;
}

@media (max-width: 1200px) {
  .swiper-button-next,
  .swiper-button-prev {
    margin-top: -20px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
}

.cp-container {
  margin: 0 auto;
  max-width: 1470px;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

/* page-heading */
.page-heading {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-heading h3 {
  font-size: 48px;
  line-height: 1;
  color: #fff;
}

.page-heading h3 span {
  display: block;
  margin-top: 10px;
}

.page-heading h4 {
  margin-bottom: 20px;
  font-size: 18px;
  color: #fff;
}

.page-heading p {
  font-size: 20px;
  color: #fff;
  max-width: 780px;
  margin: 20px auto;
}

.page-heading.cp-left {
  text-align: left;
}

.page-heading.cp-left p {
  margin: 20px 0 20px 0;
}

@media (max-width: 1366px) {
  .page-heading h3 {
    font-size: 40px;
  }
  .page-heading p {
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .page-heading h3 {
    font-size: 34px;
  }
  .page-heading h4 {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-heading h3 {
    font-size: 28px;
  }
  .page-heading p {
    font-size: 15px;
    margin: 12px auto 0;
  }
}

@media (max-width: 480px) {
  .page-heading h3 {
    font-size: 22px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .page-heading h4 {
    font-size: 14px;
  }
}

.py-100 {
  padding-top: 100px;
  padding-bottom: 100px;
}

.px-100 {
  padding-left: 100px;
  padding-right: 100px;
}

.pt-100 {
  padding-top: 100px;
}

.pb-100 {
  padding-bottom: 100px;
}

@media (max-width: 768px) {
  .py-100 {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .px-100 {
    padding-left: 50px;
    padding-right: 50px;
  }
  .pt-100 {
    padding-top: 50px;
  }
  .pb-100 {
    padding-bottom: 50px;
  }
}

/* button */
.cp-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: transparent;
  user-select: none;
  overflow: hidden;
  padding: 0 20px;
  min-width: 100px;
  line-height: 48px;
  height: 50px;
  border-radius: 50px;
}

.cp-btn::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  content: "";
  width: 0;
  height: 100%;
  background: linear-gradient(to right, #1260f9, #2fdaff);
  transition: 0.3s;
}

.cp-btn .cp-arrow {
  position: relative;
  display: block;
  margin-left: 5px;
  width: 14px;
  height: 1px;
  background-color: var(--color-primary);
  margin-top: -1px;
  transform: rotate(0);
  transition: 0.3s;
}

.cp-btn .cp-arrow::before,
.cp-btn .cp-arrow::after {
  position: absolute;
  right: 0;
  content: "";
  width: 7px;
  height: 1px;
  background-color: var(--color-primary);
  transform-origin: 100% 0;
  transition: 0.3s;
}

.cp-btn .cp-arrow::before {
  transform: rotate(45deg);
}
.cp-btn .cp-arrow::after {
  transform: rotate(-45deg);
}

.cp-btn-primary {
  border: 1px solid var(--color-primary);
  color: #fff;
}
.cp-btn-primary.active,
.cp-btn-primary:hover {
  color: #fff;
  border-color: transparent !important;
}

.cp-btn-primary.active::before,
.cp-btn-primary:hover::before {
  width: 100%;
}

.cp-btn:hover .cp-arrow {
  transform: rotate(-45deg);
}
.cp-btn-primary.active .cp-arrow,
.cp-btn-primary.active .cp-arrow::before,
.cp-btn-primary.active .cp-arrow::after,
.cp-btn-primary:hover .cp-arrow,
.cp-btn-primary:hover .cp-arrow::before,
.cp-btn-primary:hover .cp-arrow::after {
  background-color: #fff;
}

.cp-btn-white {
  border: 1px solid #fff;
  color: #fff;
}
.cp-btn-white::before {
  background: none;
  background-color: #fff;
}

.cp-btn-white:hover {
  color: var(--color-primary);
  border-color: transparent !important;
}

.cp-btn-white:hover::before {
  width: 100%;
}

.cp-btn-white .cp-arrow {
  background-color: #fff;
}

.cp-btn-white .cp-arrow::before,
.cp-btn-white .cp-arrow::after {
  background-color: #fff;
}

.cp-btn-white:hover .cp-arrow {
  background-color: var(--color-primary);
}

.cp-btn-white:hover .cp-arrow::before,
.cp-btn-white:hover .cp-arrow::after {
  background-color: var(--color-primary);
}

@media (max-width: 768px) {
  .cp-btn {
    padding: 0;
    line-height: 35px;
    height: 35px;
    border-radius: 40px;
    font-size: 0.6rem;
  }
  .cp-btn .cp-arrow {
    margin-left: 3px;
    width: 10px;
  }

  .cp-btn .cp-arrow::before,
  .cp-btn .cp-arrow::after {
    width: 5px;
  }
}

.hover-shadow {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hover-shadow::before {
  position: absolute;
  content: "";
  border-radius: 1%;
  z-index: -1;
  background:
    radial-gradient(
      ellipse 90.7646% 70.9067% at 1.8506% 18.1%,
      rgba(0, 117, 255, 0.9) 0%,
      rgba(0, 117, 255, 0.7) 15%,
      rgba(0, 117, 255, 0.15) 64%,
      rgba(16, 22, 33, 0) 90%
    ),
    radial-gradient(
      ellipse 50.7646% 40.9067% at 97.9582% 90.03%,
      rgba(29, 214, 255, 0.9) 0%,
      rgba(29, 214, 255, 0.7) 15%,
      rgba(29, 214, 255, 0.1) 64%,
      rgba(16, 22, 33, 0) 90%
    );
  background-blend-mode: overlay, normal;
  filter: blur(20px);
  inset: -20px;
  opacity: 0;
  transition: 0.6s ease-in-out;
}

.hover-shadow:hover::before {
  opacity: 1;
}

/* 分页 */
.cp-pagination {
  padding: 50px 0;
}

.cp-pagination ul {
  margin-left: -4px;
}

.cp-pagination.center ul {
  justify-content: center;
}

.cp-pagination-maxpage span,
.cp-pagination-link span,
.cp-pagination-link a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px 4px;
  width: 40px;
  height: 40px;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 40px;
  color: #fff;
  transition: all 0.2s ease;
}

.cp-pagination-link a i,
.cp-pagination-link span i {
  position: absolute;
  top: 15px;
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
}
.cp-pagination-prev a i,
.cp-pagination-prev span i {
  left: 18px;
  border-right: none;
  border-top: none;
}
.cp-pagination-next a i,
.cp-pagination-next span i {
  right: 18px;
  border-left: none;
  border-bottom: none;
}

.cp-pagination-link a:hover,
.cp-pagination ul li a.current {
  background: linear-gradient(to right, #4947de, #66c5cc);
  color: #fff;
  border-color: transparent;
}

.cp-pagination-link a:hover i {
  border-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .cp-pagination {
    margin-top: 50px;
    text-align: center;
  }
  .cp-pagination ul {
    margin-left: -4px;
  }

  .cp-pagination-prev span,
  .cp-pagination-next span,
  .cp-pagination-link a {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .cp-pagination-link a i,
  .cp-pagination-link span i {
    top: 11px;
  }

  .cp-pagination-prev a i,
  .cp-pagination-prev span i {
    left: 13px;
  }
  .cp-pagination-next a i,
  .cp-pagination-next span i {
    right: 13px;
  }
}

/* 动画 */
.goScale {
  -moz-animation-name: goScale;
  -ms-animation-name: goScale;
  -webkit-animation-name: goScale;
  animation-name: goScale;
}
@keyframes goScale {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.4);
    -ms-transform: scale(0.4);
    -moz-transform: scale(0.4);
    transform: scale(0.2);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
  }
}
.goLeft {
  -ms-animation-name: goLeft;
  -moz-animation-name: goLeft;
  -webkit-animation-name: goLeft;
  animation-name: goLeft;
}
@keyframes goLeft {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-30px, 0, 0);
    -ms-transform: translate3d(-30px, 0, 0);
    -moz-transform: translate3d(-30px, 0, 0);
    transform: translate3d(-30px, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
  }
}
.goRight {
  -webkit-animation-name: goRight;
  -ms-animation-name: goRight;
  -moz-animation-name: goRight;
  animation-name: goRight;
}
@keyframes goRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(30px, 0, 0);
    -ms-transform: translate3d(30px, 0, 0);
    -moz-transform: translate3d(30px, 0, 0);
    transform: translate3d(30px, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
  }
}
.goUp {
  -webkit-animation-name: goUp;
  -ms-animation-name: goUp;
  -moz-animation-name: goUp;
  animation-name: goUp;
}
@keyframes goUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 30px, 0);
    -ms-transform: translate3d(0, 30px, 0);
    -moz-transform: translate3d(0, 30px, 0);
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
  }
}
.goDown {
  -webkit-animation-name: goDown;
  -ms-animation-name: goDown;
  -moz-animation-name: goDown;
  animation-name: goDown;
}
@keyframes goDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -30px, 0);
    -ms-transform: translate3d(0, -30px, 0);
    -moz-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
  }
}
.animated {
  -webkit-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  animation-fill-mode: both;
}
.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  -ms-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
.animated.delay-1s {
  -webkit-animation-delay: 1s;
  -ms-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}
.animated.delay-2s {
  -webkit-animation-delay: 2s;
  -ms-animation-delay: 2s;
  -moz-animation-delay: 2s;
  animation-delay: 2s;
}
.animated.delay-3s {
  -webkit-animation-delay: 3s;
  -ms-animation-delay: 3s;
  -moz-animation-delay: 3s;
  animation-delay: 3s;
}
.animated.delay-4s {
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
}
.animated.delay-5s {
  -webkit-animation-delay: 5s;
  -ms-animation-delay: 5s;
  -moz-animation-delay: 5s;
  animation-delay: 5s;
}
.animated.fast {
  -webkit-animation-duration: 0.8s;
  -ms-animation-duration: 0.8s;
  -moz-animation-duration: 0.8s;
  animation-duration: 0.8s;
}
.animated.faster {
  -webkit-animation-duration: 0.5s;
  -ms-animation-duration: 0.5s;
  -moz-animation-duration: 0.5s;
  animation-duration: 0.5s;
}
.animated.slow {
  -webkit-animation-duration: 2s;
  -ms-animation-duration: 2s;
  -moz-animation-duration: 2s;
  animation-duration: 2s;
}
.animated.slower {
  -webkit-animation-duration: 3s;
  -ms-animation-duration: 3s;
  -moz-animation-duration: 3s;
  animation-duration: 3s;
}
@media (prefers-reduced-motion: reduce), (print) {
  .animated {
    -webkit-animation-duration: 1ms !important;
    -ms-animation-duration: 1ms !important;
    -moz-animation-duration: 1ms !important;
    animation-duration: 1ms !important;
    -webkit-transition-duration: 1ms !important;
    -ms-transition-duration: 1ms !important;
    -moz-transition-duration: 1ms !important;
    transition-duration: 1ms !important;
    -webkit-animation-iteration-count: 1 !important;
    -ms-animation-iteration-count: 1 !important;
    -moz-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
  }
}

/***编程使我快乐**/
.an-animate .an-animate-item:nth-child(1) {
  animation-delay: 0.1s;
  -webkit-animation-delay: 0.1s;
  -ms-animation-delay: 0.1s;
  -moz-animation-delay: 0.1s;
}
.an-animate .an-animate-item:nth-child(2) {
  animation-delay: 0.2s;
  -webkit-animation-delay: 0.2s;
  -ms-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
}
.an-animate .an-animate-item:nth-child(3) {
  animation-delay: 0.3s;
  -webkit-animation-delay: 0.3s;
  -ms-animation-delay: 0.3s;
  -moz-animation-delay: 0.3s;
}
.an-animate .an-animate-item:nth-child(4) {
  animation-delay: 0.4s;
  -webkit-animation-delay: 0.4s;
  -ms-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
}
.an-animate .an-animate-item:nth-child(5) {
  animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
  -ms-animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
}
.an-animate .an-animate-item:nth-child(6) {
  animation-delay: 0.6s;
  -webkit-animation-delay: 0.6s;
  -ms-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
}
.an-animate .an-animate-item:nth-child(7) {
  animation-delay: 0.7s;
  -webkit-animation-delay: 0.7s;
  -ms-animation-delay: 0.7s;
  -moz-animation-delay: 0.7s;
}
.an-animate .an-animate-item:nth-child(8) {
  animation-delay: 0.8s;
  -webkit-animation-delay: 0.8s;
  -ms-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
}
.an-animate .an-animate-item:nth-child(9) {
  animation-delay: 0.9s;
  -webkit-animation-delay: 0.9s;
  -ms-animation-delay: 0.9s;
  -moz-animation-delay: 0.9s;
}
.an-animate .an-animate-item:nth-child(10) {
  animation-delay: 1s;
  -webkit-animation-delay: 1s;
  -ms-animation-delay: 1s;
  -moz-animation-delay: 1s;
}
.an-animate .an-animate-item:nth-child(11) {
  animation-delay: 1.1s;
  -webkit-animation-delay: 1.1s;
  -ms-animation-delay: 1.1s;
  -moz-animation-delay: 1.1s;
}
.an-animate .an-animate-item:nth-child(12) {
  animation-delay: 1.2s;
  -webkit-animation-delay: 1.2s;
  -ms-animation-delay: 1.2s;
  -moz-animation-delay: 1.2s;
}
.an-animate .an-animate-item:nth-child(13) {
  animation-delay: 1.3s;
  -webkit-animation-delay: 1.3s;
  -ms-animation-delay: 1.3s;
  -moz-animation-delay: 1.3s;
}
.an-animate .an-animate-item:nth-child(14) {
  animation-delay: 1.4s;
  -webkit-animation-delay: 1.4s;
  -ms-animation-delay: 1.4s;
  -moz-animation-delay: 1.3s;
}
.an-animate .an-animate-item:nth-child(15) {
  animation-delay: 1.5s;
  -webkit-animation-delay: 1.5s;
  -ms-animation-delay: 1.5s;
  -moz-animation-delay: 1.5s;
}
.an-animate .an-animate-item:nth-child(16) {
  animation-delay: 1.6s;
  -webkit-animation-delay: 1.6s;
  -ms-animation-delay: 1.6s;
  -moz-animation-delay: 1.6s;
}
