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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* 导航栏 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

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

.nav-list > li > a {
    color: #333;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
}

.nav-list > li > a:hover {
    color: #007bff;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

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

.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background-color: #007bff;
    color: #fff;
}

/* 导航栏右侧 */
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.shop-link {
    color: #1da1f2;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid #1da1f2;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.shop-link:hover {
    background-color: #1da1f2;
    color: #fff;
}

.shop-link img {
    width: 16px;
    height: 16px;
}

.phone {
    color: #1da1f2;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 轮播区域 */
.banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #e9ecef;
}

.banner-slider {
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
}

.banner-slide.active {
    opacity: 1;
}

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

.banner-text {
    position: absolute;
    bottom: 110px;
    right: 40px;
    max-width: 550px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 25px;
    border-radius: 8px;
}

.banner-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.banner-text-left {
    position: absolute;
    bottom: 70px;
    left: 100px;
    max-width: 580px;
    background-color: transparent;
    padding: 20px 25px;
    border-radius: 8px;
}

.banner-text-left p {
    font-size: 17px;
    line-height: 1.8;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.banner-text-bg {
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-text-3 {
    left: 120px;
}

.banner-text-4 {
    bottom: 100px;
}

.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 10;
}

.banner-prev:hover,
.banner-next:hover {
    background-color: #007bff;
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.banner-dot.active {
    background-color: #007bff;
}

/* 产品中心 */
.products {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #007bff;
    margin: 15px auto 0;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.product-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    width: 100%;
}

.product-row:first-child,
.product-row:nth-child(2) {
    width: 1202px;
    margin-left: auto;
    margin-right: auto;
}

.product-row .product-card {
    flex: 1;
    max-width: 380px;
}

.product-row:first-child .product-card,
.product-row:nth-child(2) .product-card {
    width: 1202px !important;
    max-width: 1202px !important;
    flex: none !important;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-row:first-child .product-card img {
    height: 400px !important;
    object-fit: contain !important;
}

.product-row-feature .product-card-feature {
    height: 400px;
    width: 1202px;
    margin: 0 auto;
    background-color: transparent !important;
    position: relative;
    box-shadow: none;
    border-radius: 0;
    transition: all 0.3s;
    cursor: pointer;
}

.product-row-feature .product-card-feature .product-text-overlay {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.product-card-feature-2 .product-text-overlay {
    left: 80px !important;
}

.product-row-feature .product-card-feature .product-text-overlay h3 {
    font-size: 17px;
    color: #fff;
    margin: 0 0 10px 0;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.product-row-feature .product-card-feature .product-text-overlay p {
    font-size: 16px;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.product-row-feature .product-card-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
    background-color: #fff !important;
}

.product-row-feature .product-card-feature img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.product-card-feature-2 {
    width: 1350px !important;
    max-width: 1350px !important;
    height: 409px !important;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px !important;
    overflow: hidden;
}

.product-card-feature-2 img {
    width: 1350px !important;
    height: 409px !important;
    object-fit: contain !important;
    border-radius: 10px !important;
}

.product-card-feature-2 .product-logo-overlay {
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-120px);
    width: 100px !important;
    height: 34px !important;
    z-index: 3;
    border-radius: 0 !important;
}

.product-card-feature-2 .product-more-overlay {
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(30px);
    width: 30px !important;
    height: 30px !important;
    z-index: 3;
    border-radius: 0 !important;
}

.product-card-feature-2 .text-overlay-icon {
    width: 100px;
    height: 34px;
    display: block;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 20px 15px 10px;
}

.product-card p {
    font-size: 13px;
    color: #666;
    padding: 0 15px 20px;
}

/* 解决方案 */
.solutions {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.solution-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

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

.solution-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 20px 15px 10px;
}

.solution-card p {
    font-size: 13px;
    color: #666;
    padding: 0 15px 20px;
}

/* 底部 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
}

.contact-info p {
    font-size: 14px;
    margin-bottom: 12px;
    color: #bdc3c7;
}

.contact-info strong {
    color: #fff;
}

.wechat-qr {
    text-align: center;
}

.wechat-qr img {
    width: 120px;
    height: 120px;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
}

.wechat-qr p {
    margin-top: 10px;
    font-size: 14px;
    color: #bdc3c7;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .nav-list {
        order: 3;
        width: 100%;
        padding: 15px 0;
        display: none;
    }
    
    .nav-list.active {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .wechat-qr {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 300px;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-row {
        flex-direction: column;
        align-items: center;
    }
    
    .product-row .product-card {
        max-width: 100%;
    }
    
    .header-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-title {
        font-size: 24px;
    }
}
