/* ==========================
   基础重置 & 全局样式
   ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* 按钮样式 & 特效 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background-color: #0066ff;
    color: #fff;
}

.primary-btn:hover {
    background-color: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* 按钮波纹特效 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================
   导航栏样式 & 特效
   ========================== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

.main-nav {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #0066ff;
}

.search-icon {
    font-size: 16px;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* ==========================
   英雄区样式
   ========================== */
.hero-section {
    background-color: #c9cdd4;
    padding: 60px 0;
    color: #fff;
}

.hero-inner {
    max-width: 800px;
}

.hero-title {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-desc {
    font-size: 14px;
    color: #f0f2f5;
    margin-bottom: 10px;
    line-height: 1.7;
}

.hero-size-text {
    font-size: 12px;
    color: #a8adb8;
    margin-bottom: 20px;
}

/* ==========================
   特性模块样式 & 特效
   ========================== */
.feature-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.section-desc {
    font-size: 14px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.feature-number {
    width: 24px;
    height: 24px;
    background-color: #0066ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin: 0 auto 15px;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 12px;
    color: #666;
}

/* ==========================
   产品网格样式 & 特效
   ========================== */
.product-grid-section {
    padding: 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.product-img-placeholder {
    background-color: #eaeaea;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #999;
    margin-bottom: 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.product-img-placeholder:hover {
    background-color: #d5d5d5;
}

.product-sku {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

/* ==========================
   半宽横幅样式 & 特效
   ========================== */
.half-banner-section {
    padding: 80px 0;
    background-color: #eaeaea;
    margin: 40px 0;
}

.half-banner-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.banner-text-side {
    max-width: 400px;
}

.banner-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.banner-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

.banner-img-placeholder {
    background-color: #d0d0d0;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #999;
    transition: background-color 0.3s ease;
}

.banner-img-placeholder:hover {
    background-color: #c0c0c0;
}

/* ==========================
   服务网格样式 & 特效
   ========================== */
.service-grid-section {
    padding: 80px 0;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #0066ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #0052cc;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.service-icon-placeholder {
    background-color: #eaeaea;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.service-icon-placeholder:hover {
    background-color: #d5d5d5;
}

.service-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.service-desc {
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

/* ==========================
   客户案例样式 & 特效
   ========================== */
.case-grid-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.case-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.case-img-placeholder {
    background-color: #d0d0d0;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
    transition: background-color 0.3s ease;
}

.case-img-placeholder:hover {
    background-color: #c0c0c0;
}

.case-title {
    font-size: 14px;
    font-weight: 600;
    padding: 15px 15px 5px;
    color: #333;
}

.readmore-link {
    font-size: 13px;
    color: #0066ff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 15px 15px;
    transition: color 0.3s ease;
}

.readmore-link:hover {
    color: #0052cc;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #0066ff;
}

.dot:hover:not(.active) {
    background-color: #999;
}

/* ==========================
   底部CTA样式
   ========================== */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.cta-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* ==========================
   悬浮按钮样式 & 特效
   ========================== */
.float-contact-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 45px;
    height: 45px;
    background-color: #999;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.float-btn:hover {
    background-color: #0066ff;
    transform: translateY(-3px);
}

/* ==========================
   页脚样式 & 特效
   ========================== */
.footer-section {
    background-color: #0a1a33;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    color: #ccc;
    line-height: 1.7;
}

.read-more-link {
    color: #0066ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #0052cc;
}

.col-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0066ff;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 14px;
}

.contact-info i {
    margin-top: 3px;
    color: #999;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #223a5e;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0066ff;
}

.copyright-text {
    font-size: 13px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-to-top {
    width: 30px;
    height: 30px;
    background-color: #0066ff;
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #0052cc;
    transform: translateY(-2px);
}

/* ==========================
   响应式适配
   ========================== */
@media (max-width: 992px) {
    /* 导航栏 */
    .main-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }

    /* 特性模块 */
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 产品网格 */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 半宽横幅 */
    .half-banner-inner {
        grid-template-columns: 1fr;
    }
    .banner-img-placeholder {
        height: 300px;
    }

    /* 服务网格 */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 客户案例 */
    .case-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 页脚 */
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* 通用标题 */
    .section-title {
        font-size: 24px;
    }

    /* 特性模块 */
    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* 产品网格 */
    .product-grid {
        grid-template-columns: 1fr;
    }

    /* 服务网格 */
    .service-grid {
        grid-template-columns: 1fr;
    }

    /* 客户案例 */
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 悬浮按钮 */
    .float-contact-buttons {
        right: 10px;
    }
    .float-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    /* 客户案例 */
    .case-grid {
        grid-template-columns: 1fr;
    }

    /* 页脚 */
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}