/* @import url("inc/qq/qq.css"); */
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #00a8e8;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* 为固定导航栏预留空间 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    z-index: 1000;
    height: 80px; /* 明确设置导航栏高度 */
}

.navbar {
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    height: 80px; /* 确保容器高度与导航栏一致 */
}

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

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.dropdown-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    box-shadow: var(--shadow);
    list-style: none;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 主横幅 */
.hero {
    position: relative;
    width: 100%;
    overflow: visible;
    margin-top: 20px; /* 与导航栏高度一致 */
    scroll-margin-top: 80px; /* 为锚链接定位预留导航栏空间 */
}

.hero-slider {
    position: relative;
    width: 100%;
    line-height: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    z-index: 1;
    height: auto;
}

.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    position: relative;
}



.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

.btn-more {
    background: var(--primary-color);
    color: white;
    padding: 14px 40px;
    font-size: 16px;
}

.btn-more:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
}

.section-more {
    text-align: center;
    margin-top: 50px;
}

.hero-indicators {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}



/* 通用区块样式 */
section {
    padding: 60px 0;
    scroll-margin-top: 80px; /* 为锚链接定位预留导航栏空间 */
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 关于我们 */
.about {
    background: white;
    padding-top: 0px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.feature-item p {
    font-size: 14px;
    color: #666;
}



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

.product-category {
    margin-bottom: 60px;
}

.product-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

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

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-image {
    /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.product-info {
    padding: 25px;
}

.product-info h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-info h4 a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.product-info p {
    color: #666;
    margin-bottom: 15px;
}

.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

/* 应用领域 */
.applications {
    background: white;
}

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

.application-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--light-color);
    border-radius: 15px;
    transition: var(--transition);
}

.application-card:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.application-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.application-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.application-card p {
    color: #666;
    font-size: 12px;
}

/* 工程案例 */
.cases {
    background: var(--light-color);
}

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

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.case-image {
    height: 220px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.case-image a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-info {
    padding: 25px;
}

.case-info a{
    text-decoration: none;
}

.case-info a:hover{
    color: #00a8e8;
}

.case-info h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.case-info h4 a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.case-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

.case-desc {
    color: #666;
    line-height: 1.6;
}
.case-link {
    color: #0066cc;
}

/* 新闻中心 */
.news {
    background: white;
}

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

.news-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--light-color);
    border-radius: 15px;
    transition: var(--transition);
}

.news-card:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.news-date {
    text-align: center;
    min-width: 70px;
}

.date-day {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.news-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--secondary-color);
}

/* 联系我们 */
.contact {
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 32px;
    min-width: 50px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* 页脚 */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: #999;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px; /* 移动端导航栏高度调整 */
    }
    
    .header {
        height: 70px; /* 移动端导航栏高度 */
    }
    
    .navbar .container {
        height: 70px; /* 移动端容器高度 */
        padding: 10px 20px;
    }
    
    .hero {
        margin-top: 70px; /* 移动端主横幅顶部间距 */
        scroll-margin-top: 70px; /* 移动端主横幅锚链接定位调整 */
    }
    
    section {
        scroll-margin-top: 70px; /* 移动端锚链接定位调整 */
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 20px;
        transition: var(--transition);
        overflow-y: auto;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }

    .dropdown-menu,
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-color);
        margin-top: 10px;
        display: none;
    }

    .dropdown.active .dropdown-menu,
    .dropdown-submenu.active .submenu {
        display: block;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .application-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .contact-form {
        padding: 25px;
    }
}

