:root {
    --blue: #0874c9;
    --ink: #20252b;
    --max: 1560px
}
* {
    box-sizing: border-box
}
html {
    scroll-behavior: smooth
}
body {
    margin: 0;
    font-family: "Microsoft YaHei",Arial,sans-serif;
    color: var(--ink)
}
a {
    text-decoration: none;
    color: inherit
}
button {
    font: inherit
}
.container {
    width: min(var(--max),calc(100% - 120px));
    margin: auto
}
header {
    height: 100px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    gap: 38px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    z-index: 9999;
    box-shadow: 0 0 7px rgb(0 0 0 / 5%);
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blue);
    font-size: 28px;
    white-space: nowrap;
    width: 260px;
}
.brand img{
    width: 100%;
}
.brand b {
    font-size: 40px;
    font-style: italic
}
nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex: 1;
    font-size: 14px
}
nav a{
    font-size: 16px;
}
.phone {
    background: var(--blue);
    color: #fff;
    border-radius: 50px;
    padding: 9px 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}
#contact .phone{
    width: 180px;
    text-align: center;
    display: block;
}
.phone svg{
    width: 30px;
    height: auto;
    margin-right: 10px;
}
.menu {
    display: none
}
.hero {
    background: url("assets/hero.jpg") center top/cover;
    color: #fff;
    position: relative;
    max-height: 900px;
}
.swipers {
    width: 100%;
    overflow: hidden;
    height: 900px;
}
.swipers  .swiper-pagination{
    bottom: 8%;
    left: 34%;
}
.swipers  .swiper-pagination span{background: #fff;width: 40px;height: 4px;border-radius: 50px;margin-right: 6px;opacity: 0.4;}
.swipers  .swiper-pagination span.swiper-pagination-bullet-active{
    background: #fff;
    opacity: 1;
}
.shade {
    position: absolute;
    inset: 0;
}
.shade .bottom-photo img{
    width: 100%;
    display: none;
}
.shade .bottom-photo img.active{
    display: block;
}
.shade  img{
    width: auto;
    height: 100%;
    max-width: initial;
}
.hero-copy {
    position: relative;
    padding-top: 250px
}
.hero-copy p,label {
    font-size: 18px;
    font-weight: bold;
    color: var(--blue);
    letter-spacing: .08em
}
#solutions  label{
    color: #fff;
}
.hero-copy p {
    color: #d8efff
}
.hero h1 {
    font-size: 54px;
    line-height: 1.3;
    margin: 20px 0 75px
}
.more {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 6px 6px 6px 24px;
    border-radius: 28px;
    background: #fff;
    color: #333;
    font-size: 16px;
}
.more i {
    font-style: normal;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 26px;
    line-height: 19px;
}
.dark {
    border: 1px solid #ddd
}
.tabs {
    position: absolute;
    bottom: -115px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    z-index: 99;
}
.tabs button {
    width: 299px;
    height: 230px;
    border: 0;
    border-right: 1px solid #ddd;
    background: #fff;
    padding: 35px;
    display: flex;
    gap: 20px;
    text-align: left;
    flex-direction: column;
    align-items: center;
}
.tabs button:first-child {
    border-radius: 15px 0 0 15px
}
.tabs button:last-child {
    border-radius: 0 15px 15px 0
}
.tabs b {
    font-size: 38px
}
.tabs b img{
    filter: none;
    transition: 0.4s ease;
}
.tabs .active b img{
    filter: invert(1);
}
.tabs span {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
}
.tabs small {
    display: block;
    color: #999;
    font-size: 16px;
    margin-top: 12px;
    font-weight: 500;
}
.tabs .active {
    background: var(--blue);
    color: #fff
}
.tabs .active small {
    color: #fff
}
.tab-content-wrap{
    padding: 100px 0px;
    background: #f5f5f5;
    padding-top: 200px;
}
.tab-panel{
    display: none;
}
.tab-panel.active{
    display: block;
}
#news{
    padding: 100px 0px;
}
.section {padding: 0;}
.split {
    display: grid;
    grid-template-columns: 0.5fr 0.6fr;
    align-items: center;
    gap: 100px
}
h2 {
    font-size: 48px;
    line-height: 1.28;
    margin: 13px 0 30px;
}
.split p,.about p {
    font-size: 20px;
    color: #333;
    line-height: 2
}
.split ul {
    list-style: none;
    padding: 0;
    color: #777;
    line-height: 2.2;
    margin: 25px 0 55px;
    font-size: 16px;
}
.split li:before {
    content: "·";
    color: var(--blue);
    margin-right: 12px;
    font-weight: bold;
    font-size: 18px;
}
.photo {
    height: 600px;
    border-radius: 15px;
    background-size: cover;
    box-shadow: 0 15px 35px #0002
}
.research-photo {
    background-image: url("assets/research.jpg");
    background-position: 70% 45%
}
.solution {
    color: #fff;
    position: relative;
}
.solution .container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 100px 0px;
    height: 80vh;
}
.solution p {
    color: #fff;
    margin-bottom: 70px;
    font-size: 16px;
}
.chip-photo {
    height: 470px;
    background-image: url("assets/solution.jpg");
    background-position: 75% 40%
}
.industries {
    margin-top: 80px;
    background: #fffffff0;
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(6,1fr);
    color: var(--blue)
}
.industries span {
    text-align: center;
    font-size: 35px
}
.industries small {
    display: block;
    color: #555;
    font-size: 14px;
    margin-top: 12px
}
.about {
    padding: 100px 0;
    background: url("../images/7567.png") left;
    position: relative;
    background-repeat: no-repeat;
    background-size: 100%;
}
.about:after {
    content: "";
    position: absolute;
    inset: 0;
}
.about .container {
    position: relative;
    z-index: 1
}
.about p {
    max-width: 900px;
    margin: 0;
    margin-bottom: 76px;
    font-size: 16px;
}
.stats {
    display: flex;
    gap: 80px;
    margin-top: 80px
}
.stats b {
    font-size: 60px;
    color: var(--blue)
}
.stats small {
    display: inline-block;
    margin-left: 8px;
    color: #555;
    font-size: 13px
}
.ribbon {
    height: 230px;
    background: var(--blue);
    color: #ffffff66;
    overflow: hidden;
    display: flex;
    align-items: center
}
.ribbon div {
    font-size: 34px;
    font-weight: bold;
    white-space: nowrap;
    animation: move 18s linear infinite
}
.ribbon div  img{
    filter: brightness(0) invert(1);
    transition: filter 0.2s ease;
    opacity: 0.5;
    padding: 0px 46px;
}
.gray {
    background: #f5f5f5;
    padding: 100px 0px;
}
.heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 70px
}
.cards,.news {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 42px;
}
.cards article {
    background: #fff;
    transition: .3s
}
.cards article:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px #0002
}
.card-img,.news-img {
    height: 330px;
    background-size: cover
}
.one {
    background-image: url("assets/services.jpg");
    background-position: 12% 33%
}
.two {
    background-image: url("assets/services.jpg");
    background-position: 50% 33%
}
.three {
    background-image: url("assets/services.jpg");
    background-position: 88% 33%
}
.cards article>div:last-child {
    padding: 38px
}
.cards i {
    font-size: 32px;
    color: var(--blue)
}
.cards h3 {
    color: var(--blue);
    font-size: 22px;
    padding: 8px 0px;
}
.cards p,.news p {
    color: #777;
    line-height: 1.8;
    font-size: 16px;
    margin-top: 11px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.n1 {
    background-image: url("assets/news.jpg");
    background-position: 15% 35%
}
.n2 {
    background-image: url("assets/news.jpg");
    background-position: 48% 35%
}
.news h3 {
    font-size: 20px;
    margin-top: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news time {
    font-size: 14px;
    color: #aaa;
    margin-top: 41px;
    display: block;
}
.news-list article {
    border-bottom: 1px solid #eee;
    padding-bottom: 28px;
    margin-bottom: 28px
}
footer {
    background: #202020;
    color: #aaa;
    padding: 80px 0 30px
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 45px
}
.footer-top .brand {
    color: #fff
}
.footer-grid {
    display: grid;
    grid-template-columns: 3fr repeat(5,1fr) 1.5fr;
    gap: 60px;
    padding: 50px 0
}
.footer-grid h4 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 19px;
}
.footer-grid .an h4 {
    font-size: 18px;
}
.footer-grid a,.footer-grid p {
    display: block;
    font-size: 16px;
    line-height: 2;
    color: #999;
}
.qr {
    width: 90px;
    height: 90px;
    background: #fff;
    color: #111;
    display: grid;
    place-items: center
}
.copyright {
    border-top: 1px solid #333;
    padding-top: 30px;
    font-size: 14px;
    text-align: right;
    text-align: center;
    color: #666;
}
.copyright  a{
    color: #666;
    padding: 0px 8px;
}
.top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    opacity: 0;
    transition: .3s
}
.top.show {
    opacity: 1
}
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: .8s
}
.reveal.visible {
    opacity: 1;
    transform: none
}
@keyframes move {
    to {
        transform: translateX(-40%)
    }
}

