.ph-16-wrapper {
    position: relative;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.ph-16-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(45, 45, 45, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 10px 15px 10px 30px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ph-16-logo-area {
    display: flex;
    align-items: center;
    max-width: 200px;
}

.ph-16-logo-img {
    width: auto;
    object-fit: contain;
}

.ph-16-nav-area.desktop-nav {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    margin-right: 30px;
}

.ph-16-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.ph-16-nav-menu li a {
    color: #f0f0f0;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.ph-16-nav-menu li a:hover {
    color: #ffffff;
}

.ph-16-cta-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ph-16-cta-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.ph-16-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
    color: #000;
}

.ph-16-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 100;
}

.ph-16-mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.ph-16-mobile-menu {
    display: none;
    position: absolute;
    top: 90px;
    left: 20px;
    right: 20px;
    background-color: rgba(45, 45, 45, 0.95);
    border-radius: 20px;
    padding: 20px;
    z-index: 90;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.ph-16-mobile-menu.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.ph-16-mobile-menu .ph-16-nav-menu {
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.ph-16-mobile-menu .ph-16-nav-menu li a {
    display: block;
    padding: 10px 0;
    font-size: 18px;
}

/* Mobile CTA Button (Outside Pill) */
.ph-16-mobile-cta {
    display: none; /* Hidden on desktop by default */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .ph-16-nav-area.desktop-nav {
        display: none;
    }
    
    .ph-16-pill {
        padding: 10px 20px;
    }
    
    .ph-16-mobile-toggle {
        display: flex;
    }
}

@media (max-width: 576px) {
    /* Hide CTA inside the pill */
    .ph-16-cta-area .ph-16-cta-btn {
        display: none;
    }
    
    /* Show mobile CTA below the pill */
    .ph-16-mobile-cta {
        display: block;
        margin-top: 15px;
        text-align: center;
    }
    
    .ph-16-mobile-cta .ph-16-cta-btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 15px 20px;
    }
}