/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

body {
    color: #333;
    background-color: #f5f7fa;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, li {
    list-style: none;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2f54eb;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    font-size: 16px;
    font-weight: 500;
    padding: 0 5px;
}

.nav-menu > li > a:hover {
    color: #2f54eb;
}

/* 下拉菜单样式 */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 15px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 99;
}

.nav-menu > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 0 20px;
}

.dropdown li a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.dropdown li a:hover {
    color: #2f54eb;
    background-color: #f5f7fa;
}

/* 登录按钮样式 */
.login-btn {
    background-color: #2f54eb;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
}

.login-btn:hover {
    background-color: #1d39c4 !important;
}

/* 首页banner样式 */
.banner {
    background: linear-gradient(135deg, #2f54eb 0%, #4096ff 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 产品分类样式 */
.product-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
    font-size: 20px;
    color: #2f54eb;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.product-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-card ul li a {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.product-card ul li a::before {
    content: "•";
    color: #2f54eb;
    font-size: 18px;
    margin-right: 8px;
}

.product-card ul li a:hover {
    color: #2f54eb;
}

/* 行业解决方案样式 */
.solution-section {
    background-color: #f9fafb;
    padding: 80px 0;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.solution-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-card i {
    font-size: 40px;
    color: #2f54eb;
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1f2937;
}

.solution-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 底部样式 */
.footer {
    background-color: #1f2937;
    color: #9ca3af;
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #374151;
}

.footer-col {
    width: 23%;
}

.footer-col h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: #9ca3af;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #2f54eb;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    padding-top: 30px;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .container {
        width: 960px;
    }
    .product-cards, .solution-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .container {
        width: 720px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
    }
    .nav {
        height: 70px;
    }
    .nav-menu {
        gap: 15px;
    }
    .banner h1 {
        font-size: 36px;
    }
    .product-cards, .solution-cards {
        grid-template-columns: 1fr;
    }
    .footer-top {
        flex-wrap: wrap;
    }
    .footer-col {
        width: 48%;
        margin-bottom: 30px;
    }
}