/* ==========================================================================
   下载页面专用样式 - 科技感特效
   ========================================================================== */

/* 科技感背景 */
#tech-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(45deg, #0a0a0a, #1a1a2e, #16213e);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 矩阵雨效果 */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.matrix-char {
    position: absolute;
    color: #00ff41;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    animation: matrixFall linear infinite;
    opacity: 0.7;
}

@keyframes matrixFall {
    0% {
        transform: translateY(-100vh);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* 下载英雄区域 */
.download-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.download-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* 全息投影效果 */
.hologram-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.hologram-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.hologram-inner {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #00d4ff, #ff00ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: hologramPulse 3s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
}

.download-icon {
    font-size: 3rem;
    animation: iconFloat 2s ease-in-out infinite alternate;
}

@keyframes hologramPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes iconFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* 扫描线效果 */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff41, transparent);
    animation: scanMove 2s linear infinite;
}

@keyframes scanMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(200px); }
}

/* 能量环 */
.energy-ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
}

.ring-1 {
    width: 160px;
    height: 160px;
    border-color: #00d4ff;
    animation: energyRotate 8s linear infinite;
}

.ring-2 {
    width: 180px;
    height: 180px;
    border-color: #ff00ff;
    animation: energyRotate 12s linear infinite reverse;
}

.ring-3 {
    width: 200px;
    height: 200px;
    border-color: #00ff41;
    animation: energyRotate 16s linear infinite;
}

@keyframes energyRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 故障文字效果 */
.glitch-text {
    position: relative;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    animation: glitch 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitchTop 1s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch-text::after {
    animation: glitchBottom 1.5s infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitch {
    2%, 64% { transform: translate(2px, 0) skew(0deg); }
    4%, 60% { transform: translate(-2px, 0) skew(0deg); }
    62% { transform: translate(0, 0) skew(5deg); }
}

@keyframes glitchTop {
    2%, 64% { transform: translate(2px, -2px); }
    4%, 60% { transform: translate(-2px, 2px); }
    62% { transform: translate(13px, -1px) skew(-13deg); }
}

@keyframes glitchBottom {
    2%, 64% { transform: translate(-2px, 0); }
    4%, 60% { transform: translate(-2px, 0); }
    62% { transform: translate(-22px, 5px) skew(21deg); }
}

.cyber-text {
    font-size: 2rem;
    background: linear-gradient(45deg, #00d4ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: cyberGlow 2s ease-in-out infinite alternate;
}

@keyframes cyberGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.3); }
}

.download-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
    font-family: 'Courier New', monospace;
}

/* 统计数据 */
.download-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    min-width: 120px;
    animation: statGlow 3s ease-in-out infinite alternate;
}

@keyframes statGlow {
    0% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
    100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
}

/* 科技感按钮 */
.download-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.btn-cyber {
    position: relative;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #00d4ff;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 20px 100%);
    display: inline-block;
}

.btn-cyber:hover {
    color: #000000;
    transform: translateY(-2px);
}

.btn-cyber.btn-primary {
    border-color: #00d4ff;
}

.btn-cyber.btn-primary:hover .btn-glow-cyber {
    background: #00d4ff;
}

.btn-cyber.btn-secondary {
    border-color: #ff00ff;
}

.btn-cyber.btn-secondary:hover .btn-glow-cyber {
    background: #ff00ff;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow-cyber {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-cyber:hover .btn-glow-cyber {
    left: 0;
}

/* 粒子效果 */
.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* 版本信息区域 */
.version-info {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.section-title-cyber {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, #00d4ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title-cyber::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(45deg, #00d4ff, #ff00ff);
}

.version-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.version-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00d4ff, #ff00ff);
}

.version-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.version-marker {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #00d4ff;
    border-radius: 50%;
    border: 4px solid #1a1a2e;
    animation: markerPulse 2s ease-in-out infinite;
}

.version-item.active .version-marker {
    background: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
}

@keyframes markerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.version-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.version-content h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.version-badge {
    background: linear-gradient(45deg, #00d4ff, #ff00ff);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.version-date {
    color: #cccccc;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.version-features {
    list-style: none;
    padding: 0;
}

.version-features li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.version-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00d4ff;
}

/* 系统要求弹窗 */
.cyber-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.cyber-modal.active {
    display: flex;
}

.modal-content {
    background: rgba(26, 26, 46, 0.95);
    border: 2px solid #00d4ff;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    backdrop-filter: blur(20px);
    animation: modalSlideIn 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #ff00ff;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.requirement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.requirement-item {
    background: rgba(0, 212, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.requirement-item h4 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.requirement-item p {
    color: #cccccc;
    margin: 0;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .download-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .glitch-text {
        font-size: 2.5rem;
    }
    
    .cyber-text {
        font-size: 1.5rem;
    }
    
    .requirement-grid {
        grid-template-columns: 1fr;
    }
}
/* 效果演示区域 */
.demo-showcase {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.demo-subtitle {
    text-align: center;
    color: #cccccc;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    font-family: 'Courier New', monospace;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.demo-item {
    position: relative;
}

.demo-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.demo-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.demo-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.2rem;
}

.demo-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.demo-badge.original {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: #ffffff;
}

.demo-badge.target {
    background: linear-gradient(45deg, #feca57, #ff9ff3);
    color: #000000;
}

.demo-badge.result {
    background: linear-gradient(45deg, #48dbfb, #0abde3);
    color: #ffffff;
}

.demo-video-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #000;
}

.demo-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.demo-video-container:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    animation: playPulse 2s ease-in-out infinite;
}

@keyframes playPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.demo-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.demo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.demo-image-container:hover .demo-image {
    transform: scale(1.05);
}

.image-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.demo-image-container:hover .image-glow {
    opacity: 1;
    animation: imageGlow 2s ease-in-out infinite;
}

@keyframes imageGlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.demo-description {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.demo-description p {
    color: #cccccc;
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

.demo-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .demo-features {
        gap: 1rem;
    }
    
    .feature-highlight {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}