/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 5%;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #507ce8;
}

/* 主要内容样式 */
.hero {
    background-color: #f8f9fa;
    padding: 4rem 5%;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #507ce8;
}

/* 产品特性展示样式 */
.features {
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
}

@media screen and (max-width: 992px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .features {
        grid-template-columns: 1fr;
    }
}
.feature-card {
    position: relative;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e6e6e6;
    transition: transform 0.3s;
    cursor: pointer;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #507ce8;
}

.feature-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.feature-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    color: #507ce8;
    margin-bottom: 1rem;
}

.feature-card p {
    text-align: left;
}

.feature-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* 产品页面样式 */
.products {
    padding: 4rem 5%;
}

.product-card {
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e6e6e6;
}

.product-card .product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.product-card .product-header h3 {
    color: #507ce8;
    margin: 0;
}

.product-card .product-header a {
    text-decoration: none;
    color: #3e65c5;
    font-weight: 500;
    transition: color 0.3s;
}

.product-card .product-header a:hover {
    color: #507ce8;
}

/* 联系页面样式 */
.contact {
    padding: 4rem 5%;
    text-align: center;
}

.contact h2 {
    color: #507ce8;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e6e6e6;
    transition: transform 0.3s;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-row h3 {
    color: #507ce8;
    margin: 0;
    min-width: 4em;
    text-align: right;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.mobile-only-link {
    display: none;
    color: #507ce8;
    text-decoration: none;
}

.contact-item .qr-code {
    margin-top: 0;
}

.contact-item .qr-code img {
    width: 160px;
    height: 160px;
    margin-bottom: 0.5rem;
}

.contact-item .qr-code p {
    color: #666;
    font-size: 14px;
}

/* 页脚样式 */
footer {
    background-color: #f8f9fa;
    color: #666;
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid #eee;
}

footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #507ce8;
    text-decoration: none;
}

.company-info {
    font-size: 12px;
    line-height: 1.6;
}

.company-info p {
    margin: 3px 0;
}

.beian-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.beian-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 3px;
    position: relative;
    top: -1px;
}
/* 页脚样式 */

/* 首页定制需求联系栏目样式 */
.custom-contact {
    background-color: #507ce8;
    padding: 3rem 5%;
    text-align: center;
    color: #fff;
}

.custom-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.custom-content .contact-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #fff;
    color: #507ce8;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.custom-content .contact-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}
/* 首页定制需求联系栏目样式 */

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        justify-content: center;
        padding: 0.5rem 0;
    }
    
    .nav-links li {
        margin: 0 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 2rem 5%;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .contact-row h3 {
        text-align: center;
        min-width: auto;
    }

    .contact-content {
        align-items: center;
    }

    .mobile-only-link {
        display: inline-block;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}
