* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 字体定义 - Regular 常规体 */
@font-face {
    font-family: 'AlibabaPuHuiTi';
    src: url('../fonts/AlibabaPuHuiTi-3-55-Regular.woff2') format('woff2');
    font-weight: 400;           /* 或 normal */
    font-style: normal;
    font-display: swap;
}

/* 字体定义 - Medium 中等体 */
@font-face {
    font-family: 'AlibabaPuHuiTi';
    src: url('../fonts/AlibabaPuHuiTi-3-65-Medium.woff2') format('woff2');
    font-weight: 500;           /* 或 bold/600/700 根据实际字重调整 */
    font-style: normal;
    font-display: swap;
}

/* 可选：如果需要更粗的 Bold */
@font-face {
    font-family: 'AlibabaPuHuiTi';
    src: url('../fonts/AlibabaPuHuiTi-3-75-SemiBold.woff2') format('woff2');
    font-weight: 700;           /* bold */
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'AlibabaPuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-weight: 400;
    background: #fff;
    color: #fff;
    overflow-x: hidden;
    /* min-width: 881px; */
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    backdrop-filter: blur(10px);
    /* border-bottom: 1px solid rgba(121, 202, 217, 0.2); */
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 218px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(135deg, #fff, #79CAD9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #79CAD9;
}

.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==================== 轮播图 ==================== */
.hero-section{
  padding-top: 67px;
}

.carousel-card.single-card {
    /* flex: 0 0 85%; */
    filter: brightness(1) blur(0);
    opacity: 1;
    transform: scale(1);
    margin-left: 7%;
}

.carousel-container1 {
    position: relative;
    width: 100%;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-pause-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
}

.video-play-pause-btn .pause-icon {
    display: block;
}

.video-play-pause-btn .play-icon {
    display: none;
}

.video-play-pause-btn.paused .pause-icon {
    display: none;
}

.video-play-pause-btn.paused .play-icon {
    display: block;
}

/* .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 11, 26, 0.6), rgba(15, 23, 42, 0.4));
    z-index: 2;
} */

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/jianbian.png');   
    
    background-size: cover;      /* 让图片覆盖整个区域，按比例裁切 */
    background-position: center; /* 图片居中 */
    background-repeat: no-repeat; /* 不重复 */
    z-index: 2;
}

.carousel-content {
    position: absolute;
    top: 45%;
    left: 65%;
    transform: translate(-50%, -50%);
    /* text-align: center; */
    z-index: 3;
    width: 100%;
    /* max-width: 800px; */
    display: flex; 
    flex-direction: column; 
}

.carousel-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #79CAD9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.carousel-content p {
    font-size: 2.2vw;
    /* color: #cbd5e1; */
    margin-bottom: 30px;
    line-height: 1.6;
}

.carousel-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #79CAD9, #3b82f6);
    border-radius: 40px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.carousel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(121, 202, 217, 0.4);
}

/* 轮播导航按钮 */
.carousel-nav {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    width: 30px;
    border-radius: 5px;
    background: #79CAD9;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.carousel-arrow:hover {
    background: rgba(121, 202, 217, 0.6);
}

.arrow-prev {
    left: 20px;
}

.arrow-next {
    right: 20px;
}

/* ==================== 通用容器 ==================== */
.container {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}
.whitezz{
    color: white; 
    font-size: 40px; 
    margin-top: 16px;
}

/* ==================== 服务模块 ==================== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-title p {
    color: #94a3b8;
    font-size: 16px;
}

.section-title .line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #79CAD9, #3b82f6);
    margin: 20px auto 0;
    border-radius: 3px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(121, 202, 217, 0.2);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #79CAD9;
    box-shadow: 0 20px 40px rgba(121, 202, 217, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(121, 202, 217, 0.2), rgba(59, 130, 246, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

/* ==================== 数据统计 ==================== */
.stats-section {
    border-radius: 40px;
    margin: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 60px 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: bold;
    background: linear-gradient(135deg, #79CAD9, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 8px;
}

/* ==================== 关于我们 ==================== */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 115px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    color: #4c4948;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image img {
    width: 590px;
    /* border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); */
}

/* ==================== 底部 ==================== */

.footer-bottom {
    text-align: center;
    height: 60px;
    background-color: #4d4d4d;
    align-content: center;
    color: #fff;
}

/* PC端：横着排 */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-links a {
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #79CAD9;
}

/* 移动端：竖着排 */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-links a {
        font-size: 12px;
        white-space: normal;
    }
    .arrow-prev{
        display: none;
    }
    .arrow-next{
        display: none;
    }
}

