/* ==================== Font ==================== */
@font-face {
    font-family: 'font-e2';
    src: url('../fonts/JEKODEMO-EXTRABOLD.OTF') format('opentype');
}
@font-face {
    font-family: 'font-e1';
    src: url('../fonts/JEKODEMO-MEDIUM.OTF') format('opentype');
}
@font-face {
    font-family: 'font-c1';
    src: url('../fonts/SourceHanSansSC-VF.otf') format('opentype');
}

/* ==================== Reset ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}
ul, li {
    list-style: none;
}

/* ==================== Navigation ==================== */
.top {
    width: 98.8%;
    height: 71px;
    font-size: 50px;
    font-family: 'font-e2', sans-serif;
    position: relative;
    margin: 18.25px auto 0;
    overflow: hidden;
}
.top-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.top-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.top-slide.active {
    opacity: 1;
}
.top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1;
}
.top.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    z-index: 100;
}
.top.sticky .top-slide {
    background-attachment: scroll;
}
.top.sticky .top-slides {
    display: none;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.top .wrop {
    width: 98%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 10;
}
.top .wrop .right ul {
    display: flex;
    gap: 590px;
}
.top .wrop > :first-child a,
.top .wrop .right li a {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.top .wrop > :first-child:hover,
.top .wrop .right li:hover {
    color: #fe31c1;
}

/* ==================== Divider ==================== */
.xian-0 {
    width: 98.8%;
    display: flex;
    margin: 1% auto 0;
}
.xian-first {
    width: 98.8%;
    display: flex;
    margin: 1% auto 0.3%;
}
.xian-1 {
    width: 98.8%;
    display: flex;
    margin: 0 auto 0.6%;
}

/* ==================== Info Cards ==================== */
.kuai-font-k {
    width: 98.8%;
    margin: 18.25px auto 0;
    display: flex;
    flex-direction: column;
    gap: 18.25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.f-c {
    width: 100%;
    height: 71px;
    position: relative;
    border-radius: 0px;
    overflow: hidden;
}
.f-c-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.f-c-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.f-c-slide.active {
    opacity: 1;
}
.f-c-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1;
}
.f-c-half {
    width: 100%;
    height: 71px;
    font-size: 50px;
    font-family: 'font-e2', sans-serif;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    overflow: hidden;
}
.f-c-half-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.f-c-half-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1s ease-in-out, width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.f-c-half-slide.active {
    opacity: 1;
}
.f-c-half-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.f-c-half-left {
    position: relative;
    z-index: 2;
}
.f-c-half-right {
    position: relative;
    z-index: -1;
}
.f-c-half.telephone:hover .f-c-half-slide,
.f-c-half.telephone:hover .f-c-half-overlay { width: 75%; }
.f-c-half.email:hover .f-c-half-slide,
.f-c-half.email:hover .f-c-half-overlay { width: 71.5%; }
.f-c-half.wechat:hover .f-c-half-slide,
.f-c-half.wechat:hover .f-c-half-overlay { width: 80%; }

/* ==================== Project Cards ==================== */
.zu {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.tu {
    width: 98.8%;
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    margin: 0.6% auto;
    pointer-events: none;
}
.tu1 {
    display: flex;
    gap: 0.6%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.tu1 img,
.tu1 video {
    width: calc(50% - 4.5625px);
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 0px;
    flex-shrink: 0;
}
.carousel-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 50% !important;
    height: 100% !important;
    border: none;
    border-radius: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
    z-index: 1;
    transform: none !important;
    cursor: default;
}
.carousel-btn.next { left: 50% !important; }

.text {
    width: 98.8%;
    margin: 0 auto;
    display: flex;
    font-family: 'font-e1', sans-serif;
    font-size: 30px;
    color: #000;
}
.text-left { width: 50%; padding-left: 0px; }
.text-right {
    width: 50%;
    padding-left: 0.3%;
    display: flex;
    justify-content: space-between;
}
.project-card {
    width: 100%;
    position: relative;
}
.project-desc {
    width: 98.8%;
    margin: 0 auto;
    margin-top: 0.6%;
    border-top: 1px solid #000000;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.desc-text {
    width: 80%;
    font-family: 'font-e1', sans-serif;
    font-size: 20px;
    color: #c3c3c3;
    line-height: 1.5;
}
.desc-more {
    font-family: 'font-e1', sans-serif;
    font-size: 30px;
    color: #000;
    transition: color 0.2s ease;
}
.desc-more:hover { color: #fe31c1; }
.text:hover ~ .project-desc,
.project-desc:hover {
    max-height: 150px;
    opacity: 1;
    padding: 1.2% 0;
}

/* ==================== Cursor ==================== */
.cursor-left, .cursor-right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 5;
    pointer-events: auto;
    cursor: default;
}
.cursor-left { left: 0; }
.cursor-right { right: 0; }
.tu:hover.has-prev .cursor-left {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpolygon points='18,24 28,17 28,31' fill='black' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 24 24, pointer !important;
}
.tu:hover.has-next .cursor-right {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpolygon points='30,24 20,17 20,31' fill='black' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 24 24, pointer !important;
}

/* ==================== Scroll Animation ==================== */
.scroll-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}
.scroll-animate.show.reset {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0s, transform 0s;
}

/* ==================== Body Padding ==================== */
body.body-sticky {
    padding-top: 71px;
}

/* ==================== Hidden Classes ==================== */
.top-xian, .top-k-f, .kuai-font, .k-f-c {
    display: none;
}

/* ==================== DI Section ==================== */
.di {
    width: 98.8%;
    margin: 0.3% auto 0;
}
.brand {
    display: flex;
    justify-content: space-between;
}
.di-left {
    display: flex;
    flex-direction: column;
    gap: 50px;
    position: relative;
}
.logo {
    font-family: 'font-e2', sans-serif;
    font-size: 50px;
    display: flex;
    margin-top: -10px;
}
.brand-xinxi {
    display: flex;
    position: relative;
    width: 66.67%;
}
.b-left {
    font-family: 'font-e2', sans-serif;
    font-size: 30px;
    width: 50%;
}
.b-left ul li {
    margin-bottom: 10px;
}
.b-right {
    font-family: 'font-e2', sans-serif;
    font-size: 30px;
    position: absolute;
    right: 0;
    width: 0%;
    display: flex;
    text-align: right;
}
.b-right ul {
    text-align: right;
}
.b-right ul li {
    margin-bottom: 10px;
}
.di-right {
    width: 50%;
}
.cn, .en {
    font-family: 'font-e1', sans-serif;
    font-size: 24px;
    margin-bottom: 90px;
}
