/* ==========================================================================
   TxtPress Theme: Cyber Tech (电子科技专属 - 纯CSS暗黑极客风)
   ========================================================================== */

/* --- 0. 引入外部科技感字体 (非常重要，否则排版缺乏科幻感) --- */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&family=Fira+Code:wght@400;500&family=Rajdhani:wght@500;600;700&display=swap');

/* --- 1. 全局科技变量设定 --- */
:root {
    /* 核心色彩 - 深邃科技暗色调 */
    --bg-base: #050b14;      /* 深空底色 */
    --bg-surface: #0b1423;   /* 卡片/模块表面 */
    --bg-card: #111c30;      /* 浮层组件 */
    
    /* 霓虹发光色系 */
    --tech-cyan: #00f2fe;    /* 电光青 */
    --tech-blue: #4facfe;    /* 科技蓝 */
    --tech-purple: #7f00ff;  /* 能量紫 */
    
    /* 文字颜色 */
    --text-bright: #ffffff;
    --text-main: #e2e8f0;
    --text-muted: #8b9bb4;
    
    /* 边框与光效 */
    --border-tech: 1px solid rgba(0, 242, 254, 0.15);
    --border-light: rgba(255, 255, 255, 0.05);
    --glow-cyan: 0 0 15px rgba(0, 242, 254, 0.4), inset 0 0 10px rgba(0, 242, 254, 0.1);
    --glow-blue: 0 0 20px rgba(79, 172, 254, 0.3);
    
    /* 交互动效 */
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-tech: 2px; /* 科技感偏向于锐利的硬边缘或微小圆角 */
    --radius-lg: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: "Rajdhani", "Exo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    line-height: 1.8;
    color: var(--text-main);
    background-color: var(--bg-base);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* 全局标题排版 */
h1, h2, h3, h4, h5, h6 { 
    color: var(--text-bright); 
    font-weight: 600; 
    letter-spacing: 1px;
}

h2 { 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 4rem; 
    position: relative; 
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}
/* 科技感能量刻度线 */
h2::after { 
    content: ''; 
    position: absolute; 
    bottom: -15px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 60px; 
    height: 2px; 
    background: linear-gradient(90deg, transparent, var(--tech-cyan), transparent); 
    box-shadow: 0 0 10px var(--tech-cyan);
}
h2::before {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 8px;
    background: var(--tech-cyan);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

section { padding: 100px 0; }
section:nth-of-type(even) { background-color: var(--bg-surface); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }

/* 线框极客按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 36px;
    background-color: transparent;
    color: var(--tech-cyan);
    text-decoration: none;
    border-radius: var(--radius-tech);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: var(--transition);
    border: 1px solid var(--tech-cyan);
    box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}
.btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.4), transparent);
    transition: all 0.5s ease;
}
.btn:hover::before { left: 100%; }
.btn:hover { 
    background-color: rgba(0, 242, 254, 0.1); 
    box-shadow: var(--glow-cyan);
    color: var(--text-bright);
}
.btn:focus-visible { outline: 2px solid var(--tech-cyan); outline-offset: 4px; }

/* --- 2. 头部导航 (毛玻璃数据流) --- */
.main-header { 
    background-color: rgba(5, 11, 20, 0.85); 
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    width: 100%; 
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { 
    font-size: 1.6rem; 
    font-weight: 700; 
    color: var(--text-bright); 
    text-decoration: none; 
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--tech-cyan);
}

.main-nav ul { display: flex; list-style: none; }
.main-nav ul li { margin-left: 45px; position: relative; }
.main-nav ul li a { 
    text-decoration: none; 
    color: var(--text-muted); 
    font-weight: 500; 
    font-size: 1rem;
    letter-spacing: 1px;
    transition: var(--transition);
    text-transform: uppercase;
}
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--tech-cyan); text-shadow: 0 0 8px rgba(0, 242, 254, 0.6); }
/* 导航底部发光点 */
.main-nav ul li a.active::after {
    content: ''; position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);
    width: 6px; height: 6px; background: var(--tech-cyan); border-radius: 50%;
    box-shadow: 0 0 10px var(--tech-cyan), 0 0 20px var(--tech-cyan);
}
.menu-toggle { display: none; cursor: pointer; background: none; border: none; font-size: 1.8rem; color: var(--tech-cyan); }

