/* 全局重置 & 基础样式 */
* {
    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 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 {
    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;
}

/* 英雄区 */
.hero {
    position: relative;
    color: #fff;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-content {
    max-width: 700px;
    padding: 40px 0;
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 span {
    color: #007bff;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1 1 calc(50% - 10px);
}

.feature-item i {
    font-size: 24px;
    color: #007bff;
    margin-top: 2px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.view-products-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    font-size: 16px;
}

.view-products-btn:hover {
    background-color: #0056b3;
}

.hero-slider-dots {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.hero-slider-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    display: block;
    cursor: pointer;
}

.hero-slider-dots .active {
    background-color: #007bff;
}

/* 通用区块头部 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0a1c33;
    text-transform: uppercase;
}

.view-all {
    color: #007bff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all:hover {
    color: #0056b3;
}

/* 产品区 */
.our-products {
    padding: 80px 0;
    background-color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #f9f9f9;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0a1c33;
    padding: 20px 20px 10px;
}

.product-card p {
    font-size: 14px;
    color: #666;
    padding: 0 20px 20px;
}

.read-more {
    display: inline-block;
    margin: 0 20px 20px;
    color: #007bff;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #0056b3;
}

/* 为什么选择我们 */
.why-choose {
    padding: 80px 0;
    background-color: #0a1c33;
    color: #fff;
}

.why-choose .section-header h2 {
    color: #fff;
}

.why-choose .section-header h2 span {
    color: #007bff;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.choose-item {
    padding: 20px;
}

.choose-item:first-child {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .choose-item:first-child {
        grid-column: span 1;
    }
}

.choose-item i {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 20px;
}

.choose-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.choose-item p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
}

.learn-more-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    margin-top: 20px;
}

.learn-more-btn:hover {
    background-color: #0056b3;
}

/* 企业数据 */
.company-stats {
    padding: 80px 0;
    background-color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.stat-item {
    text-align: center;
    padding: 20px;
}



/* 
.stat-item:first-child {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
} */




@media (max-width: 768px) {
    .stat-item:first-child {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
    }
}

.stat-icon span {
    font-size: 48px;
    font-weight: 900;
    color: #007bff;
    display: block;
}

.stat-icon p {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    font-weight: 500;
}

.stat-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.stat-item i {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 15px;
}

.stat-item span {
    font-size: 36px;
    font-weight: 900;
    color: #0a1c33;
    display: block;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    font-weight: 500;
}

/* 应用领域 */
.applications {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.app-card {
    background-color: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.app-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.app-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0a1c33;
    padding: 20px;
    text-align: center;
}

/* 最新新闻 */
.latest-news {
    padding: 80px 0;
    background-color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: #f9f9f9;
    overflow: hidden;
    position: relative;
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #007bff;
    color: #fff;
    width: 60px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.news-date .day {
    font-size: 24px;
    font-weight: 900;
}

.news-date .month {
    font-size: 14px;
    text-transform: uppercase;
}

.news-date .year {
    font-size: 12px;
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0a1c33;
    padding: 20px 20px 10px;
    margin-top: -5px;
}

.news-card p {
    font-size: 14px;
    color: #666;
    padding: 0 20px 20px;
}

/* 页脚 */
.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;
    }
}