/* 基础样式 (参考网页7/10) */
:root {
    --primary: #2A5CAA;
    --accent: #FF6B35;
    --dark: #1A1A1A;
    --light: #F5F5F5;
    --font: 'Noto Sans SC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    line-height: 1.6;
    color: var(--dark);
}

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

/* 导航栏设计 (参考网页3/8) */
.header {
    background: rgba(255,255,255,0.95);
    position: sticky;
    top: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo {
    width:60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav a {
    color: var(--dark);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* 首屏设计 (参考网页3/5) */
.hero {
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4)),
                url('imgs/hero-bg.jpg') center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-content {
    margin-left: 20px;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

/* 产品卡片 (参考网页7/8) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

img {
max-width: 100%;
}

/* 响应式设计 (参考网页8/10) */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
    }
    
    .mobile-menu {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}