/* 基础重置 */
* {
    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;
}



/* 页脚 */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 40px 0;
    text-align: left;
}

.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;
    }
}











/* 页脚补充样式 */
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.footer-brand {
    padding-right: 20px;
}

.footer-brand-text {
    font-size: 14px;
    color: #ccc;
    margin: 20px 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #0052cc;
    border-color: #0052cc;
}

.footer-link-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.link-list {
    list-style: none;
}

.link-list li {
    margin-bottom: 10px;
}

.link-list a {
    color: #ccc;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-list a:hover {
    color: #0052cc;
}

.contact-list {
    list-style: none;
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
}

.contact-list li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-list i {
    color: #0052cc;
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: #ccc;
}

.footer-legal {
    font-size: 14px;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
    margin: 0 5px;
}

.footer-legal a:hover {
    color: #0052cc;
}

/* ========== 响应式适配（About Us专属） ========== */
@media (max-width: 1200px) {
    .who-we-are-container {
        gap: 40px;
    }
    .factory-container {
        gap: 40px;
    }
    .timeline-items {
        gap: 10px;
    }
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr;
        row-gap: 40px;
    }
    .applications-links, .footer-contact {
        grid-column: span 3;
        width: 50%;
    }
}

@media (max-width: 992px) {
    .about-banner-title {
        font-size: 36px;
    }
    .who-we-are-container {
        grid-template-columns: 1fr;
    }
    .who-we-are-img {
        margin-top: 40px;
    }
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    .stat-card:last-child {
        grid-column: span 3;
    }
    .timeline-items {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .timeline-line {
        display: none;
    }
    .timeline-item {
        padding-top: 0;
        text-align: left;
        border-left: 2px solid #e0e0e0;
        padding-left: 20px;
        position: relative;
    }
    .timeline-item::before {
        top: 0;
        left: -10px;
        transform: none;
    }
    .factory-container {
        grid-template-columns: 1fr;
    }
    .factory-gallery {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 40px;
    }
    .team-cta-container {
        grid-template-columns: 1fr;
    }
    .cta-card {
        padding: 40px 30px;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .about-banner {
        height: 30vh;
        min-height: 250px;
    }
    .about-banner-title {
        font-size: 28px;
    }
    .section-heading {
        font-size: 24px;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-card:last-child {
        grid-column: span 2;
    }
    .team-content {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .applications-links, .footer-contact {
        width: 100%;
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    .stat-card, .stat-card:last-child {
        grid-column: span 1;
    }
    .factory-gallery {
        grid-template-columns: 1fr;
    }
    .cta-card-title {
        font-size: 20px;
    }
    .about-banner-desc {
        font-size: 14px;
    }
}


