/* ==========================================================================
   GLOBAL DESIGN SYSTEM (Variables, Fonts, Resets, Nav, Footer)
   ========================================================================== */

:root {
    /* Unified Brand Colors */
    --bg-deep: #0b0b0b;       /* Primary Dark Background */
    --bg-dark: #000000;       /* Pitch Black */
    /* --accent-tech: #00e5ff;   */
    --accent-tech: #c6c8ce;  
    --accent-safety: #ff4d00; /* Alert Orange */
    --text-white: #ffffff;
    --text-grey: #a0a5aa;
    
    /* UI Tones */
    --tone-1: #6a7075;
    --tone-2: #848a90;
    --tone-3: #565c61;
    --accent-light: rgba(255, 255, 255, 0.15);
}

/* --- CUSTOM FONTS --- */
@font-face {
    font-family: 'UniSans';
    src: url('../assets/fonts/UniSansHeavyCAPS.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'UniSans';
    src: url('../assets/fonts/UniSansRegular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'UniSans';
    src: url('../assets/fonts/UniSansThinCAPS.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

/* --- RESET & BASE --- */
* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: 'Helvetica', Arial, sans-serif;
    overflow-x: hidden;
    width: 100vw;
}

/* --- GLOBAL TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'UniSans', sans-serif;
    font-weight: 800;
  /*   text-transform: uppercase; */
}

.text-grey {
    color: var(--text-grey);
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: clamp(0.75rem, 1.5vh, 0.95rem);
    line-height: 1.5;
}

.editorial-label {
    font-family: 'UniSans', sans-serif;
    font-weight: 800;
    font-size: clamp(0.6rem, 1.2vh, 0.85rem);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-tech);
    margin-bottom: 15px;
}

/* --- GLOBAL HEADER --- */
.dashboard-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    z-index: 1000;
}

.back-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    text-decoration: none;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    font-family: 'UniSans', sans-serif;
}

.back-btn:hover {
    color: var(--text-white);
}

/* --- MENU OVERLAY (HAMBURGER) --- */
.menu-trigger {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 9999;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 10px;
}

.menu-trigger span {
    display: block;
    width: 35px;
    height: 3px;
    background: var(--text-white);
    -webkit-transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    -webkit-transform-origin: center;
            transform-origin: center;
}

.overlay-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
    z-index: 9998;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.overlay-menu.active {
    opacity: 1;
    visibility: visible;
}

.overlay-menu ul {
    list-style: none;
    text-align: center;
    padding: 0;
}

.overlay-menu a {
    color: var(--text-grey);
    font-family: 'UniSans', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 800;
    display: block;
    margin: 20px 0;
    -webkit-transition: color 0.3s ease, text-shadow 0.3s ease, -webkit-transform 0.3s ease;
    transition: color 0.3s ease, text-shadow 0.3s ease, -webkit-transform 0.3s ease;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease, -webkit-transform 0.3s ease;
}

.overlay-menu a:hover {
    color: var(--accent-tech);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
}

/* --- GLOBAL FOOTER --- */
.floating-footer {
    position: fixed;
    bottom: 30px;
    left: 40px;
    right: 40px;
    z-index: 9997;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    pointer-events: none;
}

.floating-footer-content {
    pointer-events: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.footer-imprint {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'UniSans', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.footer-imprint:hover {
    color: var(--accent-tech);
}

.footer-logos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
}

.footer-logos img {
    height: 20px;
    opacity: 0.4;
    -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
    transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
    -webkit-filter: grayscale(100%) brightness(200%);
            filter: grayscale(100%) brightness(200%);
}

.footer-logos img:hover {
    opacity: 1;
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
}