
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

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

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

/* 导航栏 */
nav {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

.nav-links {
    float: right;
}

.nav-links a {
    text-decoration: none;
    color: #34495e;
    margin-left: 2rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

/* 主页横幅 */
/*.hero {*/
/*    background: #e3eefd;*/
/*    color: #41454d;*/
/*    padding: 4rem 0;*/
/*    text-align: center;*/
/*}*/


.banner {
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: white;
  padding: 60px 20px;
  text-align: center;
  margin: 20px 0;
/*  border-radius: 8px;*/
}

.banner h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.banner-btn {
  display: inline-block;
  background: white;
  color: #6e8efb;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.banner-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 软件列表 */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.software-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.3s;
}

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

.software-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.tags {
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.tag.open-source { background: #27ae60; color: white; }
.tag.windows { background: #2980b9; color: white; }
.tag.mac { background: #7f8c8d; color: white; }
.tag.linux { background: #e67e22; color: white; }

/* 下载区域 */
.downloads {
    background: #2c3e50;
    color: white;
    padding: 4rem 0;
    margin-top: 4rem;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.download-card {
    background: white;
    color: #333;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.download-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    transition: background 0.3s;
}

.download-btn:hover {
    background: #2980b9;
}

#footer{width:960px; margin:0 auto;}
#footer{ text-align:center; font-size:1rem;}
#footer a{ color:#757575; padding:10px 0;}
#footerindex{ text-align:center; font-size:1rem;}
#footerindex a{ color:#757575; padding:10px 0;}
#footer_nav{ margin-top: 20px;}
#footer_nav img{padding:0 2px;}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-options {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none; /* 移动端可添加汉堡菜单 */
    }
}
