/* 静态页面专用样式 */
body {
    background-color: #151515 !important;
    color: #F2F2F2 !important;
    padding-top: 60px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F2F2F2;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #B8B8B8;
}

.content-section {
    margin-bottom: 2.5rem;
}

.content-section:last-child {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F2F2F2;
    margin-bottom: 1rem;
}

.section-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #D0D0D0;
    margin-bottom: 1rem;
}

.section-content p {
    margin-bottom: 1rem;
}

.section-content ul, .section-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.section-content li {
    margin-bottom: 0.5rem;
}

.section-content a {
    color: #4A9EFF;
    text-decoration: none;
}

.section-content a:hover {
    text-decoration: underline;
}

.navbar-brand {
    color: #F2F2F2 !important;
}

.navbar {
    background: rgba(21, 21, 21, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-actions {
    display: none;
}

.footer {
    background: #0F0F0F;
    border-top: 1px solid #333;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #B8B8B8;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.footer-copyright {
    color: #B8B8B8;
    font-size: 0.9rem;
}

/* 脚注底部布局 - 版权信息和社交图标在同一行 */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem; /* 版权信息和图标之间的距离 */
    flex-wrap: wrap; /* 移动端自动换行 */
}

/* 社交媒体图标样式 */
.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* 脚注语言切换器样式 */
.footer-language-switcher {
    margin-left: 1rem;
}

.language-dropdown {
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #B8B8B8;
    padding: 4px 8px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-dropdown:hover {
    color: #FFFFFF;
}

.language-dropdown:focus {
    outline: none;
    color: #FFFFFF;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent; /* 透明背景与页面融合 */
    color: #B8B8B8; /* 使用页面固定颜色 */
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #B8B8B8; /* 悬停时背景变为文本颜色 */
    color: #0F0F0F; /* 悬停时图标变为背景色 */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.support-contact-form {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.support-contact-form label {
    display: block;
    font-weight: 500;
    color: #F2F2F2;
    margin-bottom: 0.35rem;
}

.support-contact-form input,
.support-contact-form select,
.support-contact-form textarea {
    width: 100%;
    background: #1F1F1F;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 1rem;
    color: #F2F2F2;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-contact-form input:focus,
.support-contact-form select:focus,
.support-contact-form textarea:focus {
    border-color: #4A9EFF;
    box-shadow: 0 0 0 2px rgba(74, 158, 255, 0.2);
    outline: none;
}

.support-contact-form select {
    appearance: none;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="%23B8B8B8"%3E%3Cpath stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

.support-contact-form textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-submit {
    justify-self: start;
    background: linear-gradient(135deg, #4A9EFF, #2C6BED);
    border: none;
    border-radius: 6px;
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(74, 158, 255, 0.25);
}

.alternative-contact {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2A2A2A;
}

.alternative-contact h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    color: #F2F2F2;
}

.alternative-contact a {
    color: #4A9EFF;
    text-decoration: none;
}

.alternative-contact a:hover {
    text-decoration: underline;
}

.response-time {
    color: #B8B8B8;
    margin-top: 0.5rem;
}

/* Blog：YouTube 等视频内嵌（16:9 自适应容器） */
.blog-video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 10px;
    overflow: hidden;
    background: #0F0F0F;
    border: 1px solid #2A2A2A;
}

.blog-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Blog：上一篇/下一篇导航 */
.blog-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem 0;
}

.blog-post-nav a {
    color: #4A9EFF;
    text-decoration: none;
}

.blog-post-nav a:hover {
    text-decoration: underline;
}

/* 移动端响应式 */
@media (max-width: 600px) {
    .footer-bottom {
        gap: 1.5rem;
        flex-direction: column; /* 移动端垂直排列 */
    }
    
    .footer-social {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-language-switcher {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
}

.last-updated {
    margin-bottom: 2rem;
}

.last-updated p {
    margin: 0;
    font-size: 0.9rem;
    color: #B8B8B8;
}

.important-notice {
    margin: 1rem 0 2rem 0;
}

.important-notice p {
    margin: 0;
    color: #F2F2F2;
}

/* FAQ样式 */
.faq-item {
    padding: 1.5rem 0 0 0;
    margin-bottom: 1rem;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F2F2F2;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: #D0D0D0;
    margin: 0;
}

/* 联系邮箱样式 */
.contact-email {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem 0 0 0;
    border-radius: 8px;
}

.email-icon {
    width: 24px;
    height: 24px;
    color: #4A9EFF;
    margin-right: 0.75rem;
}

.contact-email a {
    color: #4A9EFF;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* 故障排除样式 */
.troubleshooting-steps {
    padding: 1rem 0 1.5rem 1.5rem;
}

.troubleshooting-steps li {
    margin-bottom: 0.5rem;
}

/* 更新日志样式 */
.changelog-entry {
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.version-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #F2F2F2;
}

.version-date {
    font-size: 0.9rem;
    color: #B8B8B8;
    background: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.version-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F2F2F2;
    margin-bottom: 1rem;
}

.version-content {
    color: #D0D0D0;
}

.version-content p {
    margin-bottom: 1rem;
}

.version-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.version-content li {
    margin-bottom: 0.5rem;
}

.changelog-type {
    display: inline-block;
    padding: 0.2rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .version-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 文章导航样式 */
.article-nav {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.article-nav__back {
    color: #4A9EFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.article-nav__back:hover {
    color: #2C6BED;
}

/* 文章元数据样式 */
.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: #B8B8B8;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}


/* 文章内容样式增强 */
.article-content h1,
.article-content h2,
.article-content h3 {
    color: #F2F2F2;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content h1 {
    font-size: 2rem;
    font-weight: 700;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.article-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-content strong {
    font-weight: 600;
    color: #F2F2F2;
}

.article-content a {
    color: #4A9EFF;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: #2C6BED;
}

.article-content blockquote {
    border-left: 4px solid #4A9EFF;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #B8B8B8;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* Horizontal line style - consistent with blog list */
.article-content hr {
    border: none;
    border-top: 1px solid #2A2A2A;
    margin: 2.5rem 0;
}

/* Mobile responsive for articles */
@media (max-width: 768px) {
    .article-meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    .article-content h1 {
        font-size: 1.5rem;
    }

    .article-content h2 {
        font-size: 1.25rem;
    }

    .article-content h3 {
        font-size: 1.125rem;
    }

    .article-content p {
        font-size: 1rem;
    }
}

/* Blog articles list styles */
.blog-article-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #2A2A2A;
}

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

.blog-article-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-article-title a {
    color: #F2F2F2;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-article-title a:hover {
    color: #4A9EFF;
}

.blog-article-meta {
    color: #B8B8B8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-article-excerpt {
    color: #D0D0D0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-article-link {
    color: #4A9EFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.blog-article-link:hover {
    color: #2C6BED;
    text-decoration: underline;
}

/* Blog article images responsive styles */
.article-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
}

/* Ensure images fit within article content width */
.page-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 8px;
}

/* Blog article table styles */
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.page-content th,
.page-content td {
    border: 1px solid #333;
    padding: 0.75rem 1rem;
    text-align: left;
}

.page-content th {
    background-color: #1F1F1F;
    font-weight: 600;
    color: #E0E0E0;
}

.page-content tr:hover {
    background-color: #1A1A1A;
}
