/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

:root {
    --primary-color: #8B0000; /* 暗红色 */
    --primary-dark: #600000; /* 深暗红色 */
    --primary-light: #A52A2A; /* 浅暗红色 */
    --secondary-color: #F5F5DC; /* 米黄色 */
    --secondary-dark: #E8E8C8; /* 深米黄色 */
    --secondary-light: #FFFEF0; /* 浅米黄色 */
    --text-color: #2D2D2D; /* 主文本颜色 */
    --text-light: #4A4A4A; /* 浅文本颜色 */
    --accent-color: #D4AF37; /* 金色强调 */
    --accent-light: #E5C158; /* 浅金色 */
    --redacted-bg: #1a1a1a; /* 已编辑内容背景 */
    --header-font: 'Courier New', Courier, monospace;
    --body-font: 'Courier New', Courier, monospace;
    
    /* 项目类别颜色 */
    --quantum-color: #3498db; /* 量子研究 */
    --biotech-color: #2ecc71; /* 生物技术 */
    --reality-color: #9b59b6; /* 现实稳定 */
    --cognitive-color: #f39c12; /* 认知科学 */
    --classified-color: #000000; /* 绝密项目 */
    
    /* 状态颜色 */
    --status-active: #27ae60; /* 正常/进行中 */
    --status-pending: #f39c12; /* 待批准 */
    --status-testing: #3498db; /* 测试中 */
    --status-completed: #2ecc71; /* 已完成 */
    --status-maintenance: #e67e22; /* 维护中 */
    --status-classified: #000000; /* 绝密 */
    
    /* 新增黑客风格颜色 */
    --terminal-bg: #0a0a0a; /* 终端背景色 */
    --terminal-text: #00FF00; /* 终端文本色（亮绿色） */
    --terminal-header: #0f0f0f; /* 终端头部背景 */
    --terminal-border: #00cc00; /* 终端边框色 */
    --terminal-warning: #ff3333; /* 终端警告色 */
    --terminal-cmd: #00cc00; /* 命令颜色 */
    --terminal-response: #88ff88; /* 响应颜色 */
    --terminal-dim: #009900; /* 暗淡绿色 */
}

@font-face {
    font-family: 'SCPFont';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--secondary-color);
    position: relative;
}

/* 黑客风格安全警告覆盖层 */
.security-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    color: var(--terminal-text);
    transition: opacity 0.8s ease, visibility 0.8s ease;
    font-family: 'Courier New', Courier, monospace;
}

.terminal-security-content {
    width: 90%;
    max-width: 800px;
    background-color: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
    animation: terminalAppear 0.5s forwards 0.3s;
}

@keyframes terminalAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.terminal-header {
    background-color: var(--terminal-header);
    padding: 8px 15px;
    color: var(--terminal-text);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--terminal-border);
    display: flex;
    justify-content: space-between;
    user-select: none;
}

.terminal-controls {
    display: flex;
    gap: 15px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
    line-height: 12px;
    font-size: 12px;
}

.terminal-btn.minimize {
    background-color: #ffbd2e;
    color: #333;
}

.terminal-btn.maximize {
    background-color: #27c93f;
    color: #333;
}

.terminal-btn.close {
    background-color: #ff5f56;
    color: #333;
}

.terminal-body {
    padding: 0;
    height: 60vh;
    overflow: hidden;
    position: relative;
}

.terminal-output {
    padding: 15px;
    height: 80%;
    overflow-y: auto;
    background-color: var(--terminal-bg);
    position: relative;
    z-index: 2;
    font-family: monospace;
    color: var(--terminal-text);
}

.terminal-output::-webkit-scrollbar {
    width: 8px;
}

.terminal-output::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.terminal-output::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.terminal-output .line {
    margin-bottom: 10px;
    position: relative;
    opacity: 0;
    animation: fadeInLeft 0.3s forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

.terminal-output .cmd {
    color: #00ff00;
    font-weight: bold;
}

.terminal-output .warning {
    color: var(--terminal-warning);
    font-weight: bold;
}

.terminal-output .success {
    color: #27ae60;
    font-weight: bold;
}

.typing-text {
    border-right: 2px solid var(--terminal-text);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
    display: inline-block;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--terminal-text) }
}

.matrix-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--terminal-bg);
    opacity: 0.1;
    z-index: 1;
    overflow: hidden;
}

.terminal-input-container {
    position: relative;
    padding: 20px;
    z-index: 2;
    background-color: rgba(10, 10, 10, 0.7);
    border-top: 1px solid var(--terminal-border);
    display: flex;
    justify-content: center;
    align-items: center;
}

.authorization-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.scan-area {
    width: 300px;
    height: 120px;
    border: 1px solid var(--terminal-border);
    border-radius: 5px;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: rgba(0, 20, 0, 0.5);
}

.scan-area::before {
    content: "CLICK TO SCAN";
    position: absolute;
    font-size: 0.8rem;
    color: rgba(0, 255, 0, 0.4);
    z-index: 1;
    letter-spacing: 2px;
}

.scan-area.active {
    box-shadow: 0 0 15px var(--terminal-text);
    border-color: var(--terminal-text);
}

