@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
/* 导航栏 */
.header {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: white;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(10px);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 50px;
    margin-right: 12px;
    filter: brightness(1.1);
}
.logo h1 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #fff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav ul {
    display: flex;
    list-style: none;
}
.nav ul li {
    margin-left: 35px;
    position: relative;
}
.nav ul li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 5px 0;
}
.nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    transition: width 0.3s ease;
}
.nav ul li a.active,
.nav ul li a:hover {
    color: #00d4ff;
}
.nav ul li a:hover::after,
.nav ul li a.active::after {
    width: 100%;
}
/* Banner轮播 */
.banner {
    position: relative;
    height: 520px;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 100%);
    overflow: hidden;
}
.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 153, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.banner-img img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    opacity: 0.7;
    filter: saturate(1.2) contrast(1.05);
}
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.85) 0%, rgba(32, 58, 67, 0.85) 100%);
    padding: 35px 50px;
    border-radius: 12px;
    line-height: 1.3;
    width: 80%;
    max-width: 650px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
}
.banner-text h2 {
    font-size: 46px;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}
.banner-text p {
    font-size: 22px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}
/* 通用区块 */
section {
    padding: 70px 0;
    background: #f5f7fa;
}
section:nth-child(even) {
    background: #ffffff;
}
section h2 {
    color: #1a365d;
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    letter-spacing: 2px;
}
section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #0077b6);
    margin: 18px auto 0;
    border-radius: 2px;
}
section h2::before {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    margin: 0 auto 8px;
}
/* 公司简介 */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #00d4ff;
}
.about-content p {
    line-height: 2;
    color: #4a5568;
    margin-bottom: 18px;
    text-indent: 2em;
    font-size: 16px;
}
/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}
.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0077b6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
    z-index: 1;
}
.product-card:hover {
    box-shadow: 0 15px 40px rgba(0, 119, 182, 0.2);
    transform: translateY(-10px);
}
.product-card:hover::before {
    transform: scaleX(1);
}
.product-card a {
    text-decoration: none;
    color: #333;
    display: block;
}
.product-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #f0f4f8;
    transition: transform 0.5s ease;
}
.product-card:hover img {
    transform: scale(1.05);
}
.product-card h3 {
    padding: 22px 20px;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: #1a365d;
    transition: color 0.3s ease;
}
.product-card:hover h3 {
    color: #0077b6;
}
/* 产品分类区块 */
.category {
    margin-bottom: 70px;
}
.category h2 {
    text-align: left;
    font-size: 26px;
    margin-bottom: 35px;
    padding-left: 15px;
    border-left: 4px solid #00d4ff;
}
.category h2::after {
    display: none;
}
.category h2::before {
    display: none;
}
/* 联系信息 */
.contact-list p, .contact-detail p {
    font-size: 17px;
    margin-bottom: 20px;
    color: #4a5568;
    line-height: 2;
}
.contact-detail {
    max-width: 650px;
    margin: 0 auto;
    padding: 45px 50px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    box-shadow: 0 8px 30px rgba(0, 119, 182, 0.1);
    border-top: 4px solid #00d4ff;
}
.contact-detail p {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
    margin-bottom: 10px;
}
.contact-detail p:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.contact-detail p strong {
    min-width: 100px;
    color: #1a365d;
    font-weight: 600;
}
/* 产品详情页 */
.product-detail h2 {
    text-align: left;
    margin-bottom: 40px;
    padding-left: 15px;
    border-left: 4px solid #00d4ff;
}
.product-detail h2::after {
    display: none;
}
.product-detail h2::before {
    display: none;
}
.detail-content {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.detail-img {
    flex: 1;
    min-width: 320px;
}
.detail-img img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f9fafb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.detail-info {
    flex: 1;
    min-width: 320px;
}
.detail-info h3 {
    color: #1a365d;
    margin: 25px 0 15px;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #00d4ff;
    display: inline-block;
}
.detail-info p {
    line-height: 2;
    color: #4a5568;
    margin-bottom: 15px;
}
.param-img {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}
.param-img img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 10px;
}
.back-btn {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, #00d4ff 0%, #0077b6 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}
.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}
/* 页脚 */
.footer {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 30px 0;
    margin-top: 0;
    border-top: 3px solid #00d4ff;
}
.footer p {
    font-size: 14px;
    line-height: 1.8;
}
.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}
.footer a:hover {
    color: #00d4ff;
}
/* 响应式适配 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    .nav ul {
        margin-top: 15px;
    }
    .nav ul li {
        margin: 0 12px;
    }
    .banner {
        height: 350px;
    }
    .banner-img img {
        height: 350px;
    }
    .banner-text {
        padding: 25px 30px;
        width: 90%;
    }
    .banner-text h2 {
        font-size: 26px;
    }
    .banner-text p {
        font-size: 15px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    .product-card img {
        height: 200px;
    }
    .detail-content {
        flex-direction: column;
        padding: 25px;
    }
    .about-content {
        padding: 25px;
    }
    .contact-detail {
        padding: 30px;
    }
}