* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary: #1a73e8;
    --primary-dark: #0d5cb6;
    --secondary: #4caf50;
    --dark: #333;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border: #dee2e6;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    color: var(--dark);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 150px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    display: none; /* 隐藏文字 */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #666; /* 栏目名称颜色变浅 */
    font-weight: 500;
    font-size: 1.0rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.3rem; /* 增大电话字体 */
    white-space: nowrap;
}

.contact-phone a {
    color: var(--primary);
    text-decoration: none;
}

.contact-phone i {
    font-size: 1.3rem;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    background: none;
    border: none;
}

/* 产品页Banner */
.product-banner {
    background: linear-gradient(135deg, #1a73e8, #4caf50);
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.product-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.product-banner::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.product-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.product-banner p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    background-color: var(--light);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb i {
    color: var(--gray);
    font-size: 0.9rem;
}

/* 文章内容区域 */
.article-container {
    padding: 40px 0;
}

.article-container img{
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.article-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--gray);
    font-size: 0.95rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-section {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/*.article-section{*/
    
/*}*/

.article-section-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
}

.article-overview {
    background: linear-gradient(to right, rgba(26, 115, 232, 0.05), transparent);
    padding: 25px;
    border-left: 4px solid var(--primary);
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
    font-size: 0.8rem;
}

.article-overview h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.article-overview ul {
    padding-left: 20px;
}

.article-overview li {
    margin-bottom: 10px;
}

.article-img {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin: 30px 0;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card i {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.article-disclaimer {
    background: var(--light);
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
    font-size: 0.95rem;
    color: var(--gray);
}

.article-source {
    text-align: right;
    margin-top: 10px;
    font-style: italic;
    color: var(--gray);
}

/* 上一篇下一篇 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    max-width: 45%;
}

.nav-btn.prev {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
}

.nav-btn.next {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
    margin-left: auto;
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.nav-btn i {
    font-size: 1.2rem;
}

/* 相关产品 */
.related-products {
    background: var(--light);
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.product:hover::before {
    opacity: 1;
}

.product-img {
    height: 200px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 3rem;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.3rem;
}

/* 页脚样式 */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: 120px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: none; /* 隐藏文字 */
}

.footer-about p {
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.8;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
}

.footer-contact i {
    width: 20px;
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .article-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-about {
        grid-column: 1 / span 2;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-banner h1 {
        font-size: 2.2rem;
    }
    
    .product-banner p {
        font-size: 1.1rem;
    }
    
    .article-header h2 {
        font-size: 1.8rem;
    }
    
    .article-img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .products {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: auto;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-btn {
        max-width: 100%;
    }
    
    .contact-phone span {
        display: none;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
}