.scan-area.active::before {
    animation: blink 1.5s infinite;
}

.scanner-line {
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--terminal-text);
    top: 0;
    left: 0;
    box-shadow: 0 0 15px var(--terminal-text), 0 0 8px var(--terminal-text);
    animation: scanAnimation 2s linear infinite;
    opacity: 0.8;
}

.ambu-logo {
    font-size: 50px;
    color: var(--terminal-dim);
    z-index: 1;
    transition: all 0.3s ease;
}

.scan-area:hover .ambu-logo {
    color: var(--terminal-text);
    transform: scale(1.1);
}

#security-accept {
    background-color: var(--terminal-bg);
    color: var(--terminal-text);
    border: 1px solid var(--terminal-border);
    padding: 12px 25px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

#security-accept.highlight {
    box-shadow: 0 0 20px var(--terminal-text);
    animation: buttonHighlight 1.5s infinite;
}

@keyframes buttonHighlight {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 0, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 0, 0.8); }
}

#security-accept::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--terminal-text);
    transition: all 0.3s ease;
}

#security-accept:hover {
    background-color: rgba(0, 50, 0, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

#security-accept:hover::before {
    width: 100%;
}

#security-accept i {
    margin-left: 10px;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 扫描动画 */
@keyframes scanAnimation {
    0% { top: 0; opacity: 0.8; }
    48% { opacity: 0.8; }
    50% { top: 100%; opacity: 0.2; }
    51% { top: 0; opacity: 0.2; }
    53% { opacity: 0.8; }
    100% { top: 0; opacity: 0.8; }
}

@keyframes blink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* 通用容器样式 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--accent-color);
}

.navbar.scrolled {
    background-color: rgba(139, 0, 0, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-family: var(--header-font);
    letter-spacing: 1px;
    position: relative;
}

.logo img {
    height: 40px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid var(--accent-color);
}

.security-level {
    position: absolute;
    bottom: -15px;
    left: 50px;
    font-size: 0.7rem;
    color: var(--accent-color);
    background-color: var(--primary-dark);
    padding: 2px 8px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
    font-family: var(--header-font);
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* 英雄区/头图样式 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/api/placeholder/1200/800') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--secondary-light);
    position: relative;
    border-bottom: 3px solid var(--primary-color);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkZCQThFOTYyNUNBMzExRTM5MzA0QTY5MDVGQkVCOTBDIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkZCQThFOTYzNUNBMzExRTM5MzA0QTY5MDVGQkVCOTBDIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RkJBOEU5NjA1Q0EzMTFFMzkzMDRBNjkwNUZCRUI5MEMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RkJBOEU5NjE1Q0EzMTFFMzkzMDRBNjkwNUZCRUI5MEMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7MR4jLAAAAHUlEQVR42mJkYGD4z8DAwMgAJYAUMDIyQjlAAgwABnkANGK/+VsAAAAASUVORK5CYII=');
    opacity: 0.05;
}

/* 增加网格线叠加层效果 */
.overlay-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
}

/* 添加噪点效果 */
.hero-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1CjH7GIaDbc9kqBY3W/Rgjda1iqQcOJu2WW+76pZC9QG7M00dffe9hNnseupFL53r8F7YHSwJWUKP2q+k7RdsxyOB11n0xtOvnW4irMMFNV4H0uqwS5ExsmP9AxbDTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==');
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: var(--header-font);
    text-transform: uppercase;
    color: var(--secondary-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    visibility: hidden; /* 为打字机效果准备 */
}

.hero h1:first-child {
    color: var(--accent-color);
}

.redacted-container {
    background-color: rgba(30, 30, 30, 0.5);
    padding: 20px;
    border-radius: 5px;
    border-left: 3px solid var(--accent-color);
    margin-bottom: 30px;
    position: relative;
}

.redacted-container::before {
    content: '3B - RESTRICTED';
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 2px 10px;
    font-size: 0.7rem;
    border-radius: 3px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 300;
    font-family: 'Courier New', Courier, monospace;
    text-align: left;
}

.cta-button {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--primary-color);
    color: var(--secondary-light);
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-family: var(--header-font);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

/* 新增抖动按钮效果 */
.glitch-button {
    position: relative;
    overflow: visible;
}

