:root {
    --primary-color: #f04142;
    --text-main: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: #fff;
}

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

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

.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-size: 24px;
    color: var(--primary-color);
}

.nav-links a {
    margin-left: 30px;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    font-weight: bold;
}

.hero {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #222;
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #d63334;
    border-color: #d63334;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.features-preview {
    padding: 60px 0;
    background: #fff;
}

.features-preview h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

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

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.download-section {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
}

.download-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.download-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-dl {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    min-width: 180px;
}

.btn-dl:hover {
    background: var(--primary-color);
    color: #fff;
}

.seo-text {
    font-size: 14px;
    color: #999;
}

.seo-article {
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.seo-article h2 {
    margin-bottom: 20px;
}

.footer {
    background: #222;
    color: #ccc;
    padding: 30px 0;
    text-align: center;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #aaa;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #fff;
}

/* 内页样式 */
.page-content {
    padding: 50px 20px;
    min-height: 60vh;
}

.page-content h1 {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.feature-item {
    margin-bottom: 40px;
    padding: 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
}

.tutorial-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.tutorial-card {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 6px;
}

.tutorial-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
