html {
  font-size: 5.2083333333333vw;
  font-size: 100px;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-size: .16rem;
}

#app {
  font-family: Source Han Sans CN, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

button {
  border: none;
  background-color: unset;
}

@keyframes underline-grow {
  0% {
    left: 50%;
    right: 50%;
    width: 0;
  }

  100% {
    left: 0;
    right: 0;
    width: 100%;
  }
}

.navbar {
  position: relative;
  top: 0;
  width: 100%;
  height: 0.8rem;
  display: flex;
  align-items: center;
  padding: 0px 1.3rem;
  /* box-shadow: 0 2rem 0.08rem rgba(0, 0, 0, 0.1); */
  z-index: 999;
  box-sizing: border-box;
  background: rgba(255,255,255,.5);
  opacity: 1;
}
.navbar.sticky {
  position: sticky;
  opacity: 1;
  background: rgba(255, 255, 255, 1);
}
.navbar .brand {
  width: 1.88rem;
  height: .51rem;
  background-image: url('../img/cplogo.png');
  background-size: 100% 100%;
  margin-right: .4rem;
}
.navbar .nav-group {
  display: flex;
  align-items: center;
  gap: .3rem;
  flex-grow: 1;
  justify-content: flex-end;
}
.navbar .nav-item {
  font-size: 0.24rem;
  font-weight: 500;
  color: #434343;
  text-decoration: none;
  padding: 0.08rem 0.12rem;
  transition: color 0.3s;
}
.navbar .nav-item:hover {
  color: #0077FF;
}
.navbar .nav-item.active {
  color: #0077FF;
  font-weight: 500;
  position: relative;
}
.navbar .nav-item.active::after { 
  content: "";
  position: absolute;
  border-radius: 0.04rem;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.04rem;
  background-color: #0077FF;
  width: 0;
  animation: underline-grow 1s forwards;
}
.navbar .dropdown {
  display: inline-block;
  font-size: 0.24rem;
}
.navbar .dropdown::after {
    content: "";
    position: absolute;
    left: 58%;
    top: 75%;
    width: 6%;
    height: .2rem; /* 过渡区域高度，根据间隙大小调整 */
    background: transparent; /* 透明 */
    z-index: 2; /* 确保在下拉菜单之上 */
}
.navbar .dropdown-menu {
  cursor: pointer;
  display: none;
  position: absolute;
  left: 0;
  top: .81rem;
  min-width: auto;
  width: 100%;
  z-index: 1;
  flex-direction: row;
  justify-content: space-around;
  padding: .2rem 0;
  background: #fff;
}
.navbar .dropdown-menu .content {
  position: relative;
  width: 100%;
  padding-right: .1rem;
  /* border-right: 0.01rem solid rgba(112, 112, 112, 1); */
}
.navbar .dropdown-menu .content::after{
  content: "";
  position: absolute;
  right: 0;
  top: .4rem;
  bottom: 0;
  width: 0.01rem;
  background: rgba(112, 112, 112, .14);
}
.navbar .dropdown-menu .content:last-of-type::after{ display: none; }
.navbar .dropdown-menu .content:nth-child(1) { width: 21%; } /* 智能辅助研发 */
.navbar .dropdown-menu .content:nth-child(2) { width: 25%; } /* 核心能力建设 */
.navbar .dropdown-menu .content:nth-child(3) { width: 13%; } /* 数据资产中台 */
.navbar .dropdown-menu .content:nth-child(4) { width: 15%; } /* 市场驱动研发 */
.navbar .dropdown-menu .content:nth-child(5) { width: 12%; border-right: none} /* 全链协同研发 */
.navbar .dropdown-menu .content-header {
  font-size: .25rem;
  width: 100%;
  text-align: left;
}
.navbar .dropdown-menu .content-header .dropdown-item {
  display: flex;
  align-items: center;
  font-size: .24rem;
  font-weight: bold;
  color: #0077FF;
}
.navbar .dropdown-menu .content-header .dropdown-item img {
  width: 1em;
  height: 1em;
  object-fit: contain;
  margin-right: 0.08rem;
}
.navbar .dropdown-menu .content-list {
  font-size: .18rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-height: 4.6rem; /* 8 items * 32px (approximate height per item) */
  gap: 0.05rem;
  align-content: flex-start; 
}
.navbar .dropdown-menu .mix{
  width: 2.5rem !important;
}
.navbar .dropdown-item {
  width: 2.2rem;
  box-sizing: border-box;
  padding: .1rem 0px;
  text-align: left;
  text-decoration: none;
  font-size: .2rem;
  color: #434343;
  transition: color 0.3s;
  line-height: 1.4;
}
.navbar .dropdown-item:hover {
  color: #0077FF;
}
.navbar .dropdown:hover .dropdown-menu {
    display: flex;
}
.navbar .first {
    padding-left: .2rem;
}
.navbar .contact {
  font-size: .22rem;
  font-weight: 500;
  color: #434343;
  margin-left: .3rem;
}
.navbar .contact  img {
  width: .17rem;
  height: .17rem;
  line-height: .32rem;
}

