/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
}

.header .logo img {
    height: 40px;
    margin-right: 10px;
}
.nav  {
    margin-top: 15px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav ul li a:hover {
    color: #3498db;
}

/* 首屏介绍样式 */
.hero {
    background: linear-gradient(to right, #eef2f3, #8e9eab);
    padding: 80px 0;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background-color: #3498db;
    color: white;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 功能模块样式 */
.features {
    padding: 60px 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f5f7fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin: 0 auto 20px;
    background-color: #3498db;
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    font-weight: bold;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #2c3e50;
}

.feature-card p {
    color: #666;
}

/* 下载模块样式 */
.download {
    padding: 60px 0;
    text-align: center;
    background-color: #ecf0f1;
}

.download h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.download p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.download-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-download {
    background-color: #2ecc71;
    color: white;
    padding: 14px 28px;
    font-size: 1rem;
    width: 10rem;
}

.btn-download:hover {
    background-color: #27ae60;
}

.btn-download-disabled {
    background-color: #ccc;
    color: white;
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-download-disabled:hover {
    background-color: #aaa;
}



/* 底部样式 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column-reverse;
    gap: 20px;
}

.copyright p {
    font-size: 0.9rem;
    color: #aaa;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .hero-content {
        width: 50%;
    }

    .hero-image {
        width: 50%;
    }

    .hero {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}


/* 平铺图片样式 */
/* 更新英雄区域图片画廊样式 */
.hero-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 改为 4 列均分宽度 */
    gap: 20px; /* 图片之间留白 */
    width: 100%; /* 占满右侧空间 */
    height: calc(100vh - 607px) !IMPORTANT;
    margin-top: 25px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 195px;
    height: 358px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.btn-web {
    position: fixed;
    right: 25px;
    top: 45px;
    transform: translateY(-50%);
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.header .container {
    position: relative; /* 确保绝对定位的按钮基于 container 定位 */
}

/* 移动端适配：小屏幕下变为两列或单列 */
@media (max-width: 960px) {
    .hero-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-gallery {
        grid-template-columns: 1fr;
    }
}