/* 超小屏幕 */
@media (max-width: 480px) {
    .footer-links {
        gap: 10px;
    }
    
    .footer-links a {
        font-size: 11px;
    }
}

/* ==================== 响应式 ==================== */
@media (max-width: 768px) {
     .nav-links {
        display: none;
    }   
    .menu-btn {
        display: flex;  
    }   
    .carousel-content h1 {
        font-size: 32px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 40px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {  
    .carousel-content h1 {
        font-size: 24px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

        /* 底部样式 */
.footer {
    background-color: #5d5d5d;
    color: #ffffff;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.containerFooter {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
     display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* 底部主要内容区域 */
.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 100px;
}

.footer-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #4a90e2;
}

.footer-list li:not(a) {
    color: #aaaaaa;
    font-size: 13px;
    line-height: 1.6;
}

/* 社交媒体链接 */
.footer-social {
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    margin-right: 15px;
    color: #aaaaaa;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #4a90e2;
}

/* 底部版权区域 */
.footer-bottom {
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #d3d3d3;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4a90e2;
}

/* 响应式设计 */
@media (max-width: 768px) {  
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

.card-container {
    display: flex;
    justify-content: center;  /* 水平居中 */
    align-items: center;      /* 垂直居中（如果需要） */
    gap: 300px;                /* 两个 div 之间的间隔 */
    margin-top: 120px;
}

/* 可选：设置两个卡片统一样式 */
.yj, .yy {
    /* 根据需要设置宽度等属性 */
    text-align: left;
    width: 212px;
    height: 152px;
    color: #000;
     padding: 20px;
}

.yj-header {
    display: flex;
    align-items: center;
    justify-content: left;  /* 图片和文字整体居中 */
    gap: 12px;                /* 图片和文字之间的间距 */
    margin-bottom: 16px;      /* 与下方内容的间距 */
}

.yj-header img {
    width: 50px;
    display: block;
}

.yj-header span {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

.yj-item {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}


/* 合作客户区域 */
.partners-section {
    max-width: 80%;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 标题区域 - 左右分布 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

/* 左边：图标+文字 */
.title-with-icon {
    display: flex;
    justify-content: space-between;  /* 左右两端对齐 */
    align-items: center;              /* 垂直居中 */
    width: 100%; 
}

.icon-text {
    display: flex;
    flex-direction: column;  
    /* align-items: center;    
    justify-content: center;
    text-align: center; */
}

.icon-text img {
    width: 48px;             /* 图片大小可调整 */
    height: 48px;
    /* margin-bottom: 12px;     图片和文字之间的间距 */
}

.icon-text span {
    font-size: 28px;
    font-weight: 500;
    color: #1a1a2e;
    padding-left:7px;
}

/* 右边：图片 */
.partner-logo img {
    height: 40px;
    width: auto;
}

/* 合作伙伴行 - 均分布局 */
.partners-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* 最后一行不需要底部边距 */
.partners-row:last-child {
    margin-bottom: 0;
}

/* 每个合作伙伴项 */
.partner-item {
    flex: 1;  /* 均分宽度 */
    text-align: center;
    /* padding: 20px; */
    /* background: white; */
    transition: all 0.3s ease;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
    /* border: 1px solid red; */
}

/* .partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
} */

.partner-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    width: 65%;
}

/* 响应式布局 */
@media (max-width: 1275px) {
   .containerFooter {
       flex-direction: column;
       gap: 0
    }
    .about-image img{
        width: 80%;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 1024px) {
    .partners-row {
        gap: 15px;
    }
    
    .partner-item {
        padding: 15px;
    }
}


@media (max-width: 852px) {
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .partners-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .partner-item {
        /* flex: 0 0 calc(33.33% - 20px);
        min-width: 100px; */
        padding: unset;
    }
}

@media (max-width: 480px) {
    /* .partner-item {
        flex: 0 0 calc(50% - 15px);
    } */
    
    .icon-text span {
        font-size: 22px;
    }
}

 /* ========== 产品展示专用样式 ========== */
.products-showcase {
    background-color: #f5f5f5;
    padding: 60px 0 80px;
}

.products-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 头部样式 - 与原有风格保持一致 */
.section-header {
    text-align: left;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

.title-with-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.icon-text {
    display: flex;
    /* align-items: center; */
    /* gap: 12px; */
}

.icon-text img {
    width: 138px;
    object-fit: contain;
}

.icon-text span {
    /* font-size: 28px; */
    /* font-weight: 600; */
    background: linear-gradient(135deg, #1e293b, #2d3e5f);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    /* letter-spacing: 2px; */
}

.partner-logo img {
    height: 40px;
    object-fit: contain;
}

/* 产品展示 */

 .product-carousel {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    margin-top: -9px;
}
.tab-btn {
    font-size: 18px;
    font-weight: 600;
    padding: 10px 32px;
    transition: all 0.25s;
}

/* Tab 选项卡样式 - 下划线效果 */
.carousel-tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-bottom: 48px;
}

.tab-btn {
    font-size: 18px;
    font-weight: 600;
    padding: 12px 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.25s ease;
    position: relative;
    letter-spacing: 0.5px;
}

/* 下划线 */
.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: #1a6e8a;
    transition: width 0.3s ease;
    border-radius: 3px;
}

/* 激活状态 */
.tab-btn.active {
    color: #1a6e8a;
}

.tab-btn.active::after {
    width: 100%;
}

/* 悬停效果 */
.tab-btn:hover:not(.active) {
    color: #1a6e8a;
}

.tab-btn:hover:not(.active)::after {
    width: 30%;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 700px;
    min-height: 300px;
}

/* 关键：视口设置 overflow: visible 让相邻卡片可以溢出显示 */
.carousel-viewport {
    overflow: visible;
    position: relative;
}

/* 轨道：flex布局 */
.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.55s cubic-bezier(0.2, 0.85, 0.4, 1);
    will-change: transform;
}

/* 
    * 核心：卡片宽度设为视口宽度的 85% 
    * 这样当前卡片几乎占满视口，左右两侧卡片会溢出视口，只露出边缘一点点
    * 完美实现特斯拉官网效果
    */

/* 图片左下角文字 */
    .card-image {
        position: relative;
        width: 100%;
        /* aspect-ratio: 16 / 10; */
        overflow: hidden;
        padding: 47px;
    }

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* 关键修复：文字只在左下角，不占满整行 */
    .image-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        color: white;
        font-size: 2.8vw;
        font-weight: 700;
        text-align: left;
        padding: 80px;
        border-radius: 0 16px 0 0;
        z-index: 10;
        line-height: 1.2;
        letter-spacing: 2px;
    }

    @media (max-width: 768px) {
        .image-caption{
            padding: 55px;
        }
    }

.carousel-card {
    flex: 0 0 85%;
    /* background: white; */
    overflow: hidden;
    transition: all 0.3s ease;
    /* 非当前卡片变暗/模糊，突出当前卡片 */
    /* filter: brightness(0.5) blur(2px);
    opacity: 0.4;
    transform: scale(0.85); */
}

/* 当前激活的卡片（视口中间）高亮清晰，占满视觉中心 */
.carousel-card.active-card {
    filter: brightness(1) blur(0);
    opacity: 1;
    transform: scale(1);
    /* box-shadow: 0 28px 44px -14px rgba(0, 0, 0, 0.25); */
}

/* 左右箭头 */
.carousel-arrow1 {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    /* border-radius: 60px; */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    font-size: 32px;
    font-weight: 300;
    color: #2c5a6e;
    transition: all 0.25s;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #d4e2ec;
}
.carousel-arrow1:hover {
    background: white;
    color: #1a6e8a;
    transform: translateY(-50%) scale(1.05);
}
.arrow-prev1 {
    left: -20px;
}
.arrow-next1 {
    right: -20px;
}

/* 指示点 */
.carousel-dots {
    display: none;
    justify-content: center;
    gap: 12px;
    margin-top: 38px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bbd3df;
    cursor: pointer;
    transition: all 0.2s;
}
.dot.active {
    width: 34px;
    border-radius: 20px;
    background: #1a6e8a;
}

/* 加载占位 */
.loading-placeholder {
    text-align: center;
    padding: 60px;
    color: #7a8e9e;
    font-size: 16px;
}

.carousel-arrow1.hidden {
    display: none;
}

/* 响应式：移动端卡片宽度更大，露出边缘更窄 */
@media (max-width: 881px) {
    .carousel-card { flex: 0 0 88%; }
    .carousel-arrow1 { width: 42px; height: 42px; font-size: 28px; }
    .arrow-prev1 { left: -12px; }
    .arrow-next1 { right: -12px; }
    .card-content h3 { font-size: 18px; }
    .tab-btn { padding: 6px 22px; font-size: 15px; }
}
@media (max-width: 550px) {
    .carousel-card { flex: 0 0 92%; }
    .arrow-prev1 { left: -6px; }
    .arrow-next1 { right: -6px; }
    .card-content { padding: 16px 16px 20px; }
    .footer{margin-top: 0 !important;}
    .footer-main{flex-direction:row !important;gap: 0 !important;}
    .partner-item img{width: 100%;}
}

/* 移动端菜单按钮（汉堡图标） */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    margin: 0 auto;
    padding: 16px 20px 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 96%;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4a90e2;
}

.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #000;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 响应式 */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #4d4d4d;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        max-height: 444px;
    }
    
    .nav-links a {
        color: #fff;
        padding: 16px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    /* 汉堡图标动画 - 点击后变成 X */
    .menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* 页脚样式 */
/* 右边区域 */
.footer-right {
    flex: 1;
    min-width: 300px;
}
 .contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    /* min-width: 240px; */
}

.contact-icon {
    width: 30px;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    margin-top: 8px;
    display: inline-block;
    margin-right: 8px;
}

.contact-number {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    display: block;
    margin-right: 20px;
}

.contact-address {
   font-size: 14px;
    color: #fff;
    line-height: 1.6;
    padding-top: 22px;
}

/* 响应式：手机屏幕时上下排列 */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 24px;
    }
    
    .contact-item {
        flex: auto;
    }
    .social-section{
        margin-top: 0 !important;
    }
}

