* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary: #0066CC;
    --primary-light: #0099FF;
    --primary-dark: #004999;
    --secondary: #12192C;
    --accent: #00FFCC;
    --text-light: #F5F7FA;
    --text-dark: #2D3748;
    --gray: #E2E8F0;
    --dark-bg: #0A192F;
    --transition: all 0.4s ease;
}

/* 多语言字体核心适配 */
body.zh { font-family: 'Noto Sans SC', sans-serif; }
body.en { font-family: 'Noto Sans', sans-serif; }
body.jp { font-family: 'Noto Sans JP', sans-serif; }
body.kr { font-family: 'Noto Sans KR', sans-serif; }

body {
    color: var(--text-dark);
    background-color: #FFFFFF;
    line-height: 1.6;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes chipRotate { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.05); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 153, 255, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(0, 153, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 153, 255, 0); } }
@keyframes bgFloat { 0% { transform: translate(0,0); } 50% { transform: translate(20px,20px); } 100% { transform: translate(0,0); } }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.section { padding: 100px 0; }
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-dark);
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    border-radius: 2px;
}
.sub-title {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--primary);
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}
.navbar.scrolled { background: rgba(10, 25, 47, 0.98); }
.navbar.scrolled .nav-link, .navbar.scrolled .logo h1 { color: var(--text-light); }
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    transition: var(--transition);
}
.logo h1 span { color: var(--primary-light); }
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.navbar.scrolled .nav-link:hover::after, .navbar.scrolled .nav-link.active::after { background: var(--accent); }

/* 语言切换按钮 核心样式 */
.lang-switch {
    display: flex;
    gap: 8px;
    margin-left: 20px;
}
.lang-btn {
    padding: 5px 10px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}
.lang-btn.active {
    background: var(--primary);
    color: var(--text-light);
}
.lang-btn:hover {
    background: var(--primary-light);
    color: var(--text-light);
    border-color: var(--primary-light);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}
.navbar.scrolled .hamburger { color: var(--text-light); }

/* 首页 - 纯CSS科技感背景（替代粒子动画） */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230099ff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: bgFloat 20s infinite ease-in-out;
    z-index: 1;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 2;
}
.hero-text {
    flex: 1;
    animation: slideUp 0.8s ease forwards;
}
.hero-text h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #CCD6F6;
    max-width: 600px;
}
.hero-img {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: fadeIn 0.8s ease forwards 0.3s;
    opacity: 0;
}
.chip-animation {
    width: 400px;
    height: 400px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: rgba(0, 153, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: chipRotate 15s linear infinite, pulse 2s infinite;
}
.chip-animation::after {
    content: '';
    width: 350px;
    height: 350px;
    border: 2px dashed var(--primary-light);
    border-radius: 50%;
}
.chip-animation::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid var(--primary);
    border-radius: 50%;
}

/* 关于我们 */
.about { background-color: var(--text-light); }
.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}
.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.product-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--primary-light);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.1);
}
.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.product-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}
.team-slogan {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 20px;
    text-align: center;
}

/* 公司理念 */
.philosophy {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary) 100%);
    color: var(--text-light);
}
.philosophy .section-title { color: var(--text-light); }
.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.philosophy-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}
.philosophy-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.1);
}
.card-header {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.card-header i {
    font-size: 1.8rem;
    color: var(--accent);
}
.card-header h3 { font-size: 1.5rem; }
.card-body {
    padding: 30px;
}
.card-body p {
    line-height: 1.8;
    color: #CCD6F6;
}

/* 核心竞争力 */
.competitiveness { background-color: var(--text-light); }
.compete-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.compete-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}
.compete-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.15);
}
.compete-img {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--text-light);
    font-size: 2.5rem;
}
.compete-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}
.compete-card p {
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: left;
    color: var(--text-dark);
}

/* 页脚 */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid var(--accent);
}
.footer p {
    margin-bottom: 10px;
    color: #CCD6F6;
}

/* 响应式 */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 50px;
        padding: 50px 0;
    }
    .chip-animation {
        width: 300px;
        height: 300px;
    }
    .chip-animation::after { width: 260px; height: 260px; }
    .chip-animation::before { width: 220px; height: 220px; }
    .nav-menu { gap: 20px; }
}

@media (max-width: 768px) {
    .hamburger { display: block; z-index: 999; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition);
        z-index: 998;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    .nav-menu.active { right: 0; }
    .nav-link {
        color: var(--text-light);
        font-size: 1.2rem;
    }
    .hero-text h2 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .sub-title { font-size: 1.5rem; }
    .section { padding: 70px 0; }
}

@media (max-width: 576px) {
    .hero-text h2 { font-size: 2rem; }
    .chip-animation { width: 200px; height: 200px; }
    .chip-animation::after { width: 170px; height: 170px; }
    .chip-animation::before { width: 140px; height: 140px; }
    .section-title { font-size: 1.8rem; }
    .product-cards, .philosophy-cards, .compete-cards { grid-template-columns: 1fr; }
}