.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-button:hover .glitch-text::before {
    opacity: 0.8;
    color: #00ffff;
    animation: glitch-animation 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.glitch-button:hover .glitch-text::after {
    opacity: 0.8;
    color: #ff00ff;
    animation: glitch-animation 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
}

@keyframes glitch-animation {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--secondary-light);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.encrypted {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: var(--accent-color);
    letter-spacing: 2px;
}

/* 红色闪烁文字 */
.blinking {
    color: var(--primary-light);
    animation: blink 2s infinite;
    font-weight: bold;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* 内容区域通用样式 */
section {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkZCQThFOTYyNUNBMzExRTM5MzA0QTY5MDVGQkVCOTBDIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkZCQThFOTYzNUNBMzExRTM5MzA0QTY5MDVGQkVCOTBDIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RkJBOEU5NjA1Q0EzMTFFMzkzMDRBNjkwNUZCRUI5MEMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RkJBOEU5NjE1Q0EzMTFFMzkzMDRBNjkwNUZCRUI5MEMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7MR4jLAAAAHUlEQVR42mJkYGD4z8DAwMgAJYAUMDIyQjlAAgwABnkANGK/+VsAAAAASUVORK5CYII=');
    opacity: 0.03;
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    position: relative;
}

.section-title.appear {
    opacity: 1;
    transform: translateY(0);
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: var(--header-font);
    text-transform: uppercase;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 15px auto 0;
    font-weight: 300;
    font-family: 'Courier New', Courier, monospace;
}

.clearance-badge {
    position: absolute;
    top: -20px;
    right: 0;
    background-color: var(--primary-color);
    color: var(--secondary-light);
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 1px;
    border: 1px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.small-caps {
    font-variant: small-caps;
    letter-spacing: 1px;
}

/* 已编辑内容样式 */
.redacted {
    background-color: var(--redacted-bg);
    color: transparent;
    border-radius: 2px;
    padding: 0 2px;
    position: relative;
    user-select: none;
    display: inline-block;
    height: 1.2em;
    min-width: 80px;
}

.redacted:hover::after {
    content: '数据已加密';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--secondary-light);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

/* 高亮文本 */
.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* 关于我们部分 */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    background-color: rgba(245, 245, 220, 0.5);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-content::before {
    content: 'AMB-KC-XY-████';
    position: absolute;
    top: -12px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 2px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 1px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
    border-right: 1px dashed var(--primary-color);
}

.about-text.appear {
    opacity: 1;
    transform: translateX(0);
}

.about-text h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    font-family: var(--header-font);
    text-transform: uppercase;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.7;
    font-family: 'Courier New', Courier, monospace;
}

.document-footer {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px dashed var(--primary-color);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-family: 'Courier New', Courier, monospace;
}

.about-image {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
    position: relative;
}

.about-image.appear {
    opacity: 1;
    transform: translateX(0);
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--primary-color);
}

.image-overlay {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(139, 0, 0, 0.8);
    color: var(--secondary-light);
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.5px;
    border: 1px solid var(--accent-color);
}

.image-tag {
    display: inline-block;
}

/* 新增扫描效果 */
.scan-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(139, 0, 0, 0.1) 50.1%, transparent 51%);
    background-size: 100% 8px;
    animation: scanEffect 8s linear infinite;
    pointer-events: none;
    z-index: 2;
    opacity: 0.5;
}

@keyframes scanEffect {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

/* 研究项目部分 */
#projects {
    background-color: var(--secondary-dark);
}

.project-filter {
    background-color: var(--secondary-light);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    margin-bottom: 40px;
    overflow: hidden;
}

.filter-header {
    background-color: var(--primary-color);
    color: var(--secondary-light);
    padding: 15px 20px;
}

.filter-header h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.filter-header h3 i {
    margin-right: 10px;
}

