/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.login-btn, .register-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.login-btn {
    background: transparent;
    color: #333;
    border: 1px solid #ddd;
}

.register-btn {
    background: #007bff;
    color: white;
}

.login-btn:hover {
    background: #f5f5f5;
}

.register-btn:hover {
    background: #0056b3;
}

/* 英雄区域样式 */
.hero {
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hero-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.primary-btn, .secondary-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.primary-btn {
    background: #007bff;
    color: white;
}

.secondary-btn {
    background: transparent;
    color: #333;
    border: 1px solid #ddd;
}

.primary-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.secondary-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links img {
    width: 32px;
    height: 32px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-links img:hover {
    opacity: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 产品区域样式 */
.products {
    padding: 80px 0;
    text-align: center;
}

.products h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.products p {
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
}

.product-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 400px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.product-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.badge {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-desc {
    padding: 20px;
}

.product-desc p {
    color: #666;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* 服务区域样式 */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center;
}

.services p {
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    width: 64px;
    height: 64px;
    opacity: 0.8;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    color: #666;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* 成就区域样式 */
.achievements {
    padding: 80px 0;
    text-align: center;
}

.achievements h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.achievements p {
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
}

.achievement-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* 合作伙伴区域样式 */
.partners {
    padding: 60px 0;
    background: #f8f9fa;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-logos img {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner-logos img:hover {
    opacity: 1;
}

/* 页脚样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #bdc3c7;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    color: #bdc3c7;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #bdc3c7;
    font-size: 14px;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-social img:hover {
    opacity: 1;
}

/* 悬浮客服样式 */
.floating-service {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.service-item {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.service-item img {
    width: 24px;
    height: 24px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .achievement-stats {
        gap: 40px;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .product-card {
        width: 100%;
    }
    
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .achievement-stats {
        gap: 30px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .products, .services, .achievements {
        padding: 60px 0;
    }
    
    .achievement-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .partner-logos {
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}