@import "var.css";

.home-main {
  padding-bottom: 80px;
}

* {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  word-break: break-all;
}
.btn-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.use-btn {
  max-width: 176px;
  padding: 12px 0;
  margin: 30px auto;
  font-size: 20px;
  .btn-icon {
    font-size: 1.5em;
    margin-left: 0.5em;
  }
}

@media (max-width: 600px) {
  .use-btn {
    font-size: 16px;
    width: 138px;
    padding: 8px 0;
  }

  .use-btn .btn-icon {
    font-size: 1.5em;
  }
}

ul li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  margin-bottom: 16px;
}

h1 {
  font-weight: bold;
  font-size: 6em;
}
h2 {
  font-weight: bold;
  font-size: 3.8em;
  margin-bottom: 0;
}
h3,
.h3 {
  font-weight: bold;
  font-size: 2.8em;
}
h4,
.h4 {
  font-weight: bold;
  font-size: 2em;
}
h5,
.h5 {
  font-weight: bold;
  font-size: 1.4em;
}
h6 {
  font-size: 1.3em;
  line-height: 1.5em;
  font-weight: 400;
}
.text-explain {
  color: var(--grey-color);
}

.primary-color {
  color: var(--primary-color);
}
.black {
  color: var(--black-color);
}
.grey {
  color: var(--grey-color);
}
.red {
  color: orangered;
}
.green {
  color: #00aa22;
}
.line-blue {
  background: linear-gradient(90deg, #7dd3fc, #409eff, #165dff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.line-blue-1 {
  background: linear-gradient(90deg, #44caff 20%, #047bd6) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.line-pink {
  background: linear-gradient(
    90deg,
    #3b82f6 30%,
    #a855f7,
    #d946ef,
    #ec4899,
    #f97316
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
.line-green {
  background: linear-gradient(90deg, #7cfab7 30%, #2ab1ff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
.model-text {
  text-align: center;
  margin: 8em auto 5em auto;

  h2 {
    color: var(--black-color);
  }

  h6 {
    color: var(--grey-color);
    margin-top: 50px;
  }
}

.blue-button {
  background: var(--linear-blue-bg);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  color: #fff;
  border-radius: 50px;
  animation: fadeInBtn 1s cubic-bezier(0, 0.92, 0.58, 1) 0s forwards;
  line-height: 1.2em !important;
}

.blue-button:hover {
  background: var(--primary-color);
}

@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  0% {
    margin-top: 10%;
  }

  to {
    margin-top: -3%;
  }
}

@keyframes opacityAni {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInBtn {
  0% {
    opacity: 0;
    transform: translateY(80px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  * {
    font-size: 12px;
  }
  .beian-1 div {
    height: 36px;
  }
  .beian-1 img {
    height: 87%;
  }
  h1,
  h2,
  h3,
  h4,
  h5 {
    margin-bottom: 14px;
  }

  h1 {
    font-size: 55px;
  }
  h2 {
    font-size: 36px;
    margin-bottom: 0;
  }
  h3,
  .h3 {
    font-size: 24px;
  }
  h4,
  .h4 {
    font-size: 18px;
  }
  h5,
  .h5 {
    font-size: 18px;
  }
  h6 {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 45px;
  }
  h2 {
    font-size: 32px;
  }
}

.pricing-table {
  width: 100%;
  position: relative;

  table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    min-height: calc(100vh + 200px);

    th,
    td {
      padding: 14px 16px;
      text-align: center;
      border-bottom: 1px solid #eee;
      box-sizing: border-box;
    }

    thead {
      top: var(--header-height);
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
      transform: translateZ(0);
    }

    th {
      font-size: 1.5em;
      font-weight: 400;
      background: #fff;
    }

    .section-row {
      td {
        padding: 16px;
        background: #fafafa !important;
        text-align: left;
        border-bottom: 1px solid #eee;

        .section-title {
          font-size: 1.2em;
          font-weight: bold;

          .btn-icon {
            font-size: 1.5em;
            margin-right: 5px;
            vertical-align: middle;
          }
        }
      }
    }

    .table-row-hover {
      transition: background 0.2s ease;

      &:hover {
        background-color: #f7f8fa !important;
      }
    }

    .feature-name {
      text-align: left;
    }

    .feature-value {
      .check-icon {
        color: #23c343;
        font-size: 1.2em;
        display: inline-block;
      }

      /**直接用纯灰色值，去掉变量兼容*/
      .dash-icon {
        color: #bbb;
        font-size: 1.2em;
      }

      .text-desc {
        font-size: 1em;
        color: #333;
      }
    }

    tr td:nth-child(n + 2) {
      width: 20%;
    }
  }
}

@media (max-width: 900px) {
  .pricing-table table th {
    font-size: 1.3em;
  }
}
@media (max-width: 800px) {
  .pricing-table table th {
    font-size: 1em;
  }
  .pricing-table table tbody {
    zoom: 0.7;
  }
}
@media (max-width: 500px) {
  .pricing-table table th {
    font-size: 0.9em;
  }
}

.ant-back-top {
  right: 30px;
  background: #fff;
  border-radius: 50px;
  box-shadow:
    0 6px 16px 0 rgba(0, 0, 0, 0.08),
    0 3px 6px -4px rgba(0, 0, 0, 0.12),
    0 9px 28px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;

  .svg-icon {
    font-size: 1.5em;
    color: #333 !important;
    padding-top: 5px;
  }
}
.ant-back-top:hover {
  background-color: #fafafa;
}

.menu-item .svg-icon {
  color: #444 !important;
}
.header-1 {
  box-shadow: 0 4px 4px 0 #cccccc1a;
  background: #fff;
}
header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;

  .logo {
    width: 167px;
    margin-left: 20px;
  }
  .logo img {
    width: 100%;
    height: 100%;
  }

  .header-main {
    margin: 0 15% 0 3%;
    height: 100%;
    width: auto;
  }

  .header-main-1 {
    display: none;
    height: 100%;
    line-height: 60px;
    width: 24px;
    margin-right: 20px;
    cursor: pointer;

    .menu-logo {
      font-size: 24px;
      color: #333;
    }
  }

  .header-menu {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .menu-item {
    padding: 0 16px;
    font-size: 16px;
    cursor: pointer;
    line-height: 60px;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #000;
  }

  .menu-item .iconfont {
    color: #444;
    font-size: 10px;
    margin-top: 5px;
    margin-left: 5px;
    transition: transform 0.2s ease-in-out;
    transform: rotate(0deg);
  }

  .menu-item:hover,
  .menu-item:hover .iconfont {
    color: var(--primary-color) !important;
  }

  .menu-item:hover .iconfont {
    transform: rotate(180deg);
  }
}

.menu-expand .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow {
  right: 0 !important;
}

.menu-item,
.menu-expand .ant-dropdown-menu-submenu-title {
  color: #000000e0 !important;
}

@media (max-width: 600px) {
  header .logo {
    height: 30px;
  }
}

@media (max-width: 1000px) {
  header {
    justify-content: space-between;

    .header-btn,
    .header-main {
      display: none;
    }

    .header-main-1 {
      display: block;
    }
  }
}

@media (max-width: 1200px) {
  .header-main {
    margin: 0 5% 0 3% !important;
  }
}

footer {
  width: 100%;
  position: relative;
  color: #fff;

  .footer-bg {
    width: 100%;
    height: 60%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }

  .footer-1 {
    width: 100%;
    padding: 8em 0;

    h2 {
      font-size: 60px;
      text-align: center;
      font-weight: 800;
      color: #fff;
    }

    .btn {
      display: flex;
      justify-content: center;
      gap: 50px;
      margin-top: 2em;
    }

    .btn div {
      cursor: pointer;
      font-size: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
      border-radius: 50px;
      padding: 12px 42px;
    }

    .btn1 {
      background: var(--linear-blue-bg);
    }

    .btn1:hover {
      background: var(--primary-color);
    }

    .btn2 {
      padding: 10px 40px;
      border: 1px solid #fff;
      border-style: inset;
    }

    .btn2:hover {
      background: rgba(255, 255, 255, 0.1);
    }
  }

  .footer-2 {
    width: 100%;
    background: #000;
    min-height: 300px;
    border-top: 1px solid #1f2226;
    padding: 2em;
    font-family: Arial, Helvetica, sans-serif;

    .svg-icon {
      font-size: 20px;
      margin-right: 0.5em;
    }

    .footer-2-content {
      width: 60%;
      margin: 0 auto;
    }

    .footer-menu-1 {
      display: flex;
      justify-content: center;
    }

    .footer-menu-2 {
      display: none;
    }

    .footer-menu-1,
    .footer-menu-2 {
      margin-bottom: 2em;
    }

    li {
      width: 25%;
    }

    .title,
    .ant-collapse-header,
    .ant-collapse-header-text {
      color: #fff !important;
      font-weight: bold;
      font-size: 16px !important;
    }

    ul li div,
    .beian,
    .ant-collapse-content-box {
      padding: 0 30px;
      color: var(--grey-color-footer);
      line-height: 3em;
    }

    a {
      color: var(--grey-color-footer);
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    .ant-collapse-content-box {
      padding: 0;
    }

    .ant-collapse-content-box div {
      padding-left: 3em;
    }

    ul li div:not(.title) {
      cursor: pointer;
    }

    ul li div:not(.title):hover,
    .ant-collapse-content-box div:hover {
      text-decoration: underline;
    }

    .beian {
      width: 100%;
      border-top: 1px solid var(--grey-color-footer);
      padding: 1em 0;
    }

    .beian-1,
    .beian-2 {
      display: flex;
      flex-wrap: wrap;
    }

    .beian div div {
      margin-right: 3em;
    }
  }
}

.footer-menu-2 {
  border: none !important;
  background: none !important;
  background-color: none !important;

  .ant-collapse-item {
    border-bottom: none !important;
  }
  .ant-collapse-content {
    border: none !important;
    background: none !important;
    background-color: none !important;
  }
}

@media (max-width: 1500px) {
  footer .footer-2 .footer-2-content {
    width: 70%;
  }
}

@media (max-width: 1300px) {
  footer .footer-2 .footer-2-content {
    width: 90%;
  }
}

@media (max-width: 1000px) {
  footer .footer-2 {
    .footer-menu-1 {
      display: none;
    }

    .footer-menu-2 {
      display: block;
    }

    .footer-2-content {
      width: 100%;
    }

    .beian-1,
    .beian-2 {
      display: block;
      text-align: center;
    }
  }
}

@media (max-width: 600px) {
  footer .footer-1 {
    padding: 5em 0;

    h2 {
      font-size: 36px;
    }

    .btn {
      gap: 30px;
    }

    .btn div {
      font-size: 16px;
    }
  }
}

.fixed-right {
  z-index: 1000;
  position: fixed;
  width: 72px;
  height: auto !important;
  right: 8px;
  bottom: 50px;
  background: #fff;
  box-shadow: 0 0 10px rgb(0 0 0 / 20%);
  border-radius: 3px;
  padding-top: 10px;

  ul {
    margin-bottom: 0;
  }
  li {
    width: 100%;
    height: auto !important;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    color: var(--grey-color);
    padding: 10px 0;
  }
  .svg-icon {
    font-size: 2em;
  }
  li:hover {
    color: var(--primary-color);
    background: #f7f7f7;
  }
}
.fixed-right-cont {
  width: 200px;
  height: 225px;
  color: var(--grey-color);
  text-align: center;

  img {
    width: 100%;
  }
}

.header-modal {
  overflow: hidden;

  .ant-modal {
    padding: 0;
  }

  iframe {
    border: none;
  }
  .ant-modal-content,
  .ant-modal-body {
    overflow: auto;
  }
  .ant-modal-body {
    padding: 0;
  }
  .ant-modal-header {
    padding: 1em;
  }
  .ant-modal-title {
    width: 100%;
  }
}
body {
  width: 100% !important;
  overflow: auto !important;
}
.menu-item {
  text-align: center;
}
