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

body {
    font-family: 'Kanit', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.font-tech {
    font-family: 'Inter', sans-serif;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.glass-panel-dark {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.text-gradient {
    background: linear-gradient(135deg, #00aeef, #0c3866);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
    background: linear-gradient(135deg, #00aeef, #0c3866);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-bg {
    background-image: linear-gradient(to bottom, rgba(12, 56, 102, 0.9), rgba(12, 56, 102, 0.95)), url('gallery-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.pulse-ring {
    animation: pulser 2s infinite;
}

@keyframes pulser {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(225, 29, 72, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

.sensor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.sensor-dot.normal {
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.sensor-dot.alert {
    background-color: #e11d48;
    box-shadow: 0 0 12px #e11d48;
    animation: flash 1s infinite alternate;
}

@keyframes flash {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

.blink-text {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.3;
    }
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: 40px;
    bottom: -40px;
    left: 23px;
    width: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.timeline-step:last-child::before {
    display: none;
}