/* ===== 首页CSS ===== */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #f8f9fa;
    --accent-color: #ff6b6b;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    padding: 5rem 0;
}

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

.hero-text {
    flex: 1;
    padding-right: 3rem;
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

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

.feature-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    padding: 2rem;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.news-section {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.news-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

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

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.testimonial-card {
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-author {
    font-weight: 600;
    margin-top: 1rem;
}

footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
}

/* ===== 帮助中心页CSS ===== */
.help-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    padding: 4rem 0;
    text-align: center;
}

.search-box {
    max-width: 700px;
    margin: 2rem auto;
    position: relative;
}

.search-box input {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #ddd;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
}

.help-category-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    padding: 2rem;
    text-align: center;
}

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

.help-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.popular-articles {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.article-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
    background: white;
}

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

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.contact-section {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.contact-card {
    background: white;
    color: #333;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sidebar-widget {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.sidebar-title {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.sidebar-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.popular-post {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 1rem;
}

.popular-post-date {
    font-size: 0.75rem;
    color: #6c757d;
}

.newsletter-form {
    position: relative;
}

.newsletter-form input {
    padding-right: 120px;
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1rem;
}

/* ===== 资讯列表页CSS ===== */
.news-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    padding: 4rem 0;
    text-align: center;
}

.news-filter {
    max-width: 800px;
    margin: 2rem auto;
}

.news-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
}

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

.news-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.news-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-badge {
    display: inline-block;
    background-color: #f1f3ff;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.tag-badge:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link {
    color: var(--primary-color);
}

/* ===== 资讯详情页CSS ===== */
.news-detail-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    padding: 4rem 0 2rem;
}

.news-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.news-meta-item {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
    color: #6c757d;
}

.news-meta-item i {
    margin-right: 0.5rem;
}

.news-tags {
    margin: 2rem 0;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-content h2 {
    color: var(--primary-color);
    margin-top: 3rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.news-content h3 {
    margin-top: 2rem;
}

.news-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    background-color: #f9faff;
    margin: 2rem 0;
    font-style: italic;
}

.author-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 3rem 0;
}

.author-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}

.related-news {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.related-news-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

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

.news-comments {
    padding: 3rem 0;
}

.comment-card {
    border: none;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.comment-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

.social-sharing a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
    color: white;
    text-decoration: none;
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.linkedin {
    background-color: #0077b5;
}

.whatsapp {
    background-color: #25d366;
}

/* ===== 下载页CSS ===== */
.download-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    padding: 5rem 0;
    text-align: center;
}

.platform-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.platform-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.feature-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.feature-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.btn-download {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
}

.btn-download:hover {
    background-color: #3a56d4;
    color: white;
    transform: translateY(-2px);
}

.btn-download i {
    margin-right: 0.5rem;
}

.version-info {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 1rem;
}

.tab-content {
    padding: 2rem 0;
}

.nav-tabs .nav-link {
    border: none;
    color: #555;
    font-weight: 500;
    padding: 1rem 1.5rem;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background-color: transparent;
}

.system-requirements {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
}

.guide-section {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.guide-step {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.guide-step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.guide-content {
    flex-grow: 1;
}

.screenshot {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 1.5rem;
    max-width: 100%;
    height: auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

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