.filter-body {
    padding: 20px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 15px;
    background-color: var(--secondary-color);
    border: 1px solid var(--primary-color);
    border-radius: 3px;
    cursor: pointer;
    font-family: var(--body-font);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-btn i {
    opacity: 0.7;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--secondary-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.project-card {
    background-color: var(--secondary-light);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.project-card.appear {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.project-card.classified {
    border: 1px solid #000;
    background-color: #222;
    color: #ddd;
}

.project-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-card.classified .project-image img {
    filter: grayscale(100%) brightness(0.5);
}

.project-tag {
    position: absolute;
    top: 10px;
    right: 0;
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-family: 'Courier New', Courier, monospace;
    z-index: 2;
}

.project-quantum {
    background-color: var(--quantum-color);
}

.project-biotech {
    background-color: var(--biotech-color);
}

.project-reality {
    background-color: var(--reality-color);
}

.project-cognitive {
    background-color: var(--cognitive-color);
}

.project-classified {
    background-color: var(--classified-color);
}

.project-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

.project-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
}

.project-id {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.5px;
    background-color: rgba(139, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 3px;
}

.classified .project-id {
    color: #ddd;
    background-color: rgba(255, 255, 255, 0.1);
}

.project-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.status-active {
    background-color: var(--status-active);
}

.status-pending {
    background-color: var(--status-pending);
}

.status-testing {
    background-color: var(--status-testing);
}

.status-completed {
    background-color: var(--status-completed);
}

.status-maintenance {
    background-color: var(--status-maintenance);
}

.status-classified {
    background-color: var(--status-classified);
}

.project-info h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    font-family: var(--header-font);
}

.classified .project-info h3 {
    color: #ddd;
}

.project-info p {
    color: var(--text-color);
    line-height: 1.6;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 20px;
    flex: 1;
}

.classified .project-info p {
    color: #bbb;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    align-self: flex-start;
}

.read-more:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.read-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.restricted {
    color: #777;
    cursor: not-allowed;
}

.classified .restricted {
    color: #666;
}

.restricted:hover {
    color: #777;
    padding-left: 0;
}

.restricted:hover i {
    transform: none;
}

/* 实验设施部分 */
#labs {
    background-color: var(--secondary-color);
}

.labs-map-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.labs-map {
    flex: 2;
    min-width: 300px;
    position: relative;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 500px; /* 固定高度以便Three.js渲染 */
}

.map-tooltip {
    position: absolute;
    background-color: rgba(10, 10, 10, 0.8);
    color: #00ff00;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid #00aa00;
}

.lab-info {
    flex: 1;
    min-width: 300px;
    background-color: var(--secondary-light);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.lab-details {
    padding: 25px;
    display: none;
}

.lab-details.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.lab-details h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: var(--header-font);
    font-size: 1.4rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.lab-details h3 i {
    margin-right: 10px;
}

.lab-details.classified h3 {
    color: var(--classified-color);
}

.lab-description {
    margin-bottom: 20px;
    line-height: 1.6;
    font-family: 'Courier New', Courier, monospace;
}

.lab-features {
    list-style: none;
}

.lab-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-family: 'Courier New', Courier, monospace;
}

.feature-label {
    font-weight: bold;
    margin-right: 10px;
    min-width: 140px;
    color: var(--primary-color);
}

.lab-details.classified .feature-label {
    color: var(--classified-color);
}

.lab-not-selected {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    color: var(--primary-color);
    font-family: 'Courier New', Courier, monospace;
}

.lab-not-selected i {
    display: block;
    font-size: 2rem;
    margin-bottom: 15px;
}

/* 科技成果部分 */
#innovations {
    background-color: var(--secondary-dark);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 50px 50px 50px;
    position: relative;
    background-color: inherit;
    width: calc(50% - 30px);
    animation-duration: 0.8s;
    animation-fill-mode: both;
    opacity: 0;
}

.timeline-item:nth-child(odd) {
    left: 0;
    transform: translateX(-30px);
}

.timeline-item:nth-child(even) {
    left: 50%;
    transform: translateX(30px);
}

.timeline-item.appear {
    opacity: 1;
    transform: translateX(0);
}

.timeline-badge {
    position: absolute;
    top: 15px;
    right: -17px;
    z-index: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    text-align: center;
    background-color: var(--primary-color);
    border: 4px solid var(--accent-color);
    color: var(--secondary-light);
    line-height: 25px;
    font-size: 0.8rem;
    font-weight: bold;
}

.timeline-item:nth-child(even) .timeline-badge {
    left: -17px;
}

.timeline-item.classified .timeline-badge {
    background-color: var(--classified-color);
    border-color: #777;
}

.timeline-panel {
    padding: 20px;
    background-color: var(--secondary-light);
    position: relative;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary-color);
}

.timeline-item.classified .timeline-panel {
    background-color: #222;
    color: #ddd;
    border-color: var(--classified-color);
}

.timeline-panel::after {
    content: '';
    position: absolute;
    top: 19px;
    right: -15px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-panel::after {
    left: -15px;
    right: auto;
    border-color: transparent var(--primary-color) transparent transparent;
}

.timeline-item.classified .timeline-panel::after {
    border-color: transparent transparent transparent var(--classified-color);
}

.timeline-item.classified:nth-child(even) .timeline-panel::after {
    border-color: transparent var(--classified-color) transparent transparent;
}

.timeline-heading {
    margin-bottom: 15px;
}

.timeline-heading h4 {
    color: var(--primary-color);
    font-family: var(--header-font);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-item.classified .timeline-heading h4 {
    color: #ddd;
}

.timeline-date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: 'Courier New', Courier, monospace;
}

.timeline-item.classified .timeline-date {
    color: #999;
}

.timeline-date i {
    margin-right: 5px;
}

.timeline-body p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-family: 'Courier New', Courier, monospace;
}

.timeline-image {
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid var(--primary-color);
}

.timeline-item.classified .timeline-image {
    border-color: #444;
}

.timeline-image img {
    width: 100%;
    height: auto;
    display: block;
}

.timeline-item.classified .timeline-image img {
    filter: grayscale(100%) brightness(0.7);
}

.timeline-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px dashed var(--primary-color);
}

.timeline-item.classified .timeline-footer {
    border-top-color: #444;
}

.patent-id {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-family: 'Courier New', Courier, monospace;
}

.timeline-item.classified .patent-id {
    color: #999;
}

.timeline-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
}

.timeline-link:hover {
    color: var(--primary-light);
}

.timeline-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.timeline-link:hover i {
    transform: translateX(3px);
}

.timeline-link.restricted {
    color: #777;
    cursor: not-allowed;
}

.timeline-item.classified .timeline-link.restricted {
    color: #666;
}

.timeline-link.restricted:hover {
    color: #777;
}

.timeline-link.restricted:hover i {
    transform: none;
}

/* 数据可视化部分 */
#data-viz {
    background-color: var(--secondary-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stats-card {
    background-color: var(--secondary-light);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.stats-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.stats-card:hover .stats-icon {
    transform: rotateY(180deg);
}

.stats-info {
    margin-bottom: 20px;
}

.stats-info h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--header-font);
}

.stats-info p {
    color: var(--text-light);
    font-family: 'Courier New', Courier, monospace;
}