/* ========== 新增：导航下拉菜单样式 直接嵌入此css文件 ========== */
nav {
    position: relative;
}
.nav_item {
    position: relative;
}
nav > .nav_item > a {
    display: block;
    padding: 10px 0;
    white-space: nowrap;
}
nav > .nav_item > a.active {
    color: var(--blue);
}

.nav_sub {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 160px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    border-radius: 4px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.24s ease;
}
.nav_sub a {
    display: block;
    padding: 10px 18px;
    color: #333;
    white-space: nowrap;
}
.nav_sub a:hover {
    background-color: #f5f7fa;
    color: var(--blue);
}
.nav_item:hover > .nav_sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media(max-width: 1100px) {
    .container {
        width:min(900px,calc(100% - 48px))
    }
    header {
        height: 78px;
        padding: 0 24px
    }
    .brand {
        font-size: 20px
    }
    .brand b {
        font-size: 30px
    }
    .menu {
        display: block;
        margin-left: auto;
        border: 0;
        background: none
    }
    nav {
        display: none;
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 28px 5%;
        gap: 0px;
        box-shadow: 0 12px 25px #0002;
        height: 100vh;
        overflow-y: auto;
    }
    nav.open {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    /* 移动端导航二级改为静态展开，取消悬浮absolute */
    .nav_sub {
        position: static;
        box-shadow: none;
        opacity:1;
        visibility:visible;
        transform:none;
        padding-left:16px;
        min-width:auto;
    }

    .phone {
        display: none
    }
    .hero {
        height: 760px
    }
    .hero-copy {
        padding-top: 170px
    }
    .hero h1 {
        font-size: 38px
    }
    .tabs {
        bottom: -90px
    }
    .tabs button {
        width: 220px;
        height: 180px;
        padding: 22px
    }
    .tabs span {
        font-size: 16px
    }
    .section {
        padding: 150px 0
    }
    .split {
        gap: 50px
    }
    h2 {
        font-size: 30px;
    }
    .photo {
        height: 470px
    }
    .stats {
        gap: 30px
    }
    .stats b {
        font-size: 42px
    }
}
@media(max-width: 720px) {
    .container {
        width:calc(100% - 36px)
    }
    .hero {
        height: 500px;
        background-position: 58% top
    }
.swipers {
    width: 100%;
    overflow: hidden;
    height: 500px;
}
    .hero-copy {
        padding-top: 10%;
    }
    .hero h1 {
        font-size: 29px
    }
    .hero h1 br {
        display: none
    }
    .tabs {
        bottom: -150px
    }
    .tabs button {
        width: 33.333%;
        height: 131px;
        padding: 16px 8px;
        display: flex;
        text-align: center
    }
.tabs b img {
    filter: none;
    transition: 0.4s ease;
    width: 29px;
}
    .tabs b {
        font-size: 27px
    }
    .tabs span {
        font-size: 13px
    }
    .tabs small {
        font-size: 10px;
        display: none;
    }
    .section {
        padding: 10% 0%;
    }
    #research {
        padding-top: 0%;
        padding-bottom: 0;
    }
    .split {
        grid-template-columns: 1fr
    }
    .solution .split .photo {
        order: -1
    }
    .photo {
        height: auto;
    }
    .industries {
        grid-template-columns: repeat(3,1fr);
        gap: 25px;
        padding: 25px 8px
    }
    .about {
        min-height: 920px;
        background-position: 65% center
    }
    .about:after {
        background: #ffffffdf
    }
    .stats {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 8px
    }
    .stats b {
        font-size: 29px
    }
    .stats small {
        display: block;
        margin: 5px 0
    }
    .ribbon {
        height: 150px
    }
    .heading {
        align-items: flex-start;
        margin-bottom: 0%;
    }
    .cards,.news {
        grid-template-columns: 1fr
    }
    .card-img,.news-img {
        height: auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
    .footer-grid>div:first-child {
        grid-column: 1/-1
    }
    .copyright {
        text-align: left
    }
}
.solution-copy-wrap {
    position: relative;
    min-height: 40vh;
}
.solution-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease;
}
.solution-panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}
.solution.is-changing .solution-panel {
    opacity: 0;
}
.chip-photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.solution-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease;
}
.solution-image.active {
  opacity: 1;
  visibility: visible;
}