/* =========================================
   TP官方下载网站 - 主样式文件
   版本：1.0.0
   最后更新：2023-11-15
   ========================================= */

/* 1. 基础重置和变量定义 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 */
    --primary: #3a86ff;
    --primary-dark: #2667cc;
    --primary-light: #e6f0ff;
    
    --secondary: #8338ec;
    --secondary-dark: #5a2ca3;
    
    /* 功能色 */
    --success: #38b000;
    --success-light: #e8f5e8;
    
    --warning: #ffbe0b;
    --warning-light: #fff8e6;
    
    --danger: #ff006e;
    --danger-light: #ffe6f0;
    
    /* 中性色 */
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    
    --gray-dark: #495057;
    --gray: #6c757d;
    --gray-light: #adb5bd;
    --gray-lighter: #e9ecef;
    --light: #f8f9fa;
    
    --white: #ffffff;
    --black: #000000;
    
    /* 设计变量 */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-sm: 4px;
    
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --box-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    
    /* 字体 */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-mono: 'SF Mono', 'Roboto Mono', 'Courier New', monospace;
}

/* 2. 基础元素样式 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 3. 排版样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

code {
    font-family: var(--font-mono);
    background-color: var(--light);
    padding: 0.2rem 0.4rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9em;
}

/* 4. 通用组件样式 */
/* 4.1 按钮 */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-download small {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

/* 4.2 卡片 */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.feature-card,
.platform-card,
.news-card,
.protocol-card,
.dex-card,
.team-member {
    composes: card;
}

/* 4.3 表格 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-lighter);
}

th {
    background-color: var(--light);
    font-weight: 600;
}

/* 4.4 表单 */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-lighter);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* 5. 布局组件 */
/* 5.1 头部导航 */
#mainHeader {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo img {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* 5.2 英雄区域 */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.stat .label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 5.3 功能区域 */
.features {
    padding: 4rem 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* 5.4 新闻区域 */
.news-section {
    padding: 4rem 0;
    background-color: var(--light);
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    padding: 2rem;
}

.news-date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-card h3 {
    margin-bottom: 1rem;
}

.news-card p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.read-more {
    color: var(--primary);
    font-weight: 600;
}

/* 5.5 页脚 */
#mainFooter {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* 6. 特定页面样式 */
/* 6.1 下载页面 */
.download-page {
    padding: 3rem 0;
}

.version-info {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 3rem;
    text-align: center;
}

.version-badge {
    background: var(--success);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.platform-card {
    text-align: center;
    padding: 2rem;
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 6.2 教程页面 */
.tutorial-page {
    padding: 2rem 0 4rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header .subtitle {
    color: var(--gray);
    font-size: 1.1rem;
}

.tutorial-nav {
    margin-bottom: 3rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.nav-steps {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.5rem;
}

.nav-steps .step {
    padding: 0.8rem 1.5rem;
    background: var(--light);
    border-radius: 50px;
    text-decoration: none;
    color: var(--gray);
    white-space: nowrap;
    transition: var(--transition);
}

.nav-steps .step:hover,
.nav-steps .step.active {
    background: var(--primary);
    color: var(--white);
}

.tutorial-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.tutorial-section h2 {
    color: var(--dark);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light);
}

.tutorial-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.warning-box {
    background: var(--warning-light);
    border-left: 4px solid var(--warning);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.code-block {
    background: var(--dark);
    color: var(--gray-lighter);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-mono);
    margin: 1rem 0;
    position: relative;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.chain-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.chain-tag {
    background: var(--light);
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.tip-box {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.address-qr {
    margin-top: 1.5rem;
}

.qr-placeholder {
    background: var(--light);
    padding: 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.qr-code {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--light), var(--gray-lighter));
    margin: 0 auto 1rem;
    border-radius: var(--border-radius);
}

.address-display {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.address-display code {
    flex: 1;
    background: var(--white);
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-mono);
    overflow: hidden;
    text-overflow: ellipsis;
}

.tutorial-progress {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.progress-bar {
    height: 8px;
    background: var(--light);
    border-radius: 4px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 0.6s ease;
}

.next-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

/* 6.3 DeFi页面 */
.defi-page {
    padding: 3rem 0;
}

.defi-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.defi-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
}

.stat-item .label {
    font-size: 1rem;
    opacity: 0.9;
}

.defi-features {
    margin-bottom: 4rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.3rem 0;
}

.protocols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.protocol-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.protocol-logo {
    font-size: 2rem;
}

.protocol-stats {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.guide-steps {
    margin-top: 2rem;
}

.guide-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.risk-warning {
    background: var(--danger-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 3rem;
}

/* 6.4 DEX页面 */
.dex-page {
    padding: 3rem 0;
}

.dex-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.dex-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.swap-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
}

.swap-form {
    max-width: 500px;
    margin: 0 auto;
}

.swap-from,
.swap-to {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.token-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.token-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.token-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.amount-input,
.amount-output {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: right;
    width: 150px;
}

.amount-input:focus {
    outline: none;
}

.swap-arrow {
    text-align: center;
    margin: 1rem 0;
}

.swap-direction {
    background: var(--light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
}

.swap-details {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.detail-row.total {
    border-top: 2px solid var(--gray-lighter);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-weight: bold;
}

.total-amount {
    color: var(--primary);
    font-size: 1.2rem;
}

.swap-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.dex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dex-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dex-logo {
    font-size: 2rem;
}

.dex-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.dex-metrics {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.metric {
    text-align: center;
}

.metric .label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
}

.metric .value {
    display: block;
    font-weight: bold;
    margin-top: 0.3rem;
}

.gas-optimization {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 3rem;
}

/* 6.5 新闻页面 */
.news-page {
    padding: 3rem 0;
}

.news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 0.6rem 1.5rem;
    background: var(--light);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary);
    color: var(--white);
}

.news-feed {
    margin-bottom: 4rem;
}

.news-article {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.news-article:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.news-article.featured {
    border: 2px solid var(--primary);
}

.article-badge {
    background: var(--primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.article-category {
    background: var(--light);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
}

.article-features {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.feature-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.news-detail {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.detail-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: var(--gray);
}

.audit-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.audit-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.score-display {
    text-align: center;
}

.score {
    font-size: 3rem;
    font-weight: bold;
    color: var(--success);
}

.newsletter-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 4rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.privacy-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* 6.6 关于我们页面 */
.about-page {
    padding: 3rem 0;
}

.about-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.mission-section {
    margin-bottom: 4rem;
}

.mission-statement {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-dark);
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.history-section {
    margin-bottom: 4rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-lighter);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    width: 100px;
    text-align: center;
}

.team-section {
    margin-bottom: 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.member-title {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stats-section {
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.security-section {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-bottom: 4rem;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-section {
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.contact-icon {
    font-size: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    padding: 0.5rem 1.5rem;
    background: var(--light);
    border-radius: 50px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
}

/* 7. 工具类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-none { display: none; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-sm { border-radius: var(--border-radius-sm); }

.shadow { box-shadow: var(--box-shadow); }
.shadow-lg { box-shadow: var(--box-shadow-lg); }
.shadow-sm { box-shadow: var(--box-shadow-sm); }

.bg-light { background-color: var(--light); }
.bg-white { background-color: var(--white); }
.bg-primary { background-color: var(--primary); }
.bg-success { background-color: var(--success); }
.bg-warning { background-color: var(--warning); }
.bg-danger { background-color: var(--danger); }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-dark { color: var(--dark); }
.text-gray { color: var(--gray); }
.text-light { color: var(--gray-light); }
.text-white { color: var(--white); }
/* =========================================
   主页新增图片展示样式
   ========================================= */

/* 手机模拟器样式 */
.phone-mockup {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.phone-frame {
    background: #fff;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    border-radius: 25px;
    display: block;
}

.floating-icons {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

.icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.icon.bitcoin {
    top: 20%;
    left: -20px;
    background: #f7931a;
    color: white;
    animation-delay: 0s;
}

.icon.ethereum {
    top: 50%;
    right: -15px;
    background: #627eea;
    color: white;
    animation-delay: 0.5s;
}

.icon.bnb {
    bottom: 20%;
    left: -15px;
    background: #f0b90b;
    color: black;
    animation-delay: 1s;
}

/* 区块链展示 */
.blockchains-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.blockchains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blockchain-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
}

.blockchain-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.blockchain-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.blockchain-item span {
    display: block;
    font-weight: 500;
    color: var(--dark);
}

/* 功能卡片图片 */
.feature-card .feature-image {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 150px;
}

.feature-card .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

/* 应用展示 */
.app-showcase {
    padding: 4rem 0;
    background: white;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.showcase-item {
    text-align: center;
}

.showcase-image {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.showcase-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 新闻卡片图片 */
.news-card .news-image {
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-card .news-content {
    padding: 1.5rem;
}

.more-news {
    text-align: center;
    margin-top: 2rem;
}

/* 用户评价 */
.testimonials-section {
    padding: 4rem 0;
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-info h4 {
    margin-bottom: 0.3rem;
}

.user-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-dark);
    line-height: 1.6;
}

/* DeFi和DEX预览 */
.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.preview-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
}

.preview-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 合作伙伴 */
.partners-section {
    padding: 4rem 0;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.partner-item img {
    max-width: 120px;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA部分 */
.cta-content {
    text-align: center;
}

.download-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.download-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--dark);
}

.download-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.download-badge img {
    width: 30px;
    height: 30px;
}

/* 页脚社交链接 */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-block;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-link img {
    width: 20px;
    height: 20px;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .preview-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .preview-text {
        order: 1;
    }
    
    .preview-image {
        order: 2;
    }
    
    .blockchains-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .download-badges {
        gap: 1rem;
    }
    
    .download-badge {
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .blockchains-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .download-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .download-badge {
        width: 200px;
        justify-content: center;
    }
}

/* =========================================
   新闻文章页面样式
   ========================================= */

/* 文章页面布局 */
.article-page {
    padding-top: 2rem;
    background: var(--light);
}

.article-container {
    background: var(--white);
}

.article-header {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-light), #ffffff);
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--gray);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.article-category {
    background: var(--primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-weight: 500;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.article-excerpt {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    max-width: 800px;
}

.article-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* 文章横幅 */
.article-banner {
    padding: 2rem 0;
    background: var(--light);
}

.banner-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.banner-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

/* 内容包装器 */
.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

/* 侧边栏 */
.article-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-sticky h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.sidebar-nav ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-nav li {
    margin-bottom: 0.8rem;
}

.sidebar-link {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--gray);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--primary);
}

.version-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.version-card h4 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.version-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.version-card li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.share-widget {
    margin-top: 2rem;
}

.share-widget h4 {
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn img {
    width: 20px;
    height: 20px;
}

/* 主要内容区域 */
.article-main {
    max-width: 800px;
}

.article-section {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-lighter);
}

.article-section:last-child {
    border-bottom: none;
}

.article-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.article-section h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.article-section h4 {
    font-size: 1.2rem;
    margin: 1rem 0;
}

/* 引言部分 */
.highlight-box {
    background: var(--warning-light);
    border-left: 4px solid var(--warning);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-icon {
    font-size: 2rem;
}

/* 功能展示 */
.feature-highlight {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.feature-image {
    flex: 1;
    min-width: 300px;
}

.feature-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.feature-content {
    flex: 2;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.feature-item .feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* 对比表格 */
.comparison-table {
    margin: 3rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border: 1px solid var(--gray-lighter);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.comparison-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    text-align: center;
}

.comparison-table td {
    text-align: center;
    padding: 1rem;
}

.comparison-table tr:nth-child(even) {
    background: var(--light);
}

/* 性能统计 */
.performance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.optimization-list {
    margin: 2rem 0;
}

.optimization-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-lighter);
}

.optimization-item:last-child {
    border-bottom: none;
}

/* 性能图表 */
.performance-chart {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.chart-container h4 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-placeholder {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3rem;
    height: 200px;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    position: relative;
}

.chart-bar {
    width: 60px;
    background: var(--gray-lighter);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
    transition: height 1s ease;
}

.chart-bar::after {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--gray);
}

.chart-labels {
    position: absolute;
    bottom: -30px;
    display: flex;
    gap: 3rem;
}

.chart-labels span {
    width: 60px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
}

.chart-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

/* 安全部分 */
.warning-box {
    background: var(--danger-light);
    border-left: 4px solid var(--danger);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.warning-icon {
    font-size: 1.5rem;
}

.security-features {
    margin: 2rem 0;
}

.security-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.security-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.security-audit {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.audit-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.audit-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
}

.audit-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.audit-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.audit-value.success {
    color: var(--success);
}

.audit-value.warning {
    color: var(--warning);
}

.audit-value.info {
    color: var(--primary);
}

.audit-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 1rem;
}

/* Bug修复列表 */
.bug-list {
    margin: 2rem 0;
}

.bug-category {
    margin-bottom: 2rem;
}

.bug-category h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.bug-category ul {
    padding-left: 1.5rem;
}

.bug-category li {
    margin-bottom: 0.5rem;
    position: relative;
}

/* 下载部分 */
.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.platform-option {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
}

.platform-option:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.platform-option .platform-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.platform-option h4 {
    margin-bottom: 0.5rem;
}

.platform-option p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.update-instructions {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.update-instructions h4 {
    margin-bottom: 1rem;
}

.update-instructions ol {
    padding-left: 1.5rem;
}

.update-instructions li {
    margin-bottom: 0.8rem;
}

/* FAQ部分 */
.faq-list {
    margin: 2rem 0;
}

.faq-item {
    border: 1px solid var(--gray-lighter);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: var(--light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 1000px;
}

/* 文章底部 */
.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-lighter);
}

.tags-section {
    margin-bottom: 2rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: white;
}

.author-section {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navigation-links {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}

.nav-link {
    padding: 1rem 1.5rem;
    background: var(--light);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    display: inline-block;
}

.nav-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* 相关文章 */
.related-articles {
    padding: 4rem 0;
    background: var(--light);
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-article {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.article-content h3 a {
    color: var(--dark);
    text-decoration: none;
}

.article-content h3 a:hover {
    color: var(--primary);
}

.article-content p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.article-date {
    font-size: 0.85rem;
    color: var(--gray-light);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        display: none;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .feature-highlight {
        flex-direction: column;
    }
    
    .feature-image {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 2rem 0;
    }
    
    .article-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .article-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .banner-image {
        height: 300px;
    }
    
    .download-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .navigation-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-link {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .download-options {
        grid-template-columns: 1fr;
    }
    
    .performance-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .audit-results {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .author-section {
        flex-direction: column;
        text-align: center;
    }
}