.stats-chart {
    width: 100%;
    height: 80px;
}

.viz-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.viz-card {
    background-color: var(--secondary-light);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.viz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.viz-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: var(--header-font);
    text-align: center;
}

.viz-chart {
    height: 300px;
    width: 100%;
}

.success-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.metric-item {
    background-color: var(--secondary-light);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.metric-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.metric-info {
    flex: 1;
}

.metric-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: var(--header-font);
}

.progress-container {
    height: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-bottom: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease;
}

.progress-value {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    float: right;
}

/* 页脚样式 */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-light);
    padding: 80px 0 30px;
    border-top: 3px solid var(--accent-color);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkZCQThFOTYyNUNBMzExRTM5MzA0QTY5MDVGQkVCOTBDIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkZCQThFOTYzNUNBMzExRTM5MzA0QTY5MDVGQkVCOTBDIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RkJBOEU5NjA1Q0EzMTFFMzkzMDRBNjkwNUZCRUI5MEMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RkJBOEU5NjE1Q0EzMTFFMzkzMDRBNjkwNUZCRUI5MEMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7MR4jLAAAAHUlEQVR42mJkYGD4z8DAwMgAJYAUMDIyQjlAAgwABnkANGK/+VsAAAAASUVORK5CYII=');
    opacity: 0.05;
    pointer-events: none;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding-right: 30px;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
    color: var(--accent-color);
    font-family: var(--header-font);
    letter-spacing: 1px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.motto {
    font-style: italic;
    color: var(--accent-color);
    margin: 15px 0;
    font-weight: bold;
    font-family: var(--header-font);
}

.security-notice {
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--accent-color);
    display: flex;
    align-items: center;
}

.security-notice i {
    margin-right: 10px;
    color: var(--accent-color);
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--secondary-light);
    font-family: 'Courier New', Courier, monospace;
}

.contact-info i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.social-links a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.footer-links li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--secondary-light);
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
    font-family: 'Courier New', Courier, monospace;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.restricted-link {
    color: var(--secondary-dark) !important;
    opacity: 0.7;
}

.restricted-link:hover {
    color: var(--accent-color) !important;
}

.footer-column form input.security-input {
    width: 100%;
    padding: 12px;
    border-radius: 0;
    border: none;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--secondary-light);
    margin-bottom: 15px;
    font-family: 'Courier New', Courier, monospace;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-column form input.security-input:focus {
    border-color: var(--accent-color);
    outline: none;
}

.security-submit {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: var(--header-font);
    letter-spacing: 1px;
    width: 100%;
}

.security-submit:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

.memetic-warning {
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--accent-color);
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-family: 'Courier New', Courier, monospace;
}

.memetic-warning i {
    margin-right: 10px;
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--secondary-light);
    position: relative;
    z-index: 2;
    font-family: 'Courier New', Courier, monospace;
}

.footer-warning {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-family: 'Courier New', Courier, monospace;
}

.classification-tag {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 3px 10px;
    border-radius: 3px;
    border: 1px solid var(--accent-color);
}

/* 终端图标 */
.terminal-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #1a1a1a;
    color: var(--accent-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.terminal-icon:hover {
    background-color: var(--primary-color);
    color: var(--secondary-light);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* 滚动到顶部按钮 */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 90px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 5px;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    border: 1px solid var(--accent-color);
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* 黑客终端窗口样式 */
.terminal-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 600px;
    height: 400px;
    background-color: #0a0a0a;
    color: #00FF00;
    border-radius: 5px;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    z-index: 9997;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 0, 0.2);
    border: 1px solid #00aa00;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.terminal-window .terminal-header {
    background-color: #0d0d0d;
    color: #00FF00;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    border-bottom: 1px solid #00aa00;
}

.terminal-window .terminal-title {
    font-weight: bold;
}

.terminal-window .terminal-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background-color: #0a0a0a;
    position: relative;
    height: auto;
}

.terminal-window .terminal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1;
}

.terminal-window .terminal-output {
    flex: 1;
    margin-bottom: 10px;
    overflow-y: auto;
    position: relative;
    z-index: 2;
    height: auto;
}

.terminal-window .terminal-output .line {
    margin-bottom: 6px;
    color: #00cc00;
}

.terminal-window .terminal-output .success {
    color: #00ff00;
    font-weight: bold;
}

.terminal-window .terminal-output .warning {
    color: #ffcc00;
}

.terminal-window .terminal-output .error {
    color: #ff3333;
}

.terminal-window .term-green {
    color: #00ff00;
}

.terminal-window .input-container {
    display: flex;
    align-items: center;
    background-color: #0d0d0d;
    padding: 5px;
    border-radius: 3px;
    position: relative;
    z-index: 2;
}

.terminal-window .terminal-prompt {
    color: #00aa00;
    margin-right: 5px;
}

.terminal-window .terminal-input {
    flex: 1;
    background-color: transparent;
    border: none;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    outline: none;
}

.terminal-window .cmd {
    color: #ffffff;
    background-color: #00aa00;
    padding: 0 4px;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
    margin-right: 5px;
    vertical-align: middle;
}

