/* 基础样式 */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}



.logo-img {
    height: 40px;
}

.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav a {
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    transition: color 0.3s;
}

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



/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* 按钮样式 */
.cta-button {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ff5252;
}

.cta-button a {
    color: white;
    text-decoration: none;
}

/* 特性区域样式 */
.features {
    padding: 80px 0;
    background-color: #f8f9fa;
}

/* 图片网格样式 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: white;
}

.image-item:hover {
    transform: translateY(-5px);
}

.image-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    padding: 12px;
    text-align: center;
    font-weight: 500;
    color: #333;
    z-index: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        padding: 15px;
    }
    
    .image-item img {
        height: 200px;
    }
    
    .image-caption {
        padding: 8px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }
}



