/* Agritech specific styles */
:root {
    --primary-agri: #28a745;
    --gradient-agri: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    --soil-brown: #8B4513;
}

body.agri-theme .navbar {
    box-shadow: 0 2px 20px rgba(40, 167, 69, 0.1);
}

body.agri-theme .navbar-brand {
    background: var(--gradient-agri);
}

.agri-hero {
    min-height: 100vh;
    background: var(--gradient-agri);
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.agri-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
}

.product-demo {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(40, 167, 69, 0.1);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.product-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-agri);
}

.demo-mockup {
    background: #000;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
}

.mockup-screen {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sensor-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.sensor-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.2);
}

.status-online {
    background: #28a745;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.status-offline {
    background: #dc3545;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.3;
    }
}