/* Banner 背景与布局 */
.public-opinion-banner {
    background: url('../images/publicOpinion/banner.png') no-repeat center center;
    background-size: 100% 100%;
        position: relative;
        overflow: hidden;
        height: 40rem;
        /* 400px */
}
.public-opinion-banner .container {
    display: flex;
    align-items: center;
    height: 100%;
}
.public-opinion-banner-content{
    max-width: 65%;
}
.public-opinion-title {
    font-weight: bold; /* bold */
    font-size: 4rem; /* 50px */
    color: #333333;
    line-height: 6rem; /* 60px */
    margin: 0 0 2rem 0;
}

/* 二级锚点导航 */
.po-subnav {
    background: #FAFAFA;
    height: 7rem; /* 70px */
    width: 100%;
    position: relative;
    z-index: 100;
}

.po-subnav.sticky {
    position: fixed;
    top: 7rem; /* 70px */
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
}
.po-subnav .container {
    padding: 0;
}

.po-subnav-container {
    display: flex;
    justify-content: space-around;
}

.po-subnav-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 1.6rem; /* 16px */
    color: #333333;
    line-height: 7rem; /* 与容器等高，便于点击 */
    display: inline-flex;
    align-items: center;
    height: 100%;
    border-bottom: 0.2rem solid transparent;
    padding: 0 0.4rem;
}

.po-subnav-link:hover {
    color: #E21927;
}

.po-subnav-link--active {
    color: #E21927;
    border-bottom-color: #E21927; /* 2px 下边框 */
}

/* 平板端适配 */
@media (max-width: 1023px) {
    .po-subnav-container {
        gap: 12rem;
    }
}

/* 手机端适配 */
@media (max-width: 767px) {
    .po-subnav-container {
        gap: 6rem;
    }
    .po-subnav-link {
        font-size: 1.5rem;
    }
    /* .po-subnav.sticky {
        top: 5rem; 
    } */
     .po-subnav{
        height: 5rem;
     }
     .po-subnav-link{
        line-height: 5rem;
     }
}

.public-opinion-desc {
    font-weight: 400;
    font-size: 1.6rem; /* 16px */
    color: #666666;
    line-height: 2.4rem; /* 24px */
    margin: 0;
    text-align: justify;
}

/* 平板端适配 */
@media (max-width: 1023px) {
    .public-opinion-banner {
        height: 30rem;
    }
    .public-opinion-title {
        font-size: 4rem; /* 40px */
        line-height: 5rem; /* 50px */
        margin-bottom: 1.6rem;
    }
    .public-opinion-desc {
        font-size: 1.4rem; /* 14px */
        line-height: 2.1rem; /* 21px */
    }
}

/* 手机端适配 */
@media (max-width: 767px) {
    .public-opinion-banner {
        height: 23rem;
    }
    .public-opinion-banner-content{
        max-width: 95%;
    }
    .public-opinion-title {
        font-size: 3.6rem; /* 36px */
        line-height: 4.4rem; /* 44px */
        margin-bottom: 1.2rem;
    }
    .public-opinion-desc {
        font-size: 1.3rem; /* 13px */
        line-height: 1.9rem; /* 19px */
    }
}


/* 应用价值区域 */
/* .po-section {
    padding: 4.5rem 0;
} */

.po-value-header {
    text-align: center;
    margin-bottom: 3rem;
}

.po-value-title {
    font-size: 4rem;
    color: #333333;
    margin: 0 0 0.6rem 0;
    font-weight: 500;
}

.po-value-subtitle {
    margin-top: 1rem;
    font-weight: 400;
    font-size: 1.6rem; /* 16px */
    color: #666666;
}

.po-value-body {
    display: flex;
    justify-content: center;
}

.po-value-graphic {
    width: 100%;
    display: flex;
    max-width: 96rem;
    min-height: 28rem;
    align-items: center;
    justify-content: center;
    position: relative;
}

.po-value-text-left,
.po-value-text-right {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 11rem;
}

.po-value-text-left {
    left: 16%;
    top: 50%;
    transform: translateY(-50%);
    align-items: flex-end;
}

.po-value-text-right {
    right: 16%;
    top: 50%;
    transform: translateY(-50%);
    align-items: flex-start;
}

.po-value-text-item {
    font-size: 1.6rem;
    color: #333333;
    line-height: 2.4rem;
    font-weight: 400;
}

/* 平板端 */
@media (max-width: 1023px) {
    .po-section {
        padding: 4rem 0;
    }
    .po-value-title {
        font-size: 3.6rem;
    }
    .po-value-text-item {
        font-size: 1.4rem;
        line-height: 2.1rem;
    }
    .po-value-text-left,
    .po-value-text-right {
        gap: 12rem;
    }
}

