






/* 全局重置 & 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 按钮通用样式 */
.get-quote-btn, .view-products-btn, .learn-more-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 顶部联系栏 */
.top-bar {
    background-color: #0a1c33;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* 头部导航 */
.header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 0px;
}


.main-nav .menu {
    display: flex;
    gap: 30px;
}



.main-nav a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    color: #0a1c33;
    padding: 8px 0;
    position: relative;
}

.main-nav a:hover {
    color: #007bff;
}

.main-nav .active a {
    color: #007bff;
}

.main-nav .active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #007bff;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 15px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.dropdown-menu li {
    padding: 0 15px;
}

.dropdown-menu a {
    display: block;
    padding: 8px 0;
    text-transform: none;
    font-weight: 400;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.get-quote-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
}

.get-quote-btn:hover {
    background-color: #0056b3;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #0a1c33;
    cursor: pointer;
}

/* 移动端导航 */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    margin-top: 60px;
}

.mobile-nav li {
    margin: 10px 0;
}

.mobile-nav a {
    font-weight: 500;
    font-size: 16px;
    color: #0a1c33;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.mobile-dropdown-menu {
    display: none;
    padding-left: 15px;
}

.mobile-dropdown-menu a {
    font-size: 14px;
    border-bottom: none;
    padding: 8px 0;
}

.mobile-get-quote {
    background-color: #007bff;
    color: #fff !important;
    padding: 12px !important;
    text-align: center;
    border-radius: 4px;
    margin-top: 20px;
    border: none !important;
}













/* 页脚 */
.footer {
    background-color: #0a1c33;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: #ccc;
    font-size: 14px;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links ul, .footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a, .footer-contact li {
    color: #ccc;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: #007bff;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.social-icons a:hover {
    background-color: #007bff;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .feature-item {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 12px;
    }

    .top-bar-left {
        gap: 10px;
    }

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .our-products, .why-choose, .company-stats, .applications, .latest-news {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .stat-item span {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 400px;
    }

    .hero-content {
        padding: 20px 0;
    }

    .hero h1 {
        font-size: 24px;
    }

    .view-products-btn, .learn-more-btn, .get-quote-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .products-grid, .apps-grid, .news-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 60px 0 20px;
    }
}