html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #333;
    padding: 1rem 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.hero-features {
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
}

.hero-features ul {
    list-style: none;
    margin-top: 1rem;
}

.hero-features li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.hero-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: #333;
    color: white;
}

/* Features page styles */
.features-page {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-section {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.feature-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 1rem;
}

.feature-image img {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Download page styles */
.download-page {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.download-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.download-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #45a049;
}

.requirements {
    list-style: none;
    margin: 1rem 0;
}

.installation {
    margin: 3rem 0;
}

.installation ol {
    margin-left: 2rem;
    margin-top: 1rem;
}

.changelog {
    margin: 3rem 0;
}

.version-log {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.version-log h3 {
    color: #333;
    margin-bottom: 1rem;
}

.version-log ul {
    margin-left: 1.5rem;
}

/* 新增样式 */
.cta-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 2rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #45a049;
}

.features-overview {
    padding: 4rem 2rem;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.feature-card {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.feature-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.video-tutorials {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container img,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pricing {
    padding: 4rem 2rem;
    background-color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.price-card {
    position: relative;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.popular {
    border: 2px solid #4CAF50;
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.price {
    margin: 1.5rem 0;
}

.amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.period {
    color: #666;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    margin-bottom: 1rem;
}

.benefits {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.benefits li {
    margin: 0.5rem 0;
    color: #666;
}

.purchase-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.purchase-button:hover {
    background-color: #45a049;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* 调整锚点位置，防止被固定导航遮挡 */
section[id] {
    scroll-margin-top: 60px;
}

/* 更新下载部分样式 */
.download-section {
    padding: 4rem 2rem;
    background-color: white;
    text-align: center;
}

.download-card {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.requirements {
    list-style: none;
    margin: 1.5rem 0;
}

.requirements li {
    margin: 0.5rem 0;
    color: #666;
}

.download-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.download-note a {
    color: #4CAF50;
    text-decoration: none;
}

.download-note a:hover {
    text-decoration: underline;
}

/* 更新日志页面样式 */
.changelog-page {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.version-history {
    margin-top: 2rem;
}

.version-entry {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.version-entry h2 {
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.release-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.version-content h3 {
    color: #333;
    margin: 1.5rem 0 0.5rem;
}

.version-content ul {
    margin-left: 1.5rem;
}

.download-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.view-changelog {
    margin-top: 2rem;
    text-align: right;
}

@media (max-width: 768px) {
    .download-container {
        grid-template-columns: 1fr;
    }
}

/* 统一所有部分的标题样式 */
.features-overview,
.video-tutorials,
.download-section,
.pricing {
    padding: 4rem 2rem;
    text-align: center;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

/* 下载部分的其他样式保持不变 */
.download-card {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
} 