/* ==========================================================================
   CSS重置和基础样式
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 颜色变量 */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #8b5cf6;
    --accent-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    
    /* 文本颜色 */
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    
    /* 背景颜色 */
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --bg-dark: #111827;
    
    /* 边框颜色 */
    --border-color: #e5e7eb;
    --border-dark: #d1d5db;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* 圆角 */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* 间距 */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* 字体大小 */
    --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;
    
    /* 过渡动画 */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ==========================================================================
   排版
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

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-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

li {
    margin-bottom: var(--space-xs);
}

/* ==========================================================================
   导航栏
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    padding: var(--space-sm) 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--text-primary);
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--space-xs) 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: var(--radius-full);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: var(--radius-full);
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* ==========================================================================
   英雄区域
   ========================================================================== */
.hero {
    padding: calc(var(--space-2xl) * 2) 0 var(--space-2xl);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
    margin-top: 60px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-content h1 {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--text-base);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-align: center;
    min-width: 160px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stats {
    display: flex;
    gap: var(--space-xl);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform var(--transition-normal);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* ==========================================================================
   新闻展示区
   ========================================================================== */
.news-preview {
    padding: var(--space-2xl) 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-sm);
}

.highlight {
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--text-base);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.view-all-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-image-container img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-date {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    background-color: rgba(0, 0, 0, 0.75);
    color: var(--text-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
}

.news-content {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    line-height: 1.3;
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    flex: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
}

.news-category {
    background-color: var(--bg-gray);
    color: var(--text-secondary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 500;
}

.news-read-time {
    color: var(--text-light);
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--transition-normal);
    margin-top: auto;
}

.news-link:hover {
    color: var(--primary-dark);
    gap: var(--space-md);
}

.featured-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    color: var(--text-white);
    margin-top: var(--space-2xl);
}

.featured-content h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
    color: var(--text-white);
}

.featured-content p {
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    line-height: 1.6;
    font-size: var(--text-lg);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border: 2px solid var(--text-white);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--transition-normal);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   功能特性
   ========================================================================== */
.features {
    padding: var(--space-2xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.feature-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   SEO内容区域
   ========================================================================== */
.seo-content {
    padding: var(--space-2xl) 0;
    background-color: var(--bg-gray);
}

.seo-article {
    background: var(--bg-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.seo-article h2 {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

.seo-article h3 {
    color: var(--text-primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--border-color);
}

.seo-article ul {
    margin-bottom: var(--space-xl);
}

.seo-article li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-sm);
    position: relative;
}

.seo-article li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.footer-section .logo {
    color: var(--text-white);
    margin-bottom: var(--space-md);
}

.footer-section p {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-section h4 {
    color: var(--text-white);
    margin-bottom: var(--space-lg);
    font-size: var(--text-lg);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
    font-size: var(--text-sm);
}

.footer-bottom p {
    margin-bottom: var(--space-xs);
    color: var(--text-light);
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--text-light);
    margin: 0 var(--space-xs);
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

/* ==========================================================================
   回到顶部按钮
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ==========================================================================
   响应式设计
   ========================================================================== */
@media (max-width: 1024px) {
    .hero .container {
        gap: var(--space-xl);
    }
    
    .hero-content h1 {
        font-size: var(--text-4xl);
    }
    
    .stats {
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 0 var(--space-md);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: var(--space-lg);
        gap: 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: var(--space-md);
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: var(--text-3xl);
    }
    
    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-news {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .back-to-top {
        bottom: var(--space-md);
        right: var(--space-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-content h1 {
        font-size: var(--text-2xl);
    }
    
    .subtitle {
        font-size: var(--text-base);
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-width: auto;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .stat-number {
        font-size: var(--text-2xl);
    }
    
    .section-header h2 {
        font-size: var(--text-2xl);
    }
}

/* ==========================================================================
   动画效果
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* ==========================================================================
   加载状态
   ========================================================================== */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ==========================================================================
   下载页面专用样式
   ========================================================================== */

/* 页面标题 */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    margin-top: 60px;
    text-align: center;
}

.page-header h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.page-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--text-primary);
    font-weight: 500;
}

/* 平台选择器 */
.platform-selector {
    padding: var(--space-xl) 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.platform-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.platform-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--text-secondary);
    min-width: 120px;
}

.platform-tab:hover {
    border-color: var(--primary-light);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.platform-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.platform-tab svg {
    width: 24px;
    height: 24px;
}

.platform-tab span {
    font-weight: 600;
    font-size: var(--text-sm);
}

/* 下载内容区域 */
.download-content {
    padding: var(--space-2xl) 0;
}

.platform-download {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    animation: fadeIn 0.5s ease;
}

.platform-download.active {
    display: grid;
}

.platform-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.platform-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-white);
}

.platform-header h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xs);
}

.version {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.requirements {
    display: flex;
    gap: var(--space-lg);
    font-size: var(--text-sm);
}

.requirement {
    color: var(--text-light);
}

/* 下载按钮 */
.download-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    min-width: 180px;
    text-align: center;
}

.download-btn.primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.download-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.download-btn.secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.download-btn.secondary:hover {
    background: var(--primary-light);
    color: var(--text-white);
    transform: translateY(-2px);
}

.download-btn.app-store {
    background: #000000;
    color: var(--text-white);
}

.download-btn.app-store:hover {
    background: #333333;
    transform: translateY(-2px);
}

.download-btn.play-store {
    background: #4285F4;
    color: var(--text-white);
}

.download-btn.play-store:hover {
    background: #3367D6;
    transform: translateY(-2px);
}

.download-btn svg {
    width: 20px;
    height: 20px;
}

/* 功能列表 */
.features-list h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--text-secondary);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* 截图区域 */
.screenshot {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.screenshot:hover img {
    transform: scale(1.05);
}

/* 安装指南 */
.installation-guide {
    padding: var(--space-2xl) 0;
    background-color: var(--bg-light);
}

.installation-guide h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.step {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: bold;
    margin: 0 auto var(--space-lg);
}

.step h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.step p {
    color: var(--text-secondary);
}

/* 安全验证 */
.security-verification {
    padding: var(--space-2xl) 0;
}

.security-verification h2 {
    text-align: center;
    margin-bottom: var(--space-md);
}

.verification-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.verification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.verification-item {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.verification-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    font-size: var(--text-lg);
}

.hash-info {
    font-family: 'Courier New', monospace;
    font-size: var(--text-sm);
    line-height: 1.6;
}

.hash-info p {
    margin-bottom: var(--space-sm);
    word-break: break-all;
}

.hash-info strong {
    color: var(--text-primary);
    min-width: 80px;
    display: inline-block;
}

.verification-tip {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--warning-color);
}

