/* 基础样式 */
:root {
    --primary-color: #4e89ae;
    --secondary-color: #43658b;
    --light-color: #f5f5f5;
    --dark-color: #333;
    --text-color: #444;
    --heading-color: #333;
    --background-color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

h1, h2, h3 {
    color: var(--heading-color);
    line-height: 1.3;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
}

section {
    padding: 60px 0;
}

/* 按钮样式 */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button.primary {
    background-color: var(--primary-color);
    color: white;
}

.button.primary:hover {
    background-color: var(--secondary-color);
}

.button.large {
    padding: 14px 30px;
    font-size: 1.1rem;
}

/* 导航栏 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

nav ul {
    display: flex;
}

nav li {
    margin-left: 25px;
}

nav a {
    color: var(--dark-color);
    font-weight: 500;
}

nav a:hover {
    color: var(--primary-color);
}

/* 英雄区域 */
.hero {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: left;
}

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

.cta-buttons {
    display: flex;
    gap: 15px;
}

/* 功能特点 */
.features {
    background-color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* 下载区域 */
.download {
    background-color: #f0f4f8;
    text-align: center;
}

.download p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-links a {
    color: white;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

/* 隐私政策和条款页面 */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-content h1 {
    text-align: center;
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-top: 30px;
}

.legal-content ul, .legal-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

.last-updated {
    margin-top: 40px;
    font-style: italic;
    color: #777;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero h2 {
        text-align: center;
        font-size: 2rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    footer .container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        display: none;
    }
}