/* 社交媒体区域 */
 .social-section {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.social-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.social-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

/* 默认显示 pig 图片 */
.social-item .pig-img {
    display: block;
    width: 35px;
    transition: opacity 0.3s ease;
}

/* 默认隐藏二维码图片 */
.social-item .qrcode-img {
    display: none;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 8px;
    z-index: 100;
}

/* 鼠标移上去：隐藏 pig 图片，显示二维码 */
.social-item:hover .qrcode-img {
    display: block;
}

.social-item span {
    margin-top: 8px;
    font-size: 12px;
    color: #5f7e92;
    transition: color 0.2s;
}

/* 可选：添加一个小箭头提示 */
.social-item .qrcode-img::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 30px;
    }
    
    
    .footer-section {
        min-width: 100px;
    }
    
    .contact-item {
        /* flex-direction: column; */
        gap: 8px;
    }
    
    .contact-icon {
        margin-bottom: 5px;
    }
    
    .social-links {
        justify-content: center;
    }
    .footer-bottom{
        height: 90px;
    }
    .card-container{
        gap: 0;
        margin-top: 30px;
    }
    .yj-header img{
        width: 24px;
    }
}

@media (max-width: 480px) { 
    .footer-section {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        align-items: center;
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
}

   /* 导航栏样式新增 */

/* 语言切换按钮 */
.lang-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
}

