/* === GLOBAL VARIABLES & RESET === */
:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #086b79;
    /* Teal */
    --font-main: "Inter", sans-serif;
    --font-display: "Inter", sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden !important;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* === HEADER (Desktop Fixed) === */
.afu-logo-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    pointer-events: none;
    background: transparent;
    mix-blend-mode: exclusion;
    isolation: isolate;
    padding-right: 2vw;
    box-sizing: border-box;
    transform: translateZ(0);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.afu-header-nav {
    pointer-events: auto;
    margin-right: 0;
}

.afu-header-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.6em 1.4em;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    font-family: "Inter", sans-serif;
}

.afu-header-link:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

@media (max-width: 768px) {
    .afu-header-nav {
        margin-right: 4vw;
    }
}

/* === Clickable Logo === */
.afu-logo {
    pointer-events: auto;
    height: 60px;
    width: auto;
    display: block;
    mix-blend-mode: exclusion;
    filter: brightness(1.3) saturate(1.2) contrast(1.05);
    transition: transform 0.35s ease, filter 0.4s ease;
    position: relative;
    z-index: 10;
    margin-left: 2vw;
}

.afu-logo:hover {
    transform: scale(1.07);
    filter: brightness(1.5) saturate(1.4);
}

.afu-logo img {
    height: 100%;
    width: auto;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* === Optional soft glow === */
.afu-logo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    filter: blur(25px);
    opacity: 0.12;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    transition: opacity 0.3s ease;
}

.afu-logo:hover::after {
    opacity: 0.25;
}

/* === MOBILE HEADER === */
@media (max-width: 768px) {
    .afu-logo-header {
        height: 80px;
        padding-left: 0;
        transition: opacity 1.0s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.0s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .afu-logo-header.hidden {
        opacity: 0;
        transform: translateY(-20px);
    }

    .afu-logo {
        height: 42px;
        margin-left: 4vw;
        mix-blend-mode: normal;
        filter: brightness(1.2);
        transition: transform 0.2s ease;
    }

    .afu-logo:hover {
        transform: scale(1.05);
        filter: brightness(1.3);
    }

    .afu-logo::after {
        display: none;
    }
}

/* === UTILS === */
.hidden {
    display: none !important;
}

/* Ensure user messages are white on desktop too (From lets-talk.html) */
.afu-user-msg {
    color: #fff !important;
}