/* --- 3. 首页 Hero 区域 (全纯CSS微电子阵列网格) --- */
#hero {
    background-color: var(--bg-base);
    background-image: 
        linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    position: relative;
    height: 90vh; 
    min-height: 650px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 0 20px;
    overflow: hidden;
}
/* 中心能量光晕 */
#hero::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, transparent 60%);
    z-index: 1; pointer-events: none;
}
/* 底部渐变遮罩融合 */
#hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 150px;
    background: linear-gradient(to top, var(--bg-surface), transparent); z-index: 1;
}

.hero-content {
    position: relative; z-index: 2; max-width: 900px;
    animation: glitchIn 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}
@keyframes glitchIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
#hero h1 { 
    font-size: 4.5rem; 
    margin-bottom: 1.5rem; 
    letter-spacing: 4px;
    font-weight: 700;
    background: linear-gradient(to right, #fff, var(--tech-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#hero p { 
    font-size: 1.25rem; 
    color: var(--text-muted);
    margin: 0 auto 3.5rem; 
    max-width: 700px;
    line-height: 1.9;
}

/* --- 4. 解决方案 (悬浮电路卡片设计) --- */
#solutions { background-color: var(--bg-surface); }
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 35px; }
.solution-card { 
    background-color: var(--bg-card); 
    padding: 45px 35px; 
    border-radius: var(--radius-tech); 
    border: var(--border-tech);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
/* 顶部电路走线扫描效 */
.solution-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--tech-cyan), transparent);
    transform: translateX(-100%); transition: transform 0.6s ease;
}
.solution-card:hover { transform: translateY(-8px); box-shadow: var(--glow-cyan); border-color: rgba(0, 242, 254, 0.5); }
.solution-card:hover::before { transform: translateX(100%); }

.solution-card h3 { font-size: 1.4rem; margin-bottom: 18px; color: var(--text-bright); }
.solution-card p { color: var(--text-muted); font-size: 1rem; }

/* --- 纯CSS 重绘电子科技感图标 (微芯片/数据节点/雷达波) --- */
.solution-icon { 
    width: 60px; height: 60px; 
    margin-bottom: 30px; 
    position: relative; 
    color: var(--tech-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.5));
}
.solution-icon::before, .solution-icon::after { content: ''; position: absolute; box-sizing: border-box; }

/* 电子云/网络集群节点 */
.icon-cloud::before { 
    width: 40px; height: 26px; border: 2px solid currentColor; border-radius: 4px; 
    top: 17px; left: 10px; background: rgba(0, 242, 254, 0.1);
}
.icon-cloud::after { 
    width: 10px; height: 10px; background: currentColor;
    top: 5px; left: 25px; box-shadow: -15px 35px 0 0 currentColor, 15px 35px 0 0 currentColor;
}

/* 核心数据流/服务器塔 */
.icon-data::before { 
    width: 36px; height: 12px; border: 2px solid currentColor; border-radius: 2px;
    top: 10px; left: 12px; box-shadow: 0 16px 0 0 transparent, 0 32px 0 0 transparent;
}
.icon-data::after { 
    width: 36px; height: 12px; border: 2px solid currentColor; border-radius: 2px;
    top: 26px; left: 12px; box-shadow: 0 16px 0 0 currentColor; background: rgba(0, 242, 254, 0.2);
}

