/* --- PREMIUM FUTURISTIC HEADER (NEON PURPLE) --- */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(244, 114, 182, 0.4);
    }
}

@keyframes border-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- PREMIUM FUTURISTIC HEADER (SOLID TECH) --- */
/* (Styles maintained...) */

/* --- HERO TEXT (CINEMATIC CYAN - NO GLITCH) --- */
.text-neon-premium {
    position: relative;
    color: #ffffff;
    /* White Core */

    /* Volumetric Cyan Glow */
    text-shadow:
        0 0 5px rgba(0, 240, 255, 0.8),
        0 0 15px rgba(0, 240, 255, 0.5),
        0 0 30px rgba(0, 240, 255, 0.3);

    font-weight: 800;
}

#main-header {
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
}

#main-header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}

/* --- CAPSULE NAVIGATION (SOLID TECH) --- */
.nav-capsule {
    display: flex;
    align-items: center;
    padding: 6px 6px 6px 30px;

    /* SOLID TECH LOOK */
    background: rgba(10, 5, 20, 0.95);
    /* Deep Black/Blue Opaque */
    border: 1px solid rgba(0, 240, 255, 0.3);
    /* Tech Cyan Border */
    border-radius: 9999px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 240, 255, 0.05);
    /* Subtle inner glow */

    z-index: 50;
    transition: all 0.3s ease;
}

/* Nav Item */
.nav-link-premium {
    position: relative;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    padding-bottom: 0;
    margin-right: 24px;
}

/* Tech Underline */
.nav-link-premium::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: #00f0ff;
    box-shadow: 0 0 8px #00f0ff;
    transition: width 0.3s ease;
}

.nav-link-premium:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.nav-link-premium:hover::after {
    width: 100%;
}

/* CTA "Discuss Project" - Solid Tech */
.nav-capsule .cta-button-premium {
    position: relative;
    margin: 0;
    padding: 0.75rem 2rem;

    background: #00f0ff;
    /* Solid Cyan */
    border: none;
    border-radius: 9999px;

    color: #000;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-capsule .cta-button-premium:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
    transform: translateY(-1px);
}