/* Technology Banner */
.technology-banner {
    position: relative;
    width: 100%;
    /*height: 500px;*/
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

.technology-banner .img {
    width: 100%;
    height: 100%;
}

.technology-banner .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Postless Video */
.postless-video {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.video-wrapper {
    max-width: 70%;
    margin: 0 auto 40px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    font-size: 0;
    border-radius: 10px;
    overflow: hidden;
}


.video-wrapper video {
    width: 100%;
    height: auto;
}

.video-description {
    max-width: 70%;
    margin: 0 auto;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    text-align: left;
}

/* Postless Improve */
.postless-improve {
    background-color: #f1f2f2;
    padding: 120px 0;
}

.improve-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.improve-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.improve-content {
    margin-bottom: 15px;
}

.improve-content .number {
    font-size: 60px;
    font-weight: bold;
    color: #343434;
}

.improve-content .unit {
    font-size: 24px;
    color: #333;
    font-weight: 500;
}

.improve-description {
    font-size: 20px;
    color: #343434;
    line-height: 1.4;
    font-weight: 400;
}

/* Postless Technology */
.postless-technology {
    text-align: center;
    font-size: 0;
}

.postless-img {
    margin: 0 auto;
}

.postless-img img {
    width: 100%;
    height: auto;
}

/*trademark*/
.postless-trademark{
    position: relative;
}

.postless-content{
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
}

.ceramic-coil-img{
    font-size: 0;
}

/* Compatibility */
section.campatibility {
    max-width: 70%;
    flex-direction: column;
    margin: 120px auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.ceramic-coil {
    flex: 0 0 50%;
}

.ceramic-coil img {
    width: 100%;
    height: auto;
}

.campatibility-description {
    flex: 1;
}

.campatibility-title {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: center;
}

.campatibility-text {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* Postless Advantage */
.postless-adavantage {
    text-align: center;
    font-size: 0;
}

.adavantage-img {
    margin: 0 auto;
}

.adavantage-img img {
    width: 100%;
    height: auto;
}

/* Postless Description */
.postless-description {
    margin: 0 17%;
    padding: 80px 0;
}

.postless-items {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    font-size: 0;
}

.postless-items .item-img {
    flex: 0 0 50%;
}

.postless-items .item-img img {
    width: 100%;
    height: auto;
}

.postless-items .item-content {
    flex: 0 0 50%;
    padding: 0 4%;
}

.item-title {
    font-size: 40px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.3;
}

.item-text {
    font-size: 18px;
    color: #000;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 1440px) {

    .video-wrapper,
    .video-description {
        max-width: 80%;
    }

    section.campatibility {
        max-width: 80%;
        flex-direction: column;
        gap: 40px;
    }

    .ceramic-coil {
        flex: none;
        width: 100%;
    }

    .postless-description {
        margin: 0 10%;
    }
}

@media (max-width: 768px) {
    /*.technology-banner {*/
    /*    height: 300px;*/
    /*}*/

    .technology-banner .img img{
        height: 50vh;
        object-fit: cover;
    }

    .video-wrapper,
    .video-description {
        max-width: 95%;
    }

    .video-description{
        font-size: 14px;
    }

    section.campatibility {
        max-width: 100%;
        margin: 40px 2%;
    }

    .postless-description {
        margin: 0 2%;
        padding: 20px 0;
    }

    .postless-improve{
        padding: 40px 0;
    }

    .improve-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .improve-item {
        min-width: auto;
    }

    .improve-content .number {
        font-size: 32px;
    }

    .improve-content .unit {
        font-size: 14px;
    }

    .improve-description{
        font-size: 14px;
    }

    .campatibility-title {
        font-size: 24px;
        text-align: left;
    }

    .postless-adavantage{
        padding: 0;
    }

    .item-title {
        font-size: 22px;
    }

    .campatibility-text{
        font-size: 14px;
    }

    .postless-content{
        position: unset;
        transform: unset;
        width: 100%;
        padding: 10px 8px;
    }

    .item-text{
        font-size: 14px;
    }

    .postless-items{
        flex-direction: column;
        margin-top: 20px;
    }

    .postless-items .item-content{
        margin-top: 20px;
    }

    .postless-items .item-text{
        font-size: 14px;
    }

    .postless-items:nth-child(2) .item-content,
    .postless-items:nth-child(4) .item-content{
        order: 2;
    }

    .postless-items:nth-child(2) .item-img,
    .postless-items:nth-child(4) .item-img{
        order: 1;
    }
}

.scroll-section {
    display: flex;
    width: 90%;
    max-width: 100vw;
    /* 确保不超出视口宽度 */
    margin: 0 auto;
    min-height: 100vh;
    box-sizing: border-box;
    /* 包含padding和border */
}

/* 内容面板 */
.content-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 2rem;
    min-height: 100vh;
    /* 确保容器有足够高度 */
}

.text-content {
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    opacity: 0;
    text-align: left;
    padding: 1rem 3rem 3rem 5rem;
    /* 减少上边距，增加左边距离 */
}

.text-content h2 {
    margin: 0 0 1rem;
    font-size: 3rem;
}

.text-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
}

/* 图片面板 */
.image-panel {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
}

.image-panel img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 70vh;
    opacity: 0;
    width: auto;
    height: auto;
    object-fit: contain;
}

.scroll-spacer {
    height: 50vh;
}

/* 4K屏幕样式 (3840px+) */
@media screen and (min-width: 3840px) {
    .scroll-section {
        width: 85%;
        max-width: 3200px;
    }

    .text-content h2 {
        font-size: 4.5rem;
        margin-bottom: 2rem;
    }

    .text-content p {
        font-size: 1.8rem;
        line-height: 1.8;
    }

    .text-content {
        padding: 2rem 4rem 4rem 8rem;
    }

    .image-panel img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 70%;
        max-height: 80vh;
    }
}