.lang-btn img {
    width: 24px;
    height: 24px;
}

/* 语言下拉菜单 */
.lang-dropdown {
    position: relative;
}

.lang-menu {
    position: absolute;
    top: 40px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 120px;
    display: none;
    z-index: 100;
}

.lang-menu.show {
    display: block;
}

.lang-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.lang-menu a:hover {
    background: #f0f0f0;
    color: #1a6e8a;
}

/* 汉堡图标动画（打开时变成X） */
.menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 移动端响应式 */
@media (max-width: 768px) {
    /* 调整语言下拉在移动端的位置 */
    .lang-dropdown {
        margin-top: 10px;
    }

    .lang-menu {
        position: static;
        margin-top: 10px;
        background: #1e293b;
    }

    .lang-menu a {
        color: #fff;
        text-align: center;
    }

    .lang-menu a:hover {
        background: #334155;
    }
}

/* ==================== 下载中心 ==================== */
.download-container {
    width: 80%;
    margin: 0 auto;
    padding: 100px 20px 50px 20px;
}

/* 下载卡片样式 */
.download-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.download-card {
    flex: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.download-card-content {
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-card-header {
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 65%;
    margin: 0 auto;
}

.download-card-brand {
    font-size: 22px;
    color: #3E3A39;
    font-weight: 500;
    letter-spacing: 2px;
}

.download-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #3E3A39;
    letter-spacing: 2px;
}

.download-card-icon {
    width: 65%;
    margin-top: 30px;
}

.download-card-icon:hover{
    scale: calc(1.1);
}

.download-card.disabled {
    opacity: 0.5;
    pointer-events: none;
    color: #999;
}
.downloadTitle{
    letter-spacing:3px;
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    
    .download-container {
        padding: 40px 15px;
    }

    

    .download-section {
        padding: 20px;
    }

    .download-cards {
        flex-direction: column;
        gap: 20px;
    }

    .download-card {
        max-width: 100%;
        min-width: auto;
    }
}
