.floating-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px; /* Slim height to save space */
    background: rgba(15, 23, 42, 0.92); /* Dark navy so the logo reads clearly */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    z-index: 1000;
    
    /* Start state: Hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); /* Slight lift for a drop-in effect */
    transition: all 0.3s ease-in-out;
}

/* Visible state triggered at 100px scroll */
.floating-header.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO STYLING */
.logo-container {
    display: flex;
    align-items: center;
}

.brand-logo-header {
    height: 32px; /* Adjusted for the slimmer header */
    width: auto;
    display: block;
}

/* HEADER BUTTON */
.btn-header-cta {
    display: inline-block;
    padding: 10px 20px; /* Slimmer padding */
    background: #7C3AED;
    color: #FFFFFF;
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-header-cta:hover {
    background: #5B21B6;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

@media (max-width: 768px) {
    .header-container { padding: 0 20px; }
    .brand-logo { height: 28px; }
}