/* ============================================
   CSS 变量定义
============================================ */

:root {
    /* 主色调 */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: rgba(37, 99, 235, 0.08);
    --secondary: #f59e0b;
    --accent: #7c3aed;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* 中性色调 */
    --dark: #1e293b;
    --darker: #0f172a;
    --light: #f8fafc;
    --light-gray: #f1f5f9;
    --text: #334155;
    --text-light: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
    --black: #000000;
    
    /* 阴影效果 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* 过渡效果 */
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    
    /* 字体大小 */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* 间距 */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
}

/* ============================================
   基础样式重置
============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================
   排版样式
============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    color: var(--darker);
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

p {
    margin-bottom: var(--space-4);
    line-height: 1.7;
}

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

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

.text-large {
    font-size: var(--text-lg);
}

.text-small {
    font-size: var(--text-sm);
}

.text-xs {
    font-size: var(--text-xs);
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   布局样式
============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-16) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--darker);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 1.5px;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   按钮样式
============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-base);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: var(--space-2);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-small {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

/* ============================================
   头部样式
============================================ */

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-2xl);
    font-weight: 700;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    gap: var(--space-8);
}

.nav-link {
    font-weight: 500;
    color: var(--text);
    font-size: var(--text-sm);
    position: relative;
    padding: var(--space-1) 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 1px;
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

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

.nav-link.active::after {
    width: 100%;
}

/* ============================================
   首页特有样式
============================================ */

/* 英雄区域 */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-5);
    line-height: 1.2;
}

.hero-text p {
    font-size: var(--text-lg);
    color: var(--text-light);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-10);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-top: var(--space-1);
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.hero-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 核心优势 */
.advantages {
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.advantage-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-7);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(124, 58, 237, 0.08) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    font-size: var(--text-2xl);
    color: var(--primary);
}

.advantage-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.advantage-card p {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-bottom: 0;
}

/* 技术特点 */
.features {
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.feature-item {
    text-align: center;
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.feature-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--space-4);
}

.feature-item h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.feature-item p {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-bottom: 0;
}

/* 工作原理 */
.how-it-works {
    background: var(--white);
}

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

.step {
    display: flex;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    align-items: center;
}

.step-number {
    min-width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.step-content p {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-bottom: 0;
}

/* 使用场景 */
.use-cases {
    background: var(--light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.case-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.case-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(124, 58, 237, 0.08) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    font-size: var(--text-2xl);
    color: var(--primary);
}

.case-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.case-card p {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-bottom: var(--space-4);
}

.case-features {
    list-style: none;
    margin-top: var(--space-4);
}

.case-features li {
    font-size: var(--text-sm);
    color: var(--text-light);
    padding: var(--space-1) 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.case-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

/* 下载区域 */
.download-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--space-16) 0;
}

.download-content {
    max-width: 700px;
    margin: 0 auto;
}

.download-content h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
    color: var(--white);
}

.download-content p {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.platform-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    transition: var(--transition);
}

.platform-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* FAQ区域 */
.faq-section {
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: var(--space-5) var(--space-6);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--dark);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-answer {
    padding: 0 var(--space-6);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
    line-height: 1.6;
    font-size: var(--text-sm);
}

.faq-answer.active {
    padding: 0 var(--space-6) var(--space-5);
    max-height: 500px;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: var(--text-base);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    background: var(--primary);
    color: var(--white);
    transform: rotate(45deg);
}

/* ============================================
   下载页面特有样式
============================================ */

/* 下载页面英雄区域 */
.download-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.download-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    color: var(--white);
}

.download-hero-content .subtitle {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-6);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.version-info {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
    flex-wrap: wrap;
}

.version-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-2) var(--space-4);
    border-radius: 20px;
    font-size: var(--text-sm);
    font-weight: 600;
}

.version-date {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-2) var(--space-4);
    border-radius: 20px;
    font-size: var(--text-sm);
}

/* 平台选择区域 */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
}

.platform-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.platform-icon {
    margin-bottom: var(--space-6);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
}

