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

/* 全局字体设置 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #fafafa;
    color: #111827;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏优化 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 80px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #3b82f6;
}

/* 英雄区域升级 */
.hero {
    margin-top: 100px;
    padding: 120px 80px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero h1 {
    font-size: 72px;
    margin-bottom: 30px;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 28px;
    margin-bottom: 50px;
    opacity: 0.95;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: white;
}

/* 服务区域升级 */
.services {
    padding: 120px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.services h2 {
    font-size: 56px;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.service-card {
    background-color: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #111827;
    font-weight: 700;
}

.service-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #6b7280;
}

/* 产品区域升级 */
.products {
    padding: 120px 80px;
    background-color: #f3f4f6;
}

.products h2 {
    font-size: 56px;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 800;
    color: #111827;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    text-align: center;
    background-color: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.product-card img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

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

.product-card h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #111827;
}

.product-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 40px;
}

/* 页脚升级 */
.footer {
    padding: 80px;
    background-color: #111827;
    color: white;
    text-align: center;
}

.footer p {
    margin-bottom: 15px;
    opacity: 0.7;
    font-size: 16px;
}

/* 内容页面升级 */
.content {
    margin-top: 120px;
    padding: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.content h1 {
    font-size: 48px;
    margin-bottom: 40px;
    color: #111827;
    font-weight: 800;
}

.content h2 {
    font-size: 32px;
    margin: 50px 0 25px 0;
    color: #3b82f6;
    font-weight: 700;
}

.content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #374151;
}

.content ul {
    margin-left: 40px;
    margin-bottom: 25px;
}

.content li {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #374151;
}

/* 联系页面升级 */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    background-color: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #3b82f6;
    font-weight: 700;
}

.contact-item {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.contact-item-icon {
    width: 32px;
    height: 32px;
    margin-right: 20px;
    color: #3b82f6;
    font-size: 32px;
}

.contact-item-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #111827;
    font-weight: 600;
}

.contact-item-info p {
    font-size: 16px;
    color: #6b7280;
}

.contact-form {
    background-color: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-form h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #3b82f6;
    font-weight: 700;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
    color: #111827;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    background-color: #f9fafb;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
}

.submit-button {
    display: inline-block;
    padding: 20px 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 20px 30px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero {
        padding: 80px 30px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .services, .products {
        padding: 80px 30px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}