/* 通用重置 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Microsoft YaHei', Arial, sans-serif; background: #fff; color: #222; }


/* Banner */
.banner {
    position: relative;
    width: 100vw;
    height: 580px;
    background: #222;
    overflow: hidden;
    padding: 0;
    display: block;
}

.banner-inner {
    position: absolute;
    top:6vw;
    left:10vw;
    width: 100%;
    height: 100;
    display: flex;
    align-items: flex-start;
}

.banner-bg-list {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #222;
}
.banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    transition: width 0.3s, height 0.3s;
}
.banner-bg.active {
    display: block;
}
.banner-content {
    position: absolute;
    top: clamp(24px, 10vw, 120px);
    left: clamp(32px, 20vw, 320px); /* 右移，最大320px，最小32px，自适应 */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0;
}
.banner-title-group {
    display: none;
}
.banner-title-group.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.banner-title-cn {
    font-size: clamp(24px, 3.8vw, 72px); /* 最大72px，最小24px，自适应 */
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8vw;
    line-height: 1.1;
    letter-spacing: 1px;
}
.banner-title-en {
    font-size: clamp(16px, 1.5vw, 32px); /* 最大32px，最小16px，自适应 */
    color: #fff;
    margin-bottom: 1vw;
    font-weight: 400;
    letter-spacing: 1px;
}
.banner-divider {
    width: clamp(48px, 8vw, 128px); /* 最大128px，最小48px，自适应 */
    height: clamp(6px, 1vw, 16px);   /* 最大16px，最小6px，自适应 */
    background: #fff;
    border-radius: 0;
    margin-bottom: 2vw;
}
.banner-btn {
    position: absolute;
    right: 6vw;
    bottom: 6vw;
    background: #fff;
    color: #222;
    border: none;
    border-radius: 999px;
    padding: 0.6vw 1.8vw;
    font-size: 1vw;
    min-width: 4vw;
    min-height: 1.8vw;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s;
    z-index: 4;
    display: none;
}
.banner-btn.active { display: block; }
.banner-btn:hover {
    background: #ec6a39;
    color: #fff;
    transform: scale(1.08);
}
.banner-arrows {
    position: absolute;
    left: 50px;
    right: 50px;
    top: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}
.arrow-left, .arrow-right {
    width: 48px;
    height: 48px;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
}
.arrow-left:hover, .arrow-right:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 0 #ec6a39) brightness(1.1);
}
.banner-indicators {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    display: flex;
    gap: 24px;
    z-index: 3;
}
.indicator {
    width: 64px;
    height: 8px;
    border-radius: 8px;
    background: #fff;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.indicator.active {
    background: #ec6a39;
    opacity: 1;
}

/* 公司简介与卡片 */
.intro-section {
    max-width: 1200px;
    margin: 200px auto 0 auto;
    display: flex;
    gap: 120px;
    align-items: flex-start;
    padding: 0 32px;
}
.intro-left {
    flex: 1.2;
}
.intro-title-en {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
    margin-bottom: 8px;
}
.intro-title-cn {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 40px;
}
.intro-desc {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 60px;
    color: rgba(56, 56, 56, 1);
}
.intro-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.intro-card {
    background: rgba(236, 106, 57, 1);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(236,106,57,0.10);
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-height: 160px;
    position: relative;
}
.intro-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.intro-card img {
    width: 36px;
    height: 36px;
    margin-bottom: 0;
}
.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
}
.card-desc {
    font-size: 1rem;
    color: #fff;
    line-height: 2.5;
}
.intro-icon {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 120px;
}
.intro-divider {
    width: 64px;
    height: 10px;
    background: #ec6a39;
    border-radius: 6px;
    margin: 24px 0 24px 0;
}

