:root {
    --primary-color: #0066ff;
    --secondary-color: #f4f8ff;
    --text-color: #333;
    --bg-color: #fff;
    --gray-light: #f5f5f5;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.6;
}

/* 导航栏样式 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    z-index: 1000;
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo img {
    height: 40px;
    margin-right: 10px;
}

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

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

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

.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* 主要内容区域 */
.home-page {
    padding-top: 70px;
}

.hero {
    background: #007afe;
    padding: 60px 0;
    color: #fff;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-left {
    flex: 1;
    position: relative;
}

.hero-image {
    position: relative;
}

.device-preview {
    max-width: 90%;
    height: auto;
    margin-left: -20px;
}

.hero-right {
    flex: 1;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.hero-content h1 span {
    font-size: 24px;
    font-weight: 400;
    opacity: 0.9;
}

.hero-content .subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.feature-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
}

.download-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 14px 36px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn img {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-detail {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.btn-detail:hover {
    opacity: 1;
}

.version-info {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.version-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.version-item .label {
    opacity: 0.8;
    font-size: 14px;
}

.version-item .value {
    font-size: 14px;
}

/* 功能特性区域 */
.features {
    padding: 80px 0;
    background: #fff;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #000;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.feature-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #000;
}

.feature-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background: #f8f9fa;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-left {
    flex: 2;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.copyright {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links {
    font-size: 14px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-right {
        text-align: left;
    }
}

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

.win-icon {
    width: 16px !important;
    height: 16px !important;
    opacity: 0.8;
}

.feature-icon {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* 文章展示区 */
.articles {
    padding: 80px 0;
    background: #f8f9fa;
}

.articles h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #000;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px;
}

.article-date {
    color: #666;
    font-size: 14px;
}

.article-content h3 {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    line-height: 1.4;
}

.article-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #007afe;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* 图片展示区 */
.showcase {
    padding: 80px 0;
    background: #fff;
}

.showcase h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #000;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.showcase-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.showcase-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.showcase-item h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #000;
}

.showcase-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* 主内容区域 */
.main-content {
    padding: 40px 0;
    background: #f8f9fa;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 文章列表 */
.article-list {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
}

.article-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.tab {
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

.tab:hover {
    color: #007afe;
}

.tab.active {
    color: #007afe;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #007afe;
}

.article-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.author-name {
    font-size: 14px;
    color: #666;
}

.article-date {
    font-size: 14px;
    color: #999;
}

.article-title {
    margin: 0 0 15px;
}

.article-title a {
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.article-title a:hover {
    color: #007afe;
}

.article-cover {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.article-tags {
    display: flex;
    gap: 8px;
}

.tag {
    background: #f5f5f5;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.article-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.promo-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.promo-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.promo-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.promo-details {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.promo-btn {
    display: inline-block;
    background: #007afe;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

.promo-btn:hover {
    background: #0066e0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .article-stats {
        width: 100%;
        justify-content: space-between;
    }
}

/* 分页样式优化 */
.pagination-nav {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    gap: 0.5rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.page-link:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
    color: var(--primary-color);
}

.page-link.current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    cursor: default;
}

.page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    color: #666;
}

/* 加载动画 */
.loading-spinner {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.loading-spinner::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 底部加载完成提示 */
.end-message {
    text-align: center;
    padding: 20px 0;
    color: #999;
    font-size: 14px;
    background: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    position: relative;
}

.end-message::before,
.end-message::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: #eee;
}

.end-message::before {
    right: calc(50% + 50px);
}

.end-message::after {
    left: calc(50% + 50px);
}

/* 文章加载动画 */
.article-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: #fff;
}

.article-item:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.article-item:last-child {
    border-bottom: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* 文章标题样式 */
.article-title {
    margin: 10px 0;
}

.article-title a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary-color);
}

/* 图标样式 */
.icon-user::before { content: '\f007'; }
.icon-calendar::before { content: '\f133'; }
.icon-tag::before { content: '\f02b'; }
.icon-thumbs-up::before { content: '\f164'; }
.icon-message::before { content: '\f075'; }
.icon-share::before { content: '\f064'; }
.icon-gift::before { content: '\f06b'; }
.icon-broom::before { content: '\f51a'; }

[class^="icon-"]::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

/* 推广卡片样式更新 */
.promo-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.promo-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.promo-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.promo-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.promo-details {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

/* 文章列表样式更新 */
.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    color: #666;
}

.article-author {
    display: flex;
    align-items: center;
}

.article-tags .tag {
    display: inline-flex;
    align-items: center;
    background: var(--gray-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    margin-right: 8px;
}

.article-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

/* 下载卡片样式 */
.download-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.download-card .promo-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.download-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: var(--secondary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.download-item:hover {
    background: #e8f0ff;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.download-info .version {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.download-info .size {
    font-size: 12px;
    color: #666;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #0052cc;
    transform: translateY(-1px);
}

.download-btn i {
    font-size: 12px;
}

/* 分页导航样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    gap: 0.5rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.page-link:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
    color: var(--primary-color);
}

.page-link.current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    cursor: default;
}

.page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    color: #666;
} 