/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
body {
    background-color: #f8fdff;
}
/* 头部样式 */
header {
    background-color: #f8fdff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 0 50px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.company-name {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

/* 导航栏样式 */
.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #2ecc71;
}
.nav-link.active {
    color: #2ecc71;
    font-weight: 600;
}
.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2ecc71;
    border-radius: 1px;
}
/* 轮播图样式 */
.carousel {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.carousel-item {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播图控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* 企业介绍样式 */
.company-intro {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 50px;
}

.intro-title {
    font-size: 32px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.intro-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #2ecc71;
    margin: 20px auto 0;
}

.intro-content {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    text-align: justify;
}


/* 通用内容区域样式 */
.content-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 50px;
}

.section-title {
    font-size: 32px;
    color: #2c3e50;
    text-align: center;
}
.section-content {
    margin-bottom: 20px;
}
.screenshot-desc {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.product-icon {
    margin-bottom: 30px;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.screenshot-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* 小间隙，保证5个同排不拥挤 */
    justify-content: start; /* 均匀分布5个图片，无多余间隙 */
}

.screenshot-item {
    width: calc(20% - 8px); /* 计算5等分宽度，扣除gap间距 */
    min-width: 180px; /* 最小宽度，防止窄屏挤压 */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    background-color: #fff;
    padding: 8px;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

/* 底部备案信息样式 */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer-info {
    font-size: 14px;
    line-height: 1.6;
}

/* 响应式适配 */
@media (max-width: 768px) {
    header {
        padding: 0 20px;
    }

    .header-container {
        height: 70px;
    }

    .company-name {
        font-size: 20px;
    }

    .nav-item {
        margin-left: 15px;
    }

    .nav-link {
        font-size: 14px;
    }

    .carousel {
        height: 300px;
    }

    .company-intro {
        margin: 50px auto;
        padding: 0 20px;
    }

    .intro-title {
        font-size: 26px;
    }

    .intro-content {
        font-size: 15px;
    }
}