/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: "Microsoft YaHei", sans-serif; */
    color: #333;
    line-height: 1.6;
    background-color: #f8fafe;
    /* 整体浅蓝灰背景 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 区块通用样式 */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8fafe;
}

.bg-white {
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.section-header .desc {
    font-size: 14px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* --- 定制化解决方案 (Grid) --- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.card-img-header {
    height: 250px;
    padding: 30px;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.personal-bg {
    background: linear-gradient(135deg, #e6f0ff 0%, #d1e3ff 100%);
}

.enterprise-bg-left {
    background: url(./left-1.png) no-repeat center;
    background-size: contain;
}

.enterprise-bg-right {
    background: url(./right-1.png) no-repeat center;
    background-size: contain;
}

.card-inner-title {
    font-size: 20px;
    color: #2b70f6;
    /* 主题蓝 */
    position: absolute;
    top: 101px;
    left: 30px;
    z-index: 2;
}

.illustration-placeholder {
    background: url(./left-1.png) no-repeat center;
    background-size: contain;
    width: 100%;
    height: auto;
}

.card-content {
    padding: 30px;
}

.card-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* --- 团标标准 (Grid) --- */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.standard-card {
    background: #f4f8ff;
    height: 292px;
    /* 浅蓝背景 */
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    padding-top: 90px;
}

.standard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(43, 112, 246, 0.08);
}

.icon-target {
    position: absolute;
    top: -5vh;
    left: 0;
    right: 0;
}

.icon-target-img {
    width: 107px;
    height: 107px;
}

.standard-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.standard-card p {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 1.8;
}

/* --- 联系我们 (Banner) --- */
.contact-banner {
    display: flex;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(43, 112, 246, 0.08);
    /* overflow: hidden; */
    max-width: 1000px;
    margin: 0 auto;
}

.banner-left {
    flex: 4;
    /* background: #2b70f6; */
    /* 主题蓝背景 */
    color: #fff;
    padding: 40px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    /* 允许人物插画溢出 */
}

.character-placeholder {
    width: 120px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 20px;
    position: absolute;
    left: 4vw;
    /* 模拟设计稿中人物稍微溢出的效果 */
    margin-top: -30px;
}

.chatimg {
    width: 240px;
    height: 240px;
}

.banner-left-text h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.banner-left-text p {
    font-size: 14px;
    opacity: 0.9;
}

.banner-right {
    flex: 6;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.banner-right-text h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.banner-right-text p {
    font-size: 14px;
    color: #666;
}

.btn-primary {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #2563eb;
}
.banner-left-text {
    color: #ffffff;
    margin-left: 7vw;
}

/* --- 响应式适配 (移动端) --- */
@media (max-width: 900px) {
    .banner-left-text {
        margin-left: 37vw;
    }

    .contact-banner {
        flex-direction: column;
    }

    .banner-left {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
        /* 给突出的人物留出空间 */
    }

    .character-placeholder {
        margin-right: 0;
        margin-bottom: 20px;
        margin-top: -80px;
        /* 移动端人物在上 */
    }

    .banner-right {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .chatimg {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .chatimg {
        width: 200px;
        height: 200px;
    }

    .banner-left-text {
        margin-left: 37vw;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        /* 单列显示 */
    }

    .standards-grid {
        grid-template-columns: 1fr;
        /* 单列显示 */
    }
}

/* --- 联系我们 Banner 专属样式 --- */
.contact-banner {
    display: flex;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(66, 153, 255, 0.1);
    /* 柔和的蓝色阴影 */
    margin: 40px auto 0;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* 左侧区域 */
.banner-left {
    height: 200px;
    flex: 3;
    position: relative;
    display: flex;
    align-items: center;
    padding: 30px 30px 30px 220px;
    /* 左侧留出220px给人物插画 */
    z-index: 2;
}

/* 左侧蓝色斜边背景 (使用 clip-path 裁剪) */
.banner-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(15, 143, 255, 1) 0%, rgba(82, 174, 235, 1) 100%);
    /* 主题蓝 */
    /* 核心属性：裁剪出一个右边倾斜的多边形 (左上, 右上, 右下, 左下) */
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    border-radius: 16px 0 0 16px;
    z-index: -1;
    /* 放在文字和插画的底层 */
}

/* 人物插画样式 */
.character-img {
    position: absolute;
    left: 30px;
    bottom: 0;
    /* 对齐底部 */
    height: 140px;
    /* 根据实际图片高度调整，让它超出父容器顶部 */
    z-index: 3;
}

/* 占位图样式（等您换成真实 img 标签后可删除此段） */
.placeholder-img {
    width: 160px;
    background: linear-gradient(135deg, #e0e0e0, #cccccc);
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: bold;
    font-size: 14px;
}

/* 左侧文字 */


.banner-left-text h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.banner-left-text p {
    font-size: 14px;
    opacity: 0.85;
    /* 文字稍微透明，增加层次感 */
    margin: 0;
}

/* 右侧区域 */
.banner-right {
    flex: 4.5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px 30px 0;
}

.banner-right-text h4 {
    font-size: 20px;
    color: #2b70f6;
    /* 蓝色标题 */
    font-weight: bold;
    margin-bottom: 6px;
}

.banner-right-text p {
    font-size: 14px;
    color: #999999;
    margin: 0;
}

/* 按钮 */
.btn-primary {
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(10, 130, 242, 1) 0%, rgba(112, 185, 254, 1) 100%);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    /* 微圆角 */
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #2b70f6;
    box-shadow: 0 4px 12px rgba(43, 112, 246, 0.3);
}

/* --- 移动端响应式适配 --- */
@media (max-width: 900px) {
    .banner-left {
        padding-left: 180px;
        /* 屏幕变小时稍微缩小左间距 */
    }

    .character-img {
        left: 20px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        flex-direction: column;
        /* 改为上下堆叠 */
        margin-top: 80px;
        /* 为顶部溢出的人物留出空间 */
    }

    .banner-left {
        padding: 60px 20px 30px;
        /* 上边距加大，为了放下人物 */
        text-align: center;
        justify-content: center;
    }

    /* 移动端将斜角改到底部，或者直接变平，这里改为底部微倾斜 */
    .banner-left::before {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%);
        border-radius: 16px 16px 0 0;
    }

    /* 移动端人物居中，并在顶部溢出 */
    .character-img {
        left: 50%;
        transform: translateX(-50%);
        bottom: auto;
        top: -60px;
        /* 向上溢出 */
    }

    .placeholder-img {
        height: 120px;
        top: -60px;
    }

    .banner-right {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
        /* 文字和按钮的间距 */
    }
}