:root {
    --primary: #222222;
    --accent: #4CAF50;
    --bg: #FFFFFF;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 24px; }
h2 { font-size: 22px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #3d8b40;
    transform: translateY(-2px);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-title p {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bg-gray {
    background: #f8f8f8;
}

.empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 14px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--accent);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 200px;
    padding: 8px 35px 8px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-box input:focus {
    border-color: var(--accent);
}

.search-box button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 16px;
}

.lang-switch {
    display: flex;
    gap: 10px;
}

.lang-switch button {
    background: none;
    border: 1px solid var(--border);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-switch button:hover,
.lang-switch button.active {
    background: var(--accent);
    border-color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.mobile-menu a {
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--accent);
}

.banner {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-top: 70px;
}

.banner-slider {
    height: 100%;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
}

.banner-item.active {
    display: block;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-content .btn {
    font-size: 16px;
    padding: 14px 40px;
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dots span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dots span.active {
    background: var(--accent);
    transform: scale(1.2);
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-arrow:hover {
    background: var(--accent);
}

.banner-arrow.prev {
    left: 20px;
}

.banner-arrow.next {
    right: 20px;
}

.categories {
    padding: 60px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border);
    display: block;
}

.category-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.category-card .category-img {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: #f5f5f5;
}

.category-card .category-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover .category-img img {
    transform: scale(1.05);
}

.category-card .category-info {
    padding: 20px;
    text-align: center;
}

.category-card .category-info h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}

.category-card .series-tag {
    font-size: 12px;
    color: var(--accent);
    display: inline-block;
    padding: 4px 12px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 4px;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.category-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.cate-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.cate-name {
    font-size: 16px;
    color: var(--primary);
    font-weight: 500;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.product-img {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-img .tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    font-size: 12px;
    color: #fff;
    border-radius: 4px;
}

.product-img .tag.hot {
    background: #ff4757;
}

.product-img .tag.recommend {
    background: var(--accent);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-info .model {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-info .price {
    font-size: 18px;
    color: var(--accent);
    font-weight: 600;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.news-img {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background: #f5f5f5;
}

.news-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-info {
    padding: 20px;
}

.news-info h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-info .desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-info .date {
    font-size: 12px;
    color: var(--accent);
}

.features {
    padding: 80px 0;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.feature-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
}

.filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-bar a {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text);
    transition: all 0.3s;
}

.filter-bar a:hover,
.filter-bar a.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text);
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.page-banner {
    margin-top: 70px;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner h1 {
    font-size: 36px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.footer {
    background: var(--primary);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
    color: var(--accent);
}

.qrcode {
    text-align: center;
}

.qrcode img {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    border-radius: 4px;
}

.qrcode span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: all 0.3s;
}

.back-to-top:hover {
    background: #3d8b40;
    transform: translateY(-4px);
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.page-content h2 {
    font-size: 24px;
    color: var(--primary);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}

.page-content h3 {
    font-size: 20px;
    color: var(--primary);
    margin: 30px 0 15px;
}

.page-content p {
    margin-bottom: 15px;
    color: var(--text);
}

.page-content ul,
.page-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 10px;
    color: var(--text);
}

.join-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.join-content {
    padding-right: 20px;
}

.join-form-wrap,
.contact-form-wrap {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.join-form-wrap h3,
.contact-form-wrap h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group label span {
    color: #ff4757;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: #3d8b40;
}

.btn-block {
    width: 100%;
    display: block;
}

.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.service-item {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.service-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-item p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.contact-info h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 4px;
}

.contact-item .label {
    font-weight: 600;
    color: var(--primary);
    min-width: 100px;
    flex-shrink: 0;
}

.contact-item span:last-child {
    color: var(--text);
}

.contact-map {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 70px;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--primary);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-main-img {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #f5f5f5;
}

.product-main-img img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-right h1 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-detail-right .model,
.product-detail-right .category {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-detail-right .price {
    font-size: 32px;
    color: var(--accent);
    font-weight: 600;
    margin: 20px 0;
}

.product-features {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.product-features h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-secondary {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.product-specs,
.product-desc,
.related-products {
    margin-top: 60px;
}

.product-specs h2,
.product-desc h2,
.related-products h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
}

.specs-content,
.desc-content {
    line-height: 1.8;
    color: var(--text);
}

.news-detail {
    max-width: 900px;
    margin: 0 auto;
}

.news-detail h1 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.news-meta span {
    margin-right: 20px;
}

.news-cover {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.news-cover img {
    width: 100%;
    height: auto;
}

.news-content {
    line-height: 1.8;
    color: var(--text);
    font-size: 16px;
}

.news-content p {
    margin-bottom: 15px;
}

.news-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.news-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.news-nav a {
    font-size: 14px;
    color: var(--text-light);
    max-width: 45%;
}

.news-nav a:hover {
    color: var(--accent);
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .product-grid,
    .news-grid,
    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav,
    .header-search {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    .banner {
        height: 400px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .product-grid,
    .news-grid,
    .feature-list,
    .category-list,
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .page-banner {
        height: 200px;
    }
    
    .page-banner h1 {
        font-size: 24px;
    }
    
    .filter-bar {
        gap: 10px;
    }
    
    .filter-bar a {
        font-size: 13px;
        padding: 6px 16px;
    }
    
    .join-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .join-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .service-features {
        grid-template-columns: repeat(2, 1fr);
    }
}
