/* 全局重置 + 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 顶部信息栏 */
.top-bar {
    background-color: #0f2942;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left i {
    margin-right: 5px;
}

.top-bar-left i:not(:first-child) {
    margin-left: 20px;
}

/* 导航栏 */
.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 {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 22px;
    font-weight: bold;
    color: #0f2942;
    text-transform: uppercase;
}

.logo small {
    display: block;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    position: relative;
    margin: 0 15px;
}

.nav-list li a {
    text-decoration: none;
    color: #0f2942;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px 0;
    display: inline-block;
}

.nav-list li.active a {
    color: #0066cc;
}

.nav-list li a:hover {
    color: #0066cc;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    display: none;
}

.dropdown-menu li {
    padding: 0 15px;
    margin: 0;
}

.dropdown-menu li a {
    padding: 8px 0;
    text-transform: none;
    font-weight: normal;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.quote-btn {
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.quote-btn:hover {
    background-color: #004c99;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #0f2942;
    cursor: pointer;
}

/* 移动端导航 */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 20px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list {
    list-style: none;
    margin-top: 60px;
}

.mobile-nav-list li {
    margin: 15px 0;
}

.mobile-nav-list li a {
    text-decoration: none;
    color: #0f2942;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-menu {
    list-style: none;
    padding-left: 20px;
    display: none;
}

.mobile-dropdown-menu li {
    margin: 10px 0;
}

.mobile-dropdown-menu li a {
    font-weight: normal;
    font-size: 14px;
}

.mobile-quote-btn {
    background-color: #0066cc;
    color: #fff !important;
    padding: 10px;
    text-align: center;
    margin-top: 20px;
    border-radius: 0;
}






/* 页脚 */
.footer {
    background-color: #0f2942;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand span {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
}

.social-links a {
    color: #fff;
    background-color: #0066cc;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #004c99;
}

.footer-links h4,
.footer-products h4,
.footer-contact h4,
.footer-subscribe h4 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul,
.footer-products ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-products li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-products a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-products a:hover {
    color: #0066cc;
}

.footer-contact li {
    font-size: 14px;
    color: #ccc;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact li i {
    color: #0066cc;
    margin-top: 5px;
}

.footer-subscribe p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
}

.subscribe-form {
    display: flex;
}

.subscribe-form input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 14px;
}

.subscribe-form button {
    background-color: #0066cc;
    color: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #004c99;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #ccc;
}

.footer-bottom-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #0066cc;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 36px;
    }
    .features .container,
    .stats .container {
        grid-template-columns: repeat(2, 1fr);
    }
    .application-why .container {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        text-align: center;
    }
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
    }
    .nav, .quote-btn {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero {
        height: 400px;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .product-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }
    .hero-content h1 {
        font-size: 22px;
    }
    .features .container,
    .stats .container,
    .product-grid,
    .application-grid,
    .news-grid,
    .footer-top {
        grid-template-columns: 1fr;
    }
    .section-header h3 {
        font-size: 24px;
    }
    .stat-number {
        font-size: 36px;
    }
}