.icon-wrapper.windows {
    background: linear-gradient(135deg, #0078d7 0%, #005a9e 100%);
    color: var(--white);
}

.icon-wrapper.mac {
    background: linear-gradient(135deg, #999999 0%, #666666 100%);
    color: var(--white);
}

.icon-wrapper.android {
    background: linear-gradient(135deg, #3ddc84 0%, #34a853 100%);
    color: var(--white);
}

.icon-wrapper.ios {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: var(--white);
}

.icon-wrapper.linux {
    background: linear-gradient(135deg, #fbbd08 0%, #f2711c 100%);
    color: var(--white);
}

.icon-wrapper.extension {
    background: linear-gradient(135deg, #4285f4 0%, #0d47a1 100%);
    color: var(--white);
}

.platform-card h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.platform-desc {
    color: var(--text-light);
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
}

.platform-details {
    background: var(--light-gray);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-bottom: var(--space-6);
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--border);
}

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

.detail-label {
    font-weight: 500;
    color: var(--text);
}

.detail-value {
    color: var(--text-light);
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: auto;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.btn-icon {
    font-size: var(--text-xl);
}

/* 安装指南 */
.install-guide {
    padding: var(--space-16) 0;
    background: var(--white);
}

.guide-tabs {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: var(--space-3) var(--space-6);
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.guide-tab-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.guide-tab-content.active {
    display: block;
}

.guide-tab-content h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-6);
    text-align: center;
}

.guide-tab-content .steps {
    margin-bottom: var(--space-8);
}

.guide-tab-content .step {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    align-items: flex-start;
}

.guide-tab-content .step-number {
    min-width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.guide-tab-content .step-content h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.guide-tab-content .step-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.troubleshooting {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-top: var(--space-8);
}

.troubleshooting h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
}

.troubleshooting ul {
    list-style: none;
}

.troubleshooting li {
    padding: var(--space-2) 0;
    color: var(--text-light);
}

.troubleshooting strong {
    color: var(--text);
}

/* 系统要求 */
.system-requirements {
    padding: var(--space-16) 0;
    background: var(--light);
}

.requirements-table {
    overflow-x: auto;
}

.requirements-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.requirements-table th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--space-4);
    text-align: left;
    font-weight: 600;
}

.requirements-table td {
    padding: var(--space-4);
    border-bottom: 1px solid var(--border);
}

.requirements-table tr:last-child td {
    border-bottom: none;
}

.requirements-table tr:nth-child(even) {
    background: var(--light-gray);
}

/* 版本历史 */
.version-history {
    padding: var(--space-16) 0;
    background: var(--white);
}

.version-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.version-item {
    border-left: 2px solid var(--border);
    padding-left: var(--space-8);
    padding-bottom: var(--space-8);
    position: relative;
}

.version-item:last-child {
    padding-bottom: 0;
}

.version-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}

.version-item.current::before {
    background: var(--accent);
    width: 16px;
    height: 16px;
    left: -9px;
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-4);
}

.version-header h3 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xl);
}

.version-badge.current-badge {
    background: var(--accent);
    color: var(--white);
    padding: var(--space-1) var(--space-3);
    border-radius: 12px;
    font-size: var(--text-xs);
    font-weight: 600;
}

.version-date {
    color: var(--text-light);
    font-size: var(--text-sm);
}

.version-changes h4 {
    font-size: var(--text-base);
    margin: var(--space-4) 0 var(--space-2);
    color: var(--dark);
}

.version-changes ul {
    list-style: none;
    margin-bottom: var(--space-4);
}

.version-changes li {
    padding: var(--space-1) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--space-5);
}

.version-changes li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.archive-link {
    text-align: center;
    margin-top: var(--space-8);
}

/* ============================================
   页脚样式
============================================ */

.footer {
    background: var(--darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

.footer-column h3 {
    color: var(--white);
    font-size: var(--text-lg);
    margin-bottom: var(--space-5);
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 1px;
}

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

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-xs);
}

/* ============================================
   动画效果
============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* ============================================
   工具类
============================================ */

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }

.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.p-10 { padding: var(--space-10); }

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.grid {
    display: grid;
}

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.hidden {
    display: none;
}

.block {
    display: block;
}

/* ============================================
   响应式设计
============================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: var(--text-4xl);
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-12) 0;
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .header-container {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .nav {
        gap: var(--space-6);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-text h1 {
        font-size: var(--text-3xl);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .step {
        flex-direction: column;
        gap: var(--space-6);
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .guide-tab-content .step {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .version-header {
        flex-direction: column;
        gap: var(--space-2);
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero-text h1 {
        font-size: var(--text-2xl);
    }
    
    .btn {
        width: 100%;
    }
    
    .platform-badges {
        gap: var(--space-2);
    }
    
    .platform-badge {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-xs);
    }
    
    .download-hero-content h1 {
        font-size: var(--text-3xl);
    }
    
    .download-hero {
        padding: 80px 0 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* 打印样式 */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .download-options,
    .guide-tabs {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .section {
        padding: 20pt 0;
    }
    
    a {
        color: var(--black) !important;
        text-decoration: underline;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: var(--black) !important;
    }
}