.verification-tip svg {
    color: var(--warning-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.verification-tip p {
    margin: 0;
    color: var(--text-primary);
}

/* 常见问题 */
.faq-section {
    padding: var(--space-2xl) 0;
    background-color: var(--bg-light);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: var(--space-xl);
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--bg-gray);
}

.faq-question svg {
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 var(--space-xl);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    margin-bottom: var(--space-md);
}

.faq-answer ul,
.faq-answer ol {
    padding-left: var(--space-xl);
}

.faq-answer li {
    margin-bottom: var(--space-sm);
}

/* 二维码模态框 */
.qr-code-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.qr-code-modal.active {
    opacity: 1;
    visibility: visible;
}

.qr-content {
    background: var(--bg-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-xl);
}

.qr-content h3 {
    margin-bottom: var(--space-lg);
}

.qr-image {
    margin: var(--space-xl) 0;
    padding: var(--space-md);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    display: inline-block;
    border: 1px solid var(--border-color);
}

.qr-image img {
    width: 200px;
    height: 200px;
}

.close-qr {
    margin-top: var(--space-xl);
    padding: var(--space-sm) var(--space-xl);
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: background-color var(--transition-fast);
}

.close-qr:hover {
    background: var(--primary-dark);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .platform-download {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .screenshot {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: var(--text-3xl);
    }
    
    .platform-tabs {
        flex-wrap: wrap;
    }
    
    .platform-tab {
        min-width: calc(50% - var(--space-sm));
    }
    
    .download-actions {
        flex-direction: column;
    }
    
    .download-btn {
        width: 100%;
    }
    
    .requirements {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .verification-tip {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .platform-tab {
        min-width: 100%;
    }
    
    .guide-steps {
        grid-template-columns: 1fr;
    }
    
    .verification-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   基础样式和通用组件（保持不变）
   ========================================================================== */
/* ... 原有的基础样式、导航、按钮、页脚等 ... */

/* ==========================================================================
   新增：页面通用组件
   ========================================================================== */

/* 面包屑导航 - 通用样式 */
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--text-primary);
    font-weight: 500;
}

/* 页面标题区域 - 通用样式 */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    margin-top: 60px;
    text-align: center;
}

.page-header h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.page-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   下载页面特定样式
   ========================================================================== */

/* 下载页面特定标题样式 */
body[class*="download"] .page-header {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

/* 平台选择器 */
.platform-selector {
    padding: var(--space-xl) 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.platform-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.platform-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--text-secondary);
    min-width: 120px;
}

.platform-tab:hover {
    border-color: var(--primary-light);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.platform-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.platform-tab svg {
    width: 24px;
    height: 24px;
}

.platform-tab span {
    font-weight: 600;
    font-size: var(--text-sm);
}

/* 下载内容区域 */
.download-content {
    padding: var(--space-2xl) 0;
}

.platform-download {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    animation: fadeIn 0.5s ease;
}

.platform-download.active {
    display: grid;
}

.platform-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.platform-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-white);
}

.platform-header h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xs);
}

