/* 全屏广告样式 */
.fullscreen-ad {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/imgs/fullscreen.jpg') no-repeat;
    background-size: cover;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 右上角倒计时 */
.countdown {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* 默认显示数字 */
.countdown-number {
    display: block;
}

/* 默认隐藏关闭按钮 */
.countdown-close {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: white;
}

/* 鼠标悬停时显示关闭按钮，隐藏数字 */
.countdown:hover .countdown-number {
    display: none;
}

.countdown:hover .countdown-close {
    display: block;
}

.countdown:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* 防止滚动条 */
body.has-ad {
    overflow: hidden;
}

/* 滚播图 */
.slides-box {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slides-box .slides-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slides-box .slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.slides-box .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    max-width: 800px;
    width: 90%;
}
/* 导航按钮 */
.slides-box .slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slides-box .nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slides-box .nav-dot.active {
    background-color: white;
}

/* 左右箭头 */
.slides-box .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s;
    z-index: 10;
}

.slides-box .slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slides-box .arrow-left {
    left: 20px;
}

.slides-box .arrow-right {
    right: 20px;
}

/* 产品介绍 */
.product-section {
    max-width: 1440px;
    margin: 0 auto;
    margin-top: 100px;
}

.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-size: 26px;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 12px;
    color: #888;
}

.content-section {
    margin-top: 40px;
    line-height: 26px;
    color: #888;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    text-align: justify;
    margin-bottom: 30px;
    letter-spacing: 0.3px;
}

/* 产品介绍那下面一排 */
.home-prodIntroduction-container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.home-prodIntroduction-header {
    text-align: center;
    margin-bottom: 50px;
}

.home-prodIntroduction-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.home-prodIntroduction-subtitle {
    font-size: 1.1rem;
    color: #cbd5e0;
    max-width: 600px;
    margin: 0 auto;
}

.home-prodIntroduction-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 25px;
}

.home-prodIntroduction-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 280px;
}

.home-prodIntroduction-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.home-prodIntroduction-image {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.home-prodIntroduction-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.home-prodIntroduction-card:hover .home-prodIntroduction-image img {
    transform: scale(1.1);
}

.home-prodIntroduction-image p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.home-prodIntroduction-card:hover .home-prodIntroduction-image p {
    background: white;
    padding: 18px 15px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.home-prodIntroduction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(37, 99, 235, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.home-prodIntroduction-card:hover .home-prodIntroduction-overlay {
    opacity: 1;
}

.home-prodIntroduction-overlay-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.home-prodIntroduction-overlay-link:hover {
    background: white;
    color: #1a365d;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 首页服务 */
.home-services {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    margin-top: 100px;
}

.home-services .services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.home-services .service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.home-services .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.home-services .service-icon {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(30, 80, 174, 0.05);
}

.home-services .service-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.home-services .service-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.home-services .service-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.home-services .service-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.home-services .service-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
}

.home-services .service-btn:hover {
    background-color: #153a8a;
    transform: translateY(-2px);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-services .service-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.home-services .service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.home-services .service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.home-services .service-card:nth-child(3) {
    animation-delay: 0.3s;
}


/* 服务优势 和 关于我们 */
.home-about {
    text-align: center;
    padding: 20px;
    margin-top: 100px;
}
.home-about h2 {
    margin: 0;
}
.home-about p {
    margin: 10px 0;
}
.home-about .stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    text-align: justify;
    margin-bottom: 30px;
    letter-spacing: 0.3px;
}
.home-about .stats div {
    text-align: center;
}
/* .home-serviceAdvantages-title {
    text-align: center;
    color: #666;
    margin-bottom: 2vw;
}

.home-serviceAdvantages-title h2 {
    font-size: 36px;
    margin: 0 0 10px;
    font-weight: 600;
    letter-spacing: 2px;
}

.home-serviceAdvantages-subtitle {
    font-size: 14px;
    color: #888;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

.home-serviceAdvantages-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #4a90e2;
} */

/* 服务优势标题部分 */
.home-serviceAdvantages {
    margin-top: 60px;
    padding: 0 15px;
}

.home-serviceAdvantages-title {
    text-align: center;
    margin-bottom: 40px;
}

.home-serviceAdvantages-title h2 {
    font-size: 32px;
    color: #2d3748;
    margin-bottom: 12px;
    font-weight: 700;
}

.home-serviceAdvantages-subtitle {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #63b3ed);
    margin: 0 auto;
}

/* 优势项目内容部分 */
.home-serviceAdvantages-container {
    margin: 0 auto;
    max-width: 1440px; 
}

.home-serviceAdvantages-item {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    height: 320px;
}

.home-serviceAdvantages-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.home-serviceAdvantages-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #63b3ed);
}

.home-serviceAdvantages-item.middle::before {
    background: linear-gradient(90deg, #38b2ac, #4fd1c7);
}

.home-serviceAdvantages-item:last-child::before {
    background: linear-gradient(90deg, #ed8936, #f6ad55);
}

.home-serviceAdvantages-image {
    flex: 0 0 35%;
    height: 100%;
    overflow: hidden;
}

.home-serviceAdvantages-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-serviceAdvantages-item:hover .home-serviceAdvantages-image img {
    transform: scale(1.05);
}

.home-serviceAdvantages-content {
    flex: 0 0 65%;
    padding: 25px 0 0 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-serviceAdvantages-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.home-serviceAdvantages-number {
    font-size: 60px;
    line-height: 50px;
    color: #d4d4d4;
    font-family: "站酷庆科黄油体", sans-serif;
    font-weight: bold;
    margin-right: 15px;
}

.home-serviceAdvantages-itemTitle {
    font-size: 22px;
    color: #444;
    font-weight: 600;
}

.home-serviceAdvantages-divider {
    font-size: 14px;
    color: #d4d4d4;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.home-serviceAdvantages-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    overflow: hidden;
    display: -webkit-box;
    overflow-y: auto;
    /* -webkit-line-clamp: 10;
    -webkit-box-orient: vertical; */
}

/* 动画效果 */
@keyframes home-serviceAdvantages-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-serviceAdvantages-item {
    animation: home-serviceAdvantages-fadeInUp 0.6s ease forwards;
}

.home-serviceAdvantages-item:nth-child(2) {
    animation-delay: 0.2s;
}

.home-serviceAdvantages-item:nth-child(3) {
    animation-delay: 0.4s;
}

/* 合作客户 */
.home-partners {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    margin-top: 60px;
    padding: 0 20px;
    margin-top: 100px;
}

.home-partners-header {
    text-align: center;
    margin-bottom: 40px;
}

.home-partners-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.home-partners-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #3498db;
    border-radius: 1px;
}

.home-partners-subtitle {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-top: 15px;
}

.home-partners-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.home-partner-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: left;
    display: flex;
    justify-content: center;
    height: 100px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.home-partner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background-color: #f8fafc;
}

.home-partner-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    flex-shrink: 0;
}

.home-partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.home-partner-item:hover .home-partner-logo img {
    filter: grayscale(0%);
}

.home-partner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-partner-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
}

.home-partner-description {
    color: #7f8c8d;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.home-partner-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 5px;
}