/* 产品优势区域 */
.po-advantages-section {
    background: url('../images/publicOpinion/advantage.png') no-repeat center center;
    background-size: cover;
    /* padding: 4.5rem 0; */
}

.po-advantages-header {
    text-align: center;
    margin-bottom: 4rem;
}

.po-advantages-title {
    font-size: 4rem;
    color: #333333;
    margin: 0 0 0.6rem 0;
    font-weight: 500;
}

.po-advantages-subtitle {
    margin-top: 1rem;
    font-weight: 400;
    font-size: 1.6rem; /* 16px */
    color: #666666;
}


.po-advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; /* 让分隔线连续 */
    max-width: 128rem;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 0.2rem 1.6rem rgba(0, 0, 0, 0.06);
}

.po-advantage-item {
    padding: 2.4rem; /* 内边距用于留白 */
    border-right: 0.1rem solid #E6E6E6; /* 右侧分隔线 */
    border-bottom: 0.1rem solid #E6E6E6; /* 底部分隔线 */
    position: relative;
    background-color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.top-item-left{
    border-top-left-radius: 1rem;
}
.top-item-right{
    border-top-right-radius: 1rem;
}
.bottom-item-left{
    border-bottom-left-radius: 1rem;
}
.bottom-item-right{
    border-bottom-right-radius: 1rem;
}

.po-advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-22deg, #F1F4FC, #FCFDFF);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.po-advantage-item:hover::before {
    opacity: 1;
}

.po-advantage-item:hover {
    box-shadow: 0 0.1rem 2rem 0 rgba(0, 0, 0, 0.06);
}

.po-advantage-heading,
.po-advantage-desc {
    position: relative;
    z-index: 1;
}

/* 桌面端：每行4列，最后一列去右边框，最后一行去下边框 */
.po-advantage-item:nth-child(4n) {
    border-right: none;
}
.po-advantage-item:nth-child(n+5) {
    border-bottom: none;
}

.po-advantage-heading {
    font-weight: 500;
    font-size: 2.2rem; /* 22px */
    color: #333333;
    margin-bottom: 1rem;
}

.po-advantage-desc {
    font-size: 1.4rem; /* 14px */
    color: #666666;
    line-height: 2.1rem; /* 21px */
}

/* 平板端适配 */
@media (max-width: 1023px) {
    .po-advantages-title {
        font-size: 3.6rem;
    }
    .po-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0; /* 保持分隔线连续 */
    }

    /* 平板端：每行2列，去除每行最后一个的右边框，最后一行去下边框 */
    .po-advantage-item {
        padding: 2rem;
    }
    .po-advantage-item:nth-child(2n) {
        border-right: none;
    }
    .po-advantage-item:nth-child(n+3) {
        border-bottom: none;
    }
}

/* 手机端 */
@media (max-width: 767px) {
    .po-section {
        padding: 0;
    }
    .po-value-title {
        font-size: 3.2rem; /* 32px */
    }
    .po-value-subtitle {
        font-size: 1.4rem; /* 14px */
    }
    .po-value-text-item {
        font-size: 1.3rem;
        line-height: 1.9rem;
    }
        .po-value-text-left {
            left: 6%;
        }
        .po-value-text-right {
            right: 6%;
        }
    .po-value-text-left,
    .po-value-text-right {
        gap: 4rem;
    }

    /* 产品优势移动端适配 */
    .po-advantages-section {
        padding: 0;
    }

    .po-advantages-header {
        margin-bottom: 3rem;
    }

    .po-advantages-title {
        font-size: 3.2rem; /* 手机: 32px */
    }

    .po-advantages-subtitle {
        font-size: 1.4rem; /* 手机: 14px */
    }

    .po-advantages-grid {
                grid-template-columns: 1fr 1fr;
                    gap: 0rem;
    }

    .po-advantage-item {
        padding:2.6rem;
        border-right: none;
        border-bottom: 0.1rem solid #E6E6E6;
        border-right: 0.1rem solid #E6E6E6;
        border-top: 0.1rem solid #E6E6E6;
    }
    .po-advantage-item:nth-child(1) {
        border-bottom: none;
    }
     .po-advantage-item:nth-child(2) {
        border-bottom: none;
    }
    .po-advantage-heading {
        font-size: 1.76rem; /* 手机: 17.6px */
    }

    .po-advantage-desc {
        font-size: 1.12rem; /* 手机: 11.2px */
        line-height: 1.68rem; /* 手机: 16.8px */
    }
    .po-features-section .container{
        padding: 3rem 0rem;
    }
}

/* 重点功能区域 */
/* .po-features-section {
    padding: 4.5rem 0;
} */

