:root {
    --primary-color: #0066cc; /* 科技蓝 */
    --secondary-color: #003366; /* 深蓝 */
    --accent-color: #00ccff; /* 亮青 */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9fbfd;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
}

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
}

/* === 中英文切换逻辑 (核心) === */
/* 如果 body 是 lang-en，隐藏中文 */
body.lang-en .text-zh { display: none !important; }
/* 如果 body 是 lang-zh，隐藏英文 */
body.lang-zh .text-en { display: none !important; }

/* === 布局容器 === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }

/* === 导航栏 === */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
    font-size: 2.0rem;
    color: var(--secondary-color);
}

.logo-img { height: 50px; }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary-color); }

.btn-nav {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 6px;
}

.lang-switch-btn {
    border: 1px solid #ddd;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}
.lang-switch-btn:hover { background: #f0f0f0; }

/* === Hero 区域 === */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* 备用背景 */
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 10px;
    backdrop-filter: blur(5px);
}

.hero-tags .tag {
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 10px;
}

/* === 产品板块 === */
.product-section {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }

.product-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.product-layout.reverse {
    flex-direction: row-reverse;
}

.product-content { flex: 1; }
.product-img {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #e0e0e0; /* 图片加载失败时的底色 */
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    width: 100%;
    height: auto;
    display: block;
}

.img-placeholder {
    color: #888;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

.badge {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

p {  margin-bottom: 20px; }

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.check-icon {
    color: var(--primary-color);
    font-weight: bold;
}

.stats-box {
    margin-top: 30px;
    padding: 20px;
    background: var(--white);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stats-box strong {
    font-size: 2rem;
    color: var(--primary-color);
    display: block;
}

/* === About Section === */
.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.founder-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.founder-card.full-width { grid-column: span 2; }

.partners-text {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.partners-list {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === Footer === */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-title {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

.footer-info h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-info p, .footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}



/* ==================== 6. 合作伙伴 (重点修改区域) ==================== */
.partners-section {
    padding: 80px 0;
/*  background-color: #ffffff;*/
/*  text-align: left;*/
}
.partners-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

/* --- 核心代码：一行3个图标 --- */
.partners-grid {
    display: grid;
    /* repeat(3, 1fr) 意思是：重复3次，每列占1份 -> 即一行3列 */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; /* 卡片之间的间距 */
    max-width: 1000px;
    margin: 0 auto; /* 居中显示 */
}

.partner-card {
    background: white;
/*  border: 1px solid #f1f5f9;*/
    border-radius: 12px;
    height: 120px; /* 固定高度，整齐 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
/*  box-shadow: 0 4px 6px rgba(0,0,0,0.02);*/
    transition: all 0.3s ease;
}

/* Logo 样式：默认黑白透明 */
.partner-card img {
    max-width: 90%;
    max-height: 150px;
/*  filter: grayscale(100%);*/
/*  opacity: 0.6;*/
/*  transition: all 0.3s ease;*/
}

/* 鼠标悬停效果 */
.partner-card:hover {
    transform: translateY(-5px); /* 向上浮动 */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}
.partner-card:hover img {
    filter: grayscale(0%); /* 变回彩色 */
    opacity: 1;
}




/* === 响应式适配 (移动端) === */
@media (max-width: 768px) {
    .nav-links { display: none; } /* 简化处理，移动端隐藏菜单 */
    .hero h1 { font-size: 2rem; }
    .product-layout, .product-layout.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .footer-content { grid-template-columns: 1fr; }
}