/* AI 神经网络魔方 */
.icon-ai::before {
    width: 24px; height: 24px; border: 2px solid currentColor;
    top: 18px; left: 18px; transform: rotate(45deg);
}
.icon-ai::after {
    width: 44px; height: 44px; border: 1px dashed currentColor; border-radius: 50%;
    top: 8px; left: 8px; animation: spin 10s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* 网络安全电子盾 */
.icon-security::before { 
    width: 38px; height: 44px; border: 2px solid currentColor; 
    clip-path: polygon(50% 0%, 100% 20%, 100% 80%, 50% 100%, 0% 80%, 0% 20%);
    top: 8px; left: 11px; background: rgba(0, 242, 254, 0.1);
}
.icon-security::after {
    width: 12px; height: 12px; border-bottom: 3px solid currentColor; border-right: 3px solid currentColor;
    top: 22px; left: 22px; transform: rotate(45deg);
}

/* 射频物联网信号 */
.icon-iot::before { 
    width: 14px; height: 14px; background: currentColor; border-radius: 50%;
    top: 23px; left: 23px; box-shadow: 0 0 10px currentColor;
}
.icon-iot::after { 
    width: 40px; height: 40px; border: 2px solid currentColor; border-radius: 50%;
    top: 10px; left: 10px; border-top-color: transparent; border-bottom-color: transparent;
    animation: pulseWave 2s infinite ease-in-out;
}
@keyframes pulseWave { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

/* 智能终端/代码台 */
.icon-consult::before { 
    width: 44px; height: 32px; border: 2px solid currentColor; border-radius: 4px;
    top: 10px; left: 8px; background: rgba(0, 242, 254, 0.05);
}
.icon-consult::after { 
    width: 16px; height: 2px; background: currentColor;
    top: 46px; left: 22px; box-shadow: 0 -4px 0 0 currentColor;
}

/* --- 5. 关于我们 (全纯CSS手绘微芯片处理器) --- */
#about { background-color: var(--bg-base); }
#about .about-content { display: flex; align-items: center; gap: 80px; }
.about-text { flex: 1; }
.about-text h3 { font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--tech-cyan); }
.about-text p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.05rem; }
.about-action { margin-top: 3rem; }

