@media screen and (max-width: 768px) {
    .software-header img {
        /*width: 100% !important;*/
        max-width: 100% !important;
    }

    .banner {
        height: 280px !important;
    }

    .banner-item {
        height: 280px !important;
    }

    .banner-item h4 {
        font-size: 20px !important;
    }

    .banner-item p {
        font-size: 16px !important;
    }
}


/*banner图*/
.banner {
    height: 440px;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}


.banner .banner-item {
    display: flex;
    flex-direction: column;
    height: 440px;
    align-items: start;
    justify-content: center;
    font-family: Noto Sans SC, Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
    z-index: 1000;
}

.banner .banner-item h4 {
    font-size: 48px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 15px;
}

.banner .banner-item p {
    font-size: 20px;
    color: #fff;
}


.product-item .title {
    font-size: 14px;
    color: #1e9fff !important;
    margin-top: 30px;
    min-height: 48px;
    text-align: center
}

.product-item .desc {
    font-size: 14px;
    color: #c2c2c2;
    padding: 10px 0;
    text-align: center
}


/* ===== 产品卡片核心样式 ===== */
.product-item {
    display: block;
    text-decoration: none;
    height: 100%;
}

.product-item .layui-panel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.2s;
    height: 100%;
    background: #fff;
}

.product-item .layui-panel:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(-4px);
}

.product-item .layui-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 12px;
    text-align: center;
}

/* 图片：自适应 + 不拉伸 + 保持比例 */
.product-item .layui-panel img {
    width: 100%;
    height: 150px;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px auto;
}

.product-item .title {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    line-height: 1.5;
    margin: 6px 0 2px;
    word-break: break-word;
}

.product-item .subtitle {
    font-size: 12px;
    color: #888;
    margin: 0;
    min-height: 48px !important;
    display: flex;
    align-items: center;
}

/* ===== 响应式布局：一行4列，自适应 ===== */
@media screen and (max-width: 1199px) {
    .layui-col-md3 {
        width: 33.3333%; /* 大平板/小屏笔记本：一行3列 */
    }
}

@media screen and (max-width: 992px) {
    .layui-col-md3 {
        width: 50%; /* 平板：一行2列 */
    }
}

@media screen and (max-width: 576px) {
    .layui-col-md3 {
        width: 100%; /* 手机：一行2列（若想一行1列可改为100%） */
    }

    .product-item .title {
        font-size: 13px;
    }
}

@media screen and (max-width: 400px) {
    .layui-col-md3 {
        width: 100%; /* 超小手机：一行1列 */
    }
}

/* 间距微调 */
.layui-col-space15 > .layui-col-md3 {
    padding: 10px;
}

.layui-container[style*="margin: 60px auto"] {
    padding-left: 16px;
    padding-right: 16px;
}

.software-card {
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}


.software-card:hover {
    -webkit-box-shadow: 0 15px 30px rgb(0 0 0 / 20%);
    box-shadow: 0 15px 30px rgb(0 0 0 / 20%);
    -webkit-transform: translate3d(0, -2px, 0);
    transform: translate3d(0, -2px, 0);
}

.software-card a:hover {
    color: #333;
}


/* ========== 顶部通栏导航 ========== */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #fff 0%, #fff 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 2px solid #1b91e8;
    /* 动画相关样式 */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    display: none;

}


/* 滑入动画 */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 滑出动画 */
@keyframes slideOutUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}


.brand-section {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: space-between;
}

.product-name {
    font-size: 24px;
    font-weight: 400;
    color: #1E9FFF;
    letter-spacing: 1px;
    position: relative;
}

.product-name::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
}

.product-tag {
    font-size: 13px;
    color: #1E9FFF;
    padding: 4px 0;
    border-radius: 20px;
    font-weight: 400;
}


.nav-tab-item {
    padding: 8px 24px;
    border-radius: 32px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    border: none;
}

.nav-tab-item:hover {
    color: #1E9FFF;
}


.right-actions {
    display: flex;
    align-items: center;
    gap: 20px;

}


.notice-bar {
    background: rgba(5, 114, 236, 0.1);
    height: 40px;
    padding: 0 20px;
    line-height: 40px;
    overflow: hidden;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(5, 114, 236, 0.3);
}

.notice-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.notice-icon {
    color: #ffc107;
    font-size: 18px;
    flex-shrink: 0;
}

.notice-text {
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
}

.scroll-notice {
    display: inline-block;
    /*animation: scrollLeft 16s linear infinite;*/
    /*animation-delay: 3s;*/
}

.scroll-notice span {
    margin-right: 60px;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.notice-bar:hover .scroll-notice {
    animation-play-state: paused;
}


/* 响应式 */
@media (max-width: 1200px) {
    .notice-bar {
        min-width: 260px;
    }

    .nav-tab-item {
        padding: 6px 16px;
    }
}

@media (max-width: 992px) {
    .brand-section {
        flex-wrap: wrap;
        gap: 12px;
    }

    .right-actions {
        flex-wrap: wrap;
    }

}
