:root {
    --primary: #1677ff;
    --primary-light: #4090ff;
    --primary-dark: #0d5bcd;
    --secondary: #0fc6c2;
    --text-primary: #1f2329;
    --text-regular: #4e5969;
    --text-light: #8699aa;
    --bg-light: #f7f8fa;
    --bg-card: #ffffff;
    --border-color: #e5e6eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* 顶部导航 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    z-index: 999;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 26px;
    font-weight: bold;
}

/* 三横线菜单 */
.mobile-menu-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: transparent;
}

    .mobile-menu-btn span {
        width: 24px;
        height: 3px;
        background: var(--primary);
        border-radius: 2px;
    }

.mobile-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    display: none;
}

    .mobile-menu-modal.show {
        display: block;
    }

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100%;
    background: #fff;
    padding: 30px 20px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu-modal.show .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-close {
    align-self: flex-end;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 20px;
}

.mobile-menu-item {
    padding: 12px 16px;
    font-size: 16px;
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
}

    .mobile-menu-item:hover {
        background: var(--bg-light);
        color: var(--primary);
    }

/* ====================== 轮播 Banner ====================== */
.banner-slider {
    margin-top: 70px;
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.banner-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-size: cover;
    background-position: center;
}

    .banner-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
    }

.banner-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
}

    .banner-inner h1 {
        font-size: 48px;
        margin-bottom: 16px;
        line-height: 1.3;
    }

    .banner-inner p {
        font-size: 20px;
        margin-bottom: 30px;
        opacity: 0.95;
    }

/* 左右箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    backdrop-filter: blur(4px);
}

    .banner-arrow.prev {
        left: 20px;
    }

    .banner-arrow.next {
        right: 20px;
    }

    .banner-arrow:hover {
        background: rgba(255,255,255,0.4);
    }

/* 小圆点指示器 */
.banner-dots {
    position: absolute;
    bottom: 24px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.3s;
}

    .banner-dot.active {
        background: #fff;
        width: 26px;
        border-radius: 5px;
    }

.banner-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.banner-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.25s;
    border: none;
}

    .banner-btn.primary {
        background: var(--primary);
        color: #fff;
    }

        .banner-btn.primary:hover {
            background: var(--primary-dark);
        }

    .banner-btn.outline {
        background: transparent;
        border: 1px solid #fff;
        color: #fff;
    }

        .banner-btn.outline:hover {
            background: #fff;
            color: var(--primary);
        }

/* 关于我们 */
.about {
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 26px;
    margin-bottom: 18px;
    color: var(--primary);
}

.about-text p {
    color: var(--text-regular);
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 16px !important;
}

.feature-icon {
    width: 34px;
    height: 34px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 发展历程 */
.timeline {
    background: var(--bg-light);
}

.timeline-wrap {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

    .timeline-wrap::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--primary-light);
        transform: translateX(-50%);
    }

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
}

    .timeline-item.left {
        justify-content: flex-start;
    }

    .timeline-item.right {
        justify-content: flex-end;
    }

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 26px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-box {
    width: 46%;
    background: #fff;
    padding: 22px 24px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: 0.25s;
}

    .timeline-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(22, 119, 255, 0.1);
    }

.timeline-year {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.timeline-box h4 {
    font-size: 17px;
    margin-bottom: 6px;
}

.timeline-box p {
    font-size: 14px;
    color: var(--text-regular);
}

/* 核心业务 */
.services {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.service-card {
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: 0.25s;
}

    .service-card:hover {
        transform: translateY(-6px);
        border-color: var(--primary-light);
        box-shadow: 0 8px 24px rgba(22, 119, 255, 0.08);
    }

.service-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align:center;
}

.service-card p {
    font-size: 14px;
    color: var(--text-regular);
}

.product-detail-wrap {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    background: var(--bg-light);
    margin-bottom:30px;
}

.product-info h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
}

.product-info p {
    font-size: 15px;
    color: var(--text-regular);
    margin-bottom: 14px;
}

.product-feature-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .product-feature-item .icon {
        width: 20px;
        height: 20px;
        background: var(--primary);
        color: #fff;
        border-radius: 50%;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 3px;
        flex-shrink: 0;
    }

.product-img-box {
    width: 100%;
    height: 320px;
/*    background: linear-gradient(135deg, var(--primary-light), var(--primary));*/
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 70px;
}

/* 产品中心 - 两列布局 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* 产品卡片 */
.product-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 24px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    }

/* 头部：logo + 标题一行 */
.product-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.product-logo-small img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.product-title-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

    .product-title-wrap h3 {
        font-size: 20px;
        margin: 0;
        font-weight: 700;
        color: #222;
    }

.product-status {
    font-size: 15px;
    padding: 6px 15px;
    border-radius: 30px;
}

.status-online {
    color: #2e7d32;
}

.status-upcoming {
    color: #c62828;
}

/* 描述文字区域 */
.product-desc-wrapper {
    margin-bottom: 16px;
}

.product-desc {
    max-height: 100px; /* 约6行的高度 */
    overflow: hidden;
    transition: max-height 0.3s ease;
}

    .product-desc.expanded {
        max-height: 300px;
    }

    .product-desc p {
        color: #555;
        line-height: 1.6;
        font-size: 15px;
        margin: 0;
    }

.desc-toggle-btn {
    color: #1f9eee;
    font-size: 13px;
    cursor: pointer;
    margin-top: 6px;
    display: inline-block;
    user-select: none;
}

    .desc-toggle-btn:hover {
        color: #0c7ec6;
    }

/* 核心功能区域 */
.product-feature-toggle {
    margin: 8px 0 12px;
}