.po-features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.po-features-title {
    font-size: 4rem;
    color: #333333;
    margin: 0 0 0.6rem 0;
    font-weight: 500;
}

.po-features-subtitle {
    margin-top: 0.8rem;
    font-size: 1.4rem;
    color: #666666;
}

.po-features-body {
    display: grid;
    grid-template-columns: 20rem 1fr; /* 左侧200px，右侧自适应 */
    box-shadow: 0 0.1rem 2rem 0 rgba(0, 0, 0, 0.06);
}

/* 左侧标签 */
.po-features-tabs {
    background: linear-gradient(-41deg, #FBFCFE, #ECF0FC);
    border-radius: 1rem 0 0 1rem; /* 10px 0 0 10px */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 40rem; /* 400px */
    gap: 2rem; /* 20px */
    position: relative;
}

/* 滑动背景元素 */
.po-features-tabs-slider {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 1rem;
    background: rgba(26, 76, 237, 0.1);
    border-radius: 0.6rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                left 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
    will-change: transform, left, width, height;
}

.po-feature-tab {
    background: transparent;
    border: none;
    text-align: center;
    padding: 1.2rem 1.6rem;
    /* border-radius: 0.6rem; */
    font-size: 1.6rem;
    color: #333333;
    cursor: pointer;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.po-feature-tab--active {
    color: rgba(20, 93, 255, 1);
}

/* 右侧面板 */
.po-features-panels {
    background: linear-gradient(163deg, #FBFCFE, #ECF0FC);
    border-radius: 0 1rem 1rem 0;
    overflow: hidden;
}

.po-feature-panel { 
    display: none; 
    height: 40rem; /* 400px */
    position: relative;
}
.po-feature-panel--active { 
    display: block;
}
.feature-judge-panel .po-feature-panel-inner{
    padding: 0;
}
.po-feature-panel-inner {
    display: grid;
    grid-template-columns: 1fr 42rem;
    padding: 3rem 4.9rem 0;
    gap: 2rem;
}

.po-feature-panel-image-only {
    grid-template-columns: 1fr;
    height: 100%;
}

.po-feature-text {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

/* 向下滑动然后返回的动画 */
.po-feature-text.slide-down,
.po-feature-image.slide-down {
    animation: slideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(35px); /* 向下滑动 */
    }
    100% {
        transform: translateY(0); /* 回到原位置 */
    }
}

.po-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}



.po-feature-item-content {
    flex: 1;
}

.po-feature-heading {
    font-weight: 500;
    font-size: 2.2rem; /* 22px */
    color: #333333;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
}
.po-feature-heading-one{
    padding-top: 3rem;
}

.po-feature-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.4rem;
    height: 2rem;
    background-color: #007bff;
    border-radius: 0.2rem;
}
.po-feature-heading-one::before{
    top: 3.7rem !important;
}

.po-feature-desc {
    font-size: 1.4rem; /* 14px */
    color: #666666;
    line-height: 2.1rem; /* 21px */
}

.feature-judge-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.feature-judge-image img {
    width: 75%;
    height: auto;
    display: block;
}

/* 响应式 */
@media (max-width: 1023px) {
    .po-features-title {
        font-size: 3.6rem;
    }
    .po-features-body {
        grid-template-columns: 20rem 1fr; /* 平板端：左侧200px，右侧自适应 */
    }
    .po-feature-panel-inner {
        grid-template-columns: 1fr;
    }
    .po-features-tabs {
        height: 36rem; /* 平板: 360px */
        gap: 1.8rem; /* 平板: 18px */
    }
    .po-feature-panel {
        height: 36rem; /* 平板: 360px */
    }
}

@media (max-width: 767px) {
    .po-features-title {
        font-size: 3.2rem;
    }
    .po-features-body {
        grid-template-columns: 1fr;
    }
    .po-features-tabs {
    height: 5rem;
        gap: 0;
        flex-direction: row;
        padding: 0 1rem;
            overflow-x: auto;
            overflow-y: hidden;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            /* Firefox */
            -ms-overflow-style: none;
            /* IE and Edge */
        }
        
        .po-features-tabs::-webkit-scrollbar {
            display: none;
            /* Chrome, Safari, Opera */
        }
        
        .po-feature-tab {
            flex-shrink: 0;
            white-space: nowrap;
            margin-right: 1rem;
        }
        
        .po-feature-tab:last-child {
            margin-right: 0;
        }
    .po-value-graphic{
        min-height: auto;
    }
    .po-feature-panel {
        height: auto; /* 手机: 320px */
    }
    .po-feature-panel-inner{
        padding: 2rem 2rem 0;
    }
    .feature-judge-image{
        margin-top: 4rem;
    }
}

