/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

:root {
    --logo-height: 80px;
    --logo-max-width: 360px;
    --footer-logo-height: 40px;
    --footer-logo-max-width: 220px;
    --logo-radius: 10px;
}

.logo-wrapper {
    height: var(--logo-height);
    max-width: var(--logo-max-width);
    border-radius: var(--logo-radius);
    overflow: hidden;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.nav-logo .logo-img {
    height: 100%;
    width: auto;
    max-width: var(--logo-max-width);
    object-fit: contain;
    object-position: left center;
}

.logo-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name .cn {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
}

.logo-name .en {
    font-size: 1.05rem;
    color: #4b5563;
    margin-top: 3px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 首页横幅静态背景 */
.hero {
	position: relative;
	overflow: hidden;
	min-height: 76vh;
	padding: 140px 0 50px;
	background-image: url('image/car.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	color: #fff;
}
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.20));
	z-index: 0;
}
.hero-content { position: relative; z-index: 1; }

/* 首页横幅 */
.hero-content {
    flex: 1;
    max-width: 600px;
    margin-left: clamp(40px, 8vw, 140px);
    position: relative;
}
.hero-content::before {
	content: '';
	position: absolute;
	inset: -20px -24px -20px -24px;
	background: rgba(0,0,0,0.35);
	backdrop-filter: blur(6px);
	border-radius: 16px;
	z-index: -1;
}
@media (max-width: 768px) {
	.hero-content::before { inset: -14px -16px; border-radius: 14px; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    display: flex;
    gap: 2rem;
    font-size: 4rem;
    opacity: 0.8;
}

.hero-graphic i {
    animation: float 3s ease-in-out infinite;
}

.hero-graphic i:nth-child(2) {
    animation-delay: 1s;
}

.hero-graphic i:nth-child(3) {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* 通用部分样式 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: #f8fafc;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.about-text p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-item i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.advantage-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.advantage-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* 产品服务 */
.products {
    padding: 100px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.product-icon i {
    font-size: 2rem;
    color: white;
}

.product-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.product-card p {
    color: #6b7280;
    line-height: 1.6;
}

.technology-section {
    background: #1f2937;
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.technology-section h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.tech-info {
    max-width: 600px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.tech-item i {
    font-size: 3rem;
    color: #3b82f6;
}

.tech-item h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tech-item p {
    color: #d1d5db;
    line-height: 1.6;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: #f8fafc;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
    line-height: 1.6;
}

.contact-item a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1d4ed8;
}

/* 人才招聘 */
.careers {
	padding: 100px 0;
	background: #f8fafc;
}

.careers-intro {
	max-width: 900px;
	margin: 0 auto 2rem;
	color: #4b5563;
	line-height: 1.8;
}

.careers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}

.career-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 1.5rem 1.5rem 1.25rem;
	box-shadow: 0 8px 24px rgba(0,0,0,0.06);
	transition: transform .25s ease, box-shadow .25s ease;
}

.career-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.career-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: #111827;
	margin-bottom: 0.75rem;
}

.career-card ul {
	padding-left: 1.1rem;
	color: #4b5563;
	line-height: 1.8;
}

.careers-note {
	margin-top: 1.5rem;
	text-align: center;
	color: #4b5563;
}

.careers-note a { color: #2563eb; text-decoration: none; }
.careers-note a:hover { color: #1d4ed8; }

/* 页脚 */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-img {
    height: var(--footer-logo-height);
    width: auto;
    max-width: var(--footer-logo-max-width);
    object-fit: contain;
    object-position: left center;
}

.footer-info p {
    color: #d1d5db;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.logo-name .cn { font-size: 1.5rem; }
	.logo-name .en { font-size: 1rem; }

	:root { --logo-height: 68px; --logo-max-width: 300px; --footer-logo-height: 36px; --footer-logo-max-width: 200px; }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }

    /* 新增：移动端导航logo与名称布局优化 */
    .nav-logo {
        gap: 8px;
    }
    .logo-wrapper {
        width: 40px;
        height: 40px;
    }
    .logo-name .cn {
        font-size: 0.95rem;
    }
    .logo-name .en {
        display: none;
    }
    
    	.hero {
		min-height: 60vh;
		padding: 150px 20px 50px;
		background-position: center;
	}
	.hero-content { margin-left: 0; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-graphic {
        font-size: 3rem;
        margin-top: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .advantages {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .tech-item {
        flex-direction: column;
        text-align: center;
    }

    .career-card h3 { font-size: 1.05rem; }

    .hero-dots { bottom: 12px; }
}

@media (max-width: 480px) {
    :root { --logo-height: 56px; --logo-max-width: 240px; --footer-logo-height: 32px; --footer-logo-max-width: 180px; }
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
} 

.lang-switcher {
	display: flex; align-items: center; margin-left: 16px;
}
.lang-switcher select {
	appearance: none; -webkit-appearance: none; -moz-appearance: none;
	padding: 6px 28px 6px 10px; border-radius: 8px; border: 1px solid #e5e7eb;
	background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236b7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 8px center;
	font-size: 0.9rem; color: #374151;
}

@media (max-width: 768px) {
	.lang-switcher { margin-left: 8px; }
} 