/* 技术开发/能力展示 */
.tech-section {
    background: #222;
    color: #fff;
    padding: 200px 0 64px 0;
    margin-top: 200px;
    min-height: 1000px;
}
.tech-title-en {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}
.tech-title-cn {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.tech-divider {
    width: 64px;
    height: 8px;
    background: #ec6a39;
    border-radius: 4px;
    margin: 0 auto 80px auto;
}
.tech-cards {
    display: flex;
    justify-content: center;
    gap: 48px;
    max-width: 1100px;
    margin: 80px auto 0 auto;
}
.tech-card {
    background: #2d2d2d;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 240px;
    max-width: 320px;
    flex: 1;
}
.tech-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}
.tech-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 32px;
    text-align: center;
}
.tech-card-desc {
    font-size: 1rem;
    color: #fff;
    line-height: 2.4;
    text-align: center;
}

/* AI工业检测技术区块 */
.ai-section {
    max-width: 1200px;
    margin: 64px auto 0 auto;
    padding: 110px 32px 64px 32px;
    background: #fff;
    min-height: 800px;
}
.ai-title-cn {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
    margin-top: 0;
}
.ai-title-en {
    font-size: 1rem;
    color: #888;
    text-align: left;
    margin-bottom: 80px;
    font-weight: 400;
}
.ai-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0;
}
.ai-block {
    width: 100%;
    max-width: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.ai-block-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ec6a39;
    margin-bottom: 8px;
    text-align: left;
}
.ai-block-desc {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    text-align: left;
}

/* 智能算法研发区块 */
.algo-section {
    background: #ededed;
    padding: 48px 0 32px 0;
    margin-top: 0;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.algo-title-cn {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ec6a39;
    text-align: center;
    margin-bottom: 4px;
}
.algo-title-en {
    font-size: 1rem;
    color: #888;
    text-align: center;
    margin-bottom: 32px;
    font-weight: 400;
}
.algo-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 32px auto 0 auto;
    height: 100%;
    align-self: center;
}
.algo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 80px;
    min-height: 120px;
}
.algo-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    object-fit: contain;
}
.algo-item-title {
    font-size: 1rem;
    color: rgba(56, 56, 56, 1);
    font-weight: 400;
    text-align: center;
    margin-top: 4px;
}
.algo-item img[alt=""] {
    width: auto;
    height: 48px;
    margin-bottom: 0;
    object-fit: contain;
}
.algo-item img[src*="直线 1.png"] {
    width: 100px;
    height: 100px;
    margin: 0;
    object-fit: contain;
    display: block;
}
.algo-item img[src*="百分号.png"],
.algo-item img[src*="上层.png"],
.algo-item img[src*="数据接口.png"] {
    width: 80px;
    height: 80px;
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}



/* 响应式 */
@media (max-width: 900px) {
    .intro-section {
        flex-direction: column;
        gap: 32px;
    }
    .intro-right {
        flex-direction: row;
        gap: 16px;
        justify-content: space-between;
    }
    .intro-card {
        min-width: 0;
        flex: 1;
    }
    .tech-cards {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    .tech-card {
        max-width: 100%;
        min-width: 0;
    }
    .banner-content {
        top: clamp(12px, 6vw, 60px);
        left: clamp(16px, 8vw, 128px); /* 右移，最大128px，最小16px */
    }
    .ai-content { flex-direction: column; gap: 24px; }
    .algo-content { gap: 12px; }
    .banner {
        height: 220px;
    }
}
@media (max-width: 600px) {
    .banner-content {
        top: clamp(4px, 4vw, 32px);
        left: clamp(8px, 4vw, 48px); /* 右移，最大48px，最小8px */
    }
    .banner-title-cn { font-size: 7vw; }
    .banner-title-en { font-size: 3vw; }
    .banner-btn { font-size: 3vw; padding: 10px 24px; }
    .intro-section { padding: 0 8px; }
    .intro-title-en, .tech-title-en { font-size: 1.2rem; }
    .intro-title-cn, .tech-title-cn { font-size: 1rem; }
    .intro-card, .tech-card { padding: 18px 8px; }
    .ai-section { padding: 0 8px 32px 8px; }
    .ai-content { flex-direction: column; gap: 16px; }
    .algo-section { padding: 32px 0 16px 0; }
    .algo-content { flex-direction: column; align-items: center; gap: 8px; }
    .algo-item { min-height: 80px; }
    .banner {
        height: 140px;
    }
    .banner-bg {
        transform: translateY(-60px);
    }
}