/* ========== 轮播图 ========== */
/* .Hbanner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.swiper-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
}

.swiper-slide img {
    width: 100%;
    aspect-ratio: 3 / 1;
    display: block;
    object-fit: cover;
}

.swiper-prev,
.swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
}

.swiper-prev { left: 20px; }
.swiper-next { right: 20px; }

.swiper-prev:hover,
.swiper-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.swiper-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.swiper-dots .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-dots .dot.active {
    background-color: var(--text-white);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .swiper-prev,
    .swiper-next {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .swiper-dots .dot {
        width: 8px;
        height: 8px;
    }
} */

/* 首屏视频 */
.Hbanner{
    width: 100%;
    height: 90vh;
    position: relative;
    overflow: hidden;
}
.Hbanner video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}
.overlay-text {
    color: white;
    font-size: 3rem;
    font-family: sans-serif;
    text-align: center;
    margin: 0 5%;
}
@media(max-width:768px){
    .Hbanner{
        height: auto;
    }
    .overlay-text p{
        font-size: 2rem;
    }
}
@media(max-width:480px){
    .overlay-text p{
        font-size: 1rem;
    }
}
/* ========== About Us 区域 ========== */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content { flex: 1; }

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.about-features { margin-bottom: 30px; }

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #334155;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.about-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.about-image { flex: 1; }

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-section { padding: 50px 0; }
    .about-container {
        flex-direction: column;
        padding: 0 20px;
        gap: 40px;
    }
    .about-title { font-size: 1.8rem; }
    .about-desc { font-size: 0.9rem; }
    .feature-item { font-size: 0.9rem; }
    .about-btn { padding: 10px 24px; }
}

/* ============================================
   Our Advantages 区域样式
   ============================================ */

.advantages-section {
    padding: 80px 0;
    background-color: var(--bg-gray);
}
.advantages-section a{
    text-decoration: none;
}
.advantages-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* 优势卡片 */
.advantage-card {
    background: var(--bg-light, #f8fafc);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light, #e2e8f0);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color, #179744);
}

/* 图标 */
.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(23, 151, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color, #179744);
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    background-color: var(--primary-color, #179744);
    color: var(--text-white, #ffffff);
}

.advantage-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bg-dark, #1e293b);
    margin-bottom: 12px;
}

.advantage-desc {
    font-size: 0.9rem;
    color: var(--text-light, #64748b);
    line-height: 1.7;
    margin: 0;
}

/* 移动端适配 */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .advantages-section {
        padding: 50px 0;
    }
    
    .advantages-container {
        padding: 0 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-card {
        padding: 30px 20px;
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
    }
    
    .advantage-title {
        font-size: 1rem;
    }
    
    .advantage-desc {
        font-size: 0.85rem;
    }
}
/* ========== 产品推荐模块 ========== */
.products-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.products-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    font-size: 1rem;
    /* color: var(--text-light); */
    margin-top: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.product-link { text-decoration: none; display: block; }

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img { transform: scale(1.05); }

.product-info { padding: 20px; }

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bg-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-excerpt {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 15px;
}

.product-more {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.2s;
}

.product-card:hover .product-more { transform: translateX(5px); }

.index-footer { text-align: center; }

.view-all-btn {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.no-products {
    grid-column: span 4;
    text-align: center;
    padding: 60px;
    color: #94a3b8;
    background-color: var(--bg-light);
    border-radius: 16px;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .products-section { padding: 50px 0; }
    .products-container { padding: 0 20px; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 0.9rem; }
    .products-grid {
        /* grid-template-columns: 1fr; */
        gap: 20px;
    }
    .product-image { height: 200px; }
    .product-name { font-size: 1rem; }
}
@media(max-width:480px){
    .products-grid{
        grid-template-columns: 1fr;
    }
    .products-container{
        padding: 0 40px;
    }
}
/* ============================================
   案例模块样式
   ============================================ */

.cases-section {
    padding: 80px 0;
    background-color: var(--bg-light, #f8fafc);
}

.single-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.single-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* 案例卡片 */
.single-card {
    background: var(--bg-white, #ffffff);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light, #e2e8f0);
}

.single-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.single-link {
    text-decoration: none;
    display: block;
}

.single-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #f1f5f9;
    position: relative;
}

.single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.single-card:hover .single-image img {
    transform: scale(1.05);
}

.single-info {
    padding: 20px;
}

.single-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bg-dark, #1e293b);
    margin-bottom: 10px;
    line-height: 1.4;
}

.single-excerpt {
    font-size: 0.85rem;
    color: var(--text-light, #64748b);
    line-height: 1.5;
    margin-bottom: 15px;
}

.single-more {
    font-size: 0.85rem;
    color: var(--primary-color, #179744);
    font-weight: 500;
    transition: all 0.2s;
}

.single-card:hover .single-more {
    transform: translateX(5px);
}

/* 暂无案例提示 */
.no-single {
    grid-column: span 3;
    text-align: center;
    padding: 60px;
    color: #94a3b8;
    background-color: var(--bg-white, #ffffff);
    border-radius: 16px;
    border: 1px solid var(--border-light, #e2e8f0);
}

.blog-section {
    padding: 80px 0;
    background-color: var(--bg-white, #ffffff);
}

/* 日期徽章 */
.blog-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color, #179744);
    color: var(--text-white, #ffffff);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    line-height: 1.2;
    text-align: center;
}
/* 移动端适配 */
@media (max-width: 1024px) {
    .single-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .no-single {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .cases-section {
        padding: 50px 0;
    }
    
    .single-container {
        padding: 0 40px;
    }
    
    .single-grid {
        /* grid-template-columns: 1fr; */
        gap: 20px;
    }
    
    .no-single {
        grid-column: span 1;
    }
    
    .single-image {
        height: 200px;
    }
    
    .single-title {
        font-size: 1rem;
    }
    .blog-section {
    padding: 50px 0;
    }
}
@media(max-width:480px){
    .single-grid{
        grid-template-columns: 1fr;
    }
}