/* Hardware Page Specific Styles */
:root {
    --transition-speed: 0.3s;
    --animation-speed: 2s;
}

/* Tab System Optimizations */
.tech-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-speed) ease-out,
                transform var(--transition-speed) ease-out;
    will-change: opacity, transform;
    display: none;
}

.tech-content.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

/* Hardware Showcase */
.hardware-showcase {
    position: relative;
    overflow: hidden;
    transform: translateZ(0); /* Force GPU acceleration */
}

.hardware-showcase img {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.spec-point {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.spec-point::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: none; /* Will be added via JS on visibility */
}

/* Floating Icons Animation */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

.icon-node {
    will-change: transform;
    transform: translateZ(0);
}

/* Metrics Animation */
.metric-value {
    display: inline-block;
    transform: translateZ(0);
    will-change: contents;
}

/* Performance Optimizations */
.hardware-solutions-section {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Responsive Optimizations */
@media (prefers-reduced-motion: reduce) {
    .tech-content {
        transition: none;
    }
    
    .spec-point::before {
        animation: none !important;
    }
    
    .icon-node {
        animation: none !important;
    }
}

/* Touch Device Optimizations */
.touch-device .tech-tab {
    padding: 1rem;
    margin: 0.5rem 0;
}

.touch-device .spec-point {
    padding: 1rem;
}
