body {
    font-family: 'Noto Sans SC', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:active {
    transform: scale(0.95);
    transition: transform 0.1s;
}

#language-toggle {
    background: none;
    border: 1px solid #0066cc;
    color: #0066cc;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

#language-toggle:hover {
    background-color: #0066cc;
    color: white;
}

.logo h1 {
    margin: 0;
    color: #0066cc;
    font-size: 1.5rem;
}

.hero {
    height: 70vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 8px;
    max-width: 80%;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.slide-content .btn {
    background-color: #0066cc;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.slide-content .btn:hover {
    background-color: #0055aa;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
    z-index: 10;
    box-sizing: border-box;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    color: #0066cc;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-controls button:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-controls .next-slide {
    margin-right: 16px;
}

.products {
    padding: 2rem;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.product-item {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
}

.product-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 1rem;
}

.product-item:hover {
    transform: translateY(-5px);
}

footer {
    background-color: #333;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.footer-section h3 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #0066cc;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #0066cc;
}

.copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

.products-page {
    padding: 2rem;
    text-align: center;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    height: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 1rem;
}

.product-card p {
    flex: 1;
    margin-bottom: 1rem;
    min-height: 60px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: auto;
    transition: transform 0.2s, background-color 0.2s;
}

.btn:hover {
    background-color: #0055aa;
    transform: scale(1.05);
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    resize: vertical;
}

.success {
    color: green;
    text-align: center;
    margin-top: 1rem;
}

.error {
    color: red;
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        width: 80%;
    }

    .product-list {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1rem;
    }
}

.product-detail {
    padding: 2rem;
    text-align: center;
}

.product-detail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.specs {
    margin-top: 1.5rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 产品详情页专用样式 */
.product-detail-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.product-header {
    text-align: center;
    margin-bottom: 2rem;
}

.product-header img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1rem;
}

.product-description,
.product-specs,
.product-features {
    margin-bottom: 3rem;
}

.table-container {
    overflow-x: auto;
    margin: 1rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

th, td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: center;
}

th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.product-features ul {
    list-style-type: none;
    padding-left: 0;
}

.product-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li::before {
    content: "•";
    color: #0066cc;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 表格专用样式 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.spec-table th, 
.spec-table td {
    border: 1px solid #e0e0e0;
    padding: 12px 8px;
    text-align: center;
    line-height: 1.5;
}

.spec-table th {
    background-color: #0066cc;
    color: white;
    font-weight: 500;
    min-width: 80px;
}

.spec-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.spec-table tr:hover {
    background-color: #f1f7ff;
}

.spec-table td strong {
    color: #333;
}

/* 响应式表格 */
@media (max-width: 768px) {
    .table-container {
        border: 1px solid #ddd;
        border-radius: 4px;
    }
    
    .spec-table {
        font-size: 0.85rem;
    }
    
    .spec-table th, 
    .spec-table td {
        padding: 8px 4px;
    }
}

:root {
    --primary-color: #0066cc;      /* 主色调 */
    --hover-color: #f1f7ff;        /* 悬停色 */
    --even-row: #f8f9fa;           /* 偶数行 */
    --border-color: #e0e0e0;       /* 边框色 */
}

.product-brand {
    color: #666;
    font-size: 1.2rem;
    margin: 0.5rem 0 1.5rem;
    text-align: center;
}

.product-features {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.product-features ul {
    padding-left: 1.5rem;
}

.product-features li {
    margin-bottom: 0.8rem;
}

.legal-notice {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    border-top: 1px solid #eee;
}

.principle-image {
    max-width: 40%;
    height: auto;
    margin: 20px auto;  /* 修改为 auto 实现水平居中 */
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block;     /* 确保 margin: auto 生效 */
}

.image-caption {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: -10px;  /* 调整与图片的间距 */
    margin-bottom: 20px;
    font-style: italic;
}

.feature-comparison-container {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-feature,
.our-feature {
    flex: 1;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .feature-comparison-container {
        flex-direction: column;
    }
}

/* 关于我们页面专用样式 */
.about-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.company-profile, 
.business-scope, 
.compliance-statement {
    margin-bottom: 3rem;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.business-item {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s;
}

.business-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.core-values ul {
    list-style-type: none;
    padding-left: 0;
}

.core-values li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.core-values li:before {
    content: "•";
    color: #0066cc;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.compliance-statement ul {
    padding-left: 1.2rem;
    list-style-type: disc; /* 改为默认圆点样式 */
}

.compliance-statement li {
    margin-bottom: 0.6rem;
    padding-left: 0; /* 移除原有缩进 */
}

/* 地图带标注样式 */
.map-with-label {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    align-items: center;
}

.map-image {
    width: 60%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-label {
    width: 40%;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

.map-label h3 {
    color: #0066cc;
    margin-top: 0;
    margin-bottom: 1rem;
}

.map-label ul {
    padding-left: 1.2rem;
}

.map-label li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .map-with-label {
        flex-direction: column;
    }
    
    .map-image,
    .map-label {
        width: 100%;
    }
}

/* 新增或修改的样式 */
.contact-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.address-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.address-card:hover {
    transform: translateY(-5px);
}

.address-card p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.map-container {
    margin-top: 2rem;
}

.map-with-label {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    align-items: center;
}

.map-image {
    width: 60%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-label {
    width: 40%;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

.map-label h3 {
    color: #0066cc;
    margin-top: 0;
    margin-bottom: 1rem;
}

.map-label ul {
    padding-left: 1.2rem;
}

.map-label li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .map-with-label {
        flex-direction: column;
    }

    .map-image,
    .map-label {
        width: 100%;
    }
}

/* 特色卡片 */
.features {
    display: flex;
    justify-content: space-around;
    padding: 3rem 1rem;
    background-color: #f9f9f9;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin: 0 0 1rem;
    color: #333;
}

.feature-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* 特色卡片按钮样式 */
.feature-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-btn:hover {
    background-color: white;
    color: #0066cc;
    border-color: #0066cc;
    transform: translateY(-2px);
}

.address-indent {
    padding-left: 4.5em; /* 根据"地址："文本长度调整缩进 */
    text-indent: -1.5em; /* 负值缩进，确保首字对齐 */
    margin-top: -0.5em;  /* 调整行间距 */
}