@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Background video overlay */
.video-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
}

.dark .video-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.6));
}

/* Network particles canvas */
#network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Glowing Pulse for Mikrotik */
.led-glow {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #10B981; /* Tailwind emerald-500 */
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981, 0 0 20px #10B981;
}

.led-glow.blue {
    background-color: #3B82F6; /* Tailwind blue-500 */
    box-shadow: 0 0 10px #3B82F6, 0 0 20px #3B82F6;
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Hardware container */
.hardware-container {
    position: relative;
    display: inline-block;
}

/* Responsive iframe container for Maps */
.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Infinite Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-flex;
    animation: marquee 35s linear infinite;
    gap: 4rem; /* Gap between images */
    padding-right: 4rem; /* Matching gap to make loop seamless */
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
