@import './default.less';
.home-page {
  .fd-content {
    min-width: 1216px;
    background: #FFF;
    font-family: PingFangSC, Helvetica Neue, Helvetica, PingFang SC-Light, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
  }
  h2,
  h3,
  h4,
  h5 {
    font-weight: 100;
  }
  .home-layout-wrapper {
    width: 100%;
    height: 720px;
    text-align: center;
    overflow: hidden;
    .home-layout {
      margin: 0 auto;
      width: 1152px;
      padding: 0 24px;
      overflow: hidden;
      height: 100%;
      >div {
        float: left;
        width: 100%;
      }
      .col {
        .content-wrapper {
          border-radius: 4px;
          background: #fff;
          cursor: pointer;
          overflow: hidden;
          position: relative;
        }
      }
    }
    &:nth-of-type(odd) {
      background: #fff;
    }
    &:nth-of-type(even) {
      background-color: @bgColor;
    }
  }
  h2,
  h3 {
    text-align: center;
    font-weight: normal;
  }
  h2 {
    font-size: 30px;
    line-height: 38px;
    color: @titleColor;
    margin-top: 88px;
  }
  h3 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 16px;
    color: @titleColor;
  }
  .line {
    width: 40px;
    height: 2px;
    display: block;
    background: #FFBF00;
    margin: 16px auto 72px;
  }
  /* banner 区域 */
  .home-banner {
    height: 656px;
    color: #fff;
    g,
    ellipse {
      transform-box: fill-box;
    }
    .home-layout {
      height: 100%;
      display: flex;
      align-items: center;
      padding-top: 0;
      text-align: left;
    }
    .home-banner-content-wrapper,
    .home-banner-image-wrapper {
      width: 50%;
      display: inline-block;
    }
    .home-banner-content-wrapper {
      height: 178px;
      margin-bottom: 40px;
    }
    h1 {
      font-size: 38px;
      line-height: 46px;
      margin-bottom: 16px;
      font-weight: normal;
      color: @titleColor;
    }
    p {
      margin-bottom: 40px;
      font-size: 20px;
      line-height: 28px;
      color: @contentColor;
    }
    span {
      display: inline-block;
    }
    button {
      width: 168px;
      height: 48px;
      font-size: 20px;
    }

    .ant-btn-group button {
      width: 48px;
    }
    .home-banner-image-wrapper {
      text-align: center;
      margin-top: -120px;
    }
  }
  /* 功能介绍 */
  .home-func-wrapper {
    height: 720px;
    text-align: center;
    .image {
      height: 240px;
      position: relative;
      background-position: bottom center;
      background-repeat: no-repeat;
      background-size: 90% auto;
      margin-bottom: 62px;
    }
    .col {
      height: 400px;
    }
    p {
      font-size: 16px;
      color: @contentColor;
    }
  }
  .home-hover {
    border: 1px solid #E9E9E9;
    transition: transform .45s cubic-bezier(0.645, 0.045, 0.355, 1), box-shadow .45s cubic-bezier(0.645, 0.045, 0.355, 1), border .45s cubic-bezier(0.645, 0.045, 0.355, 1);
    &:hover {
      transform: translateY(-4px);
      box-shadow: 0 2px 24px fade(#000, 10);
      border-color: #fff;
    }
  }
  /* 案例 */
  .home-case-wrapper {
    .col {
      .content-wrapper {
        height: 360px;
        padding: 16px;
        .image {
          width: 100%;
          height: 100%;
          border-radius: 2px;
          background-position: center;
          background-repeat: no-repeat;
          background-size: cover;
        }
        &:hover {
          .code-wrapper {
            opacity: 1;
          }
        }
      }
      .code-wrapper {
        position: absolute;
        background: fade(#fff, 90);
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
        h4 {
          font-size: 16px;
          font-weight: normal;
          margin: 72px auto 12px;
          color: @titleColor;
        }
      }
    }
  }
  .home-serve-wrapper {
    height: 788px;
    text-align: center;
    .col {
      font-size: 16px;
      .content-wrapper {
        padding: 24px 16px;
        height: 440px;
        .icon-hover {
          opacity: 0;
          transition: opacity .45s;
        }
        &:hover {
          .icon-hover {
            opacity: 1;
          }
          p {
            color: fade(#000000, 65);
          }
        }
      }
      .image {
        width: 32px;
        height: 32px;
        margin: 8px auto 12px;
      }
      h3 {
        margin-bottom: 24px;
      }
      p {
        margin-bottom: 12px;
        color: @contentColor;
        transition: color .3s;
        font-weight: 400;
      }
      .exp {
        position: absolute;
        bottom: 24px;
        left: 0;
        width: 100%;
        font-size: 20px;
        color: fade(#000, 25);
      }
    }
  }
  .home-user-wrapper {
    height: 440px;
    h2 {
      margin-top: 64px;
    }
    .col {
      margin-bottom: 32px;
      i {
        display: block;
        width: 170px;
        height: 56px;
        background-repeat: no-repeat;
        background-position: center;
        margin: auto;
      }
    }
  }
}