:root {
    --primary: #1890ff;
    --primary-hover: #40a9ff;
    --primary-active: #096dd9;
    --primary-light: #e6f7ff;
    --success: #52c41a;
    --warning: #faad14;
    --error: #ff4d4f;
    --text-primary: #262626;
    --text-secondary: #595959;
    --text-muted: #8c8c8c;
    --text-light: #bfbfbf;
    --border: #d9d9d9;
    --border-light: #e8e8e8;
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
    --radius: 4px;
    --radius-lg: 8px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

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

.btn-lg {
    padding: 12px 28px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, #2b7df7 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary);
    background: var(--primary-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    padding: 8px;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-primary);
    cursor: pointer;
}

.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-primary) 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-badge-new {
    padding: 2px 8px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
}

.hero-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-tags {
    display: flex;
    gap: 24px;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-tag i {
    color: var(--success);
}

.hero-preview {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.hero-preview-dots {
    display: flex;
    gap: 6px;
}

.hero-preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}

.hero-preview-dots span:nth-child(1) { background: #ff5f57; }
.hero-preview-dots span:nth-child(2) { background: #febc2e; }
.hero-preview-dots span:nth-child(3) { background: #28c840; }

.hero-preview-title {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-preview-body {
    padding: 24px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.hero-stat-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-stat-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 15px;
    color: var(--text-secondary);
}

.channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.channel:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.channel-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 24px;
}

.channel-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.channel-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature {
    padding: 28px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--success);
    font-size: 12px;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    margin: 0 auto 16px;
}

.advantage-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.advantage-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.support {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.support-item {
    padding: 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.support-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 16px;
}

.support-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.support-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--primary);
}

.support-link i {
    transition: transform 0.2s;
}

.support-link:hover i {
    transform: translateX(4px);
}

.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #2b7df7 100%);
    text-align: center;
}

.cta-title {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-actions .btn {
    background: #fff;
    border-color: #fff;
    color: var(--primary);
}

.cta-actions .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.cta-actions .btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.cta-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.footer {
    padding: 48px 0 24px;
    background: #001529;
    color: rgba(255, 255, 255, 0.65);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand i {
    color: var(--primary);
}

.footer-inner img {
    filter: invert(1) brightness(1.2);
    max-height: 40px;
    width: auto;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-icp {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-icp a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-icp a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.page-banner {
    padding: 100px 0 48px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.page-desc {
    font-size: 15px;
    color: var(--text-secondary);
}

.download-card {
    background: linear-gradient(135deg, var(--primary) 0%, #2b7df7 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: #fff;
    margin-bottom: 48px;
}

.download-card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.download-card-info {
    flex: 1;
    min-width: 0;
}

.download-card-action {
    flex-shrink: 0;
}

.download-version {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
}

.download-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.download-desc {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 16px;
}

.download-meta {
    display: flex;
    gap: 24px;
    font-size: 13px;
    opacity: 0.8;
}

.download-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-btn {
    background: #fff;
    border-color: #fff;
    color: var(--primary);
    padding: 14px 32px;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.version-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.version-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all 0.2s;
    gap: 24px;
}

.version-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.version-number {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 80px;
}

.version-date {
    font-size: 14px;
    color: var(--text-muted);
}

.version-downloads {
    font-size: 14px;
    color: var(--text-muted);
}

.version-date,
.version-downloads {
    font-size: 13px;
    color: var(--text-muted);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: var(--radius);
}

.tag-primary {
    background: var(--primary-light);
    color: var(--primary);
}

.tag-success {
    background: #f6ffed;
    color: var(--success);
}

.docs-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    padding: 32px 0;
}

.docs-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.docs-menu {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 12px;
}

.docs-menu-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
}

.docs-menu-list {
    list-style: none;
}

.docs-menu-item {
    margin-bottom: 4px;
}

.docs-menu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.docs-menu-link:hover,
.docs-menu-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.docs-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px;
    min-height: 600px;
}

.docs-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.docs-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-muted);
}

.docs-body {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.docs-body h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.docs-body h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.docs-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.docs-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 10px;
}

.docs-body h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 16px 0 8px;
}

.docs-body h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 16px 0 8px;
}

.docs-body p {
    margin-bottom: 16px;
}

.docs-body ul,
.docs-body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.docs-body li {
    margin-bottom: 8px;
}

.docs-body code {
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: var(--radius);
    font-size: 13px;
    font-family: "SFMono-Regular", Consolas, monospace;
}

.docs-body pre {
    background: #282c34;
    color: #abb2bf;
    padding: 16px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: 16px;
}

.docs-body pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.docs-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.docs-body th,
.docs-body td {
    padding: 12px;
    border: 1px solid var(--border-light);
    text-align: left;
}

.docs-body th {
    background: var(--bg-secondary);
    font-weight: 600;
}

.docs-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    margin: 16px 0;
    background: var(--bg-secondary);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-muted);
}

.docs-body a {
    color: var(--primary);
    text-decoration: underline;
}

.docs-body a:hover {
    color: var(--primary-hover);
}

.docs-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 16px 0;
}

.docs-body strong,
.docs-body b {
    font-weight: 600;
    color: var(--text-primary);
}

.docs-body em,
.docs-body i {
    font-style: italic;
}

.docs-body u {
    text-decoration: underline;
}

.docs-body s,
.docs-body del {
    text-decoration: line-through;
    color: var(--text-muted);
}

.docs-body hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 24px 0;
}

.changelog-timeline {
    position: relative;
    padding-left: 32px;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
}

.changelog-item {
    position: relative;
    margin-bottom: 32px;
}

.changelog-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.changelog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.changelog-card-link:hover {
    transform: translateY(-4px);
}

.changelog-card-link:hover .changelog-card {
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-light);
}

