/* ==========================================================================
   RIKMAKERSHUB SIGNATURE VALUE-ENGINEERING DESIGN SYSTEM
   ========================================================================== */
:root {
    --bg-main: #0c1221;
    --bg-header: #070b14;
    --border-tan: #f5e6cc;
    --text-light: #ffffff;
    --text-muted: #8fa0b5;
    --accent-blue: #0084ff;
    --bg-code: #060913;
    --font-mono: 'Courier New', Courier, monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* Navigation Header Module */
.hub-header {
    background-color: var(--bg-header);
    padding: 24px;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.brand-title {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.status-bar {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.status-bar span {
    margin: 0 8px;
}

/* Action Buttons */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.nav-btn {
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease;
}

.btn-blue {
    background-color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    color: var(--text-light);
}

.btn-dark {
    background-color: #17223b;
    border: 1px solid #233356;
    color: var(--text-light);
}

.btn-dark:hover {
    background-color: #1f2f52;
}

/* Page Layout Frames */
.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.project-intro {
    font-size: 0.95rem;
    color: #b1c2d9;
    margin-bottom: 25px;
}

/* High-Contrast Data Blocks */
.data-block {
    background-color: var(--border-tan);
    color: #000000;
    margin-bottom: 25px;
    border-radius: 4px;
    overflow: hidden;
}

.section-title {
    background-color: #e3d2b6;
    font-size: 0.95rem;
    font-weight: bold;
    padding: 10px 15px;
    color: #70583c;
    letter-spacing: 0.5px;
}

/* Bill of Materials Matrix Table */
.table-responsive {
    overflow-x: auto;
}

.bom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.bom-table th, .bom-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bom-table th {
    font-weight: bold;
    color: #554433;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.bom-table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.total-row {
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.03);
}

.total-row td:nth-child(3) {
    color: #15803d; /* Highlight Success Green Metric */
}

/* Core Bare-Metal Code Console Block */
.code-editor-box {
    background-color: var(--bg-code);
    padding: 25px;
    overflow-x: auto;
}

.code-editor-box pre {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #d1dbe5;
    line-height: 1.6;
}

/* Syntax Custom Color Maps */
.comment { color: #6272a4; font-style: italic; }
.keyword { color: #ff79c6; font-weight: bold; }
.type { color: #8be9fd; }

/* Tactical Strategy Layout Lists */
.strategy-list {
    list-style-type: none;
    padding: 20px;
    background-color: var(--border-tan);
}

.strategy-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 18px;
    font-size: 0.9rem;
    color: #222222;
}

.strategy-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #70583c;
    font-weight: bold;
}

.strategy-list li strong {
    color: #000000;
}

/* Viewport Layout Responsiveness Scaling */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .status-bar span {
        display: block;
        margin: 5px 0;
    }
}
