/* Matrix/tech effects */
.matrix-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}

.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
    border-radius: inherit;
}

/* Tech card effects */
.tech-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tech-card:hover::before {
    transform: scaleX(1);
}

/* Binary code animation */
.binary-stream {
    position: absolute;
    color: rgba(0, 255, 136, 0.3);
    font-family: monospace;
    font-size: 14px;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* Circuit lines */
.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    height: 1px;
    pointer-events: none;
}

/* Radar scan effect */
.radar-scan {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}

.radar-scan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        transparent 0deg,
        rgba(99, 102, 241, 0.3) 90deg,
        transparent 180deg
    );
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Data stream animation */
.data-stream {
    position: relative;
    overflow: hidden;
}

.data-stream::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--secondary);
    animation: stream 2s linear infinite;
}

@keyframes stream {
    0% { top: -100%; }
    100% { top: 100%; }
}