/* 黑客验证界面动画 */
@keyframes createSystem {
    0% { width: 0; }
    100% { width: 100%; }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 地图脉冲效果 */
@keyframes mapPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Three.js地图样式 */
.map-tooltip {
    position: absolute;
    padding: 5px 10px;
    background-color: rgba(10, 10, 10, 0.8);
    color: #00ff00;
    font-size: 12px;
    border-radius: 3px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid #00aa00;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-badge {
        left: 14px !important;
        right: auto !important;
    }
    
    .timeline-panel::after {
        left: -15px !important;
        right: auto !important;
        border-color: transparent var(--primary-color) transparent transparent !important;
    }
    
    .timeline-item.classified .timeline-panel::after {
        border-color: transparent var(--classified-color) transparent transparent !important;
    }
    
    .labs-map-container {
        flex-direction: column;
    }

    .terminal-window {
        width: 90%;
        max-width: 600px;
        right: 5%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: all 0.5s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.7rem;
    }
    
    .about-text, .about-image {
        min-width: 100%;
    }
    
    .about-text {
        border-right: none;
        border-bottom: 1px dashed var(--primary-color);
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .stats-container, .viz-container, .success-metrics {
        grid-template-columns: 1fr;
    }

    .terminal-security-content {
        width: 95%;
    }

    .scan-area {
        width: 90%;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-column { 
        min-width: 100%; 
    }
    
    .timeline-item { 
        padding-right: 10px; 
        padding-left: 50px;
    }
    
    /* 终端图标和滚动顶部按钮响应式调整 */
    .terminal-icon,
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* 黑客风格终端窗口响应式 */
    .terminal-window {
        width: 95%;
        right: 2.5%;
        height: 350px;
    }
    
    /* 安全警告覆盖层响应调整 */
    .terminal-body {
        height: 55vh;
    }
}

/* 最小屏幕调整 */
@media (max-width: 375px) {
    html {
        font-size: 13px;
    }
    
    .nav-container {
        padding: 10px 0;
    }
    
    .logo img {
        height: 30px;
    }
    
    .security-level {
        font-size: 0.6rem;
        bottom: -12px;
        left: 40px;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .stats-info h3 {
        font-size: 2rem;
    }
    
    .terminal-window {
        height: 300px;
    }
    
    .scan-area {
        height: 100px;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .hero,
    .scroll-to-top,
    .terminal-icon,
    footer {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
    
    .container {
        width: 100%;
        padding: 0;
    }
    
    .redacted {
        background-color: #ccc;
    }
}

/* 扫描区域的脉冲效果 */
.scan-area.pulse-ready {
    animation: pulseBorder 2s infinite;
}

@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

/* 隐藏地图点标记（用于Three.js地图交互） */
.map-point {
    display: none;
}

/* 地图点击事件触发的脉冲效果 */
.pulse-effect {
    animation: pulseEffect 0.5s;
}

@keyframes pulseEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 访问拒绝闪烁效果 */
.access-denied {
    animation: accessDeniedFlash 0.5s;
}

@keyframes accessDeniedFlash {
    0% { opacity: 1; }
    25% { opacity: 0.3; }
    50% { opacity: 1; }
    75% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* 数据刷新效果 */
.data-refresh-effect {
    animation: dataRefresh 0.8s linear;
}

@keyframes dataRefresh {
    0% { opacity: 0.1; }
    50% { opacity: 0.3; }
    100% { opacity: 0; }
}

/* 黑客授权提示窗口 */
.auth-notice {
    z-index: 10000;
}

/* 终端响应强化 */
@media (max-width: 480px) {
    .terminal-window {
        width: 100%;
        right: 0;
        left: 0;
        bottom: 0;
        height: 300px;
        border-radius: 0;
    }
    
    .terminal-icon {
        bottom: 20px;
        right: 20px;
    }
    
    .scan-area {
        width: 80%;
        height: 90px;
    }
    
    .ambu-logo {
        font-size: 40px;
    }
}

/* 滚动动画 */
.scroll-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-animation.appear {
    opacity: 1;
    transform: translateY(0);
}

/* 加强黑客终端效果 */
.term-green {
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
}

.terminal-output .success {
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
}

.terminal-output .warning {
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.7);
}

.terminal-output .error {
    text-shadow: 0 0 5px rgba(255, 51, 51, 0.7);
}

/* 页面扰动效果 */
.data-noise::after {
    animation: dataNoise 0.3s steps(2, end);
}

@keyframes dataNoise {
    0% { background-position: 0 0; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0 0; }
}

/* 覆盖 Three.js 控件样式 */
.dg.ac {
    z-index: 9990 !important;
}

/* 用于隐藏初始未授权状态下的内容 */
body:not(.authorized) .sensitive-content {
    filter: blur(5px);
    pointer-events: none;
}

/* 打字机光标效果 */
.typed-cursor {
    display: inline-block;
    width: 8px;
    height: 20px;
    background-color: var(--terminal-text);
    vertical-align: middle;
    margin-left: 2px;
    animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* 网站加载动画 */
.site-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-content {
    color: var(--terminal-text);
    text-align: center;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background-color: rgba(0, 255, 0, 0.2);
    margin: 20px auto;
    position: relative;
}

.loader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--terminal-text);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    transition: width 0.3s ease;
}

.loader-percentage {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* 科技成果部分增强样式 */
#innovations {
    background-color: var(--secondary-dark);
    position: relative;
    overflow: hidden;
}

/* 添加科技感背景元素 */
#innovations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 25px 25px;
    z-index: 1;
    pointer-events: none;
}

/* 时间线容器增强 */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    z-index: 2;
}

/* 时间线主轴增强 */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, 
        rgba(139, 0, 0, 0.2), 
        var(--primary-color), 
        rgba(139, 0, 0, 0.2));
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
    z-index: 1;
}

