/* Premium Tactical Dark Mode Theme */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #0d0d0d;/* Armory Catalog Styles */
.armory-header {
    margin-bottom: 25px;
    border-bottom: 1px dashed #262626;
    padding-bottom: 15px;
}

.section-subtitle {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.armory-cat-title {
    font-size: 1rem;
    color: #ff5500;
    letter-spacing: 1.5px;
    margin: 30px 0 15px 0;
    background-color: #141414;
    padding: 6px 12px;
    border-left: 3px solid #ff5500;
    display: inline-block;
    border-radius: 0 4px 4px 0;
}

.armory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 10px;
}

.armory-card {
    background-color: #141414;
    border: 1px solid #232323;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s ease;
}

.armory-card:hover {
    border-color: #444;
    background-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.premium-border { border-left: 2px solid #ff5500; }
.special-card { border-left: 2px solid #00ffcc; }
.companion-card { border-left: 2px solid #9c27b0; }

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.armory-card h4 {
    color: #ffffff;
    font-size: 1.1rem;
}

.armory-card p {
    color: #999999;
    font-size: 0.85rem;
    line-height: 1.4;
}
    color: #e0e0e0;
    font-family: 'Segoe UI', Arial, sans-serif;
    height: 100vh;
    display: flex;/* Armory Catalog Styles */
.armory-header {
    margin-bottom: 25px;
    border-bottom: 1px dashed #262626;
    padding-bottom: 15px;
}

.section-subtitle {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.armory-cat-title {
    font-size: 1rem;
    color: #ff5500;
    letter-spacing: 1.5px;
    margin: 30px 0 15px 0;
    background-color: #141414;
    padding: 6px 12px;
    border-left: 3px solid #ff5500;
    display: inline-block;
    border-radius: 0 4px 4px 0;
}

.armory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 10px;
}

.armory-card {
    background-color: #141414;
    border: 1px solid #232323;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s ease;
}

.armory-card:hover {
    border-color: #444;
    background-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.premium-border { border-left: 2px solid #ff5500; }
.special-card { border-left: 2px solid #00ffcc; }
.companion-card { border-left: 2px solid #9c27b0; }

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.armory-card h4 {
    color: #ffffff;
    font-size: 1.1rem;
}

.armory-card p {
    color: #999999;
    font-size: 0.85rem;
    line-height: 1.4;
}
    flex-direction: column;
    overflow: hidden; /* Prevents whole-page scrolling completely */
}

/* Header & Navigation Bar */
header {
    background-color: #141414;
    border-bottom: 2px solid #262626;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 65px;
    flex-shrink: 0; /* Keeps header sharp and fixed height */
}

.logo {
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: #ff5500; /* Tactical Orange Accent */
    text-shadow: 0 0 10px rgba(255, 85, 0, 0.2);
}

nav ul {
    display: flex;
    list-style: none;
    height: 100%;
}

nav ul li {
    height: 65px;
}

.tab-link {
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #aaaaaa;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    height: 100%;
    transition: all 0.25s ease;
    border-bottom: 3px solid transparent;
}

.tab-link:hover {
    color: #ffffff;
    background-color: #1a1a1a;
    border-bottom: 3px solid #662200;
}

.tab-link.active {
    color: #ff5500;
    border-bottom: 3px solid #ff5500;
    background-color: #1c1c1c;
}

/* Master Workspace Area */
.workspace-container {
    flex: 1;
    position: relative;
    background-color: #0d0d0d;
    overflow: hidden;
}

/* Tab Switching Panels Visibility Control */
.tab-content {
    display: none;
    width: 100%;
    height: 100%;
    padding: 30px;
    overflow-y: auto; /* Adds scrolling inside tabs ONLY if text overflows */
}

.tab-content.active {
    display: block;
}

/* Two-Column Interactive Builder Grid */
.builder-layout {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 30px;
}

/* Left Control Panel Column */
.control-panel {
    width: 320px;
    background-color: #141414;
    border: 1px solid #262626;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.control-panel h2 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.panel-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.control-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-group label {
    font-size: 0.85rem;
    font-weight: bold;
    color: #b3b3b3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Premium Color Picker Layout */
.control-group input[type="color"] {
    -webkit-appearance: none;
    border: none;
    width: 100%;
    height: 42px;
    border-radius: 6px;
    cursor: pointer;
    background: none;
}

.control-group input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.control-group input[type="color"]::-webkit-color-swatch {
    border: 1px solid #333;
    border-radius: 6px;
}

/* Solid Industrial Buttons */
.order-btn {
    margin-top: auto; /* Pushes button beautifully to the bottom of the card */
    background-color: #ff5500;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s ease;
}

.order-btn:hover {
    background-color: #e04b00;
}

/* Right Side Render Panel (Locked to Screen Boundary) */
.preview-panel {
    flex: 1;
    background-color: #111111;
    border: 1px solid #262626;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

/* Scalable Vector Image Dimensions */
.t13-svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 85%; /* Perfectly drops the robot framework inside screen heights */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
}

/* Generic Form Layout Styles */
.contact-form {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.contact-form input, .contact-form textarea {
    background-color: #141414;
    border: 1px solid #262626;
    padding: 12px;
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: 1px solid #ff5500;
}/* Armory Catalog Styles */
.armory-header {
    margin-bottom: 25px;
    border-bottom: 1px dashed #262626;
    padding-bottom: 15px;
}

.section-subtitle {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.armory-cat-title {
    font-size: 1rem;
    color: #ff5500;
    letter-spacing: 1.5px;
    margin: 30px 0 15px 0;
    background-color: #141414;
    padding: 6px 12px;
    border-left: 3px solid #ff5500;
    display: inline-block;
    border-radius: 0 4px 4px 0;
}

.armory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 10px;
}

.armory-card {
    background-color: #141414;
    border: 1px solid #232323;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s ease;
}

.armory-card:hover {
    border-color: #444;
    background-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.premium-border { border-left: 2px solid #ff5500; }
.special-card { border-left: 2px solid #00ffcc; }
.companion-card { border-left: 2px solid #9c27b0; }

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.armory-card h4 {
    color: #ffffff;
    font-size: 1.1rem;
}

.armory-card p {
    color: #999999;
    font-size: 0.85rem;
    line-height: 1.4;
}/* Intel Drop Dashboard Styles */
.intel-header {
    margin-bottom: 25px;
    border-bottom: 1px dashed #262626;
    padding-bottom: 15px;
}

.intel-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.intel-main-card {
    background-color: #141414;
    border: 1px solid #232323;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.intel-main-card h3 {
    font-size: 1rem;
    color: #ff5500;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

/* Technical Data Table */
.metrics-table-wrapper {
    overflow-x: auto;
}

.intel-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.intel-table th, .intel-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #232323;
}

.intel-table th {
    background-color: #1a1a1a;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.intel-table td {
    color: #b3b3b3;
}

.intel-table tr:hover td {
    color: #ffffff;
    background-color: #181818;
}

/* Sidebar Info Blocks */
.intel-sidebar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.intel-note-card {
    background-color: #141414;
    border: 1px solid #232323;
    border-radius: 6px;
    padding: 20px;
}

.intel-note-card h4 {
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.intel-note-card p {
    font-size: 0.85rem;
    color: #999999;
    line-height: 1.5;
}

.warning-accent { border-top: 3px solid #ff3333; }
.warning-accent h4 { color: #ff3333; }

.material-accent { border-top: 3px solid #00ffcc; }
.material-accent h4 { color: #00ffcc; }

.post-accent { border-top: 3px solid #9c27b0; }
.post-accent h4 { color: #9c27b0; }/* Mobile Responsive Design Overrides */
@media (max-width: 768px) {
    body {
        overflow-y: auto; /* Allows scrolling down on small phones */
        height: auto;
    }

    header {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 10px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
    }

    nav ul li {
        height: auto;
    }

    .tab-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .builder-layout {
        flex-direction: column; /* Stacks controls on top of the robot */
        height: auto;
        gap: 20px;
    }

    .control-panel {
        width: 100%; /* Spans full phone width */
        height: auto;
    }

    .preview-panel {
        width: 100%;
        height: 450px; /* Gives the robot a fixed canvas height on mobile */
        padding: 20px;
    }
}
