/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "Heiti SC", Arial, sans-serif;
}

body {
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
    padding-top: 70px; /* 适配固定导航栏 */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1a237e;
    color: #fff;
    padding: 15px 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mylogo {
    display: flex;
    justify-content: space-between;
    align-items: center;
	width: 33vw;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -0.15em;
	fill: currentColor;
	overflow: hidden;
}
/* 多语言选择器样式 - 增加间距 */
.lang-selector {
    position: relative;
    margin-left: 20px; /* 增加与导航链接的距离 */
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: #2196f3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: #1E88E5;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 140px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin-top: 8px;
    z-index: 1000;
}

.lang-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.lang-menu li:last-child {
    border-bottom: none;
}

.lang-menu a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

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

/* 导航链接 */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0 auto; /* 水平居中 */
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    color: #fff;
    cursor: pointer;
}

.menu-toggle .icon {
    fill: #fff;
}

/* 首屏样式 */
.hero {
    height: calc(100vh - 70px);
    background-image: url('../pics/liuxing.gif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* 按钮通用样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2196f3;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #1E88E5;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.btn-secondary {
    background-color: #009688;
}

.btn-secondary:hover {
    background-color: #00897b;
}

/* 首屏手机前景图 */
.hero-phones {
    display: flex;
    gap: 40px;
}

.phone {
    width: 180px;
    height: 360px;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid #eee;
}

/* 手机悬停动画 */
.phone-1:hover {
    transform: rotate(-5deg) scale(1.05) translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.phone-2:hover {
    transform: rotate(0) scale(1.05) translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.phone-3:hover {
    transform: rotate(5deg) scale(1.05) translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* 通用板块样式 */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #1a237e;
    position: relative;
}

section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #2196f3;
    margin: 15px auto 0;
}

/* 关于我们样式 */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a237e;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #666;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 产品中心样式 */
.products {
    background-color: #fff;
}

.product-card {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.product-card:last-child {
    margin-bottom: 0;
}

.product-image {
    flex: 0 0 40%;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a237e;
}

.product-info p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

.product-info ul {
    margin-bottom: 30px;
    list-style: none;
}

.product-info li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #666;
    padding-left: 24px;
    position: relative;
}

.product-info li::before {
    content: "✓";
    display: inline-block;
    color: #2196f3;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 客户案例样式 */
.cases-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.cases-stats {
    flex: 1;
}

.cases-stats h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a237e;
}

.cases-stats p {
    margin-bottom: 30px;
    font-size: 16px;
    color: #666;
}

.case-item {
    margin-bottom: 25px;
}

.case-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2196f3;
}

.case-item p {
    margin-bottom: 0;
}

.cases-chart {
    flex: 1;
    display: flex;
    justify-content: center;
    height: 350px; /* 固定图表容器高度 */
    min-width: 300px; /* 确保图表有足够宽度 */
}

#casesChart {
    width: 100% !important;
    height: 100% !important;
}

/* 技术能力样式 */
.tech {
    background-color: #fff;
}

.tech-content {
    display: flex;
    gap: 80px;
    align-items: center;
}

.tech-chart-container {
    flex: 1;
    height: 450px; /* 图表容器高度 */
    min-width: 300px; /* 确保图表有足够宽度 */
}

#techChart {
    width: 100% !important;
    height: 100% !important;
}

.tech-details {
    flex: 1;
}

.tech-details h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a237e;
}

.tech-details p {
    margin-bottom: 30px;
    font-size: 16px;
    color: #666;
}

.tech-item {
    margin-bottom: 25px;
}

.tech-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2196f3;
}

.tech-item p {
    margin-bottom: 0;
}

/* 联系我们样式 */
.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a237e;
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 16px;
    color: #666;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item .icon {
    fill: #2196f3;
    margin-top: 4px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.contact-item p {
    margin-bottom: 0;
    color: #666;
}

.contact-map {
    flex: 1;
}

.contact-map img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 页脚样式 */
footer {
    background-color: #1a237e;
    color: #fff;
    padding: 15px 0;
}

.footer-content {
    text-align: center;
    /* margin-bottom: 30px; */
}

.footer-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-content p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.icp-info {
    text-align: center;
    margin: 10px;
    opacity: 0.8;
}
.icp-info a{
/*    display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center; */
	margin: 6px 0;
    text-decoration: none;
}
.icp-info p{
	margin: 6px 0;
}
.icp-info span{
	color: #f5f5f5;
}

.copyright {
    text-align: center;
    /* opacity: 0.9; */
    font-size: 14px;
}

/* 回到顶部按钮 */
.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    /* width: 64px;
    height: 64px; */
    background-color: #2196f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.4);
    cursor: pointer;
    z-index: 998;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.scroll-to-top:hover {
    background-color: #1E88E5;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 16px rgba(33, 150, 243, 0.4);
    }
    50% {
        box-shadow: 0 6px 24px rgba(33, 150, 243, 0.6);
    }
    100% {
        box-shadow: 0 4px 16px rgba(33, 150, 243, 0.4);
    }
}

/* 隐藏类 */
.hidden {
    display: none !important;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-phones {
        margin-top: 50px;
    }
    
    .about-content,
    .cases-content,
    .tech-content {
        flex-direction: column;
    }
    
    .product-card {
        flex-direction: column;
        text-align: center;
    }
    
    .product-image {
        flex: 0 0 100%;
    }
    
    .product-info li {
        padding-left: 0;
        text-align: left;
    }
    
    .product-info li::before {
        left: -24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: 0;
        width: 70%;
        height: calc(100vh - 70px);
        background-color: #1a237e;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .lang-selector {
        margin-right: 10px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    section h2 {
        font-size: 30px;
    }
    
    .phone {
        width: 150px;
        height: 300px;
    }
    
    .tech-chart-container {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .hero-phones {
        gap: 20px;
    }
    
    .phone {
        width: 120px;
        height: 240px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .footer-links {
        gap: 10px;
    }
    
    .scroll-to-top {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
}
    