/* 全新设计 CSS - 严格按照图片设计 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: #333333;
    background: #ffffff;
    overflow-x: hidden;
}

/* ============ 导航栏 ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 130px;  
    z-index: 1000;
    background: transparent;
    padding: 5px 5%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 100%;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 1000;
    color: #000000;
    letter-spacing: 0.5px;
    margin-right: 100px;
}

.logo-icon {
    width: 140px;
    height: 140px;
    display: block;
    flex-shrink: 0;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
    padding-top: 30px;
    margin-left: auto;
    margin-right: 20px;
}

.nav-actions {
    display: flex;
    align-items: center;
    padding-top: 28px;
}

.lang-toggle {
    border: 2px solid #000000;
    background: transparent;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    color: #E63946;
    border-color: #E63946;
    background: rgba(230, 57, 70, 0.08);
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: #E63946;
}

/* 下拉菜单 */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown > a::after {
    content: '▼';
    font-size: 12px;
    display: inline-block;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    list-style: none;
    min-width: 180px;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #E63946;
}

/* ============ Hero 区域 ============ */
.hero {
    position: relative;
    height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: 100px;
    padding-left: 20%;
}

/* 背景图片轮播容器 */
.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: none;
    z-index: 1;
    transition: background-image 0.8s ease-in-out;
}

/* 轮播按钮通用样式 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid #000000;
    color: #000000;
    font-size: 32px;
    font-weight: bold;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-btn-prev {
    left: 40px;
}

.carousel-btn-next {
    right: 40px;
}

.decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.08;
    pointer-events: none;
}

.decoration-left {
    top: 100px;
    left: 50px;
    border: 8px dashed #cccccc;
    border-radius: 50%;
}

.decoration-right {
    top: 150px;
    right: 100px;
    width: 150px;
    height: 150px;
    border: 8px dashed #cccccc;
    transform: rotate(45deg);
}

.hero-content {
    text-align: left;
    z-index: 10;
    position: relative;
    max-width: 800px;
    margin-left: 0;
    margin-top: 100px;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: 2px;
    line-height: 1.2;
    text-align: left;
}

.hero-content p {
    font-size: 72px;
    color: #000000;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    text-align: left;
}

/* ============ Team Mission 部分 ============ */
.team-mission {
    background: linear-gradient(135deg, #0F2940 0%, #1a3d5c 50%, #0F2940 100%);
    padding: 80px 5%;
    color: white;
}

.tm-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
}

.tm-left {
    padding-right: 20px;
    padding-top: 20px;
    margin-left: 100px;
    margin-top: 60px;
}

.tm-title-wrap {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
}

.tm-title {
    font-size: 52px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tm-divider {
    width: 280px;
    height: 2px;
    background: #ffffff;
    flex-shrink: 0;
}

.tm-content {
    font-size: 24px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 60px;
    margin-left: 175px;
    margin-top: 40px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-align: left;
}

.tm-link {
    display: inline-block;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 400;
    padding: 10px 0;
    border-bottom: 2px solid #ffffff;
    transition: all 0.3s ease;
    width: auto;
    margin-left: 575px;
}

.tm-link:hover {
    color: #4FB8D9;
    border-bottom-color: #4FB8D9;
}

.tm-right {
    width: 100%;
    margin-left: 0;
    display: flex;
    justify-content: flex-end;
}

.tm-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    width: 100%;
    max-width: 600px;
}

.tm-photo {
    overflow: hidden;
    background: #f0f0f0;
    border: 3px solid #000000;
}

.tm-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tm-photo-1 {
    aspect-ratio: 1.5 / 1;
}

.tm-photo-2 {
    aspect-ratio: 1.5 / 1;
}

.tm-photo-3 {
    grid-column: 1 / -1;
    aspect-ratio: 1.5 / 1;
}

/* ============ News 部分 ============ */
.news-section {
    background: #ffffff;
    padding: 100px 5%;
}

