/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #22318c;
    --secondary-color: #c91c21;
    --dark-gray: #333;
    --light-gray: #f5f5f5;
    --white: #fff;
    --text-color: #333;
    --text-light: #666;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 15px 0;
    display: block;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    top: 100%;
    left: 0;
    margin-top: 0;
    border-top: 3px solid var(--primary-color);
}

.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    color: var(--text-color);
    transition: var(--transition);
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding-left: 20px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-color);
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #1a256e);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translate(0, 0);
    transition: transform 0.1s ease-out;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    animation: slideInUp 0.8s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    animation: slideInUp 1.2s ease;
}

.btn:hover {
    background-color: #a8181d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 28, 33, 0.3);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 通用区块样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* 产品展示 */
.products-section {
    background-color: var(--light-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-info .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* 解决方案 */
.solutions-section {
    background-color: var(--white);
}

.solutions-tabs-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 40px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.solutions-tabs-container::-webkit-scrollbar {
    display: none;
}

.solutions-tabs {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    min-width: max-content;
}

.solution-tab {
    padding: 10px 20px;
    background-color: var(--light-gray);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.solution-tab:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.solution-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.solutions-content-container {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.solutions-content-wrapper {
    display: flex;
    width: 700%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.solution-content {
    width: 14.2857%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.solution-img {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.solution-text {
    flex: 1;
    min-width: 300px;
}

.solution-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.solution-text p {
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.solution-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.solution-text ul li {
    margin-bottom: 10px;
    color: var(--text-color);
}

.solution-text .btn {
    margin-top: 10px;
}

/* 关于我们 */
.about-section {
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.about-img {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.about-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-img:hover img {
    transform: scale(1.1);
}

/* 资讯动态 */
.news-section {
    background-color: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-img {
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-info {
    padding: 20px;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.news-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.news-info a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.news-info a:hover {
    color: var(--primary-color);
}

/* 合作伙伴 */
.partners-section {
    background-color: var(--light-gray);
}

.partners-marquee {
    overflow: hidden;
    position: relative;
    margin: 0 -20px;
}

.partners-track {
    display: flex;
    animation: marquee 20s linear infinite;
    cursor: grab;
    user-select: none;
}

.partners-track:active {
    cursor: grabbing;
}

.partner-logo {
    flex: 0 0 150px;
    height: 80px;
    background-color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 20px;
}

.partner-logo img {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
}

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

/* 鼠标悬停时暂停滚动 */
.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

/* 底部 */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    overflow: visible;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

.social-links a {
    font-size: 1.2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.share-qr-popup {
    display: none;
    position: fixed;
    z-index: 99999;
    pointer-events: auto;
    width: 180px;
}

.share-qr-popup.active {
    display: block !important;
}

.share-qr-content {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.share-qr-title {
    color: #333;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.share-qr-image {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-qr-image img {
    width: 100%;
    height: 100%;
    display: block;
}

.share-qr-close {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: #999;
    font-size: 14px;
    transition: color 0.3s ease;
}

.share-qr-close:hover {
    color: #333;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 30px;
    text-align: center;
    color: #999;
}
.footer-bottom a{color:#999;text-decoration-line:none;}

/* 右侧浮动小块 */
.floating-contact {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-item {
    position: relative;
}

.floating-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.floating-icon:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.floating-content {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-content::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent var(--white);
}

.floating-item:hover .floating-content {
    opacity: 1;
    visibility: visible;
}

.qr-code {
    width: 150px;
    height: 150px;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 回到顶部 */
.back-to-top {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #f9f9f9;
        margin-top: 0;
        border-top: none;
        display: none;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text,
    .about-img {
        flex: 100%;
    }

    .floating-contact {
        right: 15px;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .floating-content {
        right: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-section:nth-child(1),
    .footer-section:nth-child(2),
    .footer-section:nth-child(3) {
        display: none;
    }

    .footer-section {
        text-align: center;
        overflow: visible;
    }

    .footer-section h3 {
        display: none;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .footer-phone a {
        color: #ccc;
        text-decoration: none;
    }

    .footer-phone a:hover {
        color: var(--secondary-color);
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 0.85rem;
    }

    .floating-contact {
        position: fixed;
        right: 0;
        left: 0;
        top: auto;
        bottom: 0;
        transform: none;
        flex-direction: row;
        gap: 0;
        width: 100%;
        background-color: var(--secondary-color);
        padding: 0;
    }

    .floating-item {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .floating-item.back-to-top {
        display: none;
    }

    .floating-icon {
        width: 100%;
        height: 50px;
        background-color: var(--secondary-color);
        border-radius: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .floating-content {
        display: none;
    }

    .floating-item:nth-child(1) .floating-icon {
        cursor: pointer;
    }

    .floating-item:nth-child(2) .floating-icon {
        cursor: pointer;
    }

    .partners-marquee {
        margin: 0;
    }

    .partners-track {
        animation: none;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        white-space: nowrap;
        display: flex;
        scroll-behavior: smooth;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: scroll-position;
        touch-action: pan-x;
    }

    .partners-track::-webkit-scrollbar {
        display: none;
    }

    .partner-logo {
        flex: 0 0 120px;
        height: 70px;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .solutions-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px 5px;
        gap: 10px;
    }

    .solution-tab {
        padding: 8px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
        flex: 0 0 calc(20% - 5px);
        text-align: center;
    }

    .solutions-content-container {
        overflow: hidden;
        min-height: 600px;
    }

    .solutions-content-wrapper {
        display: flex;
        width: 700%;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .solution-content {
        width: 14.2857%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0;
        box-sizing: border-box;
    }

    .solution-img {
        width: 100%;
        max-height: 300px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        flex-shrink: 0;
    }

    .solution-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .solution-text {
        width: 100%;
        flex-shrink: 0;
    }

    .solution-text h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .solution-text p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .solution-text ul {
        font-size: 0.9rem;
        padding-left: 15px;
    }

    .solution-text li {
        margin-bottom: 5px;
    }
}

/* 产品列表页 */
.page-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.page-header-grid {
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 30px,
        rgba(255,255,255, 0.05) 30px,
        rgba(255,255,255, 0.05) 32px,
        transparent 32px,
        transparent 62px
    ),
    repeating-linear-gradient(
        0deg,
        transparent,
        transparent 10px,
        rgba(255,255,255, 0.03) 10px,
        rgba(255,255,255, 0.03) 12px,
        transparent 12px,
        transparent 22px
    );
    animation: conveyorBelt 20s linear infinite;
}

.page-header:hover .page-header-grid {
    animation-play-state: paused;
}

@keyframes conveyorBelt {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(33.33%);
    }
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.category-tabs li {
	list-style: none;
    padding: 10px 25px;
    background-color: var(--light-gray);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.category-tabs li a{
	text-decoration: none;
    color: var(--text-color);
}

.category-tabs li:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.category-tabs li.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.category-tabs li.active a , .category-tabs li:hover a{
    color: var(--white);
}

.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-details {
    padding: 20px;
}

.product-details h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-details p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-specs {
    margin-bottom: 15px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.spec-label {
    font-weight: 500;
    color: var(--text-color);
}

.spec-value {
    color: var(--text-light);
}

.product-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.product-link:hover {
    color: var(--primary-color);
}

/* 资讯列表页 */
.news-category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.news-category-tab {
    padding: 10px 25px;
    background-color: var(--light-gray);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.news-category-tab:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.news-category-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    gap: 10px;
}

.pagination li {
    padding: 8px 16px;
    background-color: var(--light-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
	list-style:none;
}

.pagination li a {
	text-decoration: none;
	color: var(--text-color);
}

.pagination li:hover{
    background-color: var(--primary-color);
    color: var(--white);
}

.pagination li:hover a{
    color: var(--white);
}

.pagination li.thisclass ,.pagination li.thisclass a{
    background-color: var(--primary-color);
    color: var(--white);
}

/* 资讯详情页 */
.news-detail {
    padding: 80px 0;
}

.news-detail-content {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.news-detail-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.news-detail-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-detail-body {
    line-height: 1.8;
}

.news-detail-body p {
    margin-bottom: 20px;
}

.news-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.news-detail-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.news-detail-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-detail-footer a:hover {
    color: var(--primary-color);
}

/* 移动端模态框 */
.mobile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.mobile-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    max-width: 90%;
    width: 300px;
    z-index: 2001;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #999;

}

.modal-close:hover {
    color: var(--secondary-color);
}

.modal-body {
    text-align: center;
}

.modal-body .qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
}

.modal-body .qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-body p {
    margin: 5px 0;
    color: var(--text-dark);
}

.modal-body p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.modal-body p a:hover {
    color: var(--secondary-color);
}

.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-viewer.active {
    display: flex;
    opacity: 1;
}

.image-viewer-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.viewer-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: grab;
    transition: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.viewer-image-left {
    transform: translateX(-100%);
}

.viewer-image-current {
    transform: translateX(0);
}

.viewer-image-right {
    transform: translateX(100%);
}

.viewer-image:active {
    cursor: grabbing;
}

.viewer-close,
.viewer-prev,
.viewer-next {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.viewer-close:hover,
.viewer-prev:hover,
.viewer-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.viewer-close {
    top: 20px;
    right: 20px;
}

.viewer-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.viewer-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.viewer-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
}

@media (max-width: 768px) {
    .viewer-close,
    .viewer-prev,
    .viewer-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .viewer-close {
        top: 10px;
        right: 10px;
    }

    .viewer-prev {
        left: 10px;
    }

    .viewer-next {
        right: 10px;
    }

    .viewer-counter {
        bottom: 20px;
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* 联系我们页 */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-color);
    line-height: 1.6;
}

.contact-text a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 49, 140, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.contact-form .btn {
    width: 100%;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form .btn:hover {
    background-color: var(--primary-color);
}

.map-section {
    background-color: var(--light-gray);
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.map-placeholder p {
    margin-bottom: 10px;
}

/* 响 fanc式设计 */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}