/* 全局重置 + 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
    scroll-behavior: smooth; /* 平滑滚动核心 */
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

h1, h2, h3 {
    color: #222;
    margin-bottom: 20px;
    text-align: center;
}

p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    font-size: 16px;
    color: #333;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #0066cc;
}

.download-btn, .primary-btn {
    background: #0066cc;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background 0.3s;
}

.download-btn:hover, .primary-btn:hover {
    background: #0052a3;
}

/* 横幅区域 */
.banner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5%;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 70px;
}

.banner-content {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.banner-content h1 {
    font-size: 42px;
    color: #222;
}

.banner-img {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

/* 功能模块 */
.features h2, .skins h2, .thesaurus h2, .feedback h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

.feature-item img {
    height: 80px;
    margin-bottom: 15px;
}

/* 皮肤中心 */
.skin-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.skin-gallery img {
    width: 280px;
    height: 180px;
    object-fit: cover;
}

/* 下载页面样式 */
.download-main {
    margin-top: 80px;
}

.download-banner {
    text-align: center;
    padding: 40px 0;
}

.platform-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 40px;
}

.platform-item {
    padding: 30px 20px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.platform-item img {
    height: 60px;
    margin-bottom: 20px;
}

.platform-btn {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    margin-top: 15px;
}

.download-tips {
    background: #f5f7fa;
    padding: 40px 0;
    text-align: center;
}

/* 页脚 */
.footer {
    background: #f5f5f5;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}