.news-title {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 60px;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.news-card {
    background: #ffffff;
    border: 2px solid #333333;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 350px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    flex: 1;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #333333;
}

.news-card-logo {
    width: 70%;
    height: 70%;
    object-fit: contain;
    padding: 10px;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E63946 0%, #D62828 100%);
    border-radius: 4px;
    position: relative;
}

.logo-placeholder::before,
.logo-placeholder::after {
    content: '';
    position: absolute;
    background: white;
}

.logo-placeholder::before {
    width: 20px;
    height: 35px;
    top: 22px;
    left: 15px;
}

.logo-placeholder::after {
    width: 14px;
    height: 14px;
    bottom: 12px;
    right: 12px;
}

.news-card-footer {
    background: #1a3d5c;
    color: white;
    padding: 20px;
    text-align: center;
    flex: 0 0 100px;
}

.news-card-footer p {
    font-size: 16px;
    font-weight: 600;
    margin: 8px 0;
}

.news-card-footer p:first-child {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ============ 页脚 ============ */
footer {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 60px 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto 50px;
}

.footer-section h3 {
    font-size: 16px;
    color: #000000;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #E63946;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    color: #999999;
    font-size: 13px;
}

/* ============ 响应式设计 ============ */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ae-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 5%;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .hero-content p {
        font-size: 28px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-title {
        font-size: 36px;
    }
    
    .ae-left h2 {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============ 解决方案详情页 ============ */
.solution-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 80px;
}

.solution-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.solution-hero-overlay {
    position: relative;
    z-index: 2;
    text-align: right;
    color: white;
    padding: 60px 80px;
    border-radius: 8px;
    max-width: 600px;
}

.solution-hero-overlay h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333333;
}

.solution-hero-overlay p {
    font-size: 20px;
    font-weight: 300;
    color: #333333;
}

.solution-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.content-wrapper {
    background: white;
    padding: 40px;
    border-radius: 8px;
}

.solution-content h2 {
    font-size: 32px;
    color: #0F2940;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 3px solid #a8d800;
    padding-bottom: 10px;
}

.solution-content h3 {
    font-size: 20px;
    color: #1a3d5c;
    margin-top: 20px;
    margin-bottom: 10px;
}

.solution-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.solution-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.solution-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.application-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #a8d800;
}

.application-card h3 {
    color: #0F2940;
    font-size: 18px;
    margin-bottom: 10px;
}

.application-card p {
    font-size: 15px;
    color: #555;
}

.advantage-list {
    background: #f5f5f5;
    padding: 25px 40px;
    border-radius: 8px;
    list-style: none;
}

.advantage-list li {
    font-size: 16px;
    line-height: 2;
    color: #333;
    position: relative;
    padding-left: 25px;
}

.advantage-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #a8d800;
    font-weight: bold;
    font-size: 18px;
}

.contact-section {
    margin-top: 60px;
    background: linear-gradient(135deg, #0F2940 0%, #1a3d5c 100%);
    padding: 50px 40px;
    border-radius: 8px;
    text-align: center;
    color: white;
}

.contact-section h2 {
    color: white;
    border-bottom: 3px solid #a8d800;
    margin-bottom: 20px;
}

.contact-section p {
    color: #e0e0e0;
    margin-bottom: 30px;
    font-size: 18px;
}

.contact-button {
    display: inline-block;
    background: #a8d800;
    color: #0F2940;
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.contact-button:hover {
    background: #c0ff00;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .solution-hero {
        height: 300px;
        justify-content: center;
        padding-right: 0;
    }

    .solution-hero-overlay {
        padding: 30px 20px;
        text-align: center;
        max-width: 100%;
    }

    .solution-hero-overlay h1 {
        font-size: 32px;
    }

    .solution-hero-overlay p {
        font-size: 16px;
    }

    .application-grid {
        grid-template-columns: 1fr;
    }

    .solution-content h2 {
        font-size: 24px;
    }
}
