* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 14px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 18px;
    color: #165DFF;
}

.nav {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    transition: 0.2s;
}

.nav a:hover {
    color: #165DFF;
}

/* Banner */
.banner {
    margin-top: 70px;
    background: linear-gradient(135deg, #165DFF, #4096ff);
    color: white;
    text-align: center;
    padding: 70px 0;
}

.banner h1 {
    font-size: 24px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.banner p {
    font-size: 16px;
    margin-bottom: 24px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    background: white;
    color: #165DFF;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

/* 通用区域 */
.section {
    padding: 50px 0;
}

.title {
    text-align: center;
    font-size: 22px;
    color: #222;
    margin-bottom: 30px;
    position: relative;
}

.title::after {
    content: "";
    width: 50px;
    height: 3px;
    background: #165DFF;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
}

/* 关于我们 */
.about .content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* 产品 */
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background: white;
    width: 100%;
    max-width: 280px;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(22, 93, 255, 0.1);
}

.card h3 {
    font-size: 18px;
    color: #165DFF;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 联系我们 */
.contact {
    background: white;
}

.info {
    max-width: 600px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    text-align: center;
}

/* 底部 */
.footer {
    background: #2a2a2a;
    color: #ccc;
    text-align: center;
    padding: 25px 0;
    font-size: 13px;
}

/* ============== 移动端适配 ============== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 12px;
    }

    .logo h2 {
        font-size: 17px;
    }

    .nav {
        gap: 14px;
    }

    .nav a {
        font-size: 13px;
    }

    .banner {
        padding: 50px 0;
    }

    .banner h1 {
        font-size: 20px;
    }

    .banner p {
        font-size: 15px;
    }

    .section {
        padding: 40px 0;
    }

    .title {
        font-size: 20px;
    }

    .product-list {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 100%;
    }

    .info p {
        font-size: 14px;
        word-break: break-all;
    }
}

@media (max-width: 380px) {
    .nav {
        gap: 10px;
    }

    .nav a {
        font-size: 12px;
    }

    .banner h1 {
        font-size: 18px;
    }
}

.icp {
    margin-top: 6px;
    font-size: 13px;
}

.icp a {
    color: #ccc;
    text-decoration: none;
}

.icp a:hover {
    color: #fff;
}