/* === 纸飞机下载站 全局样式表 === */
:root {
    --accent-color: #0088cc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-aside: #f8fafc;
    --bg-main: #ffffff;
    --border-line: #e2e8f0;
    --card-bg: #ffffff;
    --hover-shadow: 0 10px 25px rgba(0,136,204,0.04);
    --radius-md: 12px;
    --radius-sm: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; color: var(--text-dark); background: var(--bg-main); line-height: 1.6; }

/* 侧边栏布局 */
.app-container { display: flex; min-height: 100vh; }

aside { width: 340px; background: var(--bg-aside); border-right: 1px solid var(--border-line); padding: 40px 30px; display: flex; flex-direction: column; justify-content: space-between; position: fixed; top: 0; bottom: 0; left: 0; z-index: 10; overflow-y: auto; }
.brand-section .logo-link { font-size: 24px; font-weight: 800; color: var(--accent-color); text-decoration: none; display: flex; align-items: center; gap: 8px; letter-spacing: -0.5px; }
.brand-section .site-intro { font-size: 13px; color: var(--text-muted); margin-top: 15px; text-align: justify; line-height: 1.7; }

.side-nav { margin-top: 40px; }
.side-nav ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; text-decoration: none; color: #334155; font-weight: 600; font-size: 14px; padding: 10px 14px; border-radius: var(--radius-sm); transition: all 0.2s; }
.side-nav a:hover, .side-nav a.active { background: #fff; color: var(--accent-color); box-shadow: 0 4px 12px rgba(15,23,42,0.03); }
.side-nav a::after { content: "→"; opacity: 0; transform: translateX(-5px); transition: all 0.2s; font-weight: 400; }
.side-nav a:hover::after, .side-nav a.active::after { opacity: 1; transform: translateX(0); }

.aside-meta { font-size: 12px; color: #94a3b8; border-top: 1px solid var(--border-line); padding-top: 25px; }
.aside-meta a { color: var(--text-muted); text-decoration: none; display: inline-block; margin-bottom: 6px; transition: color 0.2s; }
.aside-meta a:hover { color: var(--accent-color); }
.aside-meta p { margin-top: 8px; line-height: 1.5; }

/* 主内容区域 */
main { margin-left: 340px; flex: 1; padding: 60px 80px; max-width: 1100px; }

.breadcrumb-trail { font-size: 13px; color: var(--text-muted); margin-bottom: 30px; }
.breadcrumb-trail a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-trail a:hover { color: var(--accent-color); }

/* 页面头部 */
.view-header { margin-bottom: 50px; }
.view-header h1 { font-size: 38px; font-weight: 800; letter-spacing: -1px; color: var(--text-dark); line-height: 1.2; margin-bottom: 15px; }
.view-header p { font-size: 18px; color: var(--text-muted); font-weight: 400; }

/* 下载矩阵卡片 */
.system-matrix { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 60px; }
.matrix-card { border: 1px solid var(--border-line); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color 0.2s, box-shadow 0.2s; background: var(--card-bg); }
.matrix-card:hover { border-color: var(--accent-color); box-shadow: var(--hover-shadow); }
.matrix-top h2 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.matrix-top p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.matrix-btn { margin-top: 20px; display: inline-flex; align-items: center; justify-content: center; background: #f1f5f9; color: #475569; text-decoration: none; padding: 10px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; width: 100%; text-align: center; transition: all 0.2s; }
.matrix-card:hover .matrix-btn { background: var(--accent-color); color: #fff; }

/* 通用区块标题 */
.section-title { font-size: 26px; font-weight: 800; color: var(--text-dark); margin-bottom: 25px; letter-spacing: -0.5px; display: flex; align-items: center; gap: 10px; }

/* 快速上手三步骤 */
.quick-start-flow { margin-bottom: 60px; padding: 40px 0; border-top: 1px solid var(--border-line); border-bottom: 1px solid var(--border-line); }
.flow-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.flow-item { background: var(--card-bg); border: 1px solid var(--border-line); border-radius: var(--radius-md); padding: 24px; position: relative; transition: all 0.2s; }
.flow-item:hover { border-color: var(--accent-color); box-shadow: var(--hover-shadow); }
.flow-num { font-size: 32px; font-weight: 800; color: var(--accent-color); opacity: 0.15; position: absolute; top: 15px; right: 20px; line-height: 1; }
.flow-item h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.flow-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* 资源导航枢纽 */
.resource-hub { margin-bottom: 60px; }
.hub-intro { font-size: 15px; color: var(--text-muted); margin-bottom: 30px; max-width: 700px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hub-card { background: var(--card-bg); border: 1px solid var(--border-line); border-radius: var(--radius-md); padding: 28px; transition: all 0.2s; display: flex; flex-direction: column; }
.hub-card:hover { border-color: var(--accent-color); box-shadow: var(--hover-shadow); }
.hub-icon { font-size: 36px; margin-bottom: 15px; }
.hub-card h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.hub-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 18px; }
.hub-link { display: inline-block; color: var(--accent-color); text-decoration: none; font-weight: 600; font-size: 14px; transition: opacity 0.2s; align-self: flex-start; }
.hub-link:hover { opacity: 0.8; }

/* 友情链接 */
.friendly-links { margin-bottom: 60px; padding: 40px 0; border-top: 1px solid var(--border-line); }
.links-intro { font-size: 15px; color: var(--text-muted); margin-bottom: 25px; }
.links-list { display: flex; flex-wrap: wrap; gap: 12px; }
.friend-link { background: #f1f5f9; color: #334155; text-decoration: none; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.friend-link:hover { background: var(--accent-color); color: #fff; }

/* 深度内容区 */
.deep-content { border-top: 1px solid var(--border-line); padding-top: 50px; }
.deep-content h2 { font-size: 24px; font-weight: 800; color: var(--text-dark); margin-top: 40px; margin-bottom: 16px; letter-spacing: -0.5px; }
.deep-content h3 { font-size: 18px; font-weight: 700; color: #1e293b; margin-top: 24px; margin-bottom: 10px; }
.deep-content p { font-size: 15px; color: #334155; margin-bottom: 18px; text-align: justify; line-height: 1.8; }
.deep-content ul { margin-left: 20px; margin-bottom: 20px; color: #334155; font-size: 15px; }
.deep-content li { margin-bottom: 8px; }
.deep-content a { color: var(--accent-color); text-decoration: none; font-weight: 500; }
.deep-content a:hover { text-decoration: underline; }

/* 响应式设计 */
@media (max-width: 1024px) {
    aside { width: 260px; padding: 30px 20px; }
    main { margin-left: 260px; padding: 40px 40px; }
    .system-matrix { grid-template-columns: 1fr; }
    .flow-cards, .hub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .app-container { flex-direction: column; }
    aside { width: 100%; position: relative; border-right: none; border-bottom: 1px solid var(--border-line); padding: 30px 20px; }
    .side-nav { margin-top: 20px; }
    .side-nav ul { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .side-nav a { padding: 6px 12px; font-size: 13px; }
    .side-nav a::after { display: none; }
    main { margin-left: 0; padding: 30px 20px; }
    .view-header h1 { font-size: 28px; }
    .flow-cards, .hub-grid { grid-template-columns: 1fr; }
    .links-list { justify-content: center; }
}