/* 大屏幕样式 (2560px - 3839px) */
@media screen and (min-width: 2560px) and (max-width: 3839px) {
    .scroll-section {
        width: 88%;
        max-width: 2400px;
    }

    .text-content h2 {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }

    .text-content p {
        font-size: 1.6rem;
        line-height: 1.7;
    }

    .text-content {
        padding: 1.5rem 3.5rem 3.5rem 7rem;
    }

    .image-panel img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 75%;
        max-height: 75vh;
    }
}

/* 平板横屏样式 (1024px - 1439px) */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
    .container {
        width: 95%;
    }

    .text-content h2 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .text-content p {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .text-content {
        padding: 1rem 2rem 2rem 3rem;
    }

    .image-panel img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 85%;
        max-height: 65vh;
    }
}

/* 平板竖屏样式 (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .scroll-section {
        flex-direction: column;
        width: 95%;
        max-width: 100vw;
        padding: 1rem;
        box-sizing: border-box;
    }

    .content-panel {
        flex: none;
        min-height: 50vh;
        padding: 1rem;
    }

    .image-panel {
        flex: none;
        min-height: 50vh;
        padding: 1rem;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        box-sizing: border-box;
    }

    .text-content {
        position: static;
        transform: none;
        top: auto;
        text-align: center;
        padding: 1rem;
    }

    .text-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .text-content p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .image-panel img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
        max-height: 50vh;
    }
}

/* 移动端样式 (最大767px) */
@media screen and (max-width: 767px) {
    .scroll-section {
        flex-direction: column;
        width: 100%;
        max-width: 100vw;
        padding: 0.5rem;
        box-sizing: border-box;
        min-height: auto;
    }

    .content-panel {
        flex: 1;
        min-height: 50vh;
        padding: 0.5rem;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .image-panel {
        flex: 1;
        width: 100% !important;
        min-width: 100%;
        min-height: 50vh;
        padding: 0.5rem;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        box-sizing: border-box;
    }

    .text-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 90%;
        z-index: 10;
    }

    .text-content h2 {
        font-size: 2rem;
        margin-bottom: 1.8rem;
        line-height: 1.1;
        font-weight: bold;
    }

    .text-content p {
        font-size: 14px;
        line-height: 1.5;
        font-weight: 600;
    }

    .image-panel img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
        max-height: 45vh;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .scroll-spacer {
        height: 50vh;
    }
}