.changelog-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s ease;
}

.changelog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.changelog-version {
    display: flex;
    align-items: center;
    gap: 12px;
}

.changelog-version-number {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.changelog-date {
    font-size: 13px;
    color: var(--text-muted);
}

.changelog-list {
    list-style: none;
}

.changelog-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.changelog-type {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--radius);
    font-size: 12px;
    min-width: 50px;
    justify-content: center;
}

.changelog-type--feature {
    background: var(--primary-light);
    color: var(--primary);
}

.changelog-type--new {
    background: #f6ffed;
    color: var(--success);
}

.changelog-type--fix {
    background: #fff2f0;
    color: var(--error);
}

.changelog-type--optimize {
    background: #fffbe6;
    color: var(--warning);
}

.changelog-type--security {
    background: #fff2f0;
    color: #ff4d4f;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.doc-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.doc-card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}

.doc-card-content {
    flex: 1;
    min-width: 0;
}

.doc-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.doc-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.doc-card-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-light);
}

.doc-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.doc-card-arrow {
    color: var(--text-light);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.doc-card:hover .doc-card-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
    padding: 8px 16px;
    background: var(--primary-light);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.back-link:hover {
    background: var(--primary);
    color: #fff;
}

.docs-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.docs-nav-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s ease;
}

.docs-nav-item:hover {
    background: var(--primary-light);
}

.docs-nav-prev {
    text-align: left;
}

.docs-nav-next {
    text-align: right;
}

.docs-nav-label {
    font-size: 12px;
    color: var(--text-muted);
}

.docs-nav-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.rich-text-content {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4,
.rich-text-content h5,
.rich-text-content h6 {
    color: var(--text-primary);
    margin: 24px 0 16px;
    font-weight: 600;
}

.rich-text-content h1 { font-size: 28px; }
.rich-text-content h2 { font-size: 24px; }
.rich-text-content h3 { font-size: 20px; }
.rich-text-content h4 { font-size: 18px; }
.rich-text-content h5 { font-size: 16px; }
.rich-text-content h6 { font-size: 14px; }

.rich-text-content p {
    margin-bottom: 16px;
}

.rich-text-content ul,
.rich-text-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.rich-text-content li {
    margin-bottom: 8px;
}

.rich-text-content a {
    color: var(--primary);
    text-decoration: underline;
}

.rich-text-content a:hover {
    color: var(--primary-hover);
}

.rich-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 16px 0;
}

.rich-text-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.rich-text-content th,
.rich-text-content td {
    padding: 12px;
    border: 1px solid var(--border-light);
    text-align: left;
}

.rich-text-content th {
    background: var(--bg-secondary);
    font-weight: 600;
}

.rich-text-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    margin: 16px 0;
    background: var(--bg-secondary);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-muted);
}

.rich-text-content pre {
    background: #282c34;
    color: #abb2bf;
    padding: 16px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: 16px;
}

.rich-text-content code {
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: var(--radius);
    font-size: 13px;
    font-family: "SFMono-Regular", Consolas, monospace;
}

.rich-text-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.rich-text-content hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 24px 0;
}

.rich-text-content strong,
.rich-text-content b {
    font-weight: 600;
    color: var(--text-primary);
}

.rich-text-content em,
.rich-text-content i {
    font-style: italic;
}

.rich-text-content u {
    text-decoration: underline;
}

.rich-text-content s,
.rich-text-content del {
    text-decoration: line-through;
    color: var(--text-muted);
}

.download-desc-rich {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 16px;
}

.download-desc-rich p {
    margin: 0 0 8px 0;
}

.download-desc-rich ul,
.download-desc-rich ol {
    margin: 8px 0;
    padding-left: 20px;
}

.download-desc-rich li {
    margin-bottom: 4px;
}

.download-desc-rich strong {
    font-weight: 600;
}

.version-desc-rich {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.6;
}

.version-desc-rich p {
    margin: 0 0 4px 0;
}

.version-desc-rich ul,
.version-desc-rich ol {
    margin: 4px 0;
    padding-left: 16px;
}

.changelog-content-rich {
    line-height: 1.8;
    color: var(--text-secondary);
}

.changelog-content-rich p {
    margin-bottom: 12px;
}

.changelog-content-rich ul,
.changelog-content-rich ol {
    margin-bottom: 12px;
    padding-left: 20px;
}

.changelog-content-rich li {
    margin-bottom: 6px;
}

.changelog-content-rich code {
    background: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
}

.changelog-content-rich strong {
    font-weight: 600;
    color: var(--text-primary);
}

.changelog-content-preview {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.changelog-more {
    color: var(--primary) !important;
    font-weight: 500;
    cursor: pointer;
}

.detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.version-header {
    background: linear-gradient(135deg, var(--primary) 0%, #2b7df7 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.version-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.version-header .version-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    opacity: 0.9;
    flex-wrap: wrap;
}

.version-header .version-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.changelog-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changelog-detail-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.changelog-detail-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.changelog-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.card-body {
    padding: 1.5rem;
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-preview {
        display: none;
    }

    .channels {
        grid-template-columns: repeat(3, 1fr);
    }

    .features {
        grid-template-columns: 1fr;
    }

    .advantages {
        grid-template-columns: repeat(2, 1fr);
    }

    .support {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        display: none;
    }

    .docs-grid {
        grid-template-columns: 1fr;
    }

    .docs-nav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 80px 0 48px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .channels {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages {
        grid-template-columns: 1fr;
    }

    .support {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .download-card-inner {
        flex-direction: column;
        text-align: center;
    }

    .download-meta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .version-item {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .version-info {
        flex-direction: column;
    }

    .version-meta {
        flex-direction: column;
        gap: 8px;
    }
}
