/**
 * Desktop App Showcase Styles
 * Command center design for desktop app section
 */

.desktop-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.desktop-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 49%, rgba(0, 212, 255, 0.03) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(0, 212, 255, 0.03) 50%, transparent 51%);
    background-size: 60px 60px;
    pointer-events: none;
}

.desktop-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.desktop-info {
    color: #ffffff;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 255, 65, 0.2) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border-radius: 0;
}

.desktop-features {
    margin: 40px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(0, 212, 255, 0.02);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(4px);
}

.feature-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.feature-content h4 {
    margin: 0 0 4px 0;
    color: #00d4ff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-content p {
    margin: 0;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.5;
}

.desktop-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 40px;
}

.desktop-download {
    background: linear-gradient(135deg, #00d4ff 0%, #00ff41 100%);
    color: #000000;
    font-weight: 700;
    padding: 16px 32px;
    border: none;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.desktop-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.desktop-download:hover::before {
    left: 100%;
}

.desktop-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* Desktop Mockup */
.desktop-visual {
    position: relative;
}

.desktop-mockup {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.desktop-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.desktop-frame {
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #333333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.desktop-header {
    background: linear-gradient(135deg, #333333 0%, #2a2a2a 100%);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #444444;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.control.close {
    background: #ff5f57;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #28ca42;
}

.window-title {
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Command Interface */
.desktop-screen {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 0;
    min-height: 400px;
    position: relative;
}

.command-interface {
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    color: #ffffff;
}

.status-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.status-item {
    font-size: 11px;
    color: #00ff41;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.analysis-panel {
    background: rgba(0, 212, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 16px;
    margin-bottom: 20px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.panel-header h4 {
    margin: 0;
    color: #00d4ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.confidence {
    color: #00ff41;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analysis-content {
    font-size: 11px;
}

.analysis-line {
    margin: 6px 0;
    color: #cccccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analysis-line::before {
    content: '▸';
    color: #00ff41;
    font-size: 10px;
}

.analysis-highlight {
    margin: 8px 0;
    padding: 8px 12px;
    background: rgba(0, 255, 65, 0.05);
    border-left: 3px solid #00ff41;
    color: #ffffff;
    font-weight: 600;
}

/* Chart Overlay */
.chart-overlay {
    position: relative;
    height: 120px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333333;
    overflow: hidden;
}

.chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.price-line {
    position: absolute;
    top: 20px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: linear-gradient(90deg, #00ff41 0%, #00d4ff 50%, #00ff41 100%);
    animation: priceMove 3s ease-in-out infinite;
}

@keyframes priceMove {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
}

.indicator-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 16px;
}

.indicator {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 4px 8px;
    font-size: 10px;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .desktop-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .desktop-mockup {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .desktop-showcase {
        padding: 60px 0;
    }
    
    .desktop-content {
        gap: 40px;
    }
    
    .desktop-features {
        margin: 30px 0;
    }
    
    .feature-item {
        margin-bottom: 16px;
        padding: 12px;
    }
    
    .desktop-actions {
        flex-direction: column;
        margin-top: 30px;
    }
    
    .desktop-download {
        width: 100%;
        padding: 14px 24px;
    }
    
    .desktop-screen {
        min-height: 300px;
    }
    
    .command-interface {
        padding: 16px;
    }
    
    .status-bar {
        flex-direction: column;
        gap: 8px;
    }
}