.version {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.requirements {
    display: flex;
    gap: var(--space-lg);
    font-size: var(--text-sm);
}

.requirement {
    color: var(--text-light);
}

/* 下载按钮 */
.download-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    min-width: 180px;
    text-align: center;
}

.download-btn.primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.download-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.download-btn.secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.download-btn.secondary:hover {
    background: var(--primary-light);
    color: var(--text-white);
    transform: translateY(-2px);
}

.download-btn.app-store {
    background: #000000;
    color: var(--text-white);
}

.download-btn.app-store:hover {
    background: #333333;
    transform: translateY(-2px);
}

.download-btn.play-store {
    background: #4285F4;
    color: var(--text-white);
}

.download-btn.play-store:hover {
    background: #3367D6;
    transform: translateY(-2px);
}

.download-btn svg {
    width: 20px;
    height: 20px;
}

/* 功能列表 */
.features-list h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--text-secondary);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* 截图区域 */
.screenshot {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.screenshot:hover img {
    transform: scale(1.05);
}

/* 安装指南 */
.installation-guide {
    padding: var(--space-2xl) 0;
    background-color: var(--bg-light);
}

.installation-guide h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.step {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: bold;
    margin: 0 auto var(--space-lg);
}

.step h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.step p {
    color: var(--text-secondary);
}

/* 安全验证 */
.security-verification {
    padding: var(--space-2xl) 0;
}

.security-verification h2 {
    text-align: center;
    margin-bottom: var(--space-md);
}

.verification-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.verification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.verification-item {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.verification-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    font-size: var(--text-lg);
}

.hash-info {
    font-family: 'Courier New', monospace;
    font-size: var(--text-sm);
    line-height: 1.6;
}

.hash-info p {
    margin-bottom: var(--space-sm);
    word-break: break-all;
}

.hash-info strong {
    color: var(--text-primary);
    min-width: 80px;
    display: inline-block;
}

.verification-tip {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--warning-color);
}

.verification-tip svg {
    color: var(--warning-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.verification-tip p {
    margin: 0;
    color: var(--text-primary);
}

/* 下载页面常见问题 */
.download-faq-section {
    padding: var(--space-2xl) 0;
    background-color: var(--bg-light);
}

.download-faq-section h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: var(--space-xl);
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--bg-gray);
}

.faq-question svg {
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 var(--space-xl);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    margin-bottom: var(--space-md);
}

.faq-answer ul,
.faq-answer ol {
    padding-left: var(--space-xl);
}

.faq-answer li {
    margin-bottom: var(--space-sm);
}

/* 二维码模态框 */
.qr-code-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.qr-code-modal.active {
    opacity: 1;
    visibility: visible;
}

.qr-content {
    background: var(--bg-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-xl);
}

.qr-content h3 {
    margin-bottom: var(--space-lg);
}

.qr-image {
    margin: var(--space-xl) 0;
    padding: var(--space-md);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    display: inline-block;
    border: 1px solid var(--border-color);
}

.qr-image img {
    width: 200px;
    height: 200px;
}

.close-qr {
    margin-top: var(--space-xl);
    padding: var(--space-sm) var(--space-xl);
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: background-color var(--transition-fast);
}

.close-qr:hover {
    background: var(--primary-dark);
}

/* ==========================================================================
   教程页面特定样式
   ========================================================================== */

/* 教程页面特定标题样式 */
body[class*="tutorial"] .page-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

body[class*="tutorial"] .page-header h1 {
    color: white;
}

