:root {
    --primary-bg: #37474F;
    --accent-orange: #FF6D00;
    --safety-blue: #2979FF;
    --logic-white: #F5F5F5;
    --engineering-gray: #B0BEC5;
    --dark-gray: #263238;
}

body {
    background-color: var(--primary-bg);
    color: var(--logic-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

.mono-font {
    font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;
}

/* Navigation */
.navbar {
    background-color: rgba(38, 50, 56, 0.95);
    border-bottom: 2px solid var(--accent-orange);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-orange) !important;
}

.nav-link {
    color: var(--logic-white) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-orange) !important;
    border-bottom: 2px solid var(--accent-orange);
}

/* Modular Components */
.module-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent-orange);
    padding: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
    height: 100%;
}

.module-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.section-title {
    border-left: 5px solid var(--accent-orange);
    padding-left: 15px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Engineering Accents */
.blueprint-grid {
    background-image: 
        linear-gradient(rgba(255, 109, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 109, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-domain {
    color: var(--accent-orange);
    font-weight: bold;
}
