/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #a68a75;
}

/* 头部导航 */
.header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    color: #333;
}

.logo img {
    width: 36px;
    height: 36px;
    margin-right: 12px;
    border-radius: 8px;
}

.logo span {
    font-size: 18px;
    font-weight: 600;
}

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

.nav-menu a {
    color: #666;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #a68a75;
}

.nav-menu a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #a68a75;
}

/* 英雄区域 */
.hero {
    background-color: #a68a75;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* 内容容器 */
.container, .download-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 首页样式 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #a68a75;
}

/* 下载页样式 */
.version-card {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.version-info {
    flex: 1;
    min-width: 300px;
}

.version-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.version-info p {
    color: #666;
    margin-bottom: 5px;
}

.version-features {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.version-features span {
    background-color: #f5f0eb;
    color: #a68a75;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.download-button {
    background-color: #a68a75;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(166, 138, 117, 0.2);
    display: inline-flex;
    align-items: center;
    margin: 20px 0;
}

.download-button i {
    margin-right: 10px;
}

.download-button:hover {
    background-color: #8c7460;
    transform: translateY(-2px);
}

.screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

.screenshots img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshots img:hover {
    transform: scale(1.02);
}

.history-releases {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.history-releases h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.release-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.release-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.release-item:last-child {
    border-bottom: none;
}

.release-info {
    display: flex;
    flex-direction: column;
}

.version {
    font-weight: 600;
    color: #333;
}

.date {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.download-link {
    background-color: #f5f5f5;
    color: #666;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.download-link:hover {
    background-color: #e5e5e5;
    color: #333;
}

/* 页脚 */
footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: white;
}

/* 政策页面样式 */
.policy-container {
    max-width: 800px;
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
}

.policy-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.policy-content h2 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: #a68a75;
    text-align: left;
}

.policy-content h3 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: #555;
    text-align: left;
}

.policy-content p, .policy-content li {
    margin-bottom: 10px;
    color: #444;
    text-align: left;
}

.policy-content ul {
    list-style-position: outside;
    margin-bottom: 20px;
    margin-left: 20px;
    text-align: left;
    padding-left: 0;
}

/* 404页面样式 */
.error-container {
    text-align: center;
    padding: 100px 20px;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: #a68a75;
    line-height: 1;
}

.error-message {
    font-size: 24px;
    margin: 20px 0 40px;
}

.back-home {
    background-color: #a68a75;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.back-home:hover {
    background-color: #8c7460;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
    }
    
    .version-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .download-button {
        margin-top: 30px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

/* 添加全屏区块样式 */
.fullscreen-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.fullscreen-section.bg-light {
    background-color: #f9f9f9;
}

.fullscreen-section.bg-dark {
    background-color: #f5f0eb;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    z-index: 2;
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 联系我们页面样式 */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-method {
    margin: 30px 0;
    display: flex;
    align-items: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: #f5f0eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #a68a75;
    font-size: 24px;
}

.contact-details h3 {
    color: #333;
    margin-bottom: 5px;
}

.contact-details p, .contact-details a {
    color: #666;
}

/* 浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 5s ease-in-out infinite;
}

/* 按钮微光效果 */
@keyframes shine {
    0% {
        background-position: -100px;
    }
    20% {
        background-position: 200px;
    }
    100% {
        background-position: 200px;
    }
}

.download-button.shine {
    background-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    background-size: 200px 100%;
    background-repeat: no-repeat;
    background-position: -100px;
}

.download-button.shine:hover {
    animation: shine 1.5s infinite linear;
}

/* 网站地图样式 */
.sitemap-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.sitemap-section {
    margin-bottom: 40px;
}

.sitemap-section h2 {
    font-size: 24px;
    color: #a68a75;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.sitemap-section h2 i {
    margin-right: 10px;
}

.sitemap-list {
    list-style: none;
}

.sitemap-list li {
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 3px solid #f5f0eb;
}

.sitemap-list a {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.sitemap-list a:hover {
    color: #a68a75;
}

.sitemap-list p {
    color: #666;
    font-size: 14px;
} 