* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #dc3545;
    color: #fff !important;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #c82333;
}

.btn-primary {
    background-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-success {
    background-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
}

.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: #dc3545;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: #fff;
}

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #dc3545;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    transition: color 0.3s;
}

.nav a:hover, .nav a.active {
    color: #dc3545;
}

.banner {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.banner .btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.section {
    padding: 60px 0;
    background-color: #fff;
}

.section-gray {
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 16px;
}

.breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb .container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #dc3545;
}

.breadcrumb span {
    color: #999;
}

.breadcrumb .current {
    color: #dc3545;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 48px;
    color: #dc3545;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.service-item p {
    color: #666;
    line-height: 1.8;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    border-left: 4px solid #dc3545;
    background-color: #fff;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    color: #666;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.news-content h3 a:hover {
    color: #dc3545;
}

.news-content p {
    color: #666;
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-section .btn {
    background-color: #fff;
    color: #dc3545 !important;
}

.cta-section .btn:hover {
    background-color: #f8f9fa;
}

.footer {
    background-color: #222;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #dc3545;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.page-content {
    padding: 40px 0;
    min-height: 600px;
}

.content-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-wrapper h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.content-wrapper h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #333;
}

.content-wrapper h3 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: #333;
}

.content-wrapper p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

.content-wrapper ul {
    margin: 20px 0;
    padding-left: 20px;
}

.content-wrapper ul li {
    margin-bottom: 10px;
    color: #666;
    list-style: disc;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.contact-item .icon {
    font-size: 36px;
    color: #dc3545;
    margin-bottom: 15px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.contact-item p {
    color: #666;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-img {
    height: 220px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    color: #666;
    margin-bottom: 20px;
}

.product-info .price {
    font-size: 24px;
    color: #dc3545;
    font-weight: bold;
    margin-bottom: 15px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-list-item {
    display: flex;
    gap: 25px;
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news-list-item .news-img {
    width: 280px;
    flex-shrink: 0;
    height: 180px;
    background: linear-gradient(135deg, #666 0%, #999 100%);
    border-radius: 4px;
}

.news-list-item .news-text {
    flex: 1;
}

.news-list-item .news-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-list-item .news-text h3 a:hover {
    color: #dc3545;
}

.news-list-item .news-text .news-meta {
    margin-bottom: 15px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 10px 18px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.pagination .current {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.sidebar {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    border-left: 4px solid #dc3545;
    padding-left: 15px;
}

.sidebar-widget ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-widget a:hover {
    color: #dc3545;
}

.mobile-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    gap: 10px;
}

.mobile-btn .btn {
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

@media (max-width: 992px) {
    .services-grid,
    .news-grid,
    .products-grid,
    .footer-grid,
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-list-item {
        flex-direction: column;
    }
    
    .news-list-item .news-img {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .nav ul {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .banner h1 {
        font-size: 32px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .services-grid,
    .news-grid,
    .products-grid,
    .footer-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .features {
        flex-direction: column;
    }
    
    .header-main .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-btn {
        display: flex;
    }
}