/* 时间线节点样式增强 */
.timeline-item {
    padding: 10px 50px 50px 50px;
    position: relative;
    background-color: inherit;
    width: calc(50% - 30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 左侧卡片初始状态 */
.timeline-item:nth-child(odd) {
    left: 0;
    transform: translateX(-50px);
}

/* 右侧卡片初始状态 */
.timeline-item:nth-child(even) {
    left: 50%;
    transform: translateX(50px);
}

/* 时间线节点出现动画 */
.timeline-item.appear {
    opacity: 1;
    transform: translateX(0);
}

/* 徽章增强 */
.timeline-badge {
    position: absolute;
    top: 15px;
    right: -17px;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    background-color: var(--primary-color);
    border: 4px solid var(--accent-color);
    color: var(--secondary-light);
    line-height: 30px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* 徽章hover效果 */
.timeline-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.7);
}

/* 右侧卡片徽章位置修正 */
.timeline-item:nth-child(even) .timeline-badge {
    left: -17px;
}

/* 机密项目徽章样式 */
.timeline-item.classified .timeline-badge {
    background-color: var(--classified-color);
    border-color: #444;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* 面板样式增强 */
.timeline-panel {
    padding: 25px;
    background-color: var(--secondary-light);
    position: relative;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    transform: scale(1);
    overflow: hidden;
}

/* 面板hover效果 */
.timeline-panel:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 面板流动光效果 */
.timeline-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    transform: skewX(-20deg);
    transition: all 0.8s ease;
}

.timeline-panel:hover::before {
    left: 100%;
}

/* 箭头样式增强 */
.timeline-panel::after {
    content: '';
    position: absolute;
    top: 19px;
    right: -15px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-color);
    transition: all 0.3s ease;
    filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.2));
}

/* 右侧卡片箭头位置修正 */
.timeline-item:nth-child(even) .timeline-panel::after {
    left: -15px;
    right: auto;
    border-color: transparent var(--primary-color) transparent transparent;
    filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.2));
}

/* 机密项目面板样式 */
.timeline-item.classified .timeline-panel {
    background-color: #222;
    color: #ddd;
    border-color: var(--classified-color);
}

/* 机密项目箭头样式 */
.timeline-item.classified .timeline-panel::after {
    border-color: transparent transparent transparent var(--classified-color);
}

/* 右侧机密项目箭头样式 */
.timeline-item.classified:nth-child(even) .timeline-panel::after {
    border-color: transparent var(--classified-color) transparent transparent;
}

/* 标题样式增强 */
.timeline-heading {
    margin-bottom: 20px;
}

.timeline-heading h4 {
    color: var(--primary-color);
    font-family: var(--header-font);
    font-size: 1.3rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

/* 标题下划线效果 */
.timeline-heading h4::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

/* 标题hover效果 */
.timeline-panel:hover .timeline-heading h4::after {
    width: 100%;
}

/* 机密项目标题样式 */
.timeline-item.classified .timeline-heading h4 {
    color: #ddd;
}

/* 机密项目标题下划线效果 */
.timeline-item.classified .timeline-heading h4::after {
    background-color: #555;
}

/* 日期样式增强 */
.timeline-date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: 'Courier New', Courier, monospace;
    display: inline-block;
    background-color: rgba(139, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 日期hover效果 */
.timeline-panel:hover .timeline-date {
    background-color: rgba(139, 0, 0, 0.1);
}

/* 机密项目日期样式 */
.timeline-item.classified .timeline-date {
    color: #999;
    background-color: rgba(0, 0, 0, 0.2);
}

/* 日期图标样式 */
.timeline-date i {
    margin-right: 5px;
}

/* 内容样式增强 */
.timeline-body p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-family: 'Courier New', Courier, monospace;
    transition: all 0.3s ease;
}

/* 图片容器样式增强 */
.timeline-image {
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: scale(1);
}

/* 图片容器hover效果 */
.timeline-panel:hover .timeline-image {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 机密项目图片容器样式 */
.timeline-item.classified .timeline-image {
    border-color: #444;
}

/* 图片样式增强 */
.timeline-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
}

/* 图片hover效果 */
.timeline-panel:hover .timeline-image img {
    transform: scale(1.05);
}

/* 机密项目图片样式 */
.timeline-item.classified .timeline-image img {
    filter: grayscale(100%) brightness(0.7);
}

/* 底部样式增强 */
.timeline-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px dashed var(--primary-color);
    transition: all 0.3s ease;
}