.foot {
  width: 100%;
  background-color: #202226;
}
.foot .contact-info {
    display: flex;
    justify-content: space-between;
    font-size: .22rem;
    color: #fff;
    line-height: 1.5;
    padding: .3rem 1.8rem;
}

.foot .record {
    font-size: .22rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .2rem 0;
    color: #fff;
    border-top: 0.01rem solid #fff;
}
.foot .record .txt {
  color: inherit;
  text-decoration: none;
  padding-right: .35rem;
  margin-right: .35rem;
  border-right: 0.01rem solid #fff;
}
.foot .record .txt:last-child {
  margin-right: 0;
  padding-right: 0;
  border: 0;
}


.sidebar {
    position: fixed;
    top: 20%;
    right: 0;
    z-index: 99;
}
.sidebar .item {
    width: .6rem;
    height: .6rem;
    background-color: #004EA2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 .1rem .1rem 0;
}
.sidebar .item img {
  width: 70%;
  height: 70%;
}
.sidebar .item {
    position: relative;
    background: rgba(0, 123, 255, 0.95);
    opacity: .6;
    cursor: pointer;
    
}
.sidebar .item>img{
    width: 60%;
    height: 60%;
    object-fit: contain;
}
.sidebar .item .drog {
    display: none;
    position: absolute;
    top: 50%;
    right: calc(100% + .18rem);
    font-size: 18px;
    color: #ffffff;
    transform: translateY(-50%);
    background: #3596FF;
    padding: .8em;
    box-shadow: 0px 0px 0.03rem 0.01rem rgba(3,35,77,0.4);
    border-radius: 0.04rem;
    z-index: 1;
}
.sidebar .item .drog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: .18rem;
  height: 100%;
  background: transparent;
}
.sidebar .item .drog::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  border: .5em solid transparent;
  border-left-color: #3596FF;
  margin-left: -0.01rem;
  transform: translateY(-50%);
}
.sidebar .item.wechat .drog{
    top: -.6rem;
    width: 2rem;
    text-align: center;
    transform: translateY(0);
}
.sidebar .item.wechat .drog::after {
  top: 34%;
}
.sidebar .item.wechat .drog img {
  width: 100%;
  height: auto;
}
.sidebar .item.numbuer .drog {
    width: 2.8rem;
}
.sidebar .item.numbuer .drog .txt {
  font-size: .2rem;
  margin: .4em 0;
  text-align: left;
}
.sidebar .item:hover {
  opacity: 1;
}
.sidebar .item:hover .drog {
    display: block;
}
.sidebar .active {
    background-color: #3596FF !important;
}


.pub-title {
  display: flex;
  justify-content: center;
}
.pub-title .cn {
  position: relative;
  font-weight: bold;
  font-size: .32rem;
  color: #00ABFF;
  text-align: center;
  text-align-last: justify;
  padding-bottom: .12rem;
  margin-bottom: .06rem;
}
.pub-title .cn::after { 
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.04rem;
  background: linear-gradient(to right, #00ABFF 0%, #00ABFF 33%, white 33%, white 66%, #00ABFF 66%, #00ABFF 100%);
}
.pub-title .en {
  font-weight: bold;
  font-size: .26rem;
  color: #fff;
  text-transform: uppercase;
}
.pub-title .en span:last-of-type {
  color: #00ABFF;
}