/* 全局样式 */
:root {
    --primary-color: #0066ff;
    --secondary-color: #001a33;
    --accent-color: #00c8ff;
    --text-color: #333;
    --light-text: #fff;
    --light-bg: #f5f7fa;
    --dark-bg: #001a33;
    --border-color: #e1e4e8;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #0052cc;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
}

.section-desc {
    color: #666;
    margin-top: 5px;
}

.view-all {
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.view-all i {
    margin-left: 5px;
    transition: var(--transition);
}

.view-all:hover i {
    transform: translateX(3px);
}

/* 导航栏 */
.header {
    background-color: rgba(0, 26, 51, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

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

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

.nav ul {
    display: flex;
    align-items: center;
}

.nav li {
    margin-left: 30px;
}

.nav a {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
}

.nav a:not(.btn-primary):not(.btn-secondary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav a:not(.btn-primary):not(.btn-secondary):hover::after {
    width: 100%;
}

.nav a.active {
    color: var(--accent-color);
}

/* 横幅 */
.banner {
    background-color: var(--dark-bg);
    background-image: url('https://24344043.s21i.faiusr.com/4/ABUIABAEGAAghauUvgYo2LmZqAEwgB44iA4.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--light-text);
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}


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

.banner-text {
    flex: 1;
    max-width: 600px;
}

.banner-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.year {
    font-size: 24px;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.date, .location {
    font-size: 18px;
    margin-bottom: 10px;
}

.btn-register {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: var(--dark-bg);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 30px;
}

.btn-register i {
    margin-left: 8px;
    transition: var(--transition);
}

.btn-register:hover {
    background-color: #00b8e6;
}

.btn-register:hover i {
    transform: translateX(3px);
}

.banner-pagination {
    display: flex;
    align-items: center;
    margin-top: 50px;
    color: rgba(255, 255, 255, 0.7);
}

.banner-pagination .current {
    color: var(--light-text);
    font-weight: 600;
}

.banner-pagination .next {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 15px;
    transition: var(--transition);
}

.banner-pagination .next:hover {
    background-color: var(--accent-color);
}

/* 产品部分 */
.products {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    transition: var(--transition);
}

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

.product-info {
    padding: 30px;
    flex: 1;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

.btn-more {
    color: var(--primary-color);
    font-weight: 500;
}

.product-image {
    flex: 1;
    background-color: #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

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

.solution-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.solution-card:hover {
    background-color: var(--light-bg);
}

.solution-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon img {
    max-width: 100%;
    max-height: 100%;
}

.solution-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.solution-card p {
    color: #666;
    font-size: 14px;
}

/* 新闻部分 */
.news {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.news-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.news-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.news-image {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
    position: relative;
    overflow: hidden;
}

.news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-date {
    padding: 15px 20px 0;
    color: #999;
    font-size: 14px;
}

.news-title {
    padding: 10px 20px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
}

.news-card.large .news-title {
    font-size: 20px;
}

/* 市场活动部分 */
.events {
    padding: 80px 0;
    background-color: #fff;
}

.event-content {
    display: flex;
    gap: 30px;
}

.event-banner {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.event-banner img {
    width: 100%;
    display: block;
}

.event-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--light-text);
}

.event-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.event-date, .event-location {
    font-size: 14px;
    opacity: 0.8;
}

.event-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-item {
    padding: 15px;
    border-radius: 8px;
    background-color: var(--light-bg);
    transition: var(--transition);
}

.event-item:hover {
    background-color: #e6f0ff;
}

.event-item a {
    color: var(--secondary-color);
    font-weight: 500;
}

/* 服务入口部分 */
.services {
    padding: 60px 0;
    background-color: var(--light-bg);
}

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

.service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: #f0f5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

.service-card h3 {
    font-size: 16px;
    color: var(--secondary-color);
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--light-text);
}

.footer-qrcode img {
    width: 100px;
    border-radius: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

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

@media (max-width: 992px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .event-content {
        flex-direction: column;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-text {
        margin-bottom: 40px;
    }
    
    .banner-pagination {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.large {
        grid-column: auto;
        grid-row: auto;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .title {
        font-size: 36px;
    }
} 