/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* 配色变量 */
:root {
    --primary-blue: #0052cc; /* 匹配原图按钮蓝色 */
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --text-gray: #666666;
    --white: #ffffff;
    --border-gray: #e0e0e0;
}

/* 头部样式 */
.header {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-gray);
}

.logo-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

/* 桌面端导航 */
.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin-right: 20px;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-item a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: var(--primary-blue);
}

.nav-item.active a {
    color: var(--primary-blue);
}

/* 下拉菜单 */
.has-dropdown .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 15px 0;
    min-width: 200px;
    z-index: 999;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown li {
    list-style: none;
    padding: 8px 20px;
}

.dropdown li a {
    text-transform: none;
    font-weight: 400;
}

/* 语言切换 */
.language a {
    display: flex;
    align-items: center;
}

.language a i {
    font-size: 8px;
    margin-left: 5px;
}

/* 按钮样式 */
.quote-btn {
    background-color: var(--primary-blue);
    color: var(--white);
}

.quote-btn:hover {
    background-color: #0047b3;
}

.desktop-btn {
    display: inline-block;
}

.mobile-btn {
    display: none;
}

/* 移动端导航开关 */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-gray);
    cursor: pointer;
}

/* 移动端导航 */
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 999;
}

.nav-mobile-list {
    list-style: none;
    padding: 20px;
}

.nav-mobile-item {
    margin: 15px 0;
    position: relative;
}

.nav-mobile-item a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 16px;
}

.dropdown-mobile {
    display: none;
    margin-left: 20px;
    margin-top: 10px;
}

.dropdown-mobile li {
    margin: 8px 0;
}

/* 英雄区 */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
}

.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.7);
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.explore-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 14px;
}

.explore-btn:hover {
    background-color: #0047b3;
}

.explore-btn i {
    margin-left: 10px;
}

/* 核心卖点区 */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.feature-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* 产品区 */
.products {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background-color: var(--white);
    overflow: hidden;
    position: relative;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}

.view-all-btn {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.view-all-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* 应用&项目区 */
.apps-projects {
    padding: 80px 0;
    background-color: var(--white);
}

.apps-projects-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
}

.applications {
    padding-right: 20px;
}

.apps-desc {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.apps-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 30px;
}

.apps-link i {
    margin-left: 10px;
}

.apps-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.featured-projects {
    width: 100%;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 15px;
}

.project-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}


.project-info h4 a{
    text-decoration: none;
    color:#fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}





.project-info p {
    font-size: 14px;
    opacity: 0.8;
}

.view-all-projects-btn {
    background-color: transparent;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

.view-all-projects-btn i {
    margin-left: 10px;
}

/* CTA区 */
.cta {
    position: relative;
    padding: 80px 0;
    color: var(--white);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.cta-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-desc {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    font-size: 16px;
    padding: 15px 30px;
}





/* 页脚 
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    opacity: 0.8;
}
*/
/* 响应式适配 */
@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .apps-projects-container {
        grid-template-columns: 1fr;
    }
    .applications {
        padding-right: 0;
        margin-bottom: 40px;
    }
    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    /* 头部适配 */
    .nav-desktop, .desktop-btn {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .nav-mobile.active {
        display: block;
    }
    .mobile-btn {
        display: inline-block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    /* 英雄区适配 */
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    /* 卖点区适配 */
    .features-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    /* 产品区适配 */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    /* 项目区适配 */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .project-img {
        height: 250px;
    }
    /* CTA区适配 */
    .cta-title {
        font-size: 28px;
    }
    .cta-desc {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    .hero-title {
        font-size: 24px;
    }
    .section-title {
        font-size: 24px;
    }
    .cta-title {
        font-size: 24px;
    }
}