/* 引入华为鸿蒙字体 */
@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../font/HarmonyOS_Sans_SC_Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../font/HarmonyOS_Sans_SC_Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../font/HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../font/HarmonyOS_Sans_SC_Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../font/HarmonyOS_Sans_SC_Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../font/HarmonyOS_Sans_SC_Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'HarmonyOS Sans SC', "Microsoft Yahei", sans-serif;
}

body {
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

a {
    text-decoration: none;
    color: #333;
}

/* 公共标题样式 */
h2 {
    font-size: 28px;
    color: #d00;
    text-align: center;
    margin: 20px 0 20px;
    font-weight: bold;
}

/* 头部banner */
.banner {
    /* background: url('../images/banner.jpg') no-repeat center top;
    background-size: cover;
    padding: 20px 0 40px; */
    background: #fff;
    color: #333;
    text-align: center;
}

.banner-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.logo {
    height: 40px;
    margin-right: 10px;
}

.slogan-small {
    font-size: 14px;
    color: #666;
}

.main-title {
    font-size: 36px;
    color: #d00;
    margin-bottom: 10px;
}

.sub-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.desc {
    font-size: 18px;
    margin-bottom: 30px;
}

.banner-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}

.tag-item {
    width: 150px;
    padding: 15px 10px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #eee;
}

/* 场景应用区域 */
.scene-area {
    /* padding: 0px 20px; */
    max-width: 100%;
    margin: 0 auto;
}

.scene-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.scene-item {
    flex: 1;
    min-width: 45%;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
}

.scene-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.scene-item h3 span {
    font-size: 16px;
    color: #666;
    font-weight: normal;
    margin-left: 10px;
}

.scene-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
}

.scene-device {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.scene-device span {
    padding: 5px 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 14px;
}

.scene-advantage {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.advantage-item {
    flex: 1;
    min-width: 22%;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.advantage-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #d00;
}

.advantage-item p {
    font-size: 14px;
    color: #666;
}

/* 智慧一卡通平台 */
.platform-area {
    /* padding: 40px 20px; */
    background: #f7f9f8;
    max-width: 100%;
    margin: 0 auto;
}

.platform-desc {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.8;
    padding: 0 40px;
}

.platform-img {
    width: 100%;
    border-radius: 8px;
}

/* 热销产品区域 */
.product-area {
    /* padding: 0px 20px; */
    max-width: 1440px;
    margin: 0 auto 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.product-item h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.product-item img {
    height: 150px;
    object-fit: contain;
    margin: 0 auto 15px;
}

.product-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.more-btn {
    display: inline-block;
    padding: 6px 15px;
    background-color: #d8ba7c;
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
}

/* 关于科松 */
.about-area {
    padding: 40px 0px;
    background: #f7f9f8;
    max-width: 100%;
    margin: 0 auto;
}

.about-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.about-item {
    text-align: center;
    padding: 15px;
}

.about-item h4 {
    font-size: 24px;
    color: #d00;
    margin-bottom: 5px;
}

.about-item p {
    font-size: 16px;
    color: #666;
}

.about-img-group {
    display: flex;
    gap: 20px;
}

.about-img-group img {
    flex: 1;
    width: 50%;
    border-radius: 8px;
}

/* 荣誉资质 */
.honor-area {
    padding: 40px 0px;
    max-width: 100%;
    margin: 0 auto;
}

.honor-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.honor-item h4 {
    font-size: 24px;
    color: #d00;
    text-align: center;
}

.honor-img {
    width: 100%;
    border-radius: 8px;
}

/* 成功案例 */
.case-area {
    max-width: 100%;
    margin: 0 auto;
    background: #f7f9f8;
}

.case-img {
    width: 100%;
    border-radius: 8px;
}

/* 合作伙伴 */
.partner-area {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-img {
    width: 100%;
    border-radius: 8px;
}

/* 联系我们 */
.contact-area {
    /* padding: 40px 20px; */
    background-color: #fff;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-item {
    text-align: left;
    min-width: 200px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.contact-item p {
    font-size: 14px;
    color: #666;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .scene-row {
        flex-direction: column;
    }
    .scene-item {
        min-width: 100%;
    }
    .scene-advantage {
        flex-direction: column;
    }
    .advantage-item {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .main-title {
        font-size: 28px;
    }
    .sub-title {
        font-size: 20px;
    }
    .platform-desc {
        padding: 0;
    }
    .about-img-group {
        flex-direction: column;
    }
    .about-img-group img {
        width: 100%;
    }
}