#page_div {  margin:10px auto; float:right; clear:both;}
a.pagecool,.pagecoolSelect,.pagecoolPre,.pagecoolNext,.pageInfo{float:left;height:20px;font-family:Arial,宋体; font-size:12px;color:#444;font-weight:bold}
a.pagecool,.pagecoolSelect{width:22px;height:18px;font-weight:bold;border:#ccc 1px solid;margin:0 3px 0 3px;text-align:center;line-height:18px}
a.pagecool{text-decoration:none;color:#444;background:#FBF9F9;display:block}
a.pagecool:hover,.pagecoolSelect{color:#f00;background:#ffc}
.pagecoolPre,.pagecoolNext{margin:0 4px 0 4px}
.pageInfo{line-height:20px;margin:0 0 0 8px;font-family:Verdana,Arial;}
.pageInfo span{color:#f60; margin:0px 2px;}
.pageheadend {float:left;height:18px;font-family:Arial,宋体; font-weight:bold; font-size:12px;color:#444;width:34px;border:#ccc 1px solid;margin:0 3px 0 3px;text-align:center;line-height:18px;}

/* 新闻列表样式美化 */
.news-list-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 20px 0;
}

.news-list-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.news-list-item {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 100%);
    transform: translateX(5px);
    box-shadow: 0 2px 15px rgba(0, 102, 204, 0.1);
}

.news-list-item td {
    padding: 18px 25px;
    vertical-align: middle;
}

.news-item-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-item-icon {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.news-item-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.2;
    transform: scale(0);
    transition: all 0.3s ease;
}

.news-list-item:hover .news-item-icon::before {
    transform: scale(1);
}

.news-item-title {
    flex: 1;
}

.news-item-title a {
    font-size: 15px;
    font-weight: 500;
    color: #2c3e50;
    text-decoration: none;
    line-height: 1.5;
    transition: all 0.3s ease;
    display: block;
}

.news-item-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.news-item-new {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

.news-item-new img {
    width: 28px;
    height: 14px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

.news-item-date {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 400;
    min-width: 100px;
    text-align: center;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.news-list-item:hover .news-item-date {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 分页样式美化 */
#page_div {
    margin: 30px auto;
    padding: 20px;
    text-align: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagecool, .pagecoolSelect, .pageheadend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 2px;
}

.pagecool {
    background: white;
    color: #495057;
}

.pagecool:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.pagecoolSelect {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.pageheadend {
    background: #f8f9fa;
    color: #6c757d;
    font-size: 12px;
    width: auto;
    padding: 0 12px;
}

.pageheadend:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.pagecoolPre img, .pagecoolNext img {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.pagecoolPre:hover img, .pagecoolNext:hover img {
    filter: drop-shadow(0 2px 8px rgba(0, 102, 204, 0.4));
    transform: scale(1.1);
}

.pageInfo {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #6c757d;
    margin: 0 10px;
    border: 1px solid #e9ecef;
}

.pageInfo span {
    color: var(--primary-color);
    font-weight: 600;
}

/* 动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-list-item td {
        padding: 15px 20px;
    }
    
    .news-item-content {
        gap: 12px;
    }
    
    .news-item-title a {
        font-size: 14px;
    }
    
    .news-item-date {
        font-size: 12px;
        padding: 6px 12px;
        min-width: 80px;
    }
    
    #page_div {
        padding: 15px;
        gap: 5px;
    }
    
    .pagecool, .pagecoolSelect, .pageheadend {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .news-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .news-item-date {
        align-self: flex-end;
    }
    
    .news-list-item td {
        padding: 12px 15px;
    }
}

/* 产品列表样式 */
.product-list-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 20px 0;
    padding: 30px;
}

.product-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 20px 0;
}

.product-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-color);
}

.product-item-image {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.product-item-image img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.product-item-title {
    padding: 20px;
    text-align: center;
}

.product-item-title a {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
    line-height: 1.4;
    transition: all 0.3s ease;
    display: block;
}

.product-item-title a:hover {
    color: var(--primary-color);
}

/* 兼容原有table布局的产品展示 */
.product-list-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 20px;
}

.product-list-content table td {
    vertical-align: top;
    text-align: center;
}

.product-list-content table table {
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    background: white;
}

.product-list-content table table:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-color);
}

.product-list-content table table td {
    padding: 0;
    background: #f8f9fa;
}

.product-list-content table table img {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.product-list-content table table:hover img {
    transform: scale(1.05);
}

.product-list-content #TYlink_13 {
    padding: 15px 10px;
    background: white;
}

.product-list-content #TYlink_13 a {
    font-size: 14px;
    font-weight: normal;
    color: var(--dark-color);
    text-decoration: none;
    line-height: 1.4;
}

.product-list-content #TYlink_13 a:hover {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .product-list-content {
        padding: 20px;
    }
    
    .product-list-content table {
        border-spacing: 15px;
    }
}

@media (max-width: 480px) {
    .product-grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .product-list-content table {
        border-spacing: 10px;
    }
}
/* 消息提示框样式 */
#messageResult {
    border-radius: 5px;
    padding: 12px 15px;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s ease;
    animation: slideDown 0.3s ease;
}

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

/* 表单提交按钮禁用状态 */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* 表单验证错误状态 */
.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* 表单成功状态 */
.form-group input.success,
.form-group textarea.success {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}