.discover-banner {
    font-size: 0;
}


.tab-module {
    display: flex;
    gap: 40px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 0;
    margin: 60px auto;
    justify-content: start;
}

.tab-module a {
    display: inline-block;
    margin-bottom: 0;
    padding-bottom: 10px;
    position: relative;
    cursor: pointer;
}

.tab-module a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 4px;
    background-color: #14DCDC;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.tab-module a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.tab-content {
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}


/* faq tab */
.faq-wrapper {
    display: flex;
    width: 100%;
    margin: 20px auto;
}

.tabs {
    flex: 0 0 30%;
    margin-right: 20px;
}

.tab-link {
    display: block;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    background: #fff;
    font-size: 24px;
    color: #282828;
    font-weight: bold;
}

.tab-link .iconfont {
    opacity: 0;
    font-size: 24px;
}


.download {
    display: flex;
    min-height: 100vh;
    gap: 60px;
    text-align: left;
}

.sidebar {
    flex: 0 0 25%;
    background-color: #fff;
    padding: 20px;
}

.sidebar h2 {
    font-size: 24px;
}

.content {
    flex: 0 0 75%;
    padding: 20px;
}

.filter-item {
    margin-bottom: 15px;
    font-size: 18px;
    margin-top: 20px;
}

.download-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.download-item {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.download-item:hover {
    border-color: #14DCDC;
}

.filter-condition {
    color: #919191;
    margin-bottom: 40px;
}

.download-item .file-type {
    color: #696969;
    margin-top: 18px;
}

.download-item .file-name {
    font-size: 22px;
    color: #565656;
    margin-top: 18px;
}

.download-icon {
    text-align: right;
    margin-top: 18px;
}

.download-icon .icon-download {
    font-size: 24px !important;
    opacity: 0.7;
    color: #696969;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.download-item:hover .download-icon .icon-download {
    color: #14DCDC;
    opacity: 1;
}

.show-more {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 50px;
    color: var(--primary-color);
}

/* 移动端响应式设计 */
@media (max-width: 768px) {

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

    .tab-warpper{
        padding: 0 2%;
    }

    .tab-module {
        flex-direction: row;
        gap: 20px;
        font-size: 18px;
        margin: 30px auto;
        padding: 0 8px;
    }

    .tab-module a {
        display: inline-block;
        padding: 15px 20px;
        background: #f8f9fa;
        border-radius: 8px;
        text-align: center;
        border: 2px solid transparent;
        transition: all 0.3s ease;
        text-decoration: none;
        min-width: fit-content;
        position: relative;
        overflow: hidden;
        /* 移除所有阴影效果 */
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        /* 移除点击时的默认样式 */
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .tab-module a:hover {
        background: #e9ecef;
        border-color: #14DCDC;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
    }

    .tab-module a.active {
        background: #14DCDC;
        color: #fff;
        border-color: #14DCDC;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
    }

    .tab-module a:focus {
        outline: none;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
    }

    .tab-module a:active {
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
    }

    /* 完全隐藏移动端的下划线指示器 */
    .tab-module a::after {
        display: none !important;
    }

    .sidebar h2{
        font-size: 18px;
    }

    .download {
        flex-direction: column;
        gap: 20px;
    }

    .sidebar {
        padding: 0;
    }

    .filter-item {
        margin: 8px;
        font-size: 14px;
        display: inline-block;
    }

    .download .content {
        padding: 0;
    }

    .filter-condition {
        margin-bottom: 20px;
    }

    .download-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .download-item {
        padding: 8px;
    }

    .download-item a {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .download-item .file-type {
        font-size: 12px;
        margin-top: 8px;
        flex: 1;
    }

    .download-link a>* {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px;
        box-sizing: border-box;
        border: 1px solid #eee;
        margin: 0;
        height: 100%;
    }

    .download-item .file-name {
        flex: 1;
        margin-top: 0;
        font-size: 18px;
    }

    .download-icon {
        flex: 1;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .tab-module {
        gap: 8px;
        font-size: 14px;
        margin: 20px auto;
    }

    .tab-module a {
        padding: 6px 8px;
        min-width: fit-content;
    }

    /* 确保小屏幕下也不显示下划线 */
    .tab-module a::after {
        display: none !important;
    }
}
