
:root {
    /* Unified Brand Colors */
    --bg-deep: #0b0b0b;       
    --bg-dark: #000000;       
    --bg-surface: #0a0c10;    /* ADDED from about.php */
    /* --accent-tech: #00e5ff;  */  
    --accent-tech: #c6c8ce;  
    --accent-safety: #ff4d00; 
    --text-white: #ffffff;
    --text-grey: #a0a5aa;
    --danger: #ff3366;  /* Added from technology.php */
    /* UI Tones & Cards */
    --tone-1: #6a7075;
    --tone-2: #848a90;
    --tone-3: #565c61;
    --accent-light: rgba(255, 255, 255, 0.15);
    /* --accent-glow: rgba(0, 229, 255, 0.4);   */      /* ADDED from about.php */
    --accent-glow: #5a5d6d;  
    --bg-card: rgba(255, 255, 255, 0.03);         /* ADDED from about.php */
    --bg-card-hover: rgba(255, 255, 255, 0.06);   /* ADDED from about.php */
    --border: rgba(255, 255, 255, 0.08);          /* ADDED from about.php */
    
    /* Globals */
    --radius: 12px;                               /* ADDED from about.php */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* ADDED from about.php */
}

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

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

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

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



        /* Ensure interactive elements also hide the default pointer */
        a,
        button,
        .magnetic {
            cursor: none;
        }

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 5px;
    height: 5px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    -webkit-transition: width 0.15s, height 0.15s, opacity 0.15s;
    transition: width 0.15s, height 0.15s, opacity 0.15s;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -webkit-transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.25s ease;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.25s ease;
}

        /* The "Morph" state when hovering over a button */
        .cursor-hover .custom-cursor {
    opacity: 0;
}

.cursor-hover .cursor-follower {
    width: 52px;
    height: 52px;
    background: transparent; /* ← ključno, ne zakriva */
    border-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: none; /* ← odstrani blur */
    -webkit-backdrop-filter: none;
}

        /* Optional: Hide custom cursor on mobile devices */
        @media (max-width: 768px) {

            .custom-cursor,
            .cursor-follower {
                display: none;
            }

            body,
            a,
            button,
            .magnetic {
                cursor: auto;
            }
        }


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

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

.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;
}