/* 底部hover效果 */
.timeline-panel:hover .timeline-footer {
    border-top: 1px dashed var(--accent-color);
}

/* 机密项目底部样式 */
.timeline-item.classified .timeline-footer {
    border-top-color: #444;
}

/* 专利ID样式增强 */
.patent-id {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-family: 'Courier New', Courier, monospace;
    background-color: rgba(139, 0, 0, 0.05);
    padding: 3px 8px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 专利ID hover效果 */
.timeline-panel:hover .patent-id {
    background-color: rgba(139, 0, 0, 0.1);
}

/* 机密项目专利ID样式 */
.timeline-item.classified .patent-id {
    color: #999;
    background-color: rgba(0, 0, 0, 0.2);
}

/* 链接样式增强 */
.timeline-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    background-color: rgba(139, 0, 0, 0.05);
    padding: 5px 12px;
    border-radius: 3px;
    border: 1px solid transparent;
}

/* 链接hover效果 */
.timeline-link:hover {
    color: var(--secondary-light);
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* 链接图标样式 */
.timeline-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

/* 链接图标hover效果 */
.timeline-link:hover i {
    transform: translateX(3px);
}

/* 受限链接样式 */
.timeline-link.restricted {
    color: #777;
    cursor: not-allowed;
    background-color: rgba(0, 0, 0, 0.1);
    border: 1px dashed #777;
}

/* 机密项目受限链接样式 */
.timeline-item.classified .timeline-link.restricted {
    color: #666;
    background-color: rgba(0, 0, 0, 0.2);
}

/* 受限链接hover效果 */
.timeline-link.restricted:hover {
    color: #777;
    background-color: rgba(0, 0, 0, 0.1);
    transform: none;
}

/* 受限链接图标hover效果 */
.timeline-link.restricted:hover i {
    transform: none;
}

/* 添加逐个加载动画延迟 */
@media (min-width: 992px) {
    .timeline-item:nth-child(1).appear {
        transition-delay: 0.1s;
    }
    
    .timeline-item:nth-child(2).appear {
        transition-delay: 0.3s;
    }
    
    .timeline-item:nth-child(3).appear {
        transition-delay: 0.5s;
    }
    
    .timeline-item:nth-child(4).appear {
        transition-delay: 0.7s;
    }
    
    .timeline-item:nth-child(5).appear {
        transition-delay: 0.9s;
    }
    
    .timeline-item:nth-child(6).appear {
        transition-delay: 1.1s;
    }
}

/* 响应式调整 */
@media (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) {
        transform: translateX(-30px);
    }
    
    .timeline-item:nth-child(even) {
        transform: translateX(-30px);
    }
    
    .timeline-item.appear {
        transform: translateX(0);
    }
    
    .timeline-badge {
        left: 14px !important;
        right: auto !important;
    }
    
    .timeline-panel::after {
        left: -15px !important;
        right: auto !important;
        border-color: transparent var(--primary-color) transparent transparent !important;
    }
    
    .timeline-item.classified .timeline-panel::after {
        border-color: transparent var(--classified-color) transparent transparent !important;
    }
    
    /* 移动端逐个加载动画延迟 */
    .timeline-item:nth-child(1).appear {
        transition-delay: 0.1s;
    }
    
    .timeline-item:nth-child(2).appear {
        transition-delay: 0.2s;
    }
    
    .timeline-item:nth-child(3).appear {
        transition-delay: 0.3s;
    }
    
    .timeline-item:nth-child(4).appear {
        transition-delay: 0.4s;
    }
    
    .timeline-item:nth-child(5).appear {
        transition-delay: 0.5s;
    }
    
    .timeline-item:nth-child(6).appear {
        transition-delay: 0.6s;
    }
}

/* 实验站点增强样式 */
.lab-details {
    padding: 25px;
    display: none;
    animation: fadeIn 0.5s ease;
    position: relative;
    overflow: hidden;
}

.lab-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, 
        var(--primary-color), 
        var(--accent-color), 
        var(--primary-color));
}

.lab-details.active {
    display: block;
    animation: slideInRight 0.5s ease;
}

.lab-details h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: var(--header-font);
    font-size: 1.4rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    text-shadow: 0 0 5px rgba(139, 0, 0, 0.2);
}

.lab-details h3 i {
    margin-right: 10px;
    color: var(--primary-color);
    background-color: rgba(139, 0, 0, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lab-description {
    margin-bottom: 25px;
    line-height: 1.6;
    font-family: 'Courier New', Courier, monospace;
    padding: 15px;
    background-color: rgba(139, 0, 0, 0.03);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 5px 5px 0;
}

.lab-features {
    list-style: none;
}

.lab-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-family: 'Courier New', Courier, monospace;
    position: relative;
    padding-left: 10px;
}

.lab-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.feature-label {
    font-weight: bold;
    margin-right: 10px;
    min-width: 140px;
    color: var(--primary-color);
}

.lab-not-selected {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    color: var(--primary-color);
    font-family: 'Courier New', Courier, monospace;
}

.lab-not-selected i {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

.small-hint {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}