:root {
    --primary: #2ecc71;
    --primary-dark: #27ae60;
    --secondary: #3498db;
    --accent: #e74c3c;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --gray: #6c757d;
    --light: #f8f9fa;
    --white: #ffffff;
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --gradient-hero: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.25);
    
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--gradient-dark);
    overflow-x: hidden;
}

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

/* 字体排版 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.github-link {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.github-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* 主页横幅区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-visual {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(46, 204, 113, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
}

/* 区域标题 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* 演示区域 */
.demo-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.video-container iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* 功能特性区域 */
.features-section {
    padding: 6rem 0;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}



.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(46, 204, 113, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-card p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.feature-list li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* 截图展示区域 */
.screenshots-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.screenshot-row {
    display: flex;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.screenshot-row:last-child {
    margin-bottom: 0;
}

.screenshot-row.reverse {
    flex-direction: row-reverse;
}

.screenshot-image,
.screenshot-content {
    flex: 1;
}

.screenshot-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.screenshot-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.screenshot-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.screenshot-content {
    padding: 1rem;
}

.screenshot-content h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.screenshot-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.feature-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-highlights li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.feature-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* 下载区域 */
.download-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.download-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}



.download-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
}

.card-title h3 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.card-title span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.card-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* 关于区域 */
.about-section {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.stat-content h4 {
    margin-bottom: 0.25rem;
    color: var(--white);
}

.stat-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* 页脚 */
.main-footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
}

.brand-info h3 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.brand-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info p {
    margin: 0.25rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-dark);
}

.separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-lang {
    color: var(--white);
    font-weight: 500;
}

/* 语言切换器样式 */
.language-selector {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.lang-switch {
    color: var(--text-color);
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-switch:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.lang-switch.active {
    background-color: var(--primary);
    color: var(--white);
    font-weight: bold;
}

.language-selector span {
    color: var(--text-color);
    margin: 0 5px;
}

/* 大屏幕优化 */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .nav-container {
        max-width: 1400px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-content {
        max-width: 1400px;
        margin: 0 auto;
        gap: 6rem;
    }
    
    .nav-container {
        max-width: 1600px;
    }
    
    .title-main {
        font-size: 4.5rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }
    
    .hero-content {
        max-width: 1600px;
        margin: 0 auto;
        gap: 8rem;
    }
    
    .nav-container {
        max-width: 1800px;
    }
    
    .title-main {
        font-size: 5rem;
    }
    
    .hero-description {
        font-size: 1.4rem;
    }
    
    .section-header h2 {
        font-size: 3.5rem;
    }
}

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: var(--transition);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-row {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .screenshot-row.reverse {
        flex-direction: column;
    }
    
    .screenshot-content {
        order: 2;
    }
    
    .screenshot-image {
        order: 1;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .download-buttons {
        flex-direction: column;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 滚动动画 */
.hero {
    animation: fadeInUp 1s ease-out;
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.screenshot-image {
    animation: fadeInUp 0.6s ease-out;
}

/* 锚点链接平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 下载页面专用样式 */
.download-container {
    margin-top: 100px;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.version-card {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid transparent;
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    max-width: 800px;
    transition: var(--transition);
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.version-card:first-child {
    border-color: transparent;
}

.version-card:first-child:hover {
    border-color: #f1c40f;
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.2);
}

.version-card:last-child {
    border-color: transparent;
}

.version-card:last-child:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.version-name {
    font-size: 1.5rem;
    color: var(--primary);
}

.version-date {
    color: rgba(255, 255, 255, 0.6);
}

.version-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.version-tag.stable {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.version-tag.preview {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.preview-btn {
    background: #f1c40f !important;
}

.preview-btn:hover {
    background: #f39c12 !important;
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3) !important;
}

.changelog {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.changelog ul {
    list-style: none;
    margin-top: 0.5rem;
}

.changelog li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.changelog li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.changelog-image {
    margin: 1rem 0;
}

.changelog-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 0.5rem 0;
}

/* 下载页面浅色主题调整 */
[data-theme="light"] .version-card {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .version-date,
[data-theme="light"] .changelog {
    color: #475569;
}

/* dl.html 页面专用样式 */
.dl-page {
    --primary: #2ecc71;
    --secondary: #27ae60;
    --preview-primary: #f1c40f;
    --preview-secondary: #f39c12;
    --glass-dark: rgba(16, 24, 39, 0.9);
    --glass-light: rgba(255, 255, 255, 0.15);
    --gradient-dark: linear-gradient(152deg, #1a1e2c 0%, #2d3250 100%);
    --gradient-light: linear-gradient(152deg, #f0f4f8 0%, #e2e8f0 100%);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
    --transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.dl-page body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
}

.dl-page .download-container {
    margin-top: 100px;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.dl-page .version-card {
    background: var(--glass-dark);
    backdrop-filter: blur(8px);
    border: 1px solid transparent;
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    max-width: 800px;
    transition: var(--transition);
}

.dl-page .version-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dl-page .version-card:first-child:hover {
    border-color: var(--preview-primary);
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.2);
}

.dl-page .version-card:last-child:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.dl-page .version-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dl-page .version-name {
    font-size: 1.5rem;
    color: #ffffff;
}

.dl-page .version-date {
    color: rgba(255, 255, 255, 0.6);
}

.dl-page .version-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.dl-page .version-tag.stable {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.dl-page .version-tag.preview {
    background: rgba(241, 196, 15, 0.2);
    color: var(--preview-primary);
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.dl-page .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.dl-page .download-btn:hover {
    transform: translateY(-2px);
    background: var(--secondary);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.dl-page .download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.dl-page .download-option {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.dl-page .download-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.dl-page .download-option h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.dl-page .download-mirrors {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dl-page .mirror-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--glass-light);
    color: #e2e8f0;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

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

.dl-page .mirror-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.dl-page .historical-versions-container {
    padding: 2rem;
    text-align: center;
    background: var(--glass-dark);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    margin: 2rem auto;
    max-width: 800px;
    border: 1px solid transparent;
}

.dl-page .historical-versions-container h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.dl-page .historical-versions-container ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.dl-page .historical-versions-container li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .dl-page .download-grid {
        grid-template-columns: 1fr;
    }
}

[data-theme="light"] .dl-page .version-card,
[data-theme="light"] .dl-page .download-option {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .dl-page .mirror-btn {
    background: rgba(0, 0, 0, 0.05);
    color: #1e293b;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .dl-page .mirror-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .dl-page .historical-versions-container {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}