﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

img {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo-container {
    display: flex;
    align-items: center; 
    text-decoration: none;
}

.company-name {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff; 
    margin-left: 10px; 
    white-space: nowrap; 
    transform: translateY(-5px);
}

.lang-switch {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.lang-switch a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.lang-switch a:hover {
    color: #e6d1f9;
}

.lang-switch a.active {
    font-weight: bold;
    color: #e6d1f9;
}

.lang-divider {
    color: #ffffff;
    margin: 0 8px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .lang-switch {
        margin-left: 15px;
        margin-top: 10px;
    }
}
@media (max-width: 768px) {
    .company-name {
        font-size: 24px; 
        margin-left: 10px;
    transform: translateY(-3px);
    }

    .nav-bar {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    .nav-menu {
        margin-top: 15px;
    }
    .nav-menu li {
        margin: 0 15px;
    }

}
header {
    background-color: #4b0082;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    padding: 0 20px;
}
.logo {
    height: 50px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}
.nav-menu {
    display: flex;
    list-style: none;
}
.nav-menu li {
    margin-left: 30px;
}
.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s;
}
.nav-menu a:hover {
    color: #e6d1f9;
}

.banner {
    height: 320px;
    background: linear-gradient(rgba(75, 0, 130, 0.85), rgba(75, 0, 130, 0.85)), 
                url('images/banner-background.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    scroll-margin-top: 85px;
}
.banner-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
}
.banner-content .slogan {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}
.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #4b0082;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}
.btn:hover {
    background-color: #f0f0f9;
}

.section-title {
    text-align: center;
    margin: 60px 0 40px;
}
.section-title h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 10px;
}
.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.about {
    padding: 20px 0 60px;
    background-color: #fff;
    scroll-margin-top: 85px;
}
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}
.about-img {
    flex: 1;
    min-width: 300px;
}
.about-img img {
    width: 100%;
    border-radius: 8px;
}
.about-text {
    flex: 1;
    min-width: 300px;
}
.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #4b0082;
}
.about-text p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.products {
    padding: 20px 0 80px;
    background-color: #fff;
    scroll-margin-top: 85px;
}
.products-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}
.product-card {
    width: 45%;
    min-width: 320px;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
}
.product-img {
    width: 300px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    user-select: none;
    pointer-events: none;
}
.product-link {
    text-decoration: none;
}

.technology {
    padding: 20px 0 80px;
    background-color: #f9f9f9;
    scroll-margin-top: 85px;
}
.tech-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
    color: #333;
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}
.tech-img {
    flex: 1;
    min-width: 300px;
}
.tech-img img {
    width: 100%;
    border-radius: 8px;
}
.tech-text {
    flex: 1;
    min-width: 300px;
}
.tech-content p {
    margin-bottom: 16px;
}

.patents {
    padding: 20px 0 80px;
    background-color: #fff;
    scroll-margin-top: 85px;
}
.patent-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}
.patent-img {
    flex: 1;
    min-width: 300px;
}
.patent-img img {
    width: 100%;
    border-radius: 8px;
}
.patent-list {
    flex: 1;
    min-width: 300px;
}
.patent-item {
    background: #fdfdfd;
    padding: 5px 5px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    line-height: 1.7;
}
.patent-item strong {
    color: #4b0082;
}

.team {
    padding: 20px 0 80px;
    background-color: #f9f9f9;
    scroll-margin-top: 85px;
}
.team-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0 50px;
}
.team-card {
    width: 30%;
    min-width: 250px;
    text-align: center;
    padding: 20px;
}
.team-card img {
    width: 80%;
    max-width: 200px;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.team-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}
.team-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.partners {
    padding: 20px 0 80px;
    background-color: #fff;
    scroll-margin-top: 85px;
}
.partners-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.partners-logo {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    user-select: none;
    pointer-events: none;
}

.contact {
    padding: 20px 0 80px;
    scroll-margin-top: 85px;
}
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    text-align: center;
}
.contact-item {
    min-width: 220px;
}

.contact-item h3 {
    font-size: 36px;
    margin-bottom: 12px;
    color: #4b0082;
}

.phone-number {
    font-size: 28px;
    line-height: 1.2;
    color: #333;
    display: inline-block;
    position: relative;
    top: -0.3em;
}

.email-at {
    font-size: 20px;
    vertical-align: baseline;
    display: inline-block;
    transform: translateY(0);
    margin: 0 -5px;
}

footer {
    background-color: #3a0061;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}
footer p {
    font-size: 14px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    .nav-menu {
        margin-top: 15px;
    }
    .nav-menu li {
        margin: 0 15px;
    }
    .banner {
        height: 400px;
    }
    .banner-content h1 {
        font-size: 32px;
    }
    .banner-content .slogan {
        font-size: 24px;
    }

    .team-card {
        width: 80%;
        margin: 0 auto;
    }
    .banner, .about, .products, .technology, .patents, .team, .partners, .contact {
        scroll-margin-top: 120px;
    }
    .partners-logo {
        width: 90%;
    }
}


.product-detail {
    padding: 20px 0 60px;
    background-color: #fff;
    scroll-margin-top: 85px;
}
.product-detail .container {
    max-width: 900px;
    line-height: 1.8;
}
.product-detail h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #4b0082;
}
.product-detail p {
    color: #555;
    margin-bottom: 15px;
}