/* 首页专属样式 */

/* 首屏轮播 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgb(0 3 6 / 85%) 0%, rgb(53 60 73 / 75%) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--accent-warm-gray);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background-color: var(--accent-gold);
    transform: scale(1.2);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background-color: rgba(255, 255, 255, 0.16);
    color: var(--white);
    font-size: 30px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-arrow:hover {
    background-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-50%) scale(1.04);
}

.hero-arrow-prev {
    left: 24px;
}

.hero-arrow-next {
    right: 24px;
}

/* 公司简介 */
.about-intro {
    padding: 40px 0 70px;
    background-color: var(--white);
}

.about-intro-main {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.about-intro-kicker {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.about-intro-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 18px;
}

.about-intro-text p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 2;
    margin-bottom: 26px;
}

.about-intro-media img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.10);
    display: block;
}





/* 产品分类 */
.products {
    padding: 50px 0;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.product-tab {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.product-tab:hover {
    border-color: rgba(201, 162, 39, 0.5);
    color: var(--primary-dark);
}

.product-tab.active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--white);
}

.product-panels {
    margin-top: 28px;
}

.product-panel {
    display: none;
}

.product-panel.active {
    display: block;
}

.product-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-item-card {
    display: block;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    text-decoration: none;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.product-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.10);
}

.product-item-img {
    height: 220px;
    background: linear-gradient(135deg, var(--primary-gray) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.product-item-info {
    padding: 18px 18px 20px;
}

.product-item-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.product-item-info p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.8;
}

.products-more {
    margin-top: 34px;
    display: flex;
    justify-content: center;
}

/* 案例展示 */
.cases {
    padding: 50px 0;
    background-color: var(--light-bg);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.case-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.case-card-img {
    height: 220px;
    /* background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-gray) 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.case-card-img span {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-gold);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.case-card-content {
    padding: 15px;
}

.case-card-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.case-card-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.case-card-content .case-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--accent-warm-gray);
}

/* 服务流程 */
.process {
    padding: 50px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-warm-gray) 100%);
}

.process-step {
    text-align: center;
    width: 15%;
    position: relative;
}

.process-step-num {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #a9cc44 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.process-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 13px;
    color: var(--text-gray);
}

/* 合作伙伴 */
.partners {
    padding: 80px 0;
    background: url('../images/lxbg.jpg') center/cover no-repeat;
    text-align: center;
}

.partners-carousel {
    display: flex;
    align-items: center;
    gap: 18px;
}

.partners-viewport {
    flex: 1;
    overflow: hidden;
    scroll-behavior: smooth;
}

.partners-viewport::-webkit-scrollbar {
    display: none;
}

.partners-track {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 80px);
    grid-auto-columns: 180px;
    gap: 35px;
    padding: 8px 0;
    align-items: center;
}

.partners-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--primary-dark);
    font-size: 28px;
    line-height: 42px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    flex: 0 0 auto;
}

.partners-arrow:hover {
    border-color: rgba(201, 162, 39, 0.55);
    color: var(--accent-gold);
}

.partner-item {
    height: 100px;
    background-color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-warm-gray);
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.zixun{
    padding-top: 70px;
}
.zixun_an{
    margin-top: 25px;
    font-size: 18px;
    font-weight: bold;
}

/* 新闻列表 */
.home-news {
    padding: 50px 0;
    background-color: var(--white);
}

.home-news-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 26px;
    align-items: stretch;
}

.home-news-feature {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 22px;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.home-news-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

.home-news-feature-img {
    
    /* background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-gray) 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: rgba(255, 255, 255, 0.30);
    min-height: 170px;
}
.home-news-feature-img img{
    border-radius: 10px;
}

.home-news-feature-tag {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    background-color: rgba(201, 162, 39, 0.12);
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.home-news-feature-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.45;
    margin-bottom: 10px;
}

.home-news-feature-body p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 14px;
}

.home-news-feature-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    color: var(--accent-warm-gray);
}

.home-news-list {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.home-news-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.25s ease;
}

.home-news-list-item:last-child {
    border-bottom: none;
}

.home-news-list-item:hover {
    background-color: rgba(26, 54, 93, 0.04);
}

.home-news-list-date {
    flex: 0 0 auto;
    width: 64px;
    height: 26px;
    border-radius: 999px;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--accent-warm-gray);
}

.home-news-list-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-news-list-arrow {
    flex: 0 0 auto;
    color: var(--accent-gold);
    font-size: 16px;
}

.home-news-actions {
    margin-top: 26px;
    display: flex;
    justify-content: center;
}

/* CTA区域 */
.cta-section {
    padding: 100px 0;
    background: url('../images/lxbg.jpg') center/cover no-repeat;
    text-align: center;
    color: var(--text-dark);
    /* position: relative; */
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 响应式 */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }


    .about-intro-main {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .product-list-grid,
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        flex-wrap: wrap;
        gap: 40px;
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        width: 45%;
    }

    .home-news-layout {
        grid-template-columns: 1fr;
    }

    .partners-track {
        grid-auto-columns: 170px;
    }
}

@media (max-width: 768px) {

    .stat-num{
        font-size: 1.3em;;
    }
    .about-stat{
        padding: 15px;
    }
    .stat-label{
        font-size: 15px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }


    .advantages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .product-tab {
        width: 100%;
        padding: 10px 8px;
        font-size: 1.em;
    }

    .product-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .product-item-img {
        height: 130px;
        font-size: 48px;
    }

    .cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .process-steps {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 10px;
    }

    .process-step {
        width: auto;
    }

    .home-news-feature {
        grid-template-columns: 1fr;
    }

    .partners-track {
        grid-auto-columns: 150px;
    }

    .advantage-card{
        padding: 15px;
    }
    .zixun{
        padding-top: 15%;
    }
    .zixun_an{
        margin-top: 5%;;
    }
    .case-card-img {
        height: 130px;
    }
    .case-card-img span{
        top: 5px;
        left: 5px;
    }

}
