﻿:root {
    --primary-color: #2196F3;
    --secondary-color: #1976D2;
    --accent-color: #FFC107;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #666;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(1.4) contrast(0.95) saturate(0.9);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 主页横幅样式 */
.hero {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-align: center;
    padding: 7rem 1rem 6rem;
}

.hero-content {
    max-width: 1200px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    max-width: 900px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--white);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    color: var(--text-color);
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-features i {
    color: var(--primary-color);
}

/* 服务卡片样式 */
.services {
    padding: 5rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: 10px 0;
    transition: transform 0.3s ease;
}

.service-card img:hover {
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.description {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.price {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 1rem 0;
}

.service-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.service-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-logo {
        height: 50px;
    }
    
    .contact-item .qr-code {
        width: 180px;
        height: 180px;
    }
} 

/* 联系我们部分样式 */
.contact {
    padding: 5rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.qr-code {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 1rem auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
}

.company-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.company-logo {
    max-width: 300px;
    margin-bottom: 2rem;
}

.logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.wechat-official {
    text-align: center;
}

/* 页脚样式优化 */
footer {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    position: relative;
}

.footer-info {
    position: relative;
}

.footer-info::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-info .company-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-links-container {
    display: flex;
    gap: 3rem;
}

.footer-links {
    flex: 1;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* 删除推荐资源和关注我们部分的相关样式 */
.ads,
.follow-us,
.follow-dropdown,
#ads,
.ads-grid,
.ad-card,
.ad-icon,
.ad-content,
.ad-tags,
.ad-button {
    display: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-info::after {
        display: none;
    }
    
    .footer-links-container {
        flex-direction: column;
        gap: 2rem;
    }
}

/* 联系方式二维码样式 */
.contact-item .qr-code {
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin: 1rem auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: block;
}

.contact-item .qr-code:hover {
    transform: scale(1.05);
}

/* 公司logo样式 */
.company-logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 2rem;
    display: block;
    filter: opacity(0.85) brightness(1.2) sepia(0.1) hue-rotate(190deg);
}

/* 页脚logo样式 */
.footer-info .company-logo {
    width: 250px;
    height: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
    display: block;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .nav-logo {
        height: 40px;
    }
    
    .contact-item .qr-code {
        width: 150px;
        height: 150px;
    }
    
    .company-logo img {
        max-width: 220px;
    }
    
    .footer-info .company-logo {
        width: 200px;
    }
} 

/* 添加hero部分logo样式 */
.hero-logo {
    margin-bottom: 2.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    width: 400px;
    height: auto;
    display: block;
    animation: fadeInDown 1.2s ease;
}

/* 添加动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .hero-logo-img {
        width: 350px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-logo-img {
        width: 300px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 1rem 4rem;
    }
    
    .hero-logo {
        margin-bottom: 2rem;
    }
    
    .hero-logo-img {
        width: 250px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        width: 200px;
    }
}

/* 在超大屏幕上进一步优化 */
@media (min-width: 1400px) {
    .hero-logo-img {
        width: 450px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
} 

/* 用户评价部分样式 */
.review-slider {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    overflow-x: auto; /* 在移动端可以滑动 */
}

.review-card {
    flex: 0 0 auto;
    max-width: 350px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .review-slider {
        padding: 1rem;
    }
    
    .review-card {
        max-width: 300px;
    }
} 

/* 调整所有logo的颜色滤镜 */
.nav-logo,
.hero-logo-img,
.company-logo img {
    filter: brightness(1.4) contrast(0.95) saturate(0.9);
}

/* 页脚logo保持白色 */
.footer-info .company-logo {
    filter: brightness(0) invert(1);
}

/* 关注我们页面样式 */
.follow {
    padding: 6rem 0;
    background: var(--light-gray);
}

.follow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.follow-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.follow-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.follow-image img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.follow-content {
    padding: 1.5rem;
    text-align: center;
}

.follow-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.follow-content p {
    color: var(--dark-gray);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.follow-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

/* 移除之的二维码包装器相关样式 */
.qr-code-wrapper {
    display: none; /* 移除旧的二维码包装器 */
}

/* 确保微信公众号卡片与其他卡片样式一致 */
.follow-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.follow-content {
    padding: 2rem;
    text-align: center;
}

.follow-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.follow-button:hover {
    background: var(--secondary-color);
    transform: translateX(5px);
}

.products-container {
    padding-top: 100px;  /* 增加顶部内边距 */
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}