.toggle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    cursor: pointer;
    border-bottom: 1px solid #e8e8e8;
    user-select: none;
}

.toggle-title {
    font-size: 15px;
}

.toggle-arrow {
    font-size: 12px;
    transition: transform 0.2s;
    color: #999;
}

    .toggle-arrow.collapsed {
        transform: rotate(-90deg);
    }

.toggle-content {
    padding: 12px 0 8px;
}

    .toggle-content.collapsed {
        display: none;
    }

/* 功能列表 */
.feature-list {
    margin-bottom: 14px;
}

.feature-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #444;
    line-height: 1.5;
}

.feature-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.problem-list {
    background: #f8f9fa;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 12px;
}

    .problem-list p {
        margin-bottom: 6px;
        color: #555;
    }

        .problem-list p:last-child {
            margin-bottom: 0;
        }

/* 按钮 */
.product-img-btn {
    width: 35%;
    padding: 10px 0;
    background: #1f9eee;
    color: #fff;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    margin-top: 25px;
    transition: background 0.2s;
    margin-left: 50%;
    transform: translateX(-50%);
}

.product-img-btn-no {
    background-color: #a3b5c6;
}

    .product-img-btn:hover {
        background: #0c7ec6;
    }
.product-img-btn-no:hover {
    background: #a3b5c6;
}

/* 合作案例 */
.cooperation {
    background: var(--bg-light);
}

.cooperation-desc {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 40px;
    font-size: 15px;
    color: var(--text-regular);
}

.cooperation-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.cooperation-item {
    width: 170px;
    height: 76px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* 联系我们 */
.contact {
    background: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 15px;
    color: var(--text-regular);
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-form {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        margin-bottom: 6px;
        font-size: 14px;
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: 0.25s;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
    }

.submit-btn {
    width: 100%;
    padding: 11px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

    .submit-btn:hover {
        background: var(--primary-dark);
    }

/* 页脚 */
footer {
    background: #1f2329;
    color: rgba(255,255,255,0.85);
    padding: 50px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
    margin-bottom: 36px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .footer-logo img {
        width: 35%;
        margin-left: 50%;
        transform: translateX(-50%);
    }

.footer-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.footer-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 10px;
        font-size: 14px;
        color: rgba(255,255,250,0.6);
    }

        .footer-links li:hover {
            color: var(--primary-light);
            padding-left: 4px;
        }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* 回到顶部 */
.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
    z-index: 99;
}

    .back-top.show {
        opacity: 1;
        visibility: visible;
    }

    .back-top:hover {
        background: var(--primary-dark);
    }

/* 九宫格图片弹窗 */
.img-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s;
}

    .img-modal.show {
        display: flex;
    }

.img-modal-inner {
    background: #fff;
    border-radius: 12px;
    max-width: 900px;
    max-height: 90vh;
    width: 100%;
    padding: 24px;
    position: relative;
    overflow-y: auto;
}

.img-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    border: none;
}

.img-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

    .img-grid img {
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: cover;
        border-radius: 8px;
        cursor: pointer;
        transition: 0.2s;
        border: 1px solid #eee;
    }

        .img-grid img:hover {
            transform: scale(1.03);
        }

/* 大图预览 */
.img-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .img-preview.show {
        display: flex;
    }

    .img-preview img {
        max-width: 95%;
        max-height: 95vh;
        border-radius: 8px;
        object-fit: contain;
    }

.img-preview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .banner-slider {
        height: 460px;
    }

    .banner-inner h1 {
        font-size: 32px;
    }

    .banner-inner p {
        font-size: 16px;
    }

    .about-content,
    .contact-content,
    .product-detail-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .products-grid, .services-grid {
        grid-template-columns: 1fr;
    }

    .timeline-wrap::before {
        left: 20px;
    }

    .timeline-item {
        display: block;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-box {
        width: calc(100% - 50px);
        margin-left: 50px !important;
    }

    .img-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* 左右箭头默认隐藏 */
.banner-arrow {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 鼠标移入轮播区域时显示 */
.banner-slider:hover .banner-arrow {
    opacity: 1;
    visibility: visible;
}

.problem-tags{
    line-height: 16px;
}

.fontsize15 {
    font-size: 15px !important;
}

/* ========== 移动端适配（响应式） ========== */
/* 平板端（768px - 1024px） */
@media (max-width: 1024px) {
    /* 公司业务：改为2列 */
    .services-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
    }

    .service-card {
        flex: 0 0 calc(50% - 8px);
        background: white;
        border-radius: 28px;
        padding: 20px 12px;
        text-align: center;
        box-sizing: border-box;
    }
}

/* 手机端（768px以下） */
@media (max-width: 768px) {
    /* 公司业务：改为2列 */
    .services-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
    }

    .service-card {
        flex: 0 0 calc(50% - 8px); /* 两个一排，减去gap的一半 */
        background: white;
        border-radius: 28px;
        padding: 20px 12px;
        text-align: center;
        box-sizing: border-box;
    }

    /* 关于我们 */
    .about-content {
        flex-direction: column;
        padding-left: 15px;
    }

    .about-text {
        order: 1;
    }

    .about-img {
        margin-bottom: 24px;
    }

        .about-img img {
            width: 50% !important;
        }

    
    /* 联系我们 */
    .contact-info {
        margin-left: 0 !important;
        justify-content: center;
    }

    .contact-item {
        justify-content: flex-start;
    }

    .footer-content {
        display:none;
    }
}

/* 超小屏幕（480px以下） */
@media (max-width: 480px) {
}

/* 确保所有图片在移动端不溢出 */
img {
    max-width: 100%;
    height: auto;
}

/* 移动端菜单按钮显示 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
}