body[class*="tutorial"] .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* 教程元信息 */
.tutorial-meta {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.meta-item svg {
    width: 18px;
    height: 18px;
}

/* 教程导航 */
.tutorial-nav {
    position: sticky;
    top: 60px;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
}

.tutorial-sidebar {
    position: relative;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

.sidebar-header h3 {
    margin: 0;
    font-size: var(--text-lg);
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.sidebar-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
}

.sidebar-toggle.active svg {
    transform: rotate(90deg);
}

.toc {
    padding: var(--space-md) 0;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc li {
    margin-bottom: var(--space-xs);
}

.toc-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: 500;
}

.toc-link:hover {
    color: var(--primary-color);
    background: var(--bg-gray);
}

.toc-link.active {
    color: var(--primary-color);
    background: var(--bg-light);
    border-left: 3px solid var(--primary-color);
}

/* 教程内容布局 */
.tutorial-content .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-2xl);
}

/* 教程章节 */
.tutorial-section {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--border-color);
}

.tutorial-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tutorial-section h2 {
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-left: var(--space-lg);
}

.tutorial-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

.section-intro {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

/* 教程示例 */
.tutorial-example {
    background: var(--bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.example-steps {
    margin: var(--space-xl) 0;
}

.example-step {
    margin-bottom: var(--space-xl);
}

.demo-image {
    margin: var(--space-md) 0;
}

.demo-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* 视频教程 */
.video-container {
    max-width: 600px;
    margin: 0 auto;
}

.video-placeholder {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.play-button svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    margin-left: 5px;
}

.video-placeholder:hover .play-button {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* 高级功能网格 */
.advanced-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.advanced-feature {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.feature-demo {
    margin: var(--space-md) 0;
}

.feature-demo img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* Gas费跟踪 */
.gas-tracker {
    background: var(--bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.gas-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.gas-level {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.level-indicator {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
}

.level-indicator.low {
    background: var(--accent-color);
}

.level-indicator.medium {
    background: var(--warning-color);
}

.level-indicator.high {
    background: var(--danger-color);
}

.level-info h4 {
    margin-bottom: var(--space-xs);
}

.level-info p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.gas-tip {
    background: #fef3c7;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
}

/* 安全清单 */
.security-checklist {
    margin: var(--space-xl) 0;
}

.security-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-md);
    border-radius: var(--radius-lg);
    align-items: start;
}

.security-item.critical {
    background: #fee2e2;
    border-left: 4px solid var(--danger-color);
}

.security-item.important {
    background: #fef3c7;
    border-left: 4px solid var(--warning-color);
}

.security-item.warning {
    background: #fef3c7;
    border-left: 4px solid var(--warning-color);
}

.security-item.good {
    background: #d1fae5;
    border-left: 4px solid var(--accent-color);
}

.security-icon {
    font-size: 1.5rem;
    margin-top: 2px;
}

/* 教程FAQ */
.tutorial-faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

/* 练习区域 */
.practice-exercises {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.exercise {
    background: var(--bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.exercise-steps p {
    margin: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
}

.exercise-steps p::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 测验 */
.quiz-form {
    max-width: 600px;
    margin: 0 auto;
}

.quiz-question {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
}

.quiz-question:last-child {
    margin-bottom: var(--space-lg);
    padding-bottom: 0;
    border-bottom: none;
}

.quiz-options {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.quiz-options label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.quiz-options label:hover {
    background: var(--border-color);
}

.quiz-options input[type="radio"] {
    width: 18px;
    height: 18px;
}

/* 教程侧边栏 */
.tutorial-progress {
    position: sticky;
    top: 100px;
}

.progress-container {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
}

.progress-bar {
    height: 8px;
    background: var(--bg-gray);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 0.5s ease;
}

/* ==========================================================================
   响应式设计
   ========================================================================== */

/* 通用响应式 */
@media (max-width: 1024px) {
    .tutorial-content .container {
        grid-template-columns: 1fr;
    }
    
    .tutorial-progress {
        position: static;
        margin-top: var(--space-xl);
    }
    
    .platform-download {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .screenshot {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: block;
    }
    
    .toc {
        display: none;
    }
    
    .tutorial-sidebar.active .toc {
        display: block;
    }
    
    .platform-tabs {
        flex-wrap: wrap;
    }
    
    .platform-tab {
        min-width: calc(50% - var(--space-sm));
    }
    
    .download-actions {
        flex-direction: column;
    }
    
    .download-btn {
        width: 100%;
    }
    
    .requirements {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .verification-tip {
        flex-direction: column;
        text-align: center;
    }
    
    .tutorial-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .advanced-features-grid {
        grid-template-columns: 1fr;
    }
    
    .practice-exercises {
        grid-template-columns: 1fr;
    }
    
    .gas-levels {
        grid-template-columns: 1fr;
    }
    
    .security-item {
        grid-template-columns: 1fr;
    }
    
    .security-icon {
        margin-bottom: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: var(--text-3xl);
    }
    
    .platform-tab {
        min-width: 100%;
    }
    
    .guide-steps {
        grid-template-columns: 1fr;
    }
    
    .verification-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorial-header h1 {
        font-size: var(--text-2xl);
    }
}

/* ==========================================================================
   动画效果
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ==========================================================================
   教程页面样式
   ========================================================================== */

/* 教程元信息 */
.tutorial-meta {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.meta-item svg {
    width: 18px;
    height: 18px;
}

/* 教程内容布局 */
.tutorial-content {
    padding: var(--space-2xl) 0;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-2xl);
}

.tutorial-main {
    max-width: 800px;
}

/* 教程章节 */
.tutorial-section {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
}

.tutorial-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tutorial-section h2 {
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    font-size: var(--text-2xl);
}

/* 功能卡片 */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.feature-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* 步骤指导 */
.steps {
    margin: var(--space-xl) 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
}

.step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
}

/* 高级功能网格 */
.advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.advanced-item {
    background: var(--bg-light);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.advanced-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.advanced-item p {
    color: var(--text-secondary);
}

/* 安全提示 */
.security-tips {
    display: grid;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.tip-item {
    background: #fef3c7;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--warning-color);
}

.tip-item h3 {
    margin-bottom: var(--space-sm);
    color: var(--warning-color);
}

.tip-item p {
    color: var(--text-secondary);
}

/* FAQ */
.faq {
    margin: var(--space-xl) 0;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: var(--space-lg);
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--bg-gray);
}

.faq-question svg {
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 var(--space-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer p {
    padding-bottom: var(--space-lg);
}

/* 侧边栏 */
.tutorial-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
}

.sidebar-section h3 {
    margin-bottom: var(--space-lg);
    font-size: var(--text-lg);
}

.toc {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toc-link {
    padding: var(--space-sm);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.toc-link:hover {
    color: var(--primary-color);
    background: var(--bg-gray);
}

.toc-link.active {
    color: var(--primary-color);
    background: var(--bg-light);
    font-weight: 500;
}

/* 进度条 */
.progress-bar {
    height: 8px;
    background: var(--bg-gray);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 0.5s ease;
}

#progressText {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* 资源列表 */
.resources {
    list-style: none;
    padding: 0;
}

.resources li {
    margin-bottom: var(--space-sm);
}

.resources a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.resources a:hover {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .tutorial-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorial-sidebar {
        position: static;
        margin-top: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .advanced-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorial-meta {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .step {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .step-number {
        align-self: flex-start;
    }
}

/* ==========================================================================
   新闻页面样式
   ========================================================================== */

/* 新闻页面头部 */
.news-header {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    text-align: center;
}

.news-header h1 {
    color: white;
    margin-bottom: 15px;
}

.news-header .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 新闻轮播 */
.news-slider {
    padding: 30px 0;
    background: var(--bg-light);
}

.slider-container {
    position: relative;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.slide {
    display: none;
    padding: 40px;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.slide.active {
    display: grid;
}

.slide-content {
    padding-right: 20px;
}

.slide-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.slide h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.slide p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.slide-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    gap: 8px;
}

.slide-link:hover {
    gap: 12px;
}

.slide-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.slide-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
}

/* 新闻内容布局 */
.news-content {
    padding: 60px 0;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.news-main {
    max-width: 800px;
}

/* 新闻列表 */
.section-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.news-item.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-item.featured .news-image {
    height: 300px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-info {
    padding: 25px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.news-date {
    color: var(--text-light);
}

.news-category {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.news-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-item.featured .news-title {
    font-size: 1.6rem;
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.news-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.news-tags span {
    background: var(--bg-gray);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 8px;
}

/* 分页 */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination-btn.next {
    width: auto;
    padding: 0 20px;
}

/* 侧边栏 */
.news-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

/* 分类筛选 */
.categories ul {
    list-style: none;
    padding: 0;
}

.categories li {
    margin-bottom: 10px;
}

.categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.categories a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.categories a.active {
    background: var(--primary-color);
    color: white;
}

.categories a span {
    background: var(--bg-gray);
    color: var(--text-secondary);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.categories a.active span {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* 热门新闻 */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.popular-item:hover {
    background: var(--border-color);
    transform: translateX(5px);
}

.popular-rank {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.popular-content h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    line-height: 1.3;
}

.popular-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* 归档 */
.archive-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.archive-year h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

.archive-months {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.archive-months a {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-light);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.archive-months a:hover {
    background: var(--primary-color);
    color: white;
}

/* 订阅表单 */
.subscribe p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subscribe-form input {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.subscribe-form button {
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-form button:hover {
    background: var(--primary-dark);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .news-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-sidebar {
        position: static;
        margin-top: 30px;
    }
    
    .slide {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }
    
    .slide-content {
        padding-right: 0;
        order: 2;
    }
    
    .slide-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    .news-header {
        padding: 80px 0 40px;
    }
    
    .news-header h1 {
        font-size: 2rem;
    }
    
    .slide h2 {
        font-size: 1.8rem;
    }
    
    .news-content {
        padding: 40px 0;
    }
    
    .news-item.featured .news-image {
        height: 200px;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    .news-item.featured .news-title {
        font-size: 1.4rem;
    }
    
    .news-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .news-tags {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .slide {
        padding: 20px;
    }
    
    .slide h2 {
        font-size: 1.5rem;
    }
    
    .slider-controls {
        position: static;
        justify-content: center;
        margin-top: 20px;
    }
    
    .news-pagination {
        flex-wrap: wrap;
    }
    
    .news-info {
        padding: 20px;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ==========================================================================
   市场分析页面样式
   ========================================================================== */

/* 市场分析页面头部 */
.market-header {
    padding: 100px 0 40px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.market-header h1 {
    color: white;
    margin-bottom: 15px;
    font-size: 2.8rem;
}

.market-header .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* 市场概览 */
.market-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.overview-item {
    text-align: center;
}

.overview-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.overview-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.change {
    font-size: 0.9rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.change.positive {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.change.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.change.neutral {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

.greed {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 实时市场数据 */
.market-data {
    padding: 60px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.data-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.data-card:hover {
    transform: translateY(-5px);
}

.data-card h3 {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 1.4rem;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

/* 数据表格 */
.data-table {
    overflow-x: auto;
}

.data-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.data-row.header {
    font-weight: 600;
    color: var(--text-secondary);
    padding-bottom: 20px;
    border-bottom-width: 2px;
}

.data-row:last-child {
    border-bottom: none;
}

.data-row.selected {
    background: var(--bg-light);
    border-radius: 8px;
    margin: 0 -10px;
    padding: 15px 10px;
}

.coin {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.coin img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* 市场情绪指标 */
.sentiment-metrics {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-label {
    color: var(--text-secondary);
    font-weight: 500;
    flex: 1;
}

.metric-value {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 2;
}

.gauge {
    flex: 1;
    height: 10px;
    background: var(--bg-gray);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.gauge-fill {
    height: 100%;
    background: linear-gradient(to right, #ef4444, #eab308, #22c55e);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.score {
    min-width: 80px;
    text-align: right;
    font-weight: 600;
    color: var(--text-primary);
}

.score .extreme-fear { color: #dc2626; }
.score .fear { color: #ea580c; }
.score .neutral { color: #ca8a04; }
.score .greed { color: #16a34a; }
.score .extreme-greed { color: #059669; }

.metric-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 情绪趋势图表 */
.sentiment-trend {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.sentiment-trend h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.trend-chart {
    position: relative;
    height: 120px;
    background: var(--bg-light);
    border-radius: 10px;
    padding: 15px;
}

.chart-line {
    position: relative;
    width: 100%;
    height: 100%;
}

.chart-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.chart-labels {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* 技术分析 */
.technical-analysis {
    padding: 60px 0;
    background: white;
}

.analysis-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.analysis-content {
    max-width: 1200px;
    margin: 0 auto;
}

.analysis-tab {
    display: none;
}

.analysis-tab.active {
    display: block;
}

.analysis-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.analysis-chart {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 25px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.chart-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
}

.timeframe {
    display: flex;
    gap: 8px;
}

.time-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.time-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.chart-placeholder {
    height: 300px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.chart-container {
    height: 100%;
    position: relative;
}

.price-line {
    height: 70%;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.price-move {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--primary-color) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 4px 4px 0 0;
}

.indicators {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.rsi-indicator {
    flex: 1;
}

.rsi-bar {
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.rsi-fill {
    height: 100%;
    background: linear-gradient(to right, #ef4444, #eab308, #22c55e);
}

.macd-indicator {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 分析总结 */
.analysis-summary {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 25px;
}

.analysis-summary h4 {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 1.2rem;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.summary-value {
    color: var(--text-primary);
    font-weight: 600;
}

.summary-value.positive {
    color: #22c55e;
}

.summary-value.negative {
    color: #ef4444;
}

.indicators-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.indicator {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.indicator.positive {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.indicator.negative {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.indicator.neutral {
    background: rgba(156, 163, 175, 0.1);
    color: #9ca3af;
}

.analysis-insight {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.analysis-insight h5 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.analysis-insight p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 市场热点 */
.market-hotspots {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.hotspots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.hotspot-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hotspot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.hotspot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.hotspot-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.hotspot-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    flex: 1;
}

.hotspot-trend {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hotspot-trend.positive {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.hotspot-trend.negative {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.hotspot-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.hotspot-stats {
    display: flex;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
}

/* 投资策略 */
.investment-strategy {
    padding: 60px 0;
    background: white;
}

.strategy-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.strategy-tab {
    padding: 12px 28px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.strategy-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.strategy-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.strategy-content {
    max-width: 900px;
    margin: 0 auto 40px;
}

.strategy-tab {
    display: none;
}

.strategy-tab.active {
    display: block;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.strategy-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 30px;
    border-left: 4px solid var(--primary-color);
}

.strategy-card h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.strategy-card ul {
    list-style: none;
    padding: 0;
}

.strategy-card li {
    padding: 10px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.strategy-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 风险警告 */
.risk-warning {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.warning-icon {
    font-size: 2rem;
    color: #d97706;
    flex-shrink: 0;
}

.warning-content h4 {
    color: #92400e;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.warning-content p {
    color: #92400e;
    line-height: 1.6;
    margin: 0;
}

/* 行业动态 */
.industry-news {
    padding: 60px 0;
    background: var(--bg-light);
}

.news-feed {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: var(--bg-gray);
}

.news-time {
    color: var(--primary-color);
    font-weight: 600;
    min-width: 70px;
    flex-shrink: 0;
}

.news-text {
    color: var(--text-primary);
    flex: 1;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .market-overview {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
    
    .overview-value {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .hotspots-grid {
        grid-template-columns: 1fr;
    }
    
    .analysis-tabs,
    .strategy-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn,
    .strategy-tab {
        width: 100%;
        text-align: center;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .timeframe {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .time-btn {
        flex: 1;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .indicators {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .market-header h1 {
        font-size: 2rem;
    }
    
    .market-overview {
        grid-template-columns: 1fr;
    }
    
    .data-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .coin img {
        width: 24px;
        height: 24px;
    }
    
    .metric-value {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .risk-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .news-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-time {
        min-width: auto;
    }
}

/* ==========================================================================
   安全检测页面样式
   ========================================================================== */

/* 安全检测页面头部 */
.security-header {
    padding: 100px 0 40px;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: white;
    text-align: center;
}

.security-header h1 {
    color: white;
    margin-bottom: 15px;
    font-size: 2.8rem;
}

.security-header .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* 安全统计数据 */
.security-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* 代币检测工具 */
.token-scanner {
    padding: 60px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scanner-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.scanner-input {
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.input-group input {
    flex: 1;
    padding: 18px 25px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-group input:invalid {
    border-color: var(--danger-color);
}

.scan-btn {
    padding: 18px 35px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
}

.scan-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.scan-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.input-tips {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.tip-icon {
    font-size: 1.2rem;
}

/* 示例代币 */
.sample-tokens {
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.sample-label {
    color: var(--text-secondary);
    margin-right: 15px;
    font-size: 0.95rem;
}

.sample-btn {
    padding: 10px 20px;
    margin: 5px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sample-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 检测结果 */
.scan-results {
    animation: fadeIn 0.5s ease;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.results-header h3 {
    color: var(--text-primary);
    font-size: 1.6rem;
}

.risk-level {
    display: flex;
    align-items: center;
    gap: 20px;
}

.risk-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.risk-badge.low {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 2px solid #22c55e;
}

.risk-badge.medium {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border: 2px solid #eab308;
}

.risk-badge.high {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 2px solid #ef4444;
}

.scan-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.full-width {
    grid-column: 1 / -1;
}

.result-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.result-card h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

/* 基本信息 */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.info-value {
    color: var(--text-primary);
    font-weight: 600;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-value.address {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--primary-color);
    cursor: pointer;
}

.info-value.address:hover {
    text-decoration: underline;
}

/* 安全评分 */
.score-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.score-circle {
    position: relative;
    width: 120px;
    height: 120px;
    background: conic-gradient(
        var(--primary-color) 0deg,
        var(--primary-color) calc(var(--score, 0) * 3.6deg),
        var(--bg-gray) calc(var(--score, 0) * 3.6deg),
        var(--bg-gray) 360deg
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
}

.score-value {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.score-label {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    font-size: 1rem;
    margin-left: 5px;
}

.score-details {
    width: 100%;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.score-item span:first-child {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.score-bar {
    flex: 2;
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(to right, #ef4444, #eab308, #22c55e);
    border-radius: 4px;
    transition: width 1s ease;
}

.score-number {
    min-width: 30px;
    text-align: right;
    font-weight: 600;
    color: var(--text-primary);
}

/* 风险检测 */
.risk-checks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid transparent;
}

.check-item.passed {
    border-left-color: #22c55e;
}

.check-item.warning {
    border-left-color: #eab308;
}

.check-item.danger {
    border-left-color: #ef4444;
}

.check-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.check-content h5 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.check-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* 安全建议 */
.recommendations {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recommendation {
    padding: 18px;
    border-radius: 12px;
    line-height: 1.5;
}

.recommendation.positive {
    background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid #22c55e;
}

.recommendation.neutral {
    background: rgba(234, 179, 8, 0.1);
    border-left: 4px solid #eab308;
}

.recommendation.negative {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
}

.recommendation strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

/* 报告下载 */
.report-download p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.report-download ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.report-download li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.report-download li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.download-report {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.download-report:hover {
    background: var(--primary-dark);
}

/* 安全检测功能 */
.security-features {
    padding: 60px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 常见骗局识别 */
.scam-identification {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.scam-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.scam-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.scam-card:hover {
    transform: translateY(-5px);
}

.scam-card.danger {
    border-top: 4px solid #ef4444;
}

.scam-card.warning {
    border-top: 4px solid #eab308;
}

.scam-card.alert {
    border-top: 4px solid #dc2626;
}

.scam-header {
    padding: 25px;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scam-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin: 0;
}

.risk-tag {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.high-risk {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.medium-risk {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.scam-content {
    padding: 25px;
}

.scam-content > p {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.warning-signs {
    margin-bottom: 25px;
}

.warning-signs h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.warning-signs ul {
    list-style: none;
    padding: 0;
}

.warning-signs li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.warning-signs li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
}

.prevention {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.prevention h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.prevention p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* 安全指南 */
.security-guide {
    padding: 60px 0;
    background: white;
}

.guide-steps {
    max-width: 800px;
    margin: 0 auto 50px;
}

.guide-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.guide-step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.step-content > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.step-content ul {
    list-style: none;
    padding: 0;
}

.step-content li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.step-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 安全检查清单 */
.security-checklist {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 35px;
    max-width: 800px;
    margin: 0 auto;
}

.security-checklist h3 {
    color: var(--text-primary);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    background: var(--bg-gray);
    transform: translateX(5px);
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checklist-item span {
    color: var(--text-primary);
    flex: 1;
    font-weight: 500;
}

.checklist-submit {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checklist-submit:hover {
    background: var(--primary-dark);
}

/* 安全工具集成 */
.security-tools {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.tool-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.tool-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    align-self: flex-start;
}

.tool-content h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tool-content > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.tool-content ul {
    list-style: none;
    padding: 0;
}

.tool-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.tool-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.tools-cta {
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tools-cta h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.tools-cta p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tools-cta .btn-primary {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* 安全FAQ */
.security-faq {
    padding: 60px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.faq-question svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p,
.faq-answer ul,
.faq-answer div {
    margin-bottom: 20px;
}

.faq-answer ul {
    list-style: none;
    padding: 0;
}

.faq-answer li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.faq-answer li strong {
    color: var(--text-primary);
}

.chains-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.chain-item {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-gray);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .scanner-container {
        padding: 30px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .scam-types {
        grid-template-columns: 1fr;
    }
    
    .tool-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .security-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .scan-btn {
        width: 100%;
    }
    
    .guide-step {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-number {
        align-self: flex-start;
    }
    
    .security-checklist {
        padding: 25px;
    }
    
    .tools-cta {
        padding: 30px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .security-header h1 {
        font-size: 2rem;
    }
    
    .security-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .sample-tokens {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sample-label {
        margin-bottom: 10px;
    }
    
    .features-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding: 18px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}