/* 纯CSS绘制的中央处理器 (CPU) 视觉图 */
.about-visual {
    flex: 1; 
    height: 450px; 
    background: var(--bg-surface);
    border: var(--border-tech);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    border-radius: var(--radius-tech);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
}
/* 芯片核心底板 */
.about-visual::before {
    content: ''; position: absolute;
    width: 180px; height: 180px;
    background: var(--bg-base);
    border: 2px solid var(--tech-cyan);
    box-shadow: var(--glow-cyan);
    z-index: 2;
    background-image: linear-gradient(45deg, rgba(0, 242, 254, 0.1) 25%, transparent 25%, transparent 50%, rgba(0, 242, 254, 0.1) 50%, rgba(0, 242, 254, 0.1) 75%, transparent 75%, transparent);
    background-size: 10px 10px;
}
/* 发光主板线路放射 */
.about-visual::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: 
        linear-gradient(90deg, transparent 48%, rgba(0,242,254,0.3) 48%, rgba(0,242,254,0.3) 52%, transparent 52%) center/100% 40px no-repeat,
        linear-gradient(0deg, transparent 48%, rgba(0,242,254,0.3) 48%, rgba(0,242,254,0.3) 52%, transparent 52%) center/40px 100% no-repeat;
    opacity: 0.5; z-index: 1;
}
.about-visual span { 
    z-index: 3; 
    color: var(--text-bright); 
    font-size: 1.5rem; 
    font-weight: 700; 
    letter-spacing: 4px;
    background: rgba(5, 11, 20, 0.9);
    padding: 10px 25px;
    border: 1px solid var(--tech-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
    text-transform: uppercase;
}

/* --- 6. 资讯/内容列表区 --- */
#news, #content { background-color: var(--bg-surface); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 35px; }
.news-card {
    background-color: var(--bg-card); 
    border-radius: var(--radius-tech); 
    overflow: hidden; 
    display: flex; flex-direction: column; 
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.news-card:hover { transform: translateY(-5px); border-color: var(--tech-cyan); box-shadow: var(--glow-cyan); }

/* 纯CSS生成的数据流幻影作为备用无图封面 */
.news-cover {
    height: 240px; width: 100%; 
    overflow: hidden; position: relative;
    background-color: var(--bg-base);
    display: flex; align-items: center; justify-content: center;
}
/* 不同分类赋予不同科技渐变色条 */
.news-card:nth-child(3n+1) .news-cover { background: linear-gradient(135deg, #0f172a, #1e1b4b); }
.news-card:nth-child(3n+2) .news-cover { background: linear-gradient(135deg, #052e16, #064e3b); }
.news-card:nth-child(3n+3) .news-cover { background: linear-gradient(135deg, #0f172a, #075985); }
.news-cover::after {
    content: ''; position: absolute; width: 100%; height: 100%;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.05) 2px, rgba(255,255,255,0.05) 4px);
    pointer-events: none;
}

.news-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s ease; opacity: 0.8; }
.news-card:hover .news-cover img { transform: scale(1.1); opacity: 1; }

.news-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; background: linear-gradient(to bottom, var(--bg-card), var(--bg-base)); }
.news-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; display: flex; gap: 10px; font-family: monospace; letter-spacing: 1px;}
.news-meta a { color: var(--tech-blue); text-decoration: none; }
.news-meta a:hover { color: var(--tech-cyan); text-decoration: underline; }

.news-content h4 { font-size: 1.3rem; margin-bottom: 15px; line-height: 1.5; }
.news-content h4 a { text-decoration: none; color: var(--text-bright); transition: color 0.2s; }
.news-content h4 a:hover { color: var(--tech-cyan); }

.news-content p { flex-grow: 1; margin-bottom: 25px; font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.read-more-link { 
    text-decoration: none; color: var(--tech-cyan); 
    font-weight: 600; font-size: 0.9rem; align-self: flex-start; 
    display: inline-flex; align-items: center; transition: var(--transition);
    text-transform: uppercase; letter-spacing: 1px;
}
.read-more-link:hover { transform: translateX(8px); text-shadow: 0 0 8px var(--tech-cyan); }

/* --- 7. FAQ 控制台面板设计 --- */
#faq { background-color: var(--bg-base); background-image: radial-gradient(rgba(0,242,254,0.05) 1px, transparent 1px); background-size: 30px 30px; }
.faq-accordion { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.faq-item { 
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-tech);
    position: relative;
}
.faq-item::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--tech-cyan); opacity: 0; transition: var(--transition);
}
.faq-item:hover::before, .faq-item.active::before { opacity: 1; box-shadow: 0 0 10px var(--tech-cyan); }
.faq-question {
    width: 100%; background: none; border: none; text-align: left; padding: 25px 30px;
    font-size: 1.15rem; font-weight: 600; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center; color: var(--text-bright);
    transition: all 0.3s ease; letter-spacing: 0.5px;
}
.faq-question:hover { background-color: rgba(255, 255, 255, 0.02); }
.faq-question::after { 
    content: ''; display: block; width: 10px; height: 10px;
    border-right: 2px solid var(--tech-cyan); border-bottom: 2px solid var(--tech-cyan);
    transform: rotate(45deg); transition: transform 0.3s ease;
}
.faq-item.active .faq-question { color: var(--tech-cyan); }
.faq-item.active .faq-question::after { transform: rotate(-135deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background-color: rgba(0, 0, 0, 0.2); }
.faq-item.active .faq-answer { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.faq-answer p { color: var(--text-muted); font-size: 1rem; padding: 25px 30px; margin: 0; line-height: 1.8; }

/* --- 8. Footer 赛博底座 --- */
.main-footer { background-color: #03060a; color: var(--text-muted); padding: 80px 0 30px; border-top: 2px solid var(--tech-cyan); box-shadow: 0 -10px 30px rgba(0, 242, 254, 0.05); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 50px; margin-bottom: 60px; }
.footer-column { flex: 1; min-width: 240px; }
.footer-column h4 { color: var(--text-bright); margin-bottom: 1.8rem; font-size: 1.2rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.footer-column p { font-size: 0.95rem; line-height: 1.8; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 15px; }
.footer-column ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; transition: color 0.3s ease; display: inline-block; }
.footer-column ul li a:hover { color: var(--tech-cyan); transform: translateX(5px); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; color: #475569; font-family: monospace; }

/* --- 9. 内容页 (扩宽视界 & 极客阅读区) --- */
.page-container { padding: 60px 0 120px; background-color: var(--bg-base); }

.single-post-wrapper { 
    max-width: 960px; 
    margin: 0 auto; 
    background: var(--bg-surface); 
    padding: 60px; 
    border-radius: var(--radius-lg); 
    border: 1px solid rgba(0, 242, 254, 0.1); 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); 
    position: relative;
}
/* 顶部电子纹理 */
.single-post-wrapper::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, transparent, var(--tech-blue), var(--tech-cyan), transparent);
}

.breadcrumb { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 40px; font-family: monospace; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--tech-cyan); text-shadow: 0 0 5px var(--tech-cyan); }
.breadcrumb span { margin: 0 12px; color: #475569; }

.page-header { margin-bottom: 50px; padding-bottom: 30px; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); }
.center-header { text-align: center; border-bottom: none; }
.page-header h1 { font-size: 3rem; color: var(--text-bright); line-height: 1.3; }
.page-meta { color: #64748b; font-size: 1rem; margin-top: 20px; font-family: monospace; }
.page-meta a { color: var(--tech-cyan); text-decoration: none; }
.page-meta a:hover { text-decoration: underline; }

/* Markdown 黑客终端排版 */
.markdown-body { 
    color: var(--text-main); font-size: 1.15rem; line-height: 1.9; 
    overflow-wrap: break-word; /* 修正：防止长英文字母或链接破坏版面 */
    word-break: break-word;
}
.markdown-body h2 { font-size: 2rem; margin: 3rem 0 1.5rem; text-align: left; color: var(--text-bright); text-shadow: none; letter-spacing: normal; text-transform: none; }
.markdown-body h2::after, .markdown-body h2::before { display: none; }
.markdown-body h3 { font-size: 1.5rem; margin: 2.5rem 0 1.2rem; color: var(--tech-cyan); }
.markdown-body p { margin-bottom: 1.8rem; }
.markdown-body ul, .markdown-body ol { padding-left: 25px; margin-bottom: 1.8rem; }
.markdown-body li { margin-bottom: 0.8rem; }
.markdown-body li::marker { color: var(--tech-cyan); }
.markdown-body img { max-width: 100%; height: auto; border-radius: var(--radius-tech); margin: 2.5rem auto; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.5); display: block; }
.markdown-body blockquote { 
    border-left: 4px solid var(--tech-cyan); 
    background-color: rgba(0, 242, 254, 0.05); 
    padding: 25px 30px; margin: 2.5rem 0; 
    color: var(--text-bright); font-style: italic;
    box-shadow: inset 20px 0 20px -20px rgba(0, 242, 254, 0.2);
}
.markdown-body a { color: var(--tech-cyan); text-decoration: none; border-bottom: 1px solid rgba(0, 242, 254, 0.3); transition: all 0.2s; }
.markdown-body a:hover { border-bottom-color: var(--tech-cyan); text-shadow: 0 0 8px rgba(0, 242, 254, 0.5); background: rgba(0, 242, 254, 0.1); }
.markdown-body hr { border: 0; height: 1px; background: rgba(255,255,255,0.1); margin: 4rem 0; }
.markdown-body pre { background: #03060a; border: 1px solid rgba(255,255,255,0.05); color: #a5b4fc; padding: 25px; border-radius: var(--radius-tech); overflow-x: auto; margin-bottom: 2.5rem; font-size: 1rem; box-shadow: inset 0 0 20px rgba(0,0,0,0.8); }
.markdown-body code { font-family: "Fira Code", Consolas, Monaco, monospace; background: rgba(0, 242, 254, 0.1); color: var(--tech-cyan); padding: 3px 8px; border-radius: 3px; font-size: 0.9em; }
.markdown-body pre code { background: none; color: inherit; padding: 0; }

.post-tags { margin-top: 60px; padding-top: 40px; border-top: 1px dashed rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; gap: 15px; }
.tag-pill { 
    display: inline-block; background: transparent; padding: 8px 20px; 
    border-radius: 30px; color: var(--text-muted); text-decoration: none; 
    font-size: 0.9rem; font-weight: 500; transition: var(--transition); border: 1px solid rgba(255,255,255,0.1); 
}
.tag-pill:hover { background: rgba(0, 242, 254, 0.1); color: var(--tech-cyan); border-color: var(--tech-cyan); box-shadow: var(--glow-cyan); }

.post-navigation { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.nav-next, .nav-prev { max-width: 48%; text-decoration: none; color: var(--text-bright); font-weight: 600; line-height: 1.5; transition: all 0.3s; padding: 20px; border: 1px solid transparent; border-radius: var(--radius-tech); background: rgba(255,255,255,0.02); }
.nav-next:hover, .nav-prev:hover { border-color: var(--tech-cyan); background: rgba(0, 242, 254, 0.05); transform: translateY(-3px); }
.nav-next span, .nav-prev span { display: block; font-size: 0.85rem; color: var(--tech-cyan); margin-bottom: 8px; text-transform: uppercase; font-family: monospace; }
.nav-next { text-align: right; }

/* 数据翻页器 */
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 80px; }
.page-btn { 
    display: inline-flex; align-items: center; justify-content: center; 
    width: 45px; height: 45px; border: 1px solid rgba(255,255,255,0.1); 
    border-radius: var(--radius-tech); color: var(--text-muted); 
    text-decoration: none; transition: var(--transition); background: var(--bg-surface); font-weight: 600;
}
.page-btn:hover { background-color: rgba(0, 242, 254, 0.1); border-color: var(--tech-cyan); color: var(--tech-cyan); box-shadow: var(--glow-cyan); }
.page-current { display: inline-flex; align-items: center; height: 45px; padding: 0 20px; font-weight: 700; color: #050b14; background: var(--tech-cyan); border-radius: var(--radius-tech); box-shadow: 0 0 15px var(--tech-cyan); font-family: monospace; font-size: 1.1rem; }

/* 404 黑洞 */
.error-page { text-align: center; padding: 150px 0; }
.error-page h1 { font-size: 8rem; color: transparent; -webkit-text-stroke: 2px var(--tech-cyan); margin-bottom: 20px; letter-spacing: 5px; text-shadow: 0 0 20px rgba(0,242,254,0.3); font-family: monospace; }
.error-page p { font-size: 1.5rem; margin-bottom: 50px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }

.no-content { 
    grid-column: 1 / -1; text-align: center; padding: 80px 20px; 
    color: var(--text-muted); background: var(--bg-surface); 
    border: 1px dashed rgba(255,255,255,0.1); border-radius: var(--radius-lg); 
    font-family: monospace; font-size: 1.2rem;
}

/* --- 10. 响应式终端适配 --- */
@media (max-width: 1024px) { 
    h2 { font-size: 2.2rem; } 
    #hero h1 { font-size: 3.5rem; }
    .about-visual { height: 350px; }
    .single-post-wrapper { padding: 40px; }
}

@media (max-width: 768px) {
    .main-header .container { height: 70px; }
    .logo { font-size: 1.4rem; }
    .menu-toggle { display: block; }
    
    /* 移动端下拉矩阵菜单 */
    .main-nav { 
        position: absolute; top: 70px; left: 0; width: 100%; 
        background-color: rgba(5, 11, 20, 0.95); backdrop-filter: blur(10px);
        flex-direction: column; max-height: 0; overflow: hidden; 
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
        box-shadow: 0 20px 30px rgba(0,0,0,0.8); border-top: 1px solid rgba(0,242,254,0.1);
    }
    .main-nav.active { max-height: 500px; border-bottom: 1px solid var(--tech-cyan); }
    .main-nav ul { flex-direction: column; padding: 0; }
    .main-nav ul li { margin: 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .main-nav ul li:last-child { border-bottom: none; }
    .main-nav ul li a { display: block; padding: 18px 24px; font-size: 1.05rem; }
    .main-nav ul li a.active::after { display: none; } /* 移动端隐藏底部发光点 */
    
    #hero { height: auto; padding: 140px 20px 100px; }
    #hero h1 { font-size: 2.5rem; }
    #hero p { font-size: 1.1rem; }
    
    #about .about-content { flex-direction: column; gap: 50px; }
    .footer-content { flex-direction: column; gap: 40px; }
    
    .single-post-wrapper { padding: 30px 20px; border-radius: 0; border-left: none; border-right: none; }
    .page-header h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) { 
    section { padding: 70px 0; } 
    h2 { font-size: 1.8rem; margin-bottom: 3rem; } 
    .news-cover { height: 200px; }
    .page-header h1 { font-size: 1.8rem; }
    .post-navigation { flex-direction: column; gap: 20px; }
    .nav-next, .nav-prev { max-width: 100%; text-align: left; }
    .about-visual::before { width: 120px; height: 120px; }
    .about-visual